View Full Version : 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:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
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 (http://www.vbulletin.org/forum/vborg_miscactions.php?do=installhack&threadid=104318)
Great, I have been looking for this!
nexialys
03 Jan 2006, 12:55
just great... can be used for forums where we write recipes...
Neutral Singh
03 Jan 2006, 13:44
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
trancetopia
03 Jan 2006, 15:13
Like a lot of other people, this will be very handy. Thanks for sharing.
/me clicks install
gameslover
03 Jan 2006, 17:44
Hello,
Thanks for the hack but I have a SQL error :
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Any idea how to fix it ?
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.
gameslover
03 Jan 2006, 18:32
Thanks you very much, that's work great !!!
/me clicks install
michaelbenson
03 Jan 2006, 22:27
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.
silurius
04 Jan 2006, 02:01
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 :)
lazyseller
04 Jan 2006, 15:36
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.
dsotmoon
04 Jan 2006, 22:13
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..
@nhacso: k, I added that + some other functionality, will update it here later this day.
Thanks waza, I'll waiting upgrade version. :)
EasyTarget
08 Jan 2006, 09:00
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
Version 1.5 Released!
new update version 1.5 very very cool. Thanks waza so much. :banana:
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
counterform
24 Apr 2006, 04:53
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?
fortnox
07 Sep 2006, 18:41
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.
Planned updates.
No current planned updates.
Functions with vbulletin 3.6.4?
Greetz Derbe
absolutely amazing, works a treat in vb 3.6.4! :) installed!!!!!
santimariani
20 Mar 2007, 05:18
Thank you so much for this product!
Question, however: there is nothing being shown on the left bar of my admincp, so I cannot access it. Why is this happening? I renamed my admincp and modcp folders and htaccessed them... could this have something to do with it? THanks!
santimariani
23 Mar 2007, 22:54
Anyone? This seems like such a usable hack... I can't wait to put it to good use!
Anyone? This seems like such a usable hack... I can't wait to put it to good use!
did you try to reinstall the product and overwrite it?
Zighinno
10 Jul 2007, 10:09
Great
Is possible insert image in the right? :D
curse-1
17 Jun 2008, 20:11
hi
it is available also for vb 3.7.1?
Samsine
06 Nov 2008, 11:56
hi,
thanks for this addon :)
it works for vb 3.7.3.
fortnox
25 Feb 2009, 22:29
Hi!
Does it work for 3.8 ?
Very Thanks :up:
wlan kabel
04 Mar 2009, 08:22
Hi!
Does it work for 3.8 ?
Very Thanks :up:
it works for vb 3.8.1
Is it possible to make this Hack for vb 4 ?
Is it possible to make this Hack for vb 4 ?
it works for vb4
lazydesis
27 Sep 2010, 02:07
Works on vb 3.8.5 :up:
Za4a Tuner
03 Apr 2011, 09:44
what's about a working addon for vB4.1.2?
It would be great to have this one working!
jluerken
13 Apr 2011, 06:58
It is working with 4.1.2!
Is there a way to change the text depending on the selected language?
Meaning like if language 1 post text A, otherwise B?
/jluerken
i get a sql error on 4.1.5 :(
Can you do a version for vb 4?
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.