![]() |
|
Thread Tools |
#1
|
|||
|
|||
Default text for new threads
For one forum, when someone creates a new thread, instead of a blank content box, I want to include text, basically a template where member can answer the questions and submit it.
I'm having a hard time finding a mod that does this. Anyone know if one exists? No members have liked this post.
|
#2
|
||||
|
||||
A simple solution would be to create a plugin hooked at "newthread_forum_start" with PHP code such as:
Replace XX with the forumid where you want this post template to happen, and edit the string to include your desired post template.
__________________
Former vBulletin.org Staff Member ![]() Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons No members have liked this post.
|
#3
|
|||
|
|||
Wow, thanks
![]() Would this solution work if I wanted to use some BB code or include links? No members have liked this post.
|
#4
|
||||
|
||||
I'm not sure I know what you're asking...could you give an example?
__________________
Former vBulletin.org Staff Member ![]() Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons No members have liked this post.
|
#5
|
|||
|
|||
I think he's asking if he can insert that code into a bbcode code & have it pop out that info when they press it.
No members have liked this post.
|
#6
|
|||
|
|||
I tested it and BB codes does work
![]() However I have another problem. Your code above double spaces each line. Age Sex Location How do I single space it? Age Sex Location The following members like this post: MarkFL
|
#7
|
||||||||
|
||||||||
Change
to
The following members like this post: MarkFL
|
#8
|
|||
|
|||
awesome, thanks again
![]() No members have liked this post.
|
![]() |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Move threads with leave no redirect as default or Expired redirect as default | Hornstar | vBulletin 3.6 Template Modifications | 17 | 23 Dec 2013 13:54 |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 13:08.