PDA

View Full Version : Mini Mods - Show Avatars in your Forum-Staff-List


Freki
09-15-2007, 10:00 PM
This little modification will show the avatars of your Staff in the Forum-Staff-List.

DEMO (http://87.106.144.225/forum/showgroups.php)

I test it at VB 3.6.7 but I thought it will also work in 3.6.X. (no guaranty, ?cause not tested)

Changes you?ve made to:
In your showgroups_usergroupbit template search:
<td class="$bgclass">$user[onlinestatus]
after it set:
<br/><img src="image.php?u=$user[userid]" border="0">

Done!

rainyleaves
09-16-2007, 04:48 AM
Thanks for Good idea.

You can get more good display with this code.

Template: showgroups_usergroupbit

Find :
<td class="$bgclass">$user[onlinestatus]</td>

Replace :
<td class="$bgclass">$user[onlinestatus]</td><td class="$bgclass"><img src="image.php?u=$user[userid]" border="0"></td>


Template: showgroups_usergroup
Find :
<td class="tcat" colspan="3">$user[title]</td>
Replace :
<td class="tcat" colspan="4">$user[title]</td>

Find :
<td class="thead">$vbphrase[contact]</td>
Replace :
<td class="thead" colspan="2">$vbphrase[contact]</td>

Freki
09-16-2007, 05:17 AM
Thanks for Good idea.

You can get more good display with this code.

THX; yes thats looks nice, too. :up:
But that way the colum for usernames and contact should be renamed also. ;)

rainyleaves
09-16-2007, 07:05 AM
Sorry, My mistaken. :)

Fixed.
Template: showgroups_usergroup

Find :
<td class="tcat" colspan="3">$user[title]</td>
Replace :
<td class="tcat" colspan="4">$user[title]</td>

Find :
<td class="thead">&nbsp;</td>
Replace :
<td class="thead" colspan="2">&nbsp;</td>

Magnumutz
09-16-2007, 07:14 AM
I just tested it Frenki, and it doesn't work: http://haste-network.net/staff.html

Edit: i now see that we were supposed to have the avatars saved somewhere else? WTF?

Later Edit: Nevermind...

princeedward
09-16-2007, 10:53 AM
nice and thanks for this...is it possible also add to the top/title?

Stat: Status Title (Online/Offline)

Avatar: Avatar Title

i guess its possible also right?...and how can we make those no avatar...auto use the noavatar default image?

please view attachment below...

69864

anyway...thanks and clicked install..

;)

rainyleaves
09-16-2007, 01:33 PM
nice and thanks for this...is it possible also add to the top/title?

Stat: Status Title (Online/Offline)

Avatar: Avatar Title

i guess its possible also right?...and how can we make those no avatar...auto use the noavatar default image?

please view attachment below...

69864

anyway...thanks and clicked install..

;)
Yes, You can.

Template: showgroups_usergroup

Code:
Find :
<td class="tcat" colspan="3">$user[title]</td>
Replace :
<td class="tcat" colspan="5">$user[title]</td>

Find :
<td class="thead">&nbsp;</td>
Replace :
<td class="thead">Stat</td><td class="thead">Avatar</td>

Freki
09-16-2007, 01:56 PM
THX for that support rainyleaves. ;):up:
Yes it is possible to change this modi so how you like it. I thought I will change my one a little bit, too, until I got the time for it. ( You know.... the work... :D)

princeedward
09-16-2007, 02:42 PM
https://vborg.vbsupport.ru/

...wonderful...mod...i really like it...i guess its not far enough to create almost the same of vB.org "Meet Our Staff"...right?

btw...i guess its good also if the avatar has a direct link to view public profile page...right?

OK...this is just an idea...and i guess its good also..if it's posible...https://vborg.vbsupport.ru/

please view attachment below...

69867

keep it up and best regards to all...

https://vborg.vbsupport.ru/

Freki
09-16-2007, 06:51 PM
OK...this is just an idea...and i guess its good also..if it's posible...https://vborg.vbsupport.ru/

please view attachment below...

69867

keep it up and best regards to all...

https://vborg.vbsupport.ru/

I will take a look on it at the next days. I thought that should be possible.

Edit: SRY I just haven?t found the time for it. We moved with our Forum to another Server and I?ve many to do there...

rainyleaves
09-25-2007, 04:46 PM
http://epaloids.com/images/smilies/roundthanks.gif

...wonderful...mod...i really like it...i guess its not far enough to create almost the same of vB.org "Meet Our Staff"...right?

btw...i guess its good also if the avatar has a direct link to view public profile page...right?

OK...this is just an idea...and i guess its good also..if it's posible...http://epaloids.com/images/smilies/thinking2.gif

please view attachment below...

69867

keep it up and best regards to all...

http://epaloids.com/images/smilies/banger.gif

You can get with this code.

Find:
<img src="image.php?u=$user[userid]" border="0">

