![]() |
Memberinfo Php script
I have a php script that I store the output to a variable. I want to display that variable in the memberinfo template. Is there a way to call the script so that I can use the variable in Memberinfo template?
*edit: I a figured to use a plugin, but what is the best hook location to run the script? |
Most likely, member_complete, would be the best option.
|
It depends on where you want to hook the memberinfo for your variable to display.
...as a block? within a tab? https://vborg.vbsupport.ru/showthread.php?t=151254 https://vborg.vbsupport.ru/showthread.php?t=99570 |
Thank you, I set it to member_complete, but now I have another problem, how can I get the userid of the member page, not your userid. I cant get userid from the url because I am using a url rewrite.
|
$this->profile->userinfo[$userid];
possibly edit- that may only be for blocks $vbulletin->userinfo['userid'] doesnt work? |
I got to work with $vbulletin->GPC['userid']. Thanks for everything.
|
All times are GMT. The time now is 08:54 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|