![]() |
Quote:
If you're asking me, I don't have a clue. Sorry. |
Quote:
I get the navbar when you are answering the questions but not once you submit and get redirected to the "thanks" message. |
Quote:
HTML Code:
<a href="<if condition="$foruminfo['forumid'] == 123">form123.php<else /><if condition="$foruminfo['forumid'] == 456">form456.php<else />newthread.php?$session[sessionurl]do=newthread&f=$foruminfo[forumid]</if></if>"> http://www.vbulletin.com/docs/html/m...e_conditionals |
Erwin,
I'm trying to make a form where someone can type the name of a website in $answer2 and then paste the link in $answer1 and it will link the word in the post. Here is my edited formanswers template: PHP Code:
PHP Code:
|
I got it to work, now my form.php files overwrites my newthread.
What I did was in the forumdisplay file I redirected the newthread commnd to point to filesCommand.php and in the redirection sent the current forum number. In the filesCommand.php I created multiple global arrays which stored command forum families for thread posting. I then did a CASE compare to see which form.php file should be called. Along with the form.php call I also sent the forum number and a series of on/off commands which enable and disable certain questions. This allows me to have a few generic form.php which are customized during call. The only draw back I have right now is changing the number and type of questions since an external file handles this, so all you really need is one form.php that can customize itself during call. If anyone is interested in the alterations I have made email me. I have a word document which highlighted all my edits. I have not put my comments in yet, but when I do I will post a link. Thanks for all you help guys. |
Quote:
My bad, add $navbar directly underneath $header in the STANDARD_ERROR template. :) |
Quote:
I am still very much a rookie at all this, but I can rebuild carburetors in my sleep. lol. Thanks for posting your findings!!! Take care, ~Chris |
Erwin-
I have discovered one small problem. If there is an apostrophe in the thread title, I get a MySQL error. |
Quote:
HTML Code:
<A HREF="$answer1">$answer2</a> The [url ] bbtag: HTML Code:
[url="$answer1" ] $answer2 [/url ] |
Quote:
|
All times are GMT. The time now is 06:32 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|