Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 {$forumurl?} problem
Hamster24 Offline
Member
***
Posts: 69
Joined: Sep 2014
Post: #1
{$forumurl?} problem
i am trying to use {$forumurl?} in my template
when i try to save it gives following error
A potential security issue was found in the template. Please review your changes or contact the MyBB Group for support.

How can i use the forumurl in template?
12-01-2014 08:04 PM
Find all posts by this user Quote this message in a reply
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #2
RE: {$forumurl?} problem
Try

Code:
<a href="{$forumurl}"></a>



[Image: leelink.gif]
MYBB1.6 & XThreads
(This post was last modified: 12-02-2014 06:20 AM by leefish.)
12-02-2014 06:19 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Hamster24 Offline
Member
***
Posts: 69
Joined: Sep 2014
Post: #3
RE: {$forumurl?} problem
i am using that plugin as following
<a href="{$forumurl?}search={Threadfield here}">Search Threadfield</a>
and it gives the error i mentioned above
12-03-2014 05:59 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #4
RE: {$forumurl?} problem

Code:
<a href="{$forumurl_q}search={...}">Search Threadfield</a>


{$forumurl?} was never valid in templates - it was a special construct which worked in threadfields, which is deprecated for {$forumurl_q}


My Blog
(This post was last modified: 12-03-2014 07:05 PM by ZiNgA BuRgA.)
12-03-2014 07:04 PM
Find all posts by this user Quote this message in a reply
Hamster24 Offline
Member
***
Posts: 69
Joined: Sep 2014
Post: #5
RE: {$forumurl?} problem
oh ok i will try to use the code given by you
thanks for help
12-03-2014 07:19 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: