Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 MYBB 1.8 template conditionals?
letsforum Offline
Junior Member
**
Posts: 36
Joined: Sep 2013
Post: #1
MYBB 1.8 template conditionals?
Hi MYBB 1.8 is out could you please make template conditionals plugin work with this version?

For me this is the best plugins simply amazing! I am heavily rely on it.

Internet marketing and SEO forum - http://letsforum.com
09-12-2014 06:10 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #2
RE: MYBB 1.8 template conditionals?
Are you saying it doesn't already work for you?
If so, could you provide instructions on how to make it not work?

Thanks.

My Blog
09-12-2014 03:11 PM
Find all posts by this user Quote this message in a reply
letsforum Offline
Junior Member
**
Posts: 36
Joined: Sep 2013
Post: #3
RE: MYBB 1.8 template conditionals?
I don't know if it works or not I thought you could tell me more about that please? Many say plugins for 1.6 won't work on 1.8 is this true?

Internet marketing and SEO forum - http://letsforum.com
09-12-2014 09:25 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: MYBB 1.8 template conditionals?
(09-12-2014 09:25 PM)letsforum Wrote:  I don't know if it works or not I thought you could tell me more about that please?
I imagine that it should work as I don't see why it wouldn't.
Why not try it and see?

The plugin itself doesn't do any changes to the DB, so it's not like it can really cause that much harm.

My Blog
09-13-2014 12:57 PM
Find all posts by this user Quote this message in a reply
letsforum Offline
Junior Member
**
Posts: 36
Joined: Sep 2013
Post: #5
RE: MYBB 1.8 template conditionals?
Thanks so much, gonna test let see how it goes. I can't imagine my forum without this plugin simply awesome Smile

Internet marketing and SEO forum - http://letsforum.com
09-14-2014 05:59 AM
Find all posts by this user Quote this message in a reply
letsforum Offline
Junior Member
**
Posts: 36
Joined: Sep 2013
Post: #6
RE: MYBB 1.8 template conditionals?
Works great with mybb 1.8 awesome Smile

Internet marketing and SEO forum - http://letsforum.com
09-19-2014 10:11 PM
Find all posts by this user Quote this message in a reply
Seabody Offline
Member
***
Posts: 54
Joined: Aug 2012
Post: #7
RE: MYBB 1.8 template conditionals?
Did you make any edits? Smile

Reason I ask is because I installed a freshly downloaded copy of Template Conditionals. Made no edits to the plugin. I get the following odd error:

Parse error: syntax error, unexpected ')' in C:\wamp\www\divergentfans\inc\functions_user.php(468) : eval()'d code on line 21

I've no clue how this occurs, given my syntax is currently this (if clause is just a placeholder, was testing when error first occured):

Code:
<if 1==0>
<div>Hello, World!</div>
</if>


Line 21 in functions_user is the following piece, from the user_exists() function:

PHP Code:
$query = $db->simple_select("users", "COUNT(*) as user", "uid='".(int)$uid."'", array('limit' => 1));


And line 468 (for reference) is this, from the usercp_menu_messenger() function:

PHP Code:
	eval("\$usercpmenu .= \"".$usercp_nav_messenger."\";");


The template I am editing is usercp_nav_messenger. Running an almost vanilla MyBB install, except the theme is different.

11-09-2014 05:58 PM
Find all posts by this user Quote this message in a reply
Sama34 Offline
Senior Member
****
Posts: 490
Joined: May 2011
Post: #8
RE: MYBB 1.8 template conditionals?
The isssue is indeed in your usercp_nav_messenger template.

Code:
<if 1==0 then>
THEN...
</if>


Support PM's will be ignored. Yipi
Plugins: Announcement Bars - Custom Reputation - Mark PM As Unread
(This post was last modified: 11-09-2014 11:49 PM by Sama34.)
11-09-2014 11:48 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Seabody Offline
Member
***
Posts: 54
Joined: Aug 2012
Post: #9
RE: MYBB 1.8 template conditionals?
DAMMIT. Thanks, I could've sworn that it was without the 'then' bit. I haven't used Template Conditionals in ages though.
11-10-2014 12:31 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: