Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 15 Nov 2004, 17:18
mkdevo mkdevo is offline
 
Join Date: May 2004
Supporting Member hack?

i'm looking for a hack that will display something like 'Supporting Member' with an icon under a user's name, in order to tell who has donated to the site.

i couldn't find anything here, but i've seen this up and running. see here.

example in the attachment. it also shows up as a line in a user's profile.
Attached Images
File Type: jpg support.jpg (8.4 KB, 32 views)
Reply With Quote
  #2  
Old 15 Nov 2004, 18:47
Colin F's Avatar
Colin F Colin F is offline
 
Join Date: Jul 2004
Location: Switzerland
Originally Posted by mkdevo
i'm looking for a hack that will display something like 'Supporting Member' with an icon under a user's name, in order to tell who has donated to the site.

i couldn't find anything here, but i've seen this up and running. see here.

example in the attachment. it also shows up as a line in a user's profile.
This could be done, for example, with an additional usergroup.

Then, add a template conditional to the postbit, saying something like:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
Reply With Quote
  #3  
Old 16 Nov 2004, 12:49
mkdevo mkdevo is offline
 
Join Date: May 2004
Originally Posted by Colin F
This could be done, for example, with an additional usergroup.

Then, add a template conditional to the postbit, saying something like:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
Colin,

thanks for the tip. sounds good, but when i tried to implement it, it showed up on all posts. i added a 'Supporting Member' usergroup, and here's the code i used:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

any ideas as to what i've done wrong?

thanks again!
Reply With Quote
  #4  
Old 16 Nov 2004, 15:41
Colin F's Avatar
Colin F Colin F is offline
 
Join Date: Jul 2004
Location: Switzerland
Originally Posted by mkdevo
Colin,

thanks for the tip. sounds good, but when i tried to implement it, it showed up on all posts. i added a 'Supporting Member' usergroup, and here's the code i used:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

any ideas as to what i've done wrong?

thanks again!
You almost got it.

You'll have to exchange the x not with Supporting Member, but with the usergroupid of that usergroup. It would then look something like: "$post[usergroupid] == 9"
__________________
Reply With Quote
  #5  
Old 16 Nov 2004, 15:57
mkdevo mkdevo is offline
 
Join Date: May 2004
Colin,

Just changed it to reflect the usergroupid, and i'm getting the same results.

Are there any other changes I nees to make?


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #6  
Old 18 Nov 2004, 13:04
mkdevo mkdevo is offline
 
Join Date: May 2004
colin (or anyone else),

this code is still not working for me - showing up for every member when i put it in.

any ideas on how to make it work? (btw, i'm running 2.3.5)

thanks..
Reply With Quote
  #7  
Old 18 Nov 2004, 13:12
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Real name: Andreas
Well Colin, this is the vB2 code modification section
vB 2.x does not support <if ...>

If you want smth. similar for vB 2.x take a look at http://www.vbulletin.org/forum/showthread.php?t=43325

Btw: I'd recommend to upgrade to vB3 - the code is much better.
Reply With Quote
  #8  
Old 18 Nov 2004, 14:49
mkdevo mkdevo is offline
 
Join Date: May 2004
Originally Posted by KirbyDE
Btw: I'd recommend to upgrade to vB3 - the code is much better.
yeah, i plan on it.. actually just copied my db so i can start testing vb3 out a little bit. hope to have it going within a few months..

thanks for the tip. thought i was going nuts!
Reply With Quote
  #9  
Old 18 Nov 2004, 14:52
Colin F's Avatar
Colin F Colin F is offline
 
Join Date: Jul 2004
Location: Switzerland
Sorry about that mkdevo.

I generally go over the new posts link, and that doesn't show me it's vB2.

Once you've upgraded to vB3, the above code should work though
__________________
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

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


New To Site? Need Help?

All times are GMT. The time now is 20:57.

Layout Options | Width: Wide Color: