Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Edit User link in postbit UserName popup menu Details »
Edit User link in postbit UserName popup menu
Mod Version: 1.1, by Mobo (Member) Mobo is offline
Developer Last Online: Nov 2017 I like it Show Printable Version Email this Page

vB Version: 4.2.0 Rating: (4 votes - 5.00 average) Installs: 17
Released: 31 Dec 2010 Last Update: Never Downloads: 0
Not Supported Template Edits Additional Files Re-usable Code  

This is a simple template modification that a couple of members over on vB.com and Lynne helped me sort out. Just thought I'd post it here to give back to the community a little.

This will add an icon and link in the popup menu in postbit when you click on the User's name. The link is only accessible by the user groups you choose and opens the Admin User Manager page for that user.

To install:

ACP> Styles & Templates> Search in Templates for "memberaction_dropdown"

In that template find:


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


Add below that:


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


In the popupmenu.css template find this code:


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

And add below that:


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


Change the X and Y in the above code to the Usergroup IDs that you want to allow access (those groups will have to have admin rights to edit users as well).

You will also need to upload the image I've attached to your images/site_icon directory.

A big thank you to wilford brimley for updating the code for v4.2.

Download Now

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

Screenshots

Click image for larger version

Name:	EditUser.jpg
Views:	665
Size:	45.3 KB
ID:	125039  

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
Mini Mods Postbit Popup Menu - Add Admin/Mod Options sheppardzwc vBulletin 3.8 Template Modifications 6 23 Aug 2009 11:08
"Edit User" in postbit username menu Dream vBulletin 3.5 Template Modifications 28 25 Nov 2008 09:01

Comments
  #2  
Old 31 Dec 2010, 08:48
sulasno sulasno is offline
 
Join Date: Feb 2010
tagged and thanks

save the icon as edit.png ?
Reply With Quote
  #3  
Old 31 Dec 2010, 08:53
Mobo Mobo is offline
 
Join Date: Jan 2004
Real name: Keith Upton
Yes, save it as edit.png
Reply With Quote
  #4  
Old 31 Dec 2010, 12:21
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
Installed as a test on v4.04pl1 ...

After updating template and adding PNG file as described, this function doesn't appear anywhere in drop down menu, but thanks anyway ...

Regards,
Doug
Reply With Quote
  #5  
Old 31 Dec 2010, 12:39
Mobo Mobo is offline
 
Join Date: Jan 2004
Real name: Keith Upton
Did you remember to enter in the Usergroup ID numbers?
Reply With Quote
  #6  
Old 31 Dec 2010, 12:51
Dr.osamA's Avatar
Dr.osamA Dr.osamA is offline
 
Join Date: Aug 2004
Location: Syrie
Real name: Dr.osama
installed

5 stars

keep it up bro

happy new yaer
__________________
Reply With Quote
  #7  
Old 31 Dec 2010, 13:56
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
Originally Posted by Mobo View Post
Did you remember to enter in the Usergroup ID numbers?
Yes ...

Example ..

"is_member_of($bbuserinfo, 5, 6, 7)">

Not sure why it just doesn't appear, but perhaps it's because of the earlier version of vb4 ...

Thanks any way ..

Regards,
Doug
Reply With Quote
  #8  
Old 01 Jan 2011, 11:35
Mobo Mobo is offline
 
Join Date: Jan 2004
Real name: Keith Upton
Might be the older version of vB as you say.
Reply With Quote
  #9  
Old 04 Jan 2011, 06:01
NovoCiv NovoCiv is offline
 
Join Date: Aug 2010
This will save me a bunch of time. Thanks!
Reply With Quote
  #10  
Old 05 Jan 2011, 05:48
Mobo Mobo is offline
 
Join Date: Jan 2004
Real name: Keith Upton
I have to edit every member that joins my site, so I need a quick way to get to that page. Glad it will save you some time as well.
Reply With Quote
  #11  
Old 10 Jan 2011, 11:31
Konsolenheld Konsolenheld is offline
 
Join Date: Aug 2010
thx for mod.

How can i change the Background of userinfo (see your Screenshot)?
Reply With Quote
  #12  
Old 10 Jan 2011, 11:58
Mobo Mobo is offline
 
Join Date: Jan 2004
Real name: Keith Upton
That is done with the "Postbit Legacy - Usergroup Backgrounds vb4" mod.
Reply With Quote
  #13  
Old 26 Aug 2012, 05:35
wilford brimley wilford brimley is offline
 
Join Date: Apr 2012
it adds it on another line. how do i fix this? vb 4.2
Reply With Quote
  #14  
Old 26 Aug 2012, 06:53
Mobo Mobo is offline
 
Join Date: Jan 2004
Real name: Keith Upton
I'm not sure why it puts the image and the text on different lines. I think it has to do with how they call that area now with the different classes in popupmenu.css.

I've not been able to figure out how to add a class for "edit user" and get it to display properly.

You can simply remove the image code in my edit and it will display the text "Edit User" aligned correctly though.
Reply With Quote
  #15  
Old 26 Aug 2012, 07:15
wilford brimley wilford brimley is offline
 
Join Date: Apr 2012
right on. ill try to fix it.
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 17:36.

Layout Options | Width: Wide Color: