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
  #22  
Old 01-04-2006, 01:52 PM
ADM ADM is offline
 
Join Date: May 2005
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great job but it seems it's all in a different language.

Ie. Product title is Pre-defined teksten voor newthread
Navgroup text is Newthread teksten

You've also got a spelling error:
"Add pre-definded text" should be "Add pre-defined text"

Hope these are fixed for the next version, otherwise great job!
Reply With Quote
  #23  
Old 01-04-2006, 02:59 PM
waza waza is offline
 
Join Date: Apr 2005
Location: Belgium
Posts: 341
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@ADM: Yeah, I made it first in dutch, without the intention to release it.
So I didn't use phrases, but I decided to release it, and then I quickly translated it, but forgot some things.

However I don't think it's that hard to understand what I mean
newthread teksten = newthread texts
Pre-defined teksten voor newthread = pre-defined texts for newthread

So its semi-english.
Reply With Quote
  #24  
Old 01-04-2006, 06:15 PM
kauka kauka is offline
 
Join Date: Nov 2002
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok i have question......is there a way to make it so there are spaces between each line you add?
Reply With Quote
  #25  
Old 01-04-2006, 07:22 PM
MrNase MrNase is offline
 
Join Date: May 2003
Location: Germany
Posts: 670
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dumb question: Why doesn't it work for me..?

I have installed it but the text doesn't show up when I post a new thread.
Reply With Quote
  #26  
Old 01-04-2006, 08:13 PM
dsotmoon dsotmoon is offline
 
Join Date: Jun 2003
Location: VA - USA
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am going to try this out in my for sale forums on my automotive site, thanks for sharing
Reply With Quote
  #27  
Old 01-05-2006, 07:22 AM
waza waza is offline
 
Join Date: Apr 2005
Location: Belgium
Posts: 341
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@MrNase, make sure you have set the right forums and the right usergroups!
You have to give forumids where you use them like this e.g. 1,2,3
and usergroup ids (admins= 6) so e.g. 5,6,7

So make sure you have set your usergroupid and you post in the right forums.
Reply With Quote
  #28  
Old 01-05-2006, 09:55 AM
MrNase MrNase is offline
 
Join Date: May 2003
Location: Germany
Posts: 670
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did that.. And I even stripped the code to the ground and still had the error that the message area didn't get filled with the text I entered..
Reply With Quote
  #29  
Old 01-05-2006, 10:07 AM
nhacso nhacso is offline
 
Join Date: Jul 2005
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by waza
@nhacso: k, I added that + some other functionality, will update it here later this day.
Thanks waza, I'll waiting upgrade version.
Reply With Quote
  #30  
Old 01-08-2006, 06:38 AM
waza waza is offline
 
Join Date: Apr 2005
Location: Belgium
Posts: 341
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Version 1.5 Released!
Reply With Quote
  #31  
Old 01-08-2006, 07:00 AM
EasyTarget EasyTarget is offline
 
Join Date: Nov 2004
Posts: 660
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is cool
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 10:53 AM.


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.04356 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
  • (1)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