Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jun 2002
Posts: 15
Junior Member
Junior Member
Offline
Joined: Jun 2002
Posts: 15
hi, iv seen a hack on vbs where you add a welcome panel to the forum summary page. i am currently working on porting it to my ubb.

I was wondering whether there is a way to make the users avatar (one he uses in his posts) appear on the forum summary page. It appears simple to do, however i am probably being dumb and cant work it out.

if someone could tell me how id be grateful smile


SoundZ
Sponsored Links
Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
I've been working on a Welcome panel myself too. Just thinking how it will be set. If I figure it out I will share. smile

Joined: Jul 2001
Posts: 1,111
Member
Member
Offline
Joined: Jul 2001
Posts: 1,111
We had it running on s:c, thanks to LK, he knows the code but its up to him to release it or not tipsy

Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Yeah I remember seeing it there. I'd also like when a guest comes for a "register" pick to come up instead of nothing in that box.

Joined: Jun 2002
Posts: 15
Junior Member
Junior Member
Offline
Joined: Jun 2002
Posts: 15
i have the guest avatar appearing for ppl who arent registered (registered users at the moment just have a insert avatar here message) but still cant get users avatar to appear frown

does anyone know how to get info from the users profile to appear. using that i could prob get the avatar to appear.


SoundZ
Sponsored Links
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Use what brett uses for hit counter (and I "stole" with permission for chat mod and IM) - . Then make a new avatar.cgi, that checks vars_config for CookieNumber and MembersPath, then uses it to open cookie, then MembersPath/cookie[4].cgi, then the avatar line.

Gibberish? Ask 1-800-gibberish or reply. wink

Joined: Jun 2002
Posts: 15
Junior Member
Junior Member
Offline
Joined: Jun 2002
Posts: 15
total gibberish frown


SoundZ
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Enter CP - General Display Settings - Forum Intro. Type:
Code
[/code]Then use (untested) in a new file called avatar.cgi:[code]
CHMOD to 755, ofcourse.

Joined: Jun 2002
Posts: 15
Junior Member
Junior Member
Offline
Joined: Jun 2002
Posts: 15
laugh thanks ill go try it
cheers man


SoundZ
Joined: Jun 2002
Posts: 15
Junior Member
Junior Member
Offline
Joined: Jun 2002
Posts: 15
works a treat laugh
cheers iv been after a hack like this one for ages


SoundZ
Sponsored Links
Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Why thank you LK. smile

I will try this later on.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
AllenAyres
AllenAyres
Texas
Posts: 21,079
Joined: March 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)