vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Administrative and Maintenance Tools - "Edit User" Button in postbit (https://vborg.vbsupport.ru/showthread.php?t=161755)

FractalizeR 11-01-2007 10:00 PM

"Edit User" Button in postbit
 
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[userid] 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
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

Quote:

Originally Posted by bigcurt (Post 1374335)
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

Quote:

Originally Posted by Coders Shack (Post 1374643)
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?


All times are GMT. The time now is 04:06 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01176 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete