The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
How do i get userid in profile page?
I have a plugin under global start, the variable is being called from the profile page. Code:
ob_start();
$memid = $userinfo[userid];
include("../jim_profile_gallery.php");
$jim_profile_gallery = ob_get_contents();
ob_end_clean();
I need $memid to equal the userid of the member's profile I am viewing. I'm not sure if the plugin is in the right hook location or if i'm just accessing the userid field wrong. Jim |
|
#2
|
|||
|
|||
|
PHP Code:
|
|
#3
|
|||
|
|||
|
Quote:
Jim |
|
#4
|
|||
|
|||
|
Try
Code:
$userinfo[userid] |
|
#5
|
|||
|
|||
|
Quote:
Jim |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|