![]() |
Pre-defined content for newthread/reply. (UPDATED)
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 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 |
first post reserved
|
Nice idea ;)
|
Great, I have been looking for this!
|
just great... can be used for forums where we write recipes...
|
hmm kool!
|
Cool !! Wow !!
|
Great resource, very kind of you to share with us.
Ideas this can be used for, default markup for announcements, articles, news,, blog entries, and etc.. so very handy. |
Very good idea waza, good work :)
Thanks, Mat |
Like a lot of other people, this will be very handy. Thanks for sharing.
/me clicks install |
Hello,
Thanks for the hack but I have a SQL error : Code:
Database error in vBulletin 3.5.2: |
Hmz, I added an older product to the zip file.
I'll update the product asap. Run these queries to fix it (replace ".TABLE_PREFIX." with your table prefix): ALTER TABLE ".TABLE_PREFIX."predeftxts ADD `ugids` VARCHAR( 200 ) NOT NULL ALTER TABLE ".TABLE_PREFIX."predeftxts ADD `subject` VARCHAR( 200 ) NOT NULL SO EVERYBODY THAT INSTALLED VERSION 1.0.0 SHOULD RUN THESE QUERIES. |
Good job bro.....
/me installs....the new one. |
Thanks you very much, that's work great !!!
/me clicks install |
Wonderful idea, installed.
|
waza, you can make a difference mod as same above call is "Pre-defined post content for newreply". Because, I think it will very useful for recruit moderator for forum or some issue which don't want open a lots threads.
|
Installed. Nice one.
|
@nhacso: k, I added that + some other functionality, will update it here later this day.
|
Wow, that's a great idea! :)
I'll be using this because my members always forget to add important information when they sell things on my forums :) |
This is great..... i will definately be adding this...
|
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! |
@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. |
ok i have question......is there a way to make it so there are spaces between each line you add?
|
Dumb question: Why doesn't it work for me..? :D
I have installed it but the text doesn't show up when I post a new thread. |
I am going to try this out in my for sale forums on my automotive site, thanks for sharing
|
@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. |
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..
|
Quote:
|
Version 1.5 Released!
|
this is cool
|
Nice, but one glitch.
Could not find phrase 'Please fill in all necessary fields'. |
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. |
nice but nothing shows after creating predefined template either in newthread or newreply both are blank any suggestions
|
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. |
yes thanks for quick reply........it was an error on my part and all works great....thanks
|
Quote:
|
Quote:
im using 1.5 on vb 3.5.2 |
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?
|
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. |
Quote:
Greetz Derbe |
All times are GMT. The time now is 05:26 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|