In previous versions I was able to change the destination for a specific forum id's NEW THREAD button by replacing the following code in 'Forum Display Templates => FORUMDISPLAY'
Quote:
<if condition="$show['newthreadlink']"><a href="newthread.php?$session[sessionurl]do=newthread&f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a><else />
|
With somthing like this
Quote:
<if condition="$show['newthreadlink']"><a href="<if condition="$foruminfo['forumid'] == 13">/newthread.php?do=blahblah
<else /></if></if>"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a><else />
|
Now though I get this error when I try and save to the template.
Quote:
Parse error: parse error, unexpected '\"', expecting ']' in /var/www/html/forum/includes/adminfunctions_template.php(3523) : eval()'d code on line 471
|
I have spoken to a few people and we all agree that 3.5 is very tempermental with code. I have gone through it a dozen times trying to change it around to be accepted but I cant get it to work properly.
Any help would be greatly appreciated.
Thanks in advance.