View Full Version : Moderators Functions - User Management in Postbit and Profile v2
HMBeaty
02-24-2007, 10:00 PM
Small bug: vBSEO somehow affects this mod and shows to all users. It still requires them to log in as Mod, S. Mod, or Admin to use these functions though
Well, first off, a big thanks goes out to UltimateOreo! (https://vborg.vbsupport.ru/member.php?u=170847) for coming up with this mod,but I made a somewhat...........for lack of a better word, neater version.
Also, to the staff and anyone else concerned, yes, I got his permission to post this re-write up.
This version, instead of adding directly to the postbit layout, I have it in the postbit in the users dropdown menu. Screenshots will posted later to clarify this a little more.
*NOW WORKS IN THE MEMBERINFO
What this does:
This hack basically allows you to easily manage a user right from the postbit and profile, and guess what? No need for searching! The code allows you to click the option you need, and it will pinpoint whichever user you clicked it on.UPCOMING ADDITIONS:
Make each option setting controlled by vbulletin options in the admincpALSO TAKING SUGGESTIONSNOTE:
This has been tested on vBulletin Version 3.6.4 and 3.6.5. It should run on previous versions just the same but support will be given only for versions 3.6.4-3.6.5. Also, support will only be given to those that have clicked INSTALL (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=140398)ORIGINAL VERSIONS:
User Management in Postbit for vBulletin 3.6.4 is available Here (https://vborg.vbsupport.ru/showthread.php?t=140078)User Management in Postbit Legacy for vBulletin 3.6.4 is available Here (https://vborg.vbsupport.ru/showthread.php?t=139547)This modification is and will remain free to the public but feel free to Donate :)
Xplorer4x4
02-25-2007, 04:25 AM
Very nice way to do this! :)
HMBeaty
02-25-2007, 04:49 AM
Thank you. :)
rjmjr69
02-25-2007, 05:15 AM
Awesome hack going to install it right now. question How many queries does this add if any?
rjmjr69
02-25-2007, 05:24 AM
WOW bro this is really nice. And only one template edit. AMAZING my vote for the best this month for sure...... Thank you so much. And No queries added that I can tell
HMBeaty
02-25-2007, 05:26 AM
No queries :) And thank you rjmjr69
JimmyN
02-25-2007, 05:41 AM
this is handy, thanks
rjmjr69
02-26-2007, 06:40 AM
When ever I click anything in the drop down in the bottom half of the options I get directed to a 404 page?
SkyCatcher
02-26-2007, 10:15 AM
It always seems to amaze me how something so simple can be so useful! Love it, will install shortly since I'm redoing my forums. Thanks for this :)
Edit: Installed.
HMBeaty
02-26-2007, 04:16 PM
When ever I click anything in the drop down in the bottom half of the options I get directed to a 404 page?
You may have to edit the URL if it isn't pointing in the right direction.
UltimateOreo!
03-02-2007, 11:03 PM
I like what you did with it, user management has a LOT of possibilities. Im working on a hack that basically crams all of the user management features vbulletin has onto one page.
(Crap, not a good idea posting it. NO-ONE TAKE THE IDEA!! I call shotgun on it already!)
HMBeaty
03-03-2007, 12:29 AM
I like what you did with it, user management has a LOT of possibilities. Im working on a hack that basically crams all of the user management features vbulletin has onto one page.
Thank you, and looking forward to your next mod :)
Skavenger
03-03-2007, 05:18 AM
I tried to change the code from this
<span onmouseover="this.style.cursor='hand';" onClick="window.open('/forum/modcp/banning.php?do=banuser&userid=$post[userid]','ban','width=500,height=375,scrollbars=yes')">Ban $post[username]</span>
to this
<a href="/forum/modcp/banning.php?do=banuser&userid=$post[userid]">Ban $post[username]</span>
And I get 404 error :S
Losha
03-03-2007, 02:02 PM
Thank you,
A simple modification !
FIND:
<if condition="is_member_of($bbuserinfo, 5,6,7)">
Replaced:
<if condition="$post[usergroupid]!=6 AND can_moderate($forum[forumid], '', $bbuserinfo[userid])">
Why use a clause </if> emergence of you and not for all
rjmjr69
03-04-2007, 08:23 AM
This is not working in 3.6.5 upgraded and lost the feature. Redid the code and still nothing click usernames brings you to the profile
UltimateOreo!
03-04-2007, 12:24 PM
Scavenger, the reason that it's not working because HTML sees the link you are creating as a direct link, so basically, all your doing is pointing your browser directly to that, it won't work. If you would like, I could Re-work my hack to make it point directly to that page, and not a pop-up.
Skavenger
03-04-2007, 02:58 PM
Scavenger, the reason that it's not working because HTML sees the link you are creating as a direct link, so basically, all your doing is pointing your browser directly to that, it won't work. If you would like, I could Re-work my hack to make it point directly to that page, and not a pop-up.
Yes, please. I need that, but not in the same window, you could use 'target="_blank"'
Thank you!
PS: you could use phrases too :)
HMBeaty
03-04-2007, 08:13 PM
This is not working in 3.6.5 upgraded and lost the feature. Redid the code and still nothing click usernames brings you to the profile
I just upgraded to 3.6.5 as well and its working on my site. Are you using a custom style or the vbulletin default style?
HMBeaty
03-05-2007, 12:29 AM
You should also make sure if you're having this problem, that you have
Use 'vBMenu' DHTML Popup Menus?
Set to Yes in your vBulletin Options in your admincp under style and language settings
Black Tiger
03-10-2007, 06:41 PM
Did not install it yet, but I found this in the code:
onClick="window.open('/forum/moderator.php?
I presume this has to be set to whereever your forum resides in? So if it's in /board/ you have to change this to /board/moderator.php, am I correct?
If yes, maybe you could put such notice in the installation manual.
HMBeaty
03-10-2007, 08:53 PM
Did not install it yet, but I found this in the code:
onClick="window.open('/forum/moderator.php?
I presume this has to be set to whereever your forum resides in? So if it's in /board/ you have to change this to /board/moderator.php, am I correct?
If yes, maybe you could put such notice in the installation manual.
Yes, that would be correct. Will upload an updated version in a couple hours as I'm going to change a couple things.
HMBeaty
03-10-2007, 09:37 PM
Updated to version 1.1.0 :)
Black Tiger
03-10-2007, 09:53 PM
Are you sure? The zip says V2. LoL.:D
HMBeaty
03-10-2007, 10:03 PM
Are you sure? The zip says V2. LoL.:D
Thats because this is the 2nd version of this. The 1st version was made by "UltimateOreo!", I just modified his code and recieved his permission to re-release this mod.
But its version 1.1.0 of v2 :D
Skavenger
03-12-2007, 02:08 PM
Yes, please. I need that, but not in the same window, you could use 'target="_blank"'
Thank you!
PS: you could use phrases too :)
I need this, please!
HMBeaty
03-12-2007, 03:33 PM
I'll work on that later tonight.
Ok, as far as opening in the same window, it already does that. Did you just want it to open in a regular new browser window?
HMBeaty
03-12-2007, 04:59 PM
Next version will also be a product :) Still working on adding some things to it though so there will be no bugs. It'll be a MUCH cleaner version as far as editing things though ;)
Black Tiger
03-12-2007, 05:25 PM
Owz nice, then I'll wait installing until the next version.:)
HMBeaty
03-12-2007, 05:37 PM
Just waiting on a response from Skavenger and it'll pretty much be done. Theres going to be alot more additions to it in the future as I'm still learning how to write product code. I'll be making a list of the upcoming features in the first post though :)
HMBeaty
03-12-2007, 06:00 PM
great looking mod, but any chance you will upgrade this for postbit_legacy as well?
It works in both :)
Works also in postbit legacy :)
thanks
HMBeaty
03-13-2007, 12:18 AM
JUST updated mod to version 2.3.0!!
This mod is now a product with one VERY SMALL template edit needed. More options will be added in the future. Feel free to post up suggestions to add or change.
valdet
03-13-2007, 10:39 AM
I suppose that the list we see on dropdown menu is based on usergroup permissions right, meaning regulars cannot see ban, delete etc.. while mods and admins can do so..
Guess I am too lazy to check out the product file, :)
Thanks.
Skavenger
03-13-2007, 12:50 PM
Ok, as far as opening in the same window, it already does that. Did you just want it to open in a regular new browser window?
Yes, in a new browser window/tab (in FF), you could use 'target="_blank"'
PS: this is not working with vBGallery
HMBeaty
03-13-2007, 09:46 PM
Yes, in a new browser window/tab (in FF), you could use 'target="_blank"'
PS: this is not working with vBGallery
Because I didn't make it for vBGallery. :)
As far as putting it in a seperate window. I'll make another later so there's 2 products for users to choose. One to open in a new browser window, and the current one.
HMBeaty
03-14-2007, 01:46 AM
Yes, in a new browser window/tab (in FF)
You may download version 2.3.0a for this option now :)
To other users, no need to upgrade if you'd like to keep the windows how they are now
rjmjr69
03-14-2007, 02:14 AM
Thanks great mod. Could you get this to link in the User Profile view? I know there is USER OPTIONS button but that brings you to the CP. Could you put this drop down there? in replace or in addition to that button/link? So instead of getting directed to the AdimCP have this drop down there or more?
HMBeaty
03-14-2007, 02:32 AM
Thanks great mod. Could you get this to link in the User Profile view? I know there is USER OPTIONS button but that brings you to the CP. Could you put this drop down there? in replace or in addition to that button/link? So instead of getting directed to the AdimCP have this drop down there or more?
Not sure I understand what you're talking about adding.......sorry.
Are you wanting the "User Options" (as shown in the user profile) added to the dropdown?
Or adding a dropdown to the user profile itself with these options?
rjmjr69
03-14-2007, 03:03 AM
Not sure I understand what you're talking about adding.......sorry.
Are you wanting the "User Options" (as shown in the user profile) added to the dropdown?
Exactly. Sorry I did make that a bit confusing. Yes when you click a users name and goto their public profile it would be great to be able to administer the user from there without having to be directed to the admincp.....
HMBeaty
03-14-2007, 03:07 AM
Exactly. Sorry I did make that a bit confusing. Yes when you click a users name and goto their public profile it would be great to be able to administer the user from there without having to be directed to the admincp.....
Ok, I'll work on that later on this week :)
rjmjr69
03-14-2007, 03:12 AM
Really? Wow Your awesome. that will be a great addition for sure. Thank you cant wait to see this
HMBeaty
03-14-2007, 03:51 AM
I currently have it working on my site :)
Just need to turn it into a product. Also, are you using a default style or a custom style?
Deadly Assassin
03-14-2007, 05:38 AM
https://vborg.vbsupport.ru/
HMBeaty
03-14-2007, 08:33 PM
Next version will be out today or tomorrow at the latest ;)
alqloob alsahya
03-15-2007, 03:34 AM
Thank you wonderful
Skavenger
03-15-2007, 03:51 PM
You may download version 2.3.0a for this option now :)
Thank you!
Is working fine :)
Because I didn't make it for vBGallery. :)Is there any way to make this work with vBGallery?
PS: what is the name of this hack/mod?
https://vborg.vbsupport.ru/ (http://img264.imageshack.us/my.php?image=aaaaaaaaaaaaaaaaaru7.png)
obmob
03-15-2007, 04:35 PM
I suppose that the list we see on dropdown menu is based on usergroup permissions right, meaning regulars cannot see ban, delete etc.. while mods and admins can do so..
Guess I am too lazy to check out the product file, :)
Thanks.Same question XD
Skavenger
03-15-2007, 04:43 PM
Same question XD
The way I have this setup is that the admins are the only ones that are able to view the "View User Infractions" and "Delete User". The "User Options" and "Ban User" are accessible by the admins, mods and supermods. You can change these settings by simply editing the conditional <if condition="is_member_of($bbuserinfo, x,x)"> replacing x with your usergroup ID.
:).
HMBeaty
03-15-2007, 09:29 PM
PS: what is the name of this hack/mod?
http://img264.imageshack.us/img264/3056/aaaaaaaaaaaaaaaaaru7.th.png (http://img264.imageshack.us/my.php?image=aaaaaaaaaaaaaaaaaru7.png)
If you're talking about the arcade mod (I can't tell, the image is too small), that is part of the v3arcade installation.
HMBeaty
03-15-2007, 09:30 PM
Thank you!
Is working fine :)
You're welcome :)
Is there any way to make this work with vBGallery?
I'm not making an promises, but I'll check into it as I haven't really messed with the vbgallery postbit at all before. :) But I WILL see what I can do :)
Skavenger
03-15-2007, 09:55 PM
If you're talking about the arcade mod (I can't tell, the image is too small), that is part of the v3arcade installation.
Yes, the arcade mod. I thought it was for ibProArcade =P
You're welcome :)
I'm not making an promises, but I'll check into it as I haven't really messed with the vbgallery postbit at all before. :) But I WILL see what I can do :)
Ok, I'll be waiting for your reply :)
HMBeaty
03-15-2007, 10:06 PM
Next release might be out tomorrow, instead of tonight. But if I can get one function that was added to work tonight, I'll update tonight :) Might be a bit late when I do though :)
HMBeaty
03-17-2007, 12:56 AM
Version 2.4.0 just released :)
Don't forget to click install :D
rjmjr69
03-17-2007, 02:28 AM
Version 2.4.0 just released :)
Don't forget to click install :D
OMG your the best bro! This is incredible. Installing right now. Thank you so much for the added feature's
Update. Easily installed and works Flawlessly with 3.6.5 and heavy modified forum.!!!! Yes this is perfect will surely save me time baning spammers and trouble makers. Thank you so so much
Nominated for MOTM
HMBeaty
03-17-2007, 03:15 AM
Thank you!!! Glad to hear you like it. As its my FIRST product, I'm pretty excited about it. I have more features coming in the next release ;)
HMBeaty
03-19-2007, 08:57 PM
As far as this working on the gallery, I'm waiting for Zachariah to come out with the next version and it should work then, with no editing since it runs on the same template. He just needs to add the hook which will be done in vBGallery 2.2 (I hope) :) And for those that don't or can't get the latest version of the gallery, I'll pull the hook and have you upload that once its done.
rjmjr69
03-20-2007, 01:57 AM
I just love this mod. My staff love it as well. Makes life allot easier with those spammers and trouble makers... Thank you can not wait to see what else you add to this.
How about Find all thanks and thanked post's.
Maybe a link to Who is online but display where the actual member currently is?
Maybe online status sorta redundant but would be something cool.
How about what groups and or staff positions they hold?
Probably silly suggestions
HMBeaty
03-20-2007, 04:27 AM
How about Find all thanks and thanked post's.
I can look into this. I don't have it installed on my site and never really messed with it but I'll see what I can come up with
Maybe a link to Who is online but display where the actual member currently is?
Maybe online status sorta redundant but would be something cool.
Sorry, but thats what the "Who's Online" is for :)
How about what groups and or staff positions they hold?
This can be done in the user's profile via an edit to the member.php
The Bish
03-20-2007, 05:16 AM
Very nice!
*Installed!
HMBeaty
04-02-2007, 10:06 PM
Updated to 2.5.0
Usernames are now integrated into the phrases
rjmjr69
04-03-2007, 12:58 AM
Thanks for the update.... Whats in store for the next version? Maybe anywhere the username appears there is a drop down like the one we have now with this?
HMBeaty
04-03-2007, 01:14 AM
Thanks for the update.... Whats in store for the next version? Maybe anywhere the username appears there is a drop down like the one we have now with this?
Waiting on vBGallery 2.2 to be released so I can integrate it into that. :)
The Bish
04-30-2007, 11:55 AM
I installed this on one of my forums and it was easy and without issue.
For some reason I just installed this on my new forum and anyone can ban or do Admin functions regardless of the settings.
Anyway ideas?
HMBeaty
04-30-2007, 02:49 PM
Do you only have the Moderators, Super Moderators, and Admins listed in the usergroups?
The Bish
04-30-2007, 03:13 PM
Do you only have the Moderators, Super Moderators, and Admins listed in the usergroups?
As a matter of fact I have it set for Admins only.
Smiry Kin's
04-30-2007, 10:31 PM
any fix with vbseo yet?
The Bish
04-30-2007, 10:52 PM
any fix with vbseo yet?
Nope... turns out that was my issue.
guidob
05-30-2007, 10:42 AM
I'm using the hack below now, else it shows the extra option to all users.
<if condition="is_member_of($bbuserinfo, 5,6,7)">
$usermanage
</if>
RichTJ99
05-30-2007, 07:20 PM
is there a way to remove "Delete username" from the dropdown? our mods have trigger happy fingers as it is ;)
HMBeaty
05-31-2007, 12:56 AM
Just remove it from the template labeled "usermanage" which was created during the product upload/install
Dotara
06-15-2007, 01:08 AM
Very handy mod. But is this will com on postbit_legacy?
HMBeaty
06-15-2007, 01:24 AM
Yes, this works in both postbit and postbit_legacy
Dotara
06-15-2007, 01:51 AM
Hello,
Screenshot's version is [2.5.0] or [2.5.0a] ?
HMBeaty
06-15-2007, 02:24 AM
Either one, they're both the same just the window opens differently.
Dotara
06-15-2007, 02:26 AM
Hi,
Thanks. Installed.
Black Tiger
08-14-2007, 10:31 PM
Little question. I just saw you have something like this for the postbit_legacy.
Now i'm using the postbit_legacy, but I already installed this hack for postbit a little while ago. Seems to work fine.
What's the difference?
HMBeaty
08-15-2007, 01:09 PM
Postbit, is the horizontal postbit, Postbit Legacy, is the vertical postbit. It all depends on which postbit you use for your site.
Black Tiger
08-15-2007, 02:19 PM
Yes I knew that, but I use this hack for the vertical postbit.
Now I've seen the other hack for the postbit_legacy.
So my question is what the difference is between this hack and the postbit_legacy hack, because this hack (postbit) seems to work fine for postbit_legacy too.
HMBeaty
08-17-2007, 11:23 PM
Are you talking about the first one developed by "UltimateOreo!"?
If so, if you look at his, his is displayed directly in the postbit, where it takes up a bit more room and I believe his was only template edits when he first released it.
Mine, is displayed in the user's dropdown menu's in the postbit (see screenshot) so its more of a.....for lack of a better word, cleaner version. I've also made the option to have the menu's in the user profile area.
Black Tiger
08-17-2007, 11:40 PM
I was indeed referring to the one developped by "UltimateOreo" because that is the one mentioned here under "similar mods".
Because yours only says postbit and his only says postbit-legacy I thought there might be a difference otherwise you would have called it "in postbit and postbit legacy". Just the seperation of these 2 names brought me to doubt.
However I see now, that in fact there is no difference except you have a more clean version, which is correct because when I looked at his version a lot more code was used, which again strengthent (hope i write this in correct English) my believe that there was a difference.
So there isn't and I installed yours in my postbit legacy, working great.:)
Thanks for the explanation!
HMBeaty
08-17-2007, 11:47 PM
No problem, thank you!
|Jordan|
09-04-2007, 12:00 AM
Is there an updated version 2.6.0 for this modification?
VB is telling me this:
Redlinemotorsports and UltimateOreo - User Managem - Installed version: 2.5.0 - Newest version: 2.6.0
Lynne
12-12-2007, 03:24 PM
I edited one of the plugins: User Management - hook location: postbit_display_complete
was:
eval('$usermanage= "'.fetch_template('usermanage').'";');
is:
eval('$template_hook[postbit_user_popup] .= " ' . fetch_template('usermanage') . '";');
And then I didn't edit the postbit or postbit_legacy templates at all. This put the code in the correct place.
Jazzi
03-16-2008, 07:54 PM
This is exactly what I've been needing on my forum - thank you so much for making it! Just to say that I've installed it on 3.6.8 (and quite a heavily modified 3.6.8 at that) and it's working perfectly! :D
Thanks!!
Black Tiger
03-16-2008, 10:09 PM
@Lynne: I did this before with TMS, but your solution is better. I hope redline will include your edit in a next version.
By the way... this is working nice on vb 3.7.0 b6 too.:)
HMBeaty
03-19-2008, 12:10 AM
Hey everyone, I'm home on leave but only for a couple more days. Thank you all for the positive feedback and suggestions. I have VERY limited access to the internet since I've joined the military but hopefully in about 4 months, providing I'm not in Iraq, I will be able to update all of my modifications.........and my website. I apologize for any inconvenience this may cause anybody.
Black Tiger
03-19-2008, 12:45 AM
Thanks for keeping us informed Redlinemotorsports! Really appreciate that!!!
See you in a couple of months, take care!
justchil
05-03-2008, 01:18 AM
Everything is working great in 3.7.x (I had to readd the stuff to postbit_legacy after reverting templates of course).
Just one thing though... Checking version in the admincp I get:
Product Redlinemotorsports and UltimateOreo - User Managem is out of date.
Installed Version 2.5.0
Latest Version 2.6.0
Click here for more information!
KURTZ
03-16-2010, 11:02 AM
@ HMBeaty runs onto 4.x? any chance to get this hack onto the new platform? :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.