The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Hi.
I was trying to modify the above file to make a simple hack: I would use my left-side menu in AdminCP to link some external link, like phpMyAdmin and so on, like a bookmark keeper. Well, as the standard makenavoption appends a '&s=session' to the link, PHP Code:
Well, I got an error because the adminfunctions.php file is somehow linked to functions.php one and to some other. What's the solution to modify that (or similar) files ? Thanks |
#2
|
|||
|
|||
well if i get u right then ur in the wrong file.....
go to admin/index.php, find; Code:
<tr><td> <table width="100%" border="0" cellspacing="0" cellpadding="2" id="navtable"> <?php maketableheader("Options"); ?> </table> <a href="options.php?s=<?php echo $session[sessionhash]; ?>&action=options"> Change options </a> </td></tr> Code:
<tr><td> <table width="100%" border="0" cellspacing="0" cellpadding="2" id="navtable"> <?php maketableheader("phpmyadmin"); ?> </table> <a href="www.urdomain.com/phpmyadmin">use phpmyadmin </a> </td></tr> now if u want to make more links do it like this again and if u want to add more options within a certain group then just add this line and change it to ur needs:<a href="www.urdomain.com/phpmyadmin">use phpmyadmin </a> but remember to add this "|"after each line so it looks like this; Code:
<tr><td> <table width="100%" border="0" cellspacing="0" cellpadding="2" id="navtable"> <?php maketableheader("phpmyadmin"); ?> </table> <a href="www.urdomain.com/phpmyadmin">usephpmyadmin</a> | <a href="www.urdomain.com/phpmyadmin/tutorials">phpmyadmin tutorials</a> </td></tr> |
#3
|
|||
|
|||
Wrong YOUR version, I think...
Thanks the same I'm talking about v2.2.1 .... All the menu options are done by makenavoption called in adminfunctions.php ... What's yours ? :stupid: |
#4
|
|||
|
|||
ooh hehe well im using v2.1.0
so im not sure if that changed in v2.2.0 just check it to be sure.... |
#5
|
|||
|
|||
well anyway i think if u remove the sesion hash it will work fine look at the code that i showed
compare the one that i asked u to search for and the custom one i made under it ...on the top one u see sesion session hash and in the custom i replaced it cuz it only works if u make that page within the vb so then u would have to include it in misc.php if im not mistaken... |
#6
|
|||
|
|||
version 2.1.0 eh??
|
#7
|
|||
|
|||
yes im using v2.1.0 but the guy in question uses 2.2.0
so i dont know that evrsion |
#8
|
|||
|
|||
2.2.1 ...
Hwr, I didn't thought ver 2.1.0 would exist ... Any way, my problem is in index.php reflecting functions defined in adminfunctions.php, AS REQUESTED in my first post in topic. Nothing else... ! Thanks. Bye |
#9
|
|||
|
|||
Uhh? Nobody can help ?
Where in code that file is locked ? Thanx |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|