Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Custom User Status by Usergroup Details »
Custom User Status by Usergroup
Mod Version: 1.00, by Jen (Member) Jen is offline
Developer Last Online: Jun 2018 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: 8
Released: 29 Jun 2002 Last Update: Never Downloads: 0
Not Supported Is in Beta Stage  

I could not find a way to add an additional user status field based on usergroup other than setting a override, which got rid of the normal usertitle based on post count and I didn't want that. This is my solution.

This hack adds an additional field to the usergroup table and allows you to display that custom group status field in addition to the normal usertitle that is defined either custom for the user or normally by number of posts without overriding the usertitle variable.

The end result gives you something like this (depending on how you edit your postbit template) for the output:

Jen
Tyro Hacker
[Custom Group Status Here]
[Users Avatar]
[Users other details]

The custom group status is set within the cp from the user group modify function for each group you want to add this additional status field to.

Questions, Problems, etc.. ask here as I am unable to provide support via email.

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.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Custom User Status by Usergroup [Final] Jen vBulletin 2.x Full Releases 54 07 Jul 2004 01:47

Comments
  #2  
Old 29 Jun 2002, 05:13
Jen's Avatar
Jen Jen is offline
 
Join Date: Apr 2002
# NOTE: This code has been added to the download file. If you have a copy of the file without the User Profile mods, these instructions are for you. Otherwise, use what's in the file.

If you want to add the new custom user status to the users profile here's the edits to do so (These should be all one line and are broken up here to keep the screen from scrolling):

Edit admin/functions.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.

Then just add the following variable to your getinfo template as you want it to display.

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


Last edited by Jen; 29 Jun 2002 at 19:00.
Reply With Quote
  #3  
Old 29 Jun 2002, 07:48
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Real name: Mike
I was thinking about something like this just last week. Good job
Reply With Quote
  #4  
Old 29 Jun 2002, 08:42
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Real name: Dean Clatworthy
didn't work for me...
__________________
Dean Clatworthy - Web Developer/Designer
Reply With Quote
  #5  
Old 29 Jun 2002, 09:34
Bugz Bugz is offline
 
Join Date: Feb 2002
im going to try when i wake up later.

im preatty tired and watching mr. deeds
Reply With Quote
  #6  
Old 29 Jun 2002, 09:43
Jen's Avatar
Jen Jen is offline
 
Join Date: Apr 2002
Mist: I think I figured out the problem.. a # character was right before the second replacement db query. I have fixed that in the file and it should install no problem now.

The hack code above is based on an un-hacked vB 2.2.6 install, but works wonderful with the Sig and Avatars by Usergroup hack.

I just tested the updated code on a fresh install of vB 2.2.6 and it worked perfectly.
Attached Images
File Type: gif display.gif (8.0 KB, 117 views)

Last edited by Jen; 29 Jun 2002 at 18:44.
Reply With Quote
  #7  
Old 29 Jun 2002, 18:58
Jen's Avatar
Jen Jen is offline
 
Join Date: Apr 2002
The download file has been updated to include the steps to add the new Group Custom Status to the user's profile page.
Reply With Quote
  #8  
Old 15 Jul 2002, 04:37
Jen's Avatar
Jen Jen is offline
 
Join Date: Apr 2002
If anyone has had any problems with this, please let me know. otherwise I'd like to move this up to a Final release.
Reply With Quote
  #9  
Old 15 Aug 2002, 11:08
FeDe's Avatar
FeDe FeDe is offline
 
Join Date: Feb 2002
Just wanted to say, it's a great hack! Installed it yesterday and it works perfectly! Thanks .
Reply With Quote
  #10  
Old 02 Nov 2002, 11:29
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Real name: Chris Murphy, BSc
Have you ran the query?

Satan
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 03:55.

Layout Options | Width: Wide Color: