Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 11 Apr 2018, 16:40
mikez006 mikez006 is offline
 
Join Date: Mar 2008
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?
Reply With Quote
  #2  
Old 11 Apr 2018, 19:29
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
A simple solution would be to create a plugin hooked at "newthread_forum_start" with PHP code such as:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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
Reply With Quote
  #3  
Old 11 Apr 2018, 21:12
mikez006 mikez006 is offline
 
Join Date: Mar 2008
Wow, thanks

Would this solution work if I wanted to use some BB code or include links?
Reply With Quote
  #4  
Old 12 Apr 2018, 00:07
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by mikez006 View Post
Wow, thanks

Would this solution work if I wanted to use some BB code or include links?
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
Reply With Quote
  #5  
Old 12 Apr 2018, 01:53
final kaoss final kaoss is offline
 
Join Date: Apr 2006
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.
Reply With Quote
  #6  
Old 12 Apr 2018, 16:40
mikez006 mikez006 is offline
 
Join Date: Mar 2008
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
Reply With Quote
  #7  
Old 12 Apr 2018, 16:47
Dave Dave is offline
 
Join Date: Jun 2010
Real name: Dave
Change

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com

Contact me for custom vBulletin 3/4 work & server/website management.
Reply With Quote
  #8  
Old 12 Apr 2018, 16:49
mikez006 mikez006 is offline
 
Join Date: Mar 2008
awesome, thanks again
Reply With Quote
Reply

Similar Threads
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 14:54



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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


New To Site? Need Help?

All times are GMT. The time now is 08:44.

Layout Options | Width: Wide Color: