Listings for special member levels have special icons

This is a discussion on Listings for special member levels have special icons within the v3.1 Modules & Modifications forums, part of the v3.1 Legacy Help & Support category; I need to have a special user level, something like "Gold Member". I need it so that when they post ...


Go Back   68 Classifieds Forums > v3.1 Legacy Help & Support > v3.1 Modules & Modifications

 
LinkBack Thread Tools Display Modes
  #1  
Old 12-05-2007, 06:03 PM
Junior Member
 
Join Date: Dec 2007
Posts: 14
Rep Power: 5
Default Listings for special member levels have special icons

I need to have a special user level, something like "Gold Member". I need it so that when they post a listing, their listings have a special "Gold Member" icon that distinguishes them from other members.

Is something like this possible? Did some searching and could not find any thing like this.

__________________
V3.1.10 Developer
Reply With Quote
  #2  
Old 12-06-2007, 09:22 AM
Moderator
 
Join Date: Mar 2006
Posts: 3,736
Rep Power: 91
Default

Quote:
Originally Posted by briano View Post
I need to have a special user level, something like "Gold Member". I need it so that when they post a listing, their listings have a special "Gold Member" icon that distinguishes them from other members.

Is something like this possible? Did some searching and could not find any thing like this.
With the developer edition, just about anything is possible since you have access to almost all the scripts to modify.

Exactly where you want the "gold member" icon to appear will ultimately determine how dificult it will be to do.
__________________
Larry.
(Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free)

Set your site apart from the competition with one of my modules......
Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module

68 Classifieds Important Links
Customer Area | Issue Tracker | Knowledge Base | User Manuals
Reply With Quote
  #3  
Old 12-06-2007, 09:49 AM
Junior Member
 
Join Date: Dec 2007
Posts: 14
Rep Power: 5
Default

Well, it would need to appear on the search results page, catagory view page (with the listings within each catagory, and on the listing itself. This way people can see right away that the listing is from the special member level.

After thinking about it over night I think I could probably do an IF statement that looks for the poster's member level, but I'll have to dig a little more to see how to call that out. Something like:
Code:
{if $Memberlevel="Gold"}
<td><img src="gold-member-icon.jpg"></td>
{/if}
I know that's not the correct code, but I think something similar with the correct variables *might* work. Maybe it wouldn't be that simple. I'll do some more digging this afternoon when I have time.
__________________
V3.1.10 Developer

Last edited by briano; 12-06-2007 at 10:01 AM.
Reply With Quote
  #4  
Old 12-06-2007, 10:07 AM
Moderator
 
Join Date: Mar 2006
Posts: 3,736
Rep Power: 91
Default

Generally speaking, member information isnt gathered when querying ads for display.

Off the top of my head you could probably accomplish what you want to do in one of a couple ways. One would be to assign gold members thier own membership level. The other would be to use one of the registration extra fields.

Either way though would require that all of the ad queries be modified to collect this extra data from the user table so it can be associated with an ad.
__________________
Larry.
(Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free)

Set your site apart from the competition with one of my modules......
Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module

68 Classifieds Important Links
Customer Area | Issue Tracker | Knowledge Base | User Manuals
Reply With Quote
  #5  
Old 12-06-2007, 11:52 AM
Junior Member
 
Join Date: Dec 2007
Posts: 14
Rep Power: 5
Default

Thank you for the help, Lhotch. I have it semi working, but I'm still digging around in the code and making sure I'm doing it correctly. I'll work on it and post my code to see if I'm causing any problems.
__________________
V3.1.10 Developer
Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
V4 Changes Eric Barnes v4 Questions & Support 24 11-12-2007 02:35 AM
Special Character in Listings stops feed! garysr v3.1 Questions & Support 6 01-09-2007 11:29 PM


All times are GMT -4. The time now is 06:04 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22