MyBB Community Forums

Full Version: mybb integration??
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
integration..
username = php code ??
ip = php code ??
If I understand what you want:

username = $mybb->user['username']
ip = $mybb->user['lastip']
(10-09-2015, 01:01 PM)root123 Wrote: [ -> ]integration..
username = php code ??
ip = php code ??

Depends where you want to display this info. Do you want to display it in a template? If so, which one? Do you want to display it in a custom page which is integrated with MyBB? Do you want it in your own page which is not linked with MyBB in any way? Please elaborate.
I want to add one custom script in index.php on mybb
(10-09-2015, 02:32 PM)root123 Wrote: [ -> ]I want to add one custom script in index.php on mybb

If its in the index template {$mybb->user['username']} and {$mybb->user['lastip']} should work. Do you need help with editing templates?
I try to do script that indicates a text of the user but not the Bots/Spiders .. Smile
There you go. Smile
(10-09-2015, 02:48 PM)root123 Wrote: [ -> ]I try to do script that indicates a text of the user but not the Bots/Spiders .. Smile

So its simply text on the index page which is only shown to logged in users?
I'm ready .. thx Smile