[2.0.8] Welcome & Avatar On phpBB Index

The cleanup is complete. This forum is now read only.
Post Reply

Rating:

Excellent!
42
58%
Very Good
14
19%
Good
8
11%
Fair
2
3%
Poor
6
8%
 
Total votes: 72

AbelaJohnB
Former Team Member
Posts: 5674
Joined: Fri Jul 06, 2001 11:56 pm

[2.0.8] Welcome & Avatar On phpBB Index

Post by AbelaJohnB »

MOD Name: Welcome & Avatar On phpBB Index
Author: AbelaJohnB
MOD Description: This MOD will place a 'welcome your_name' and your avatar (if you have one) within the 'who is online' section of the index page. If you do not have an avatar, it will display the default 'whosonline.gif'

MOD Version: 3.0.3 (updated: 07/05/03)


Download File: welcome_and_avatar_on_index_303.mod
File Size: 7608 Bytes
Last edited by AbelaJohnB on Mon Apr 30, 2007 12:27 am, edited 3 times in total.
AbelaJohnB
Former Team Member
Posts: 5674
Joined: Fri Jul 06, 2001 11:56 pm

Post by AbelaJohnB »

MOD Validated/Released :mrgreen:
Xadro
Registered User
Posts: 2
Joined: Thu Jun 19, 2003 6:46 pm

Post by Xadro »

hi the mod doesnt work i have a avatar and ik can see it in normal posts but not on the index.php is is still the useronline.gif

could this be because i work with the dutch translation ??

p.s. is work with: phpBB 2.0.5
User avatar
GPHemsley
Registered User
Posts: 1475
Joined: Fri Apr 18, 2003 3:12 am
Location: Long Beach, NY
Name: Gordon Hemsley
Contact:

Post by GPHemsley »

Xadro wrote: p.s. is work with: phpBB 2.0.5

Obviously... That's why the topic title is "[2.0.5] Welcome & Avatar On phpBB Index".... :roll:


:P:D
User avatar
Rancisis
Registered User
Posts: 161
Joined: Sun Dec 08, 2002 10:57 am
Location: Belgium

Post by Rancisis »

He means "I work" ;)
I'm having the same problem by the way, the username changes but the avatar doesn't come along.
I think the problem is in the index.php file

I had to add $profiledata['user_avatar_type'] somewhere in there.
But that var isn't specified anywhere.
If I print the var on the page, nothing is printed...

Is it possible you forgot to mention a change?
Where you get the $profiledata from the database for example :lol:
_hop_
Registered User
Posts: 4
Joined: Fri Jun 20, 2003 8:45 pm

Post by _hop_ »

Rancisis wrote: He means "I work" ;)
I'm having the same problem by the way, the username changes but the avatar doesn't come along.


I have the same problem.
(2.0.5)
AbelaJohnB
Former Team Member
Posts: 5674
Joined: Fri Jul 06, 2001 11:56 pm

Post by AbelaJohnB »

Hey peeps,

Here's the fix, until I get a new version released...


find all the instances of:

Code: Select all

profiledata
and replace them with:

Code: Select all

userdata

Example:

Code: Select all

$profiledata['user_avatar_type']
to

Code: Select all

$userdata['user_avatar_type']

For those wanting a screen-shot of what this MOD does:

Image

Sorry about this boo-boo within the code.
User avatar
Ancica
Translator
Posts: 266
Joined: Fri Apr 11, 2003 5:21 pm
Location: Croatia
Name: Ančica Sečan
Contact:

Post by Ancica »

AbelaJohnB wrote: Here's the fix, until I get a new version released...


Thanks!

It works now. (-:
AbelaJohnB
Former Team Member
Posts: 5674
Joined: Fri Jul 06, 2001 11:56 pm

Post by AbelaJohnB »

MOD Updated to correct bug. See first post for download link.

Thanks to all for catching this error.
User avatar
Dr.Death
Registered User
Posts: 400
Joined: Fri Apr 25, 2003 10:04 am
Location: Germany
Contact:

Post by Dr.Death »

Yes, it works wit PhPBB 2.0.5 ! (after changing all "profiledata" in "userdata" )

Great MOD !

Doc.
Xelopheris
Registered User
Posts: 2
Joined: Mon Jun 30, 2003 7:12 pm

Post by Xelopheris »

The only thing that needs changing in this is that it needs to access the template subfolder instead of just plain subsilver. I mean, you go on a black/orange based style, and all of a sudden the Sub Silver image pops up...
Zonark
Registered User
Posts: 24
Joined: Mon Dec 30, 2002 4:24 pm
Contact:

Post by Zonark »

the example pictures shows us what happend than 1 person is online but what happens if 2, 4 or say 8 is online... will all of their avatars be shown in the same time or?
Why not...?
AbelaJohnB
Former Team Member
Posts: 5674
Joined: Fri Jul 06, 2001 11:56 pm

Post by AbelaJohnB »

Zonark wrote: the example pictures shows us what happend than 1 person is online but what happens if 2, 4 or say 8 is online... will all of their avatars be shown in the same time or?



No. Only your own avatar.
Xelopheris
Registered User
Posts: 2
Joined: Mon Jun 30, 2003 7:12 pm

Post by Xelopheris »

What's the variable for the template folder so I can change my code so it uses the appropriate style rather than it trying to access a folder I long ago deleted.
Zonark
Registered User
Posts: 24
Joined: Mon Dec 30, 2002 4:24 pm
Contact:

Post by Zonark »

AbelaJohnB wrote:
Zonark wrote:the example pictures shows us what happend than 1 person is online but what happens if 2, 4 or say 8 is online... will all of their avatars be shown in the same time or?



No. Only your own avatar.


ok but whats the point in seeing your own avatar at the bottom of the page if no one else than yourself can see it... i mean, if you want to see your avatar why not browse you profile :) it's like if its telling you... hay your online!
one thing if it was a picture of the admin, mod or someone important person who welcomes you :)...or.. if the admin whould be online his avatar should be there and the welcome text.. unless it would be empty but this is only my opinion :wink: i'm so damn bad att making my own script but good at complaining... :)
Why not...?
Post Reply

Return to “[2.0.x] MOD Database Cleanup”