Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
[Addon] Usergroup Based Profile Conditionals (eBux Usage) Details »
[Addon] Usergroup Based Profile Conditionals (eBux Usage)
Mod Version: 1.00, by Stangsta (Member) Stangsta is offline
Developer Last Online: Feb 2017 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.4 Rating: (0 vote - 0 average) Installs: 13
Released: 02 Mar 2006 Last Update: Never Downloads: 1
Not Supported Template Edits  

Usergroup(s) Based Profile Conditionals (eBux Usage)

What it does: Simply put, this is an addon for the Myspace Profile Re-Write PRO! 1.0.0 template Mod. This will allow you to have a conditional or per usergroup(s) to "turn on and off" hacks in the profile. The Primary use for this hack, is to be able for users to purchase a "secondary usergroup" in eBux to gain access to various parts of the profile.

I STRONGLY RECCOMEND that you make ALL modifications to a "test style" first. If you do not have one, create one. This way, when you mess up, your users will not be affected.

Now, this is where the fun begins.

Installation: First start by looking at your already modified MEMBERINFO template. Haven't modified it yet? Go here - http://www.vbulletin.org/forum/showthread.php?t=109094

Once you have made all the modifications and are happy with your profile, decide what "features" you want to turn on and off. Then create a usergroup for one or more of those features. Some examples are: "Can display media(video)", "Can display friends and/or buddies", "can use comments", etc. You can also use this for ANY profile field. It's up to YOUR needs and imagination.

Now, use this code to wrap around the feature you want to associate with a usergroup. Be sure to change the "XX" to the usergroup number you wish to give access to.

This goes on the top of the "block" of code you are working with
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This goes on the bottom of the code
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

So, what it should look like (this is to turn the buddylist on/off in the profile)
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.




Now, lets say you would rather do this for multiple usergroups Use this instead
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Just change the x,y,z to whatever usergroup numbers you wish.

This is the building blocks. Its a fairly simple hack, just a little time consuming (maybe 10-30 minutes to install tops) I will do my best to support this thread

Here's 1 more example for the video portion:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I didn't put screenshots because I don't think they are necessary, but If you must have them, ask and ill get some up tomorrow night.



BE SURE TO CLICK INSTALL!!!!

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.
Similar Mod
Mod Developer Type Replies Last Post
Additional Usergroup based on profile field Andreas vBulletin 3.0 Full Releases 15 01 Apr 2006 19:11

Comments
  #2  
Old 02 Mar 2006, 13:51
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
I have a feeling that this is almost what I have been looking for. Great work! Thanks.
__________________
AndroidETC.com :: Android, and other stuff.
Reply With Quote
  #3  
Old 02 Mar 2006, 14:10
caliman's Avatar
caliman caliman is offline
 
Join Date: Jan 2005
You rock!! I know what I am doing this weekend.
Reply With Quote
  #4  
Old 02 Mar 2006, 16:02
dirtycrow dirtycrow is offline
 
Join Date: Apr 2004
how do i create a test style? thanks.
Reply With Quote
  #5  
Old 02 Mar 2006, 17:46
Stangsta's Avatar
Stangsta Stangsta is offline
 
Join Date: Aug 2004
Originally Posted by FleaBag
I have a feeling that this is almost what I have been looking for. Great work! Thanks.
Looks like it to me

Originally Posted by dirtycrow
how do i create a test style? thanks.
In your acmincp > styles and templates > style manager > at the bottom, click add new style.

Alteratively, you can make a child style which will mimic one of your other styles that you choose. Theres a link in the dropdown, "Add child style".
Reply With Quote
  #6  
Old 16 Mar 2006, 18:51
tmcyouth tmcyouth is offline
 
Join Date: Jan 2006
Real name: I'm a team!
Technically, can I use this code without the entire MySpace Re-Write Pro mod? I'm planning on installing that, but using this in the meantime would be great.
Reply With Quote
  #7  
Old 16 Mar 2006, 19:44
Stangsta's Avatar
Stangsta Stangsta is offline
 
Join Date: Aug 2004
Originally Posted by tmcyouth
Technically, can I use this code without the entire MySpace Re-Write Pro mod? I'm planning on installing that, but using this in the meantime would be great.
Yes, you can use it for other things too.
Reply With Quote
  #8  
Old 24 Mar 2006, 02:07
yayvb's Avatar
yayvb yayvb is offline
 
Join Date: Feb 2005
Not to hijack this thread but...
Rather than hard code which usergroup can use this, how would I
set conditionals for if they have a certain usergroup permission.

I had a coder add 4 custom usergroup options, lets say for instance the first one is called: can_user_enlarge_thumbs

The admincp|usergroups|usergroup manager seems to update the correct entries in the databse, but now how can I limit only people with the usergroup setting: can_user_enlarge_thumbs set to YES?

Thanks in advance. I can't seem to find any examples but I know that's what usergroup codings must do
Reply With Quote
  #9  
Old 14 Apr 2006, 04:12
cmbehan cmbehan is offline
 
Join Date: Mar 2006
Could this be used in conjunction with this hack: http://www.vbulletin.org/forum/showt...=91407&page=5?

I'd like to be able to offer the postbit switching hack only to specific usergroups....
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 10:32.

Layout Options | Width: Wide Color: