vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Direct Link to User's ACP Profile in Postbit for Admins (https://vborg.vbsupport.ru/showthread.php?t=50396)

N9ne 03-17-2003 10:00 PM

Direct Link to User's ACP Profile in Postbit for Admins
 
------------------------------------------------------------------------------>
Direct Link to User's ACP Profile in Postbit for Admins
~ A hack by N9ne // March 18th 2003
~ Copyright N9ne 2003+
------------------------------------------------------------------------------>

------------------------------------------------------------------------------>
What does this hack do?
~ It adds a link in the postbit to only administrators.
~ Upon clicking the link, you are taken directly to the
user's profile, in the adminCP.
~ This hack was created for convenience.
------------------------------------------------------------------------------>

------------------------------------------------------------------------------>
What do i need to do to install this hack?
~ 3 file modifications [admin/functions.php and showthread.php]
~ One template modification [postbit]
~ Add one template [postbit_useradmin]
------------------------------------------------------------------------------>
Screenshot in next post!

N9ne 03-18-2003 04:54 PM

Screenshot of link in postbit // Remember: You can place the link anywhere you want in the postbit!

Chris Gwynne 03-18-2003 05:07 PM

Preeeetttty simple :p It's ok, I guess. :)

N9ne 03-18-2003 05:10 PM

It's simple yes, but is that enough reason to reply to it stating that :rolleyes:

filburt1 03-18-2003 05:16 PM

This can be (somewhat) done with phpinclude. Hacking just gives a cleaner resulting HTML.

N9ne 03-18-2003 05:18 PM

Filburt, in your eyes, everything can be done in phpinclude :).

Wouldn't using phpinclude in this, and calling an extra template, add a query per page?

Disturbed 03-18-2003 06:19 PM

is that the same link thats in the profile?

N9ne 03-18-2003 06:30 PM

Yes, on the get info page, there's the administrative options link, this link that is put in the postbit has the same URL, except it's only viewable by administrators.

Boofo 03-18-2003 06:56 PM

Nice little hack, N9ne. ;) I did this a while back using Logician's Dynamic Templates hack. No PHP files were harmed in the making of that hack. ;)

filburt1 03-18-2003 06:57 PM

Quote:

Today at 02:18 PM N9ne said this in Post #6
Filburt, in your eyes, everything can be done in phpinclude :).

Wouldn't using phpinclude in this, and calling an extra template, add a query per page?


No, it just makes messy HTML.


All times are GMT. The time now is 10:08 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.01145 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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