Back to vBulletin 3.5 Template Modifications

Forms Hack - goto form when making new thread per forum
Mod Version: 1.00, by flup

This modification is in the archives.
vB Version: 3.5.4 Rating: (1 vote - 4.00 average) Installs: 5
Released: 14 May 2007 Last Update: Never Downloads: 2
Not Supported Template Edits  

Information:
This little template modification allows you to enter a specific form per forum to go to after clicking the 'new thread' link. For example:

You have a forum called 'Introduce Yourself'.. this forum needs a specific layout and specific fields to be posted in a new thread to keep things uniform. To allow the 'Form Hack' to post in this forum the userlevels still have to be set on 'Allow user to post new threads'. So what can we do about users wanting to post new threads and keep the standard? Exactly! Link to the form instead of making a new thread.

This is very simple to do:

Go to your AdminCP -> Style Manager -> Edit Templates
Search the template FORUMDISPLAY

In this template look for the code:
<if condition="$show['newthreadlink']"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a><else />&nbsp;</if>
Replace this with:
<if condition="$show['newthreadlink']"><if condition="$foruminfo[forumid] == forumid"><a href="newthread.php?$session[sessionurl]do=formname" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a><else />
<a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a>
</if><else />&nbsp;</if>
and ofcourse don't forget to replace forumid with the forumid you want the link to change (this is the same forumid as the value of $formforumid is set to in the FormHack Hook Preferences) and the formname to the name of the form which is used to insert the information.

This is an example for only 1 forum, ofcourse you can add as many forums as you want.

Download

No files for download.

Similar Mods

FORM to THREAD/ FORUM/ POLL/ PM/ EMAIL - CUSTOMIZABLE FORMS - Mod Apps, Orders, News. vBulletin 3.0 Full Releases
Forms Pack + (4) *** Forms Hack add-on vBulletin 3.5 Template Modifications
FORM TO FORUM/ THREAD/ PM/ EMAIL - CUSTOMIZABLE FORMS for Mod Apps, Orders, News vBulletin 2.x Full Releases

vblts.ru supports vBulletin®, 2022-2024