PDA

View Full Version : Administrators Using ACP


Zero Tolerance
06-12-2005, 10:00 PM
Port of: https://vborg.vbsupport.ru/showthread.php?s=&threadid=80624

Although this only modifies 1 line of admincp/index.php to add in a custom hook, the installer included has install/uninstall/repair custom hook, so if you upgrade you can just repair the custom hook.

So just run the custom hook installer and then upload the plugin, and you're done :)

Enjoy,

- Zero Tolerance

KuRi
06-13-2005, 03:30 PM
ok i ran the php file and now i cant access my admincp?!?!?! it says 'HTTP 500 - Internal server error'

But everything else works???

Zero Tolerance
06-13-2005, 04:47 PM
Did you CHMOD the files to 0666?

- Zero Tolerance

KuRi
06-13-2005, 04:51 PM
it says to do that to admincp/index.php yeh?

Zero Tolerance
06-13-2005, 05:54 PM
Yup and includes/xml/vbulletin_hooks.xml :)

- Zero Tolerance

KuRi
06-13-2005, 06:22 PM
i done that and i still cant get in my acp....

edit. ive replaced my whole admincp folder with the original files and i have access again... but then with the 2 files chmoded and i execute the php file included.. after it is done i get the same error again so i was just wondering if I could just have manuall instructions??

edit2. Figured it out... i had left the chmod on index.php at 0666, needed to be returned to 0644

eXtremeTim
06-13-2005, 08:54 PM
does this integrate in with the custom plugin manager of yours?

Zero Tolerance
06-15-2005, 04:02 AM
@ KuRi - That must be a server problem then, I've never known a server that doesn't like the permissions set to 0666 upon viewing in the browser.

@ eXtremeTim - It add's the custom hook, but doesn't add it to the Hooks Manager db table. Since it designed to be used for user's who havn't installed that.

- Zero Tolerance

Kirk Y
06-17-2005, 05:41 AM
I've chmodded all the proper files, which reminds me: you may want to add that you need to chmod includes/xml/hooks_vbulletin.xml to the directions. The error I'm getting is: System Error - Was unable to find specified PHP Line inside file. [quote]System Error - Was unable to find specified PHP Line inside file. (print_submit_row($vbphrase['save'], 0, 1);) Any ideas?

Edit:
Sorry, forgot to mention: this error I'm getting, it appears in during the installation process.

mholtum
06-17-2005, 06:01 AM
My admincp/index.php went completely blank after chmoding the files. Had to uninstall and then reupload the files via ftp to regain access to my admincp.

Andreas
08-04-2005, 10:56 PM
Do you plan to turn this into a true Plugin (Hook admin_index_main)?

Andreas
09-15-2005, 01:38 AM
*bump*
Any chance of getting this as a Plugin?

derekivey
09-30-2005, 09:17 PM
It works as a plugin now. I just tried. Just import his XML file and change the hook location to admin_index_main3.

mtha
10-01-2005, 04:48 AM
Hook is already available in GOLD, just use

<hookname>admin_index_main2</hookname>

in the plugin file and import the plugin

derekivey
10-01-2005, 01:32 PM
Hook is already available in GOLD, just use


<hookname>admin_index_main2</hookname>

in the plugin file and import the plugin

Or admin_index_main3 will work too (under the box that shows useful links, server load etc).

IrPr
01-12-2006, 09:52 PM
would u coders plz re-write this Hack for 3.5.3?

derekivey
01-13-2006, 02:00 AM
It works on 3.5.3 I believe...

JakeS
03-04-2006, 05:36 PM
i'm gettin this: System Error - Was unable to find specified PHP Line inside file. (print_submit_row($vbphrase['save'], 0, 1);)

during install

ahennings
03-04-2006, 11:02 PM
Same error for me too: System Error - Was unable to find specified PHP Line inside file. (print_submit_row($vbphrase['save'], 0, 1);)

Seems my admincp/index.php file was wiped clean too :disappointed:

Black Widow
02-12-2007, 12:56 PM
thanks.
installed...

Rickeo
06-20-2008, 08:47 PM
Please make for 3.7.1

Black Widow
06-28-2008, 09:13 AM
I am using it on 3.7.2 and it works just fine.