Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Two mandatory conditions? It does not work ..
Steeep Offline
Junior Member
**
Posts: 10
Joined: Aug 2012
Post: #1
Question Two mandatory conditions? It does not work ..
Good'm new to the forum, I have been a problem with the Plugin Template Conditionals, and I have a conditional sentence with two but the problem is that not should be respected as the code is as follows.

PHP Code:
1
2
3
4
5
6
	<if THIS_SCRIPT != "member.php" AND $GLOBALS['mybb']->input['action'] != "register" then>
	<div class="tbar_sep"></div>
	<div class="tbar_item tbar_iregister">
		<a href="{$mybb->settings['bburl']}/member.php?action=register">{$lang->welcome_register}</a>
	</div>
	</if>


It is assumed that the registration link should not show when in the page [b]forums/member.php?action=register[/ b], but if I go to the page [b] forums/member.php?action=login[/ b] and not shown here assume that if I should be displayed.

It is assumed that the judgment is to put the TWO conditionals are met, but that does not happen .. Any solution?

Thank you in advance.

PS: Sorry for the bad English, but Spanish is my thing.

(This post was last modified: 08-21-2012 07:47 AM by Steeep.)
08-21-2012 07:45 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Two mandatory conditions? It does not work .. - Steeep - 08-21-2012 07:45 AM

 Standard Tools
Forum Jump: