Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Pre-defined content for newthread/reply. (UPDATED) Details »»
Pre-defined content for newthread/reply. (UPDATED)
Version: 1.5, by waza waza is offline
Developer Last Online: Oct 2012 Show Printable Version Email this Page

Version: 3.5.2 Rating:
Released: 01-02-2006 Last Update: 01-07-2006 Installs: 77
DB Changes Uses Plugins
Additional Files  
No support by the author.

Hey,

Somebody needed this so I made this quickly, however I think it's something more people can use and as it's been a long time since my last hack release.
I release this.

What it does.
This hack is good if you want all the threads in a certain forum look a bit the same.
In admincp you can define a text & subject that you want to show standard in certain forums, for certain usergroups when they start a new thread.

Features.
-unlimited pre-defined txts
-Define text & subject for certain forums & certain usergroups.
-Show on newreply and/or newthread
-edit & manage


Planned updates.
No current planned updates.

Version walktrough.
3 jan 2006
Version 1.0.0 released

3 jan 2006
Version 1.0.1 released - bug fix release, to upgrade run these 2 queries:
Code:
ALTER TABLE ".TABLE_PREFIX."predeftxts ADD `ugids` VARCHAR( 200 ) NOT NULL
ALTER TABLE ".TABLE_PREFIX."predeftxts ADD `subject` VARCHAR( 200 ) NOT NULL
8 jan 2006
Version 1.5 released - New features: parse bbcode in admincp & choose between newthread and/or newreply + some remaining dutch phrases translated.
To upgrade overwrite product & all files

Fields description.
forum ids (required field)
Define the forum ids where to show this text on new thread.
Seperate with comma ',' e.g. 4,3,2,1

Usergroup ids (required field)
Define the usergroups ids who see the text on new thread.
seperate with comma ',' e.g. 4,3,2,1

Show in newthread
Whether to show it while making a new thread yes or no

Show in newreply
Whether to show it while making a new reply yes or no

subject (not-required field)
Give a standard subject the user will see on new thread (when above fields are true)

text (required field)
Define a standard text the user will see on new thread.

Don't forget to click install

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 01-08-2006, 11:14 AM
pipin's Avatar
pipin pipin is offline
 
Join Date: Jan 2005
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice, but one glitch.

Could not find phrase 'Please fill in all necessary fields'.
Reply With Quote
  #33  
Old 01-08-2006, 03:26 PM
waza waza is offline
 
Join Date: Apr 2005
Location: Belgium
Posts: 341
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ow, well, I think you can guess what was in that phrase, he,
forumids, usergroupids & text are required fields.
If you don't want a text to be active set show on newthread & newreply to no.
Reply With Quote
  #34  
Old 01-08-2006, 11:53 PM
kauka kauka is offline
 
Join Date: Nov 2002
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice but nothing shows after creating predefined template either in newthread or newreply both are blank any suggestions
Reply With Quote
  #35  
Old 01-09-2006, 03:12 PM
waza waza is offline
 
Join Date: Apr 2005
Location: Belgium
Posts: 341
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmz, I tested this on 3 boards so the system works.
However, make sure u have set following things right:
usergroup id's (admins=6)
forum id (when your in a forum: forumdisplay?f=x -> x is the forum id)
make sure show on newthread or show on newreply is set to yes.
Reply With Quote
  #36  
Old 01-09-2006, 06:35 PM
kauka kauka is offline
 
Join Date: Nov 2002
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes thanks for quick reply........it was an error on my part and all works great....thanks
Reply With Quote
  #37  
Old 01-09-2006, 09:20 PM
nhacso nhacso is offline
 
Join Date: Jul 2005
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by waza
Version 1.5 Released!
new update version 1.5 very very cool. Thanks waza so much. :banana:
Reply With Quote
  #38  
Old 01-19-2006, 07:06 PM
yxboom's Avatar
yxboom yxboom is offline
 
Join Date: Jan 2003
Location: The City
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kauka
ok i have question......is there a way to make it so there are spaces between each line you add?
ditto. i am having this same problem. When posting a new thread there is no space although in the admincp ive defined extra spaces.

im using 1.5 on vb 3.5.2
Reply With Quote
  #39  
Old 04-24-2006, 02:53 AM
counterform's Avatar
counterform counterform is offline
 
Join Date: Dec 2005
Location: Midwest, US
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to alter this extension so that instead of a forum you can declare a category in the settings available in AdminCP? I would like all child forums of chosen categories to have the predefined text. Possible?
Reply With Quote
  #40  
Old 09-07-2006, 04:41 PM
fortnox fortnox is offline
 
Join Date: Aug 2003
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi!

Many Thanks for this Modification.

Is this possible that the pre defined text is not shown in reply box?

The pre defined text should be standard and not changable.
Reply With Quote
  #41  
Old 12-10-2006, 11:34 PM
derbe derbe is offline
 
Join Date: Dec 2006
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Planned updates.
No current planned updates.
Functions with vbulletin 3.6.4?

Greetz Derbe
Reply With Quote
Reply


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 04:37 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.09271 seconds
  • Memory Usage 2,303KB
  • Queries Executed 25 (?)
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
  • (1)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete