Hello and excuse my English...
I want create a customized menu and I need to add a link to ACP, but that links change always I log in...
I found an old post that try to explain that, but I don't understand it... Can you help me, please? Thanks!
P.D.: Correct my English if it's wrong please :P . Thanks!
How To Add Links To ACP
Subject: Re: How To Add Links To ACP
Sorry, but I think that I'm wrong in my explain...
I want a link that send me to ACP. A link that, on click, go to ACP. Excuse my English... :)
I want a link that send me to ACP. A link that, on click, go to ACP. Excuse my English... :)
Subject: Re: How To Add Links To ACP
That's for put a link in header, but I don't know what link I have to put... I need the URL :cry: .
Subject: Re: How To Add Links To ACP
i think u shoud use this
in xxxxx write what u want like name ACP or Admin Panel or Administration ...
i dont understand where u gona use it , but this gona be visible to all because here there is not <!-- BEGIN mg_switch_user_is_admin -->
Phess wrote: [View Post]
i think u shoud use this
in xxxxx write what u want like name ACP or Admin Panel or Administration ...
i dont understand where u gona use it , but this gona be visible to all because here there is not <!-- BEGIN mg_switch_user_is_admin -->
Subject: Re: How To Add Links To ACP
To securely add an admin link in the header of your site.. you need to do this...
open includes/page_header and find
after add
find
after add
open templates/your_template/overall_header.tpl and add this whereever you like
you can change the way the look is displayed...
I hope that helps...
open includes/page_header and find
after add
include_once($phpbb_root_path . 'includes/functions_jr_admin.' . $phpEx);
$admin_link = jr_admin_make_admin_link();
$admin_link = jr_admin_make_admin_link();
find
after add
open templates/your_template/overall_header.tpl and add this whereever you like
<div style="text-align:center;"><br /><span class="admin-link">{ADMIN_LINK}</span><br /><br /></div>
you can change the way the look is displayed...
I hope that helps...
Subject: Re: How To Add Links To ACP
Sorry, but not work... I want make a menu, in Portal, based in a text block (BBCode/HTML), and I want to put a button (image) that send me to ACP. For that, I need an URL that send me to ACP... I've tryed with "<a href="{U_ACP}">xxxxx</a>" but it not work...
The block is visible only by the Admin, so that's no problem with the security... Thanks and excuse my bad English :( .
The block is visible only by the Admin, so that's no problem with the security... Thanks and excuse my bad English :( .
Subject: Re: How To Add Links To ACP
Put this where you want the anchor.
It's impossible to link it with an image, without modifying the .php files. It also doesn't work in all templates unless it is validated for the template/.php file that you are addressing. So adding it to a menu is probably not going to work.
And why an Image anyway? Admin is the only one who sees it. :P
Code: [Download] [Hide] [Select]
<!-- BEGIN mg_switch_user_is_admin -->
{U_ACP}
<!-- END mg_switch_user_is_admin -->
{U_ACP}
<!-- END mg_switch_user_is_admin -->
It's impossible to link it with an image, without modifying the .php files. It also doesn't work in all templates unless it is validated for the template/.php file that you are addressing. So adding it to a menu is probably not going to work.
And why an Image anyway? Admin is the only one who sees it. :P
Subject: Re: How To Add Links To ACP
block? :shock: :shock: :roll: :blink2:
try this (i m not sure if its safe !!!!
:nuke:
Phess wrote: [View Post]
block? :shock: :shock: :roll: :blink2:
try this (i m not sure if its safe !!!!
<center><a href="http://www.yourforum.com/login_ip.php?redirect=adm/index.php&admin=1&sid=76842792c8130e51ec96977cd2192cf8"><img border="0" src="./images/bbcb_mg/images/gif/fade.gif" width="20" height="20" align="center" vspace="2">ACP</a></center>
where http://www.yourforum.com = your forum link
where http://www.yourforum.com = your forum link
Subject: Re: How To Add Links To ACP
Session ID changes everytime you log in. ;)
h**p://127.0.0.1/work/index.php?sid...227188910d96453
h**p://127.0.0.1/work/forum.php?sid...5ebab2e5bf1423c
h**p://127.0.0.1/work/index.php?sid...227188910d96453
h**p://127.0.0.1/work/forum.php?sid...5ebab2e5bf1423c
Subject: Re: How To Add Links To ACP
That's the problem... :cry: I think now that, as you say, it not going work... I will use bottom link and I will not include ACP link in my menu :cry: . Maybe, in future, I will try modifying php. Thank you for your help :) , and thanks for understand my bad English!! :). Bye!
Lopalong wrote: [View Post]
That's the problem... :cry: I think now that, as you say, it not going work... I will use bottom link and I will not include ACP link in my menu :cry: . Maybe, in future, I will try modifying php. Thank you for your help :) , and thanks for understand my bad English!! :). Bye!
Subject: Re: How To Add Links To ACP
You can add the ACP link to the header as in the sample picture - and put it wherever it suits you by using the script I posted. ;)
And by using the same block-vars, You can also add an Admin Menu with a button/image as in the pic. But you can't add the "ACP" to the menu. :)
So if you pair of would-be hackers have finished - I'll tag this thread Solved. :mrblue: :mryellow:
And by using the same block-vars, You can also add an Admin Menu with a button/image as in the pic. But you can't add the "ACP" to the menu. :)
So if you pair of would-be hackers have finished - I'll tag this thread Solved. :mrblue: :mryellow:
Subject: Re: How To Add Links To ACP
Thanks! I'll do that :). Bye!!
P.D.: Sorry, but I don't understand...: "So if you pair of would-be hackers have finished - I'll tag this thread Solved."
P.D.: Sorry, but I don't understand...: "So if you pair of would-be hackers have finished - I'll tag this thread Solved."
Subject: Re: How To Add Links To ACP
It's just my sense of humour. :mrgreen:
Phess wrote: [View Post]
It's just my sense of humour. :mrgreen:
Page 1 of 2
You cannot post new topicsYou cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events
This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by Icy Phoenix based on phpBB
Generation Time: 1.4815s (PHP: 3% SQL: 97%)
SQL queries: 10 - Debug Off - GZIP Enabled