The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
New Thread -> Form
Hey all. I have a forum on my message boards (several actually) where there is no-posting allowed, instead the user must submit a form which includes all the information for whatever format we use and then that posts the thread. I was wondering if there was an easy way to change the "NEW THREAD" button/link in these forums to direct to the form instead? Would I have to do a template edit to check for the forum we were in and display an alternate button? If so, how would I pass the forum we're in to the template? My guess is that there is already this variable available, I am just clueless. If there is an easier way let me know! Thanks guys.
|
#2
|
|||
|
|||
Read through this thread and see if it works for you.
http://www.vbulletin.com/forum/forum...ost-new-thread |
#3
|
|||
|
|||
What about a redirect in newthread.php that redirects depending on the forum id?
|
Благодарность от: | ||
Max Taxable |
#4
|
|||
|
|||
This post of the thread I linked too is easier (i.m.o.) http://www.vbulletin.com/forum/forum...41#post3539241
|
#5
|
|||
|
|||
But I hate editing templates!
It would work though. It would be a bit messy for several forums, I don't remember if you can use in_array() in a template conditional. |
#6
|
||||
|
||||
I can pass whatever values I need via a plugin sending the value to the template can't I?
|
#7
|
|||
|
|||
Yes I think you would have all the info from global.php. Either $vbulletin->foruminfo or $foruminfo should get all you would need. for the forum. And of course $vbulletin->userinfo
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|