Log in

View Full Version : Making a hack - how to add an options item, and recall an item in it in xml cpnav?


liamwli
06-17-2012, 09:33 AM
So I am making a mod that will provide a user with a link in their admincp to a thing. That things URL could change, and I want to let the administrator provide that URL.

How would I go about making an options menu in the vBulletin options area, with a textbox, and then recall the value in that textbox in the cpnav file?

Thanks

Ziki
06-17-2012, 10:09 AM
First of all, enable debug mode ;)

https://vborg.vbsupport.ru/showthread.php?t=267270

liamwli
06-17-2012, 10:23 AM
First of all, enable debug mode ;)

https://vborg.vbsupport.ru/showthread.php?t=267270

Also, I managed to get as far as adding the options to the menu. Now I am stuck at the point of recalling them in xml ;)

EDIT: Oh. I really should have installed that debug mode earlier. It would have been so much easier...

EDIT2: Done it using an extra file :)