Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Styles for Premium Members Details »
Styles for Premium Members
Mod Version: 1.00, by amykhar (Member) amykhar is offline
Developer Last Online: Nov 2013 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.2.x Rating: (0 vote - 0 average) Installs: 18
Released: 15 Feb 2003 Last Update: Never Downloads: 2
Not Supported  

This Hack allows you to set styles for use only by premium members. (Premium members are people that you decide are premium either because they have paid or because you like them or for whatever reason you determine they are premium)

This hack does not use the usergroup system because it allows premium users to be in any usergroup. This enables me to keep moderators in a mods group, Epinions members in an Epinions group, and everybody else in the registered group and still mark them as a contributor.

Premium members on my board have paid a membership fee. My nonpaid members have the default style that has ad banners and few if any hacks.

My premium members have 5 styles to choose from. None have Ad Banners and there are more hacks and features.

If you want to see a live demo: Join my forum, look at the styles available to you. Then pay to become a premium member and look to see the available styles once you have paid.

KNOWN ISSUES:
None.

I will include screenshots in a few minutes.

NOTE: I will support this hack for users who know how to run queries and edit files. I will not explain the basics of hacking. I will support bugs. I will also refine the instructions if they are incorrect.


Custom Avatars Addon: http://www.vbulletin.org/forum/showt...084#post366084


No PM Quota for Premium Addon:
http://www.vbulletin.org/forum/showt...882#post364882

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 15 Feb 2003, 20:54
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Real name: Amy
Screenshot of making the style premium:
Attached Images
File Type: jpg premiumstyle.jpg (68.6 KB, 645 views)
__________________
amykhar.com
----------------------------------------
I do not respond to PM requests for coding assistance.
Reply With Quote
  #3  
Old 15 Feb 2003, 20:56
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Real name: Amy
Here is the screenshot of making the user premium:
Attached Images
File Type: jpg premiumuser.jpg (62.4 KB, 428 views)
__________________
amykhar.com
----------------------------------------
I do not respond to PM requests for coding assistance.
Reply With Quote
  #4  
Old 15 Feb 2003, 22:47
SphereX
Guest
 
this looks very nice. I am not sure if I will install it though.
If I ever get a donation thing up and running it will come in very handy
Reply With Quote
  #5  
Old 16 Feb 2003, 01:59
EchoHype.com's Avatar
EchoHype.com EchoHype.com is offline
 
Join Date: Mar 2002
This is a very nice hack.

Good job!
Reply With Quote
  #6  
Old 17 Feb 2003, 16:16
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Real name: Amy
I got over my lazy spell and updated this hack so that you can change premium member's styles from the admin control panel. The text file has been updated.

If you have already installed it, you simply need to do this in user.php:

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

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

Find:

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

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

__________________
amykhar.com
----------------------------------------
I do not respond to PM requests for coding assistance.
Reply With Quote
  #7  
Old 17 Feb 2003, 19:30
N9ne N9ne is offline
 
Join Date: Feb 2002
Question: There's a drop down menu for style sets in register.php and member.php. Does this make it so users who are registering cannot select premium styles?

Also, how would I go about making this work with the change style drop-down menu hack, located: here.
__________________
[Signature Goes Here]
Reply With Quote
  #8  
Old 17 Feb 2003, 20:53
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Real name: Amy
I did not incorporate it into register.php because my members have to register first before they can become premium members. The paypal integration requires that their username already exist. Therefore, people registering can only choose from the non-premium styles.

Regarding the second question, I would simply change This:


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

to this:


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

__________________
amykhar.com
----------------------------------------
I do not respond to PM requests for coding assistance.
Reply With Quote
  #9  
Old 17 Feb 2003, 20:56
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Real name: Amy
I don't think I ever mentioned, this code prevents non-premium members from simply setting the styleid in their url and viewing the premium styles that way. The hack treats it just like they tried to use a non-selectable style.
__________________
amykhar.com
----------------------------------------
I do not respond to PM requests for coding assistance.
Reply With Quote
  #10  
Old 17 Feb 2003, 21:07
N9ne N9ne is offline
 
Join Date: Feb 2002
Oops! lol, of course! How can you make a guest a premium member ! I was having a dumb moment, sorry.

Also, thanks for that code for the drop down change style hack by FireFly, very helpful. Will install this later .
__________________
[Signature Goes Here]
Reply With Quote
  #11  
Old 18 Feb 2003, 10:02
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Real name: Dean Clatworthy
What a good idea Amy

- miSt
__________________
Dean Clatworthy - Web Developer/Designer
Reply With Quote
  #12  
Old 18 Feb 2003, 17:38
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Real name: Chris Murphy, BSc
Nice hack

Satan
Reply With Quote
  #13  
Old 23 Feb 2003, 06:13
danrak danrak is offline
 
Join Date: Dec 2001
I must be doing something wrong. I've tried this on my test board but I get the following error message after trying to save the user:
mysql error: Unknown column 'premium' in 'field list'

mysql error number: 1054
I ran the query in the begining of the text. Is there another query I'm missing?
__________________
Brew Support - Freemason Hall
Reply With Quote
  #14  
Old 24 Feb 2003, 00:50
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Real name: Amy
danrak, when updating the file, I accidentally posted in the wrong query. This is the correct one:

ALTER TABLE `user` ADD `premium` TINYINT NOT NULL;

Sorry for the confusion.

Amy
__________________
amykhar.com
----------------------------------------
I do not respond to PM requests for coding assistance.
Reply With Quote
  #15  
Old 24 Feb 2003, 05:16
danrak danrak is offline
 
Join Date: Dec 2001
Ok. Sorry about that. Let me try that. Thanks.
__________________
Brew Support - Freemason Hall
Reply With Quote
Reply


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

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


New To Site? Need Help?

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

Layout Options | Width: Wide Color: