![]() |
Quote:
|
Quote:
Grtz barteken |
Quote:
https://vborg.vbsupport.ru/showpost....98&postcount=2 To show different content depending of if people are logged in or not, you want to use this one. PHP Code:
|
Quote:
PHP Code:
Code:
if ($vbulletin->userinfo['userid']) PHP Code:
Code:
echo "<img src='http://www.yoursite.com/forum/$navbar_ava[0]' align='left' />"; This will show the User's current avatar, and if the User has no avatar specified, it'll show the no avatar image. Don't forget to change the "yoursite.com" to reflect your forum. See attached for Screenshots. |
ok, so i got it working, sort of.
It shows me logged in, but doesnt look like my cookie ever expires when it should. so, on the page i created, i'm always logged in, even after the cookie should have timed out with me idling. Also, from the who's online page, it never updates the time of last activity or the location if i'm on a page outside of vb. Jim |
Quote:
Quote:
|
Quote:
Thanks! |
Enhanced version with avatar, number of PM's and user stats is ready.... I think....
I just need to test it on someone who uses a table prefix for their database. |
Awesome, I look forward to it. :)
|
I'm having an issue where everything looks like it's logging in fine, but when it goes back to the page, it shows me as not being logged in. I checked the cookie fix discussed in the Troubleshooting section and it's as it should be. Sometimes though, if I go to the Forum and then go back to the page, it shows me as logged in. Any ideas? I love this hack, but I don't want it acting up like this to the regular users.
Quote:
|
All times are GMT. The time now is 07:28 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:
|