vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   A tiny inconvenience... (https://vborg.vbsupport.ru/showthread.php?t=48424)

Drowning Inside 02-02-2003 03:08 AM

A tiny inconvenience...
 
I've tried to search for it, but I've had no success. I was wondering if it would be possible if there was a pop-up, or something (like a link) that could be placed on the forums home page, viewable only to admin and people with permission, that would take them to the admin control panel.... i don't know, i just find it an inconvenience, having to go to the URL window and type in the URL for the admin cp... and i know there are "favorite places" and stuff...but even that, you have to go up and find it -- maybe you have a bunch of other favorites that are more important, so you have to search for it...or maybe you're just lazy (like me haha0...if this has already been done/requested, i havent seen it, so sorry in advance if that's the case...if not, then... reply :D

mr e 02-02-2003 04:24 AM

search for it, i know this has already been released...

Drowning Inside 02-02-2003 04:39 AM

i've been searching forever lol.........i'm continuing to do so, though..

Erwin 02-02-2003 08:28 AM

It's there... try searching the Hacks Database...

EvilLS1 02-03-2003 04:24 AM

I didn't have any luck when searching for it either, but its real easy. I did this on my forum the day after I installed it.

Just put this in the parsed header:
(change the "yoursite.com" to your domain)
Code:

if ($bbuserinfo[usergroupid]==6) {
$ACP = "<a href=\"http://www.yoursite.com/forums/admin/index.php\">Administration Panel</a><br>";
} else {
$ACP = "";
}

And then put $ACP in the footer where you want the link to be.


All times are GMT. The time now is 06:19 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.00990 seconds
  • Memory Usage 1,711KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete