jgas Active member Jan 20, 2011 #1 Hi, could you please write a list of all the conditions we can use on xenforo? Mainly, i need the conditions is registred, is unregistred, is thread x, is forum y, is usegroup z! Thanks!
Hi, could you please write a list of all the conditions we can use on xenforo? Mainly, i need the conditions is registred, is unregistred, is thread x, is forum y, is usegroup z! Thanks!
D Deleted member 10469 Guest Oct 23, 2012 #21 Hello, how to do this please? if($user == bot) ? Thanks Upvote 0 Downvote
J James Well-known member Oct 23, 2012 #22 Zephyr said: Hello, how to do this please? if($user == bot) ? Thanks Click to expand... I believe the $user array has a variable of is_spider or is_robot or something. Let me dig! EDIT: $visitor['is_robot'] No idea when that variable might be set, but hey - it's there. Upvote 0 Downvote
Zephyr said: Hello, how to do this please? if($user == bot) ? Thanks Click to expand... I believe the $user array has a variable of is_spider or is_robot or something. Let me dig! EDIT: $visitor['is_robot'] No idea when that variable might be set, but hey - it's there.
D Deleted member 10469 Guest Oct 23, 2012 #23 Thanks, this is to hide some message for user but not BOT Upvote 0 Downvote
Russ Well-known member Oct 23, 2012 #24 Zephyr said: Thanks, this is to hide some message for user but not BOT Click to expand... There's this too if you're interested: http://xenforo.com/community/resources/first-click-free-smart-content-hiding.1132/ Not sure if it's what you're looking for. Upvote 0 Downvote
Zephyr said: Thanks, this is to hide some message for user but not BOT Click to expand... There's this too if you're interested: http://xenforo.com/community/resources/first-click-free-smart-content-hiding.1132/ Not sure if it's what you're looking for.
D Deleted member 10469 Guest Oct 23, 2012 #25 James said: I believe the $user array has a variable of is_spider or is_robot or something. Let me dig! EDIT: $visitor['is_robot'] No idea when that variable might be set, but hey - it's there. Click to expand... if($IdMembre == $idMembreCourant OR $visitor['is_robot']) it's good please ? Upvote 0 Downvote
James said: I believe the $user array has a variable of is_spider or is_robot or something. Let me dig! EDIT: $visitor['is_robot'] No idea when that variable might be set, but hey - it's there. Click to expand... if($IdMembre == $idMembreCourant OR $visitor['is_robot']) it's good please ?
D Deleted member 10469 Guest Oct 23, 2012 #26 Russ said: There's this too if you're interested: http://xenforo.com/community/resources/first-click-free-smart-content-hiding.1132/ Not sure if it's what you're looking for. Click to expand... For private bbcode usage, but thanks Upvote 0 Downvote
Russ said: There's this too if you're interested: http://xenforo.com/community/resources/first-click-free-smart-content-hiding.1132/ Not sure if it's what you're looking for. Click to expand... For private bbcode usage, but thanks
J James Well-known member Oct 23, 2012 #27 Zephyr said: if($IdMembre == $idMembreCourant OR $visitor['is_robot']) it's good please ? Click to expand... I'm not sure what you're asking. Is this in the code or in the templates? If it's in the code, and all of those variables are defined, and you've instantiated the $visitor array, that's fine. Upvote 0 Downvote
Zephyr said: if($IdMembre == $idMembreCourant OR $visitor['is_robot']) it's good please ? Click to expand... I'm not sure what you're asking. Is this in the code or in the templates? If it's in the code, and all of those variables are defined, and you've instantiated the $visitor array, that's fine.