Hide banners from group / rank?

a complete banner management system, any number of banners can be added
Forum rules
The content in this forum is dated Dec. 21 2005 and can be used as Archive only. This Forum is LOCKED and READ ONLY !

Hide banners from group / rank?

Postby Damien808 on Fri 05. Mar, 2004 05:34

I created a mod that will place a member into a group instantly when they donate money through PayPal... Everything is done automaticaly so I never even know who is and who isnt a member unless I check the group page that lists who is and who is not a member of that group...

Now what I am looking for is a why to hide banners from members of specific groups...

I read that you dont plan on doing this but suggested using ranks...

How would I hide banners from members of a certain Rank?
Is this similar to "Post Rank"?
I can create rankes based on how many posts a user has...
And after I do, there is nothing in the banner admin showing any of these ranks...

Could you help me out?
Damien808
Poster
Poster
 
Posts: 3
Joined: Wed 25. Feb, 2004 23:29

Postby Niels on Mon 05. Apr, 2004 20:04

any user, can have assigned a special rank - you script should do this, when they recive the donation.

then in page_header

[FIND]
WHERE banner_active

[AFTER, ADD]
AND NOT ".$userdata['user_rank']."=RANK_ID


the special RANK_ID should be replaced with the value for the rank, your V.I.P. users get assigned when paying

I haven't tested this, but go ahead and try it - I would expect it to work..
for testing you may try with a fixed rank ID, witch you manually have assigned to a user - before proseding to let your script assign this to the user

btw. witch MOD have you got to automatic control your V.I.P. users with a payment from paypal.. ?
(if a how-to is EM ready, it will mostly be bullet prof, since a machine is more picky than a human. :D)
User avatar
Niels
Poster
Poster
 
Posts: 4390
Joined: Sat 27. Jul, 2002 15:46

Postby Maverick69 on Mon 07. Feb, 2005 17:51

Anyone can confirm that this is working ?

Or isn't it better to do something like this (I don't know if the variable names are correct, it's just for the example) ?

Code: Select all
AND NOT ".$userdata['user_group']."=GROUP_ID
Maverick69
Poster
Poster
 
Posts: 4
Joined: Tue 04. Jan, 2005 13:03


Return to Complete banner [2.0.6/EM]

Who is online

Users browsing this forum: No registered users and 1 guest

cron