vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=247952

DownloadsII Create New Thread Add-On [vB4]
by RS_Jelle
04 Aug 2010 11:06

1 Attachment(s)
This is a vBulletin 4 port of CyberRangers' add-on for vB3. The upgrade steps are the same as the installation ones (just overwriting all FTP files and importing the product XML with the overwrite option on).

Quote:

What does it do?
When a user uploads or updates a file via DownloadsII a thread is created or updated in the specificed forum.

DownloadsII Create New Thread Add-On, is not a stand-alone mod. It requires DownloadsII 6.0.0 or higher.
You can find it here: http://www.vbulletin.org/forum/showthread.php?t=231427 (free)


Features
  1. Ability to global select the forum that receives the new thread and the userid of the thread creator.
  2. Ability to decide what forum receives the new thread and the thread creator based on the category of the file
  3. Option to have the thread created by the uploader or always assigned to the same user account
  4. Option to never create threads by category
  5. Usergroup permissions for being allowed to create a new thread
  6. Link added between thread in Downloads file detail (optional).
  7. Updated Downloads entry creates new post in thread alerting of an update.
  8. Database link to Downloads file entry removed if thread is deleted.
  9. If the Downloads new entry is placed in moderation, so is the thread.
  10. Option to have new threads locked.
Installation
  1. Upload the files in the upload folder into your forum directory.
  2. From the admincp, import the product file product-dl2_thread.xml
  3. From the admincp, set the options under "DownloadsII - Create Threads"
  4. Be sure to set the usergroup permissions!
  5. Done!


RS_Jelle 04 Aug 2010 11:07

-Reserved-

This is a quick port of http://www.vbulletin.org/forum/showthread.php?t=130995
Nothing new, so for screenshots see the old thread.

Welshy2008 04 Aug 2010 11:24

Thank You RS - ** Tagged **

Olli2k 04 Aug 2010 12:14

I've been waiting for something like this for a while now. Thanks for porting the mod.

I have only 1 little problem: there are no threads. Userid (correct rights for the forum, where the dl info should be posted), global data and caterogy data are setted up correctly, but nothing happen when i add a new download.

BlackThorn 04 Aug 2010 13:00

Thanks Jelle, great job.

iask 04 Aug 2010 13:47

Bug:

<!-- BEGIN TEMPLATE: downloadii_create_newthread_title --> New File Added: dvdfab

<!-- BEGIN TEMPLATE: downloadii_create_newthread -->
Downloads: A new file has been added by iask:

dvdfab

^^mµllmll$
<!-- END TEMPLATE: downloadii_create_newthread -->
----------------------------------------------------------------------------------------------

<!-- BEGIN TEMPLATE: downloadii_create_newthread_desc -->
^^mµllmll$

Thread Discussion
<!-- END TEMPLATE: downloadii_create_newthread_desc -->

RS_Jelle 04 Aug 2010 14:23

Quote:

Originally Posted by iask (Post 2079078)
Bug:

<!-- BEGIN TEMPLATE: downloadii_create_newthread_title --> New File Added: dvdfab

<!-- BEGIN TEMPLATE: downloadii_create_newthread -->
Downloads: A new file has been added by iask:

dvdfab

^^mµllmll$
<!-- END TEMPLATE: downloadii_create_newthread -->
----------------------------------------------------------------------------------------------

<!-- BEGIN TEMPLATE: downloadii_create_newthread_desc -->
^^mµllmll$

Thread Discussion
<!-- END TEMPLATE: downloadii_create_newthread_desc -->

That's not a bug. You enabled a debugging option.
Settings -> General Settings -> Add Template Name in HTML Comments -> No

iask 04 Aug 2010 15:18

Quote:

Originally Posted by RS_Jelle (Post 2079100)
That's not a bug. You enabled a debugging option.
Settings -> General Settings -> Add Template Name in HTML Comments -> No

Solved thanks

Robbed 04 Aug 2010 16:16

Thanks RS_jelle, just in time for our VB4 upgrade.

dr.tawy 05 Aug 2010 01:46

Yaaaaaaaaaaaaaaaaaaaay

Been waiting for this mod for a long time

Thanks alot guys u r the best

Webbstre 05 Aug 2010 04:30

After installing this, any updated (and possibly new) files show this warning while the screen is reloading:

Quote:

Warning: Call-time pass-by-reference has been deprecated in /home/rgf2/runicgamesfansite.com/downloads.php(1675) : eval()'d code on line 18

Warning: Call-time pass-by-reference has been deprecated in /home/rgf2/runicgamesfansite.com/downloads.php(1675) : eval()'d code on line 22
Also, the alert for updates do not appear to post.

Webbstre 05 Aug 2010 11:24

First, the update posts to the threads appear to be working after all.

Next, got an MySQL error report for you. Parts of it contain the entire description for the file in the error, so first I'll give you the links to the original file and the created thread. The threads are being created successfully, and as far as I know my users are not seeing any errors other than the warnings I see before. Here is an example:

The original file: http://www.runicgamesfansite.com/dow...do=file&id=471
The created thread: http://www.runicgamesfansite.com/sho...ed-Valkyrie-II

The error report that showed up in my mailbox:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Oddly, this only happened for 8 of the 11 files that people have created threads for since installing it.

RS_Jelle 05 Aug 2010 12:55

Quote:

Originally Posted by Olli2k (Post 2079050)
I've been waiting for something like this for a while now. Thanks for porting the mod.

I have only 1 little problem: there are no threads. Userid (correct rights for the forum, where the dl info should be posted), global data and caterogy data are setted up correctly, but nothing happen when i add a new download.

Did you set the usergroup permissions correctly?

Quote:

Originally Posted by Webbstre (Post 2079455)
After installing this, any updated (and possibly new) files show this warning while the screen is reloading:

...

Also, the alert for updates do not appear to post.

Quote:

Originally Posted by Webbstre (Post 2079549)
First, the update posts to the threads appear to be working after all.

Next, got an MySQL error report for you. Parts of it contain the entire description for the file in the error, so first I'll give you the links to the original file and the created thread. The threads are being created successfully, and as far as I know my users are not seeing any errors other than the warnings I see before. Here is an example:

The original file: http://www.runicgamesfansite.com/dow...do=file&id=471
The created thread: http://www.runicgamesfansite.com/sho...ed-Valkyrie-II

The error report that showed up in my mailbox:

...

Oddly, this only happened for 8 of the 11 files that people have created threads for since installing it.

Not that nice. That's what you get when you port something in a rush :)
The database error is a potential security issue too.

I've released an update, update ASAP :)

Webbstre 05 Aug 2010 13:05

Thank you! I'll install it now.

linuxututs 05 Aug 2010 19:14

k, Love this Mod !

But where to set

Quote:

Features

1. Ability to global select the forum that receives the new thread and the userid of the thread creator.
2. Ability to decide what forum receives the new thread and the thread creator based on the category of the file
3. Option to have the thread created by the uploader or always assigned to the same user account
4. Option to never create threads by category
There is none of these options in admincp/DownloadsII Options "or" admincp/settings/options/DownloadsII - Create Threads ?

I may be going blind or overlooking something but don't think so...;)

Thanks Guys,


All times are GMT. The time now is 22:36.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.