![]() |
Easiest way to display username and avatar on external page?
Hi everyone,
Is there an easy way to display the username and avatar on an external page that is on the same domain as the forums? My requirements are (hopefully) pretty simple. If the user is not logged in to the forums, they see a Log in link. If they are logged in, they see their username and avatar. Thanks, Kirupa :) |
I should mention that I used to have an easy way of doing this in vBulletin 3, but I haven't found an easy way of doing this in vB4 :)
|
Post the code you used for vb3. The code (php) should work. It's the html that we may need to modify. So, post exactly how you did this in vb3 and we can try to help you modify it for vb4.
|
Thanks for the response Lynne. Below is the code in the PHP file I used to use:
Code:
Kirupa --------------- Added [DATE]1325641064[/DATE] at [TIME]1325641064[/TIME] --------------- Actually Lynne - this is really bizarre, but it works now. I just tried it out again, and everything works perfectly. |
LOL. I'm glad it is now working for you. :)
|
This script doesn't work for me.
Error: Fatal error: Call to a member function query_first_slave() on a non-object in /home/mysite/domains/mysite.it/public_html/forum/includes/functions.php on line 1576 |
All times are GMT. The time now is 10: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:
|