PDA

View Full Version : Administrative and Maintenance Tools - "Edit User" Button in postbit


FractalizeR
11-01-2007, 10:00 PM
Preable:

I turned VBulletin forum into support system for our customers. In some forums users post requests to activate their access to some subforums. Administrator looks through all the requests, verifies data, provided by each user and sets secondary usergroups for certain user according to request. Each time having checked user data, administrator needs to go to user profile and click Options there to go to user edit window.

What this hack does?
This hack adds a button Edit User to each post. Having clicked this button opens /admincp/user.php?do=edit&u=$post page in new window. So, my staff needs only one click to access user account data.

Hack is fully customizable. The following parameters are adjustable:

Window height and width
Button icon
User groups for which this button is shown
Button location (choose from 9 possible)


Installation
[U]Just import XML and check settings at VBulletin standard options section at the very bottom.

=====04.11.2007=====
Added Russian localization file

Seb@
11-02-2007, 04:22 PM
thanks men but i miss the icon eum_edit.gif please attach

bigcurt
11-02-2007, 05:49 PM
Is it a button or is it in the username menu? I would rather have it in the username menu.

Derek Chai
11-02-2007, 10:37 PM
Example please.

Gray Matter
11-02-2007, 11:13 PM
Is it a button or is it in the username menu? I would rather have it in the username menu.
You can easily accomplish this with a template edit, without this hack required.

FractalizeR
11-02-2007, 11:28 PM
I uploaded image.
I hate template edits. I am using only hacks, that don't require template edits, because in this case I don't need to watch if any templates changed in next VB update.
Additionally, this hack would be useful for those, that don't like ot don't know how to edit templates.

Gray Matter
11-03-2007, 01:05 AM
Template edits, IMO, are much easier to manage because you need only knowledge of basic HTML, not any PHP or any other coding.

Not to mention, vBulletin doesn't officially give support for boards with modifications installed, but it does give support for boards with template edits. ;)

But I don't want to argue. I was just letting him know that he can accomplish what he's asking for with a template edit. :)

RMS-Chef
11-03-2007, 02:49 AM
Thanks for the easy product.
I too have done this but as other's mentioned with a template edit. I added it to the user drop menu. Although easy to work with, I don't like the overhead, no matter how minimal, products can add.

But I don't ever want to diminish your contribution, so thank you.

Coders Shack
11-03-2007, 04:28 AM
it would be better if it was in the username menu, thats where it belongs :)

vb should add this as a default for users with access

FractalizeR
11-03-2007, 12:00 PM
it would be better if it was in the username menu, thats where it belongs :)

vb should add this as a default for users with access

Agree ;)
Is there any template hook for accomplishing this?

yoyoyoyo
11-03-2007, 12:27 PM
thanks for sharing

thaki
11-03-2007, 02:44 PM
Thank you great work

bigcurt
11-03-2007, 06:29 PM
You can easily accomplish this with a template edit, without this hack required.

I realize that..but you can also accomplish this without a hack easily :P.

Gray Matter
11-03-2007, 07:33 PM
I realize that..but you can also accomplish this without a hack easily :P.

Isn't that exactly what I said?

FractalizeR
11-04-2007, 02:06 PM
Isn't that exactly what I said?

I guess no :)
He means, that you can go to user profile, then click options there and this way accomplish an operation without any modifications or template edits.

ThE LeAdEr
11-20-2007, 05:55 PM
I do not work.
I installed the xml, up image to the appropriate folder, set in many ways, not button!

raywjohnson
12-03-2007, 10:32 PM
I also could not get this to work. Two possible reasons are: my boards version is 3.6.0 and I have made a few custom edits to the postbit template.

--RayJ

mystic10
08-11-2008, 10:33 PM
are u planing to update this for 3.7 its very useful and much appreciated thanks in advance

FractalizeR
08-12-2008, 01:42 PM
It should work in 3.7 as well.

mystic10
08-13-2008, 03:52 AM
it didnt work
nothing showing

FractalizeR
08-14-2008, 12:34 PM
3.7 Hack release is published here: https://vborg.vbsupport.ru/showthread.php?t=188101

gbox master
11-01-2008, 09:03 PM
mmm nice that you say it also works in 3.7
but how about getting it to work in 3.6 ?

the button dont show after install the hack
so what do we do wrong ? :D