The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Anybody help me for member online ip show Profile page
Hello,
Before I use this code for that, but after vB4.1.11 this code not work. Anybody help for reuse this code ? Code:
<?xml version="1.0" encoding="ISO-8859-1"?> <product productid="membergetip" active="1"> <title>Get Member IP</title> <description /> <version>1.0.2</version> <url /> <versioncheckurl /> <apm_releasedate>0</apm_releasedate> <apm_author /> <apm_relatedurl /> <apm_extrainfo /> <apm_extraedit /> <dependencies> </dependencies> <codes> </codes> <templates> </templates> <plugins> <plugin active="1" executionorder="5"> <title>Get Online Ip</title> <hookname>member_complete</hookname> <phpcode><![CDATA[if (is_member_of($vbulletin->userinfo, 5) OR is_member_of($vbulletin->userinfo, 6) OR is_member_of($vbulletin->userinfo, 9)) { $getip = $db->query_first("SELECT * FROM " . TABLE_PREFIX . "session WHERE userid=".$userinfo['userid']); $prepared[where] .= '<br />Online IP : <b>'.$getip['host'] . '</b>'; }]]></phpcode> </plugin> </plugins> <phrases> </phrases> <options> </options> <helptopics> </helptopics> <cronentries> </cronentries> <faqentries> </faqentries> </product> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|