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 ...
|
|||||||
|
|
LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
||||
|
||||
|
Quote:
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 |
|
#3
|
|||
|
|||
|
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}
__________________
V3.1.10 Developer Last edited by briano; 12-06-2007 at 10:01 AM. |
|
#4
|
||||
|
||||
|
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 |
|
#5
|
|||
|
|||
|
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 |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
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 |