View Full Version : Best way to save version number?
Deaths
02-16-2005, 12:09 PM
As some of you might've noticed already, I am currently working on a vBulletin Members Area/ Help Desk system (find link in sig).
Now, I want to add a version number to it.
What would be the best way to save the version number, where it can be edited by an update script, but not so easily by the user?
Help would be appreciated.
Put it in settings, as hidden one ?
Deaths
02-16-2005, 02:18 PM
How could I hide it?
I have tried this, but failed. As I said, I'm not expierenced with making hacks ACP configurable at all, because all my previous hacks were private :)
When adding a setting, place hidden in the optioncode.
Should work :)
Deaths
02-16-2005, 02:30 PM
Doesn't work for me :-/.
Look at the screenies here (http://pics.gamenews.trap17.com/hidden.GIF) and here (http://pics.gamenews.trap17.com/hidden2.GIF)
My bad
I think you need to group them in their own settinggroup with displayorder 0.
Not too sure but you could try this
Deaths
02-16-2005, 02:40 PM
That doesn't work either :(.
I can add it to the vBulletin "Untouchables" maybe...
How did you do it with vBArticles?
Hmm... I add a new settinggroup with 0 as displayorder and it doesn't show ?
Maybe you try it again ?
Deaths
02-16-2005, 02:45 PM
I've figured it out, now it doesn't show :).
Because I was editing options, I had debug mode on, heh.
The hidden thing still doesn't work, but the new settingsgroup does.
Thanks for the quick help !
No problem, I messed with this for my hack too :)
Just curious, why do you need to capture this hidden version information ?
Deaths
02-16-2005, 02:57 PM
It's a lot easyer than you think, heh.
Open up admincp/options.php and find
if ($debug)
Now, above that add
$debug=1;
Make sure you do that twice, because there are 2 instances of it :).
EDIT: Heh, misread your question ^^.
I don't need the hidden information, I need to edit the already made settings, because I'm still developing my hack :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.