Replace:
<a href="member.php?$session[sessionurl]u=$user[userid]"><img src="image.php?u=$user[userid]" border="0"></a>

Thats all... :)

princeedward
09-26-2007, 04:31 PM
many thanks for your help and time bro. rainyleaves but it didn't work...what i want to make it happen...on my attachment image...

:(

rainyleaves
09-27-2007, 02:44 AM
Okay, princeedward
You need edit more detail.

Template : showgroups_usergroupbit


Find: (This is 'showgroups_usergroupbit''s original code.)
<td class="$bgclass">$user[onlinestatus]</td>
<td class="$bgclass">
<a href="member.php?$session[sessionurl]u=$user[userid]">$user[musername]</a>


Replace: (You need change red code to your forum's main directory name.)
<td class="$bgclass">$user[onlinestatus]</td><td class="$bgclass"><a href="member.php?$session[sessionurl]u=$user[userid]"><img src="/forum/image.php?u=$user[userid]" border="0"></a></td>
<td class="$bgclass">
<a href="member.php?$session[sessionurl]u=$user[userid]">$user[musername]</a>

Luck!! :)

princeedward
09-27-2007, 09:19 PM
thanks once again for your help bro. rainyleaves....by doing this code...i manage to do my attachment...also made all leaders username big and italic...

<td class="$bgclass">$user[onlinestatus]</td><td class="$bgclass"><a href="member.php?$session[sessionurl]u=$user[userid]"><img src="image.php?u=$user[userid]" border="0"></a></td>
<td class="$bgclass">
<a href="member.php?$session[sessionurl]u=$user[userid]" class="bigusername" style="font-style: italic;">$user[musername]</a>


70387


what i want to know if it's possible to add some of this leaders info below username:

Join Date:
Last Activity:
Current Location:
Homepage:

i mean can be seen to all leaders automatically

:rolleyes:

sorry for giving you all this headache job...:p

best regards...

rainyleaves
09-28-2007, 01:59 AM
I can't because I'm not a coder.
I just can use little HTML code... Sorry... :)

princeedward
09-28-2007, 07:51 AM
oh!...sorry for that...might coder anywhere out there see this and help us....anyway...thanks a lot for your time and help bro....

best regards...

;)

Magnumutz
09-28-2007, 07:18 PM
It's nice, but can you make it work with vBSEO, cuz it's causing some problems...

Nickbe
10-04-2007, 08:46 AM
Not working it shows no change except for extra spacing between two groups. Any help??????????????

Freki
10-07-2007, 12:35 PM
It's nice, but can you make it work with vBSEO, cuz it's causing some problems...
VBSEO is running in our Forum, too. Should work.

rdrunnr
10-10-2007, 03:17 PM
My user names, forums, and contact info headings are off a column, what did I do wrong?

http://www.clickclickracing.com/forums/showgroups.php

edgecutioner
10-12-2007, 12:54 PM
My user names, forums, and contact info headings are off a column, what did I do wrong?

http://www.clickclickracing.com/forums/showgroups.php

follow rainyleaves' codes

Ricsca
10-31-2007, 04:19 PM
Is possibol insert the category with the user moderate?

Thanks

docvader
01-31-2008, 03:47 AM
Wonder if you could help. There used to be a hack similar to this that created a "staff page" where people would have a list of their avatars and biographies, all drawn from input in a special section of their member profile.

This is similar, to some degree. Anyone know where the "staff pages" hacks are for 3.6?

Thanks!

CrashPush
02-06-2008, 06:58 PM
Wonder if you could help. There used to be a hack similar to this that created a "staff page" where people would have a list of their avatars and biographies, all drawn from input in a special section of their member profile.

This is similar, to some degree. Anyone know where the "staff pages" hacks are for 3.6?

Thanks!

The staff page (Meet Our Staff) is not a hack. It looks like a custom vBadvanced page that was created and linked to from the footer. That page has nothing to do with the default original 'showgroups' page. I managed to do exactly what they did but I didn't like it too much. I'm still trying to get the same effect with the actual 'showgroups' file instead of creating a custom page. I'm starting to think its not possible. Finding this thread gave me a little hope that it might be a possibility.

Boofo
02-06-2008, 08:22 PM
I followed rainyleaves' codes but in 3.7.0 beta 4 I am getting a red x where the image should be. Any ideas how to fix that?

EDIT: I am using customavatars. What would be the correct path for those?

Tharos
05-03-2008, 06:29 AM
thanks dude
small mod but makes the forum nicer :p

TopKing
09-01-2008, 04:35 PM
Thanks :)

Aclikyano
11-29-2008, 06:23 PM
this is 2 much for the server if i have like 100 ppl under forum leaders???

viper357
12-22-2008, 01:42 PM
<br/><img src="image.php?u=$user[userid]" border="0">
I've added that code but the avatars are not appearing, I just get the red X in place of the avatar. I am on 3.6.12.

Any idea's as to why it's not working?