Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
DownloadsII Create New Thread Add-On [vB4] Details »»
DownloadsII Create New Thread Add-On [vB4]
Version: 2.0.1, by RS_Jelle RS_Jelle is offline
Developer Last Online: May 2016 Show Printable Version Email this Page

Category: Add-On Releases - Version: 4.0.x Rating:
Released: 08-03-2010 Last Update: 08-04-2010 Installs: 148
DB Changes Uses Plugins Template Edits
Additional Files Is in Beta Stage  
No support by the author.

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: https://vborg.vbsupport.ru/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!

Download Now

File Type: zip DownloadsII Create Thread 2.0.1 vB4.zip (193.2 KB, 1162 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
Forextar, samsons

Comments
  #62  
Old 05-18-2011, 01:57 AM
dmm2020 dmm2020 is offline
 
Join Date: Apr 2010
Posts: 129
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I downloaded this and installed it because I used it before, but things I didn't expect.

I do NOT want files stored offsite and this mod seems to promote sites that are havens for pirated script, to be quite honest.

I also can not appreciate that when you click on add files that nearly that entire page is in Italian. How do you convert that whole page to English? Fishing through the phrases is a ton of work.

I really want to remove almost all of the first part on "Add File" so that all that shows is the file upload section. I can decide more if I can see the attachments completely in english.

Please see attachments. I would like to remove all this stuff as I do not need it.
Attached Images
File Type: png Downloads1.png (17.6 KB, 0 views)
File Type: png Downloads2.png (31.3 KB, 0 views)
File Type: png Downloads3.png (40.9 KB, 0 views)
Reply With Quote
  #63  
Old 05-31-2011, 07:43 AM
Marios858 Marios858 is offline
 
Join Date: Apr 2011
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent Work my friend , its working perfect on Version 4.1.3 ....
Thanks a lot ..:up::up::up:
Reply With Quote
  #64  
Old 06-27-2011, 03:12 PM
Bram H Bram H is offline
 
Join Date: Jul 2007
Location: The Netherlands
Posts: 286
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Confirmed working for 4.1.4

A request for Jelle. Would it be possible to have the created threads and posts show up directly under the download files? More or less the same was as the article comments show up in the CMS?
Reply With Quote
  #65  
Old 08-01-2011, 01:19 PM
Doc2911 Doc2911 is offline
 
Join Date: Dec 2009
Location: germany
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thx, working for 4.1.5
Reply With Quote
  #66  
Old 10-01-2011, 08:07 AM
tarus tarus is offline
 
Join Date: Jul 2007
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hello, i want to ask a question. we would like to use download part of site with the downloads links from the file sharing sites. not with the uploading to the site. is it possible use like that?
Reply With Quote
  #67  
Old 01-23-2012, 09:13 AM
Welshy2008's Avatar
Welshy2008 Welshy2008 is offline
 
Join Date: Jul 2008
Location: UK
Posts: 904
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can anyone confirm this to be working flawless on 4.1.10 please?
Reply With Quote
  #68  
Old 01-23-2012, 10:43 AM
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
Location: USA, New Jersey
Posts: 2,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

working 100% enjoy
Reply With Quote
  #69  
Old 02-29-2012, 02:42 PM
Carpesimia Carpesimia is offline
 
Join Date: Jun 2011
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RS_Jelle View Post
That's not a bug. You enabled a debugging option.
Settings -> General Settings -> Add Template Name in HTML Comments -> No
I disagree. I have a need from time to time to turn on HTML comments to find a template issue. Both vBulletin and every other add-on I have behaves nicely with the HTML Comments turned on, except downloadsii. I consider this a bug.

For those who would like to fix it, here's a simple fix.

Find the plugin named "DownloadsII: Create Thread on Add".

Partway down, you will see some code that uses vbulletin templates to build the message that will be posted. Like this:

PHP Code:
    $templater vB_Template::create('downloadii_create_newthread');
    
$templater->register('id'$id);
    
$templater->register('dtitle'$dtitle);
    
$templater->register('ddesc'$ddesc);
    
$pagetext .= $templater->render();

    
// VB3 eval('$title .= "' . fetch_template('downloadii_create_newthread_title') . '";');
    
$templater vB_Template::create('downloadii_create_newthread_title');
    
$templater->register('dtitle'$dtitle);
    
$title .= $templater->render(); 
This takes the raw templates (including the html comments if you have the debugging turned on) to use for the message. Edit the above code like this:

PHP Code:
    $templater vB_Template::create('downloadii_create_newthread');
    
$templater->register('id'$id);
    
$templater->register('dtitle'$dtitle);
    
$templater->register('ddesc'$ddesc);
    
$pagetext .= $templater->render();
    
$pagetext preg_replace('/<!--(.*)-->/Uis'''$pagetext);

    
// VB3 eval('$title .= "' . fetch_template('downloadii_create_newthread_title') . '";');
    
$templater vB_Template::create('downloadii_create_newthread_title');
    
$templater->register('dtitle'$dtitle);
    
$title .= $templater->render();
    
$title preg_replace('/<!--(.*)-->/Uis'''$title); 
All I did was add a line after the template was evaluated to strip all HTML comments from what was rendered, once for the message and once for the title. These 2 SMALL edits are all that are needed to make this plugin play nice with the html comments debugging set to on.
Reply With Quote
Благодарность от:
Hippy
  #70  
Old 04-23-2012, 04:26 PM
likaweb's Avatar
likaweb likaweb is offline
 
Join Date: Nov 2010
Location: Italy
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No working on 4.1.12
Reply With Quote
  #71  
Old 04-23-2012, 09:11 PM
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
Location: USA, New Jersey
Posts: 2,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by likaweb View Post
No working on 4.1.12
works perfect with vb4.1.12
Just tested it for ya...

there is a different issue you may be having...
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:04 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06391 seconds
  • Memory Usage 2,357KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (3)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete