Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Aug 2002
Posts: 100
Journeyman
Journeyman
Offline
Joined: Aug 2002
Posts: 100
Was wondering if there is a way to allow the board to show the users avatar ONLY if that user is a member of a specified group?

Example... ALL USERS default to no avatar showing... But the users in the group "Contributors" have avatars showing

Wondering if this is possible, and how it would be done?

Deejay

Sponsored Links
Joined: Aug 2002
Posts: 100
Journeyman
Journeyman
Offline
Joined: Aug 2002
Posts: 100
Wondering if maybe the reason why no one commented on this was because its too hard?

I really dont know how to do this, so i was wondering if anyone else here knows if its easy, and if so, if it could be done?

I think for those of us who might be trying to get users to pay for a better level of access to their sites, this might come in handy...

Offering avatars to the paid users in the "Contributor" group would be great.

Deej

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
I don't think this would be too difficult.... but have been too swamped lately to give it a go.

I can add it to my list.
It's a long list, but I could do it if nobody beats me to it.


Joined: May 1999
Posts: 1,715
Addict
Addict
Joined: May 1999
Posts: 1,715
I did this for coloradok5 recently, or at least something very similar. The second part of this post describes how to only allow users from one group to add avatars to their profile. Just use that and remove all current avatars with this SQL command:

UPDATE w3t_Users SET U_Picture = ''

Of course, it is quite easy to edit the profile page, and showthreaded/showflat to only show the avatar if they are of the specified group, but that would require more changes.

I'm not sure if I should add those two little hacks as mods, they aren't much to show, but maybe it would be easier to find.

Joined: Aug 2002
Posts: 100
Journeyman
Journeyman
Offline
Joined: Aug 2002
Posts: 100
Awesome! Thanks guys!

Deej

Sponsored Links

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
badfrog
badfrog
somewhere on the coast of Maine
Posts: 94
Joined: March 2007
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
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 20240506)