MyBB Community Forums
MyBB Community Forums
>
Extensions
>
Plugins
>
Plugin Development
> checking spiders
Full Version:
checking spiders
You're currently viewing a stripped down version of our content.
View the full version
with proper formatting.
amirreza13
2015-02-02, 09:14 PM
Hi
I am trying to create a plugin and I want to know the user is spider or not.
How should I do it?
Thanks
dragonexpert
2015-02-03, 06:19 AM
Start looking at this area:
https://github.com/mybb/mybb/blob/featur...e.php#L206
GreyWolf
2015-02-03, 09:24 AM
global $session; if($session->is_spider == true) { //do something } else { //do something else }
MyBB Community Forums
>
Extensions
>
Plugins
>
Plugin Development
> checking spiders