The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#41
|
||||
|
||||
I think he was saying that if you want to know what a function does, the best documentation is to look aat the function, and work out what it does.
If this is not something you can do, then your next point of reference is php.net and mysql.com ... that's teh way the rest of us learned how-to. |
#42
|
|||
|
|||
Quote:
but yeah i see this point; i suppose this is why hacks are not officially supported... probably the only solution is to warn users of the problems it can (and will?) cause and to make sure that they check permissions etc after installing/upgrading. or alternativly... use your own bitfield... however myself i quite like the admin permissions bitfield and have added half a dozen new permissions to it for my warnings system and there will probably be more to come... |
#43
|
||||
|
||||
Not supporting hacked boards is one thing, "intentionally" increasing the danger of security leaks is another.
As said, this is a hypothetical worst-case scenario and most likely won't ever happen. But it is far more dangerous to use an unused bit for custom things then adding a column to a table (the upgrade script would crash with a mySQL-error if a column with this name does already exist when they try to ALTER TABLE) or introducing new variables (this can of course also cause problems, but only if Jelsoft uses the same variable name; Bitfields will be used sooner or later) Btw: Creating such a "issuperadmin" usergroup permission IMHO would be pretty easy: In init.php check the bit, if it is set also set ismoderator and cancontrolpanel. In can_administer() check that bit and if it is set return true, no matter what $do is. |
#44
|
|||
|
|||
Quote:
Spent feckin loads of attempts over the past weeks trying to install your Jukebox hack. Fails every time with a MySQL error. After spending another hour messing about with it tonight, plus coming across this thread, realised that Jukebox is trying to use phraseid 888, which is already in use by the Quiz hack by TWCommish that I have installed. Bugger! |
#45
|
||||
|
||||
Quote:
Tnx for the feedback bluesteel ...... just goes to show the importance of phraseid number registration ..... you can change the number in the quiry.php and the phrase.php .... where is says 888 change it to another unused phraseid, and it should install |
#46
|
|||
|
|||
No worries mate. Sorta figured that out.
Now I'm off back to the JB hack thread to figure out other small probs |
#47
|
|||
|
|||
Quote:
the superadmin user permission is slightly more difficult than that, you have to go through and find every check for the In_array($superadmins_array) thing(can't remember the exact script) and replace it with a check to that permission, however as a quick way to grant all normal permissions, yes it is quite simple. My intention with it was to have it function in the same way we had root admins function on vb2, root admins were the ones who controlled admin permissions, they were the only ones able to grant access to the admin and root admin forums, plus they had a bunch of other useful things such as the ability to change peoples userid and to add elements to the rpg system we used. However it turned out alot more difficult than i though it would be I may have another go at doing something like this when i've got other things sorted out. |
#48
|
||||
|
||||
Is something happening with a registration system ??????
I think this is now urgent!!!! So har now 2 of the 4 major hacks i have released clash phraseid's with another hack. the members choice clashed with the geek articles hack and my jukebox is clashing with some quiz hack. I WANT YOU TO TELL ME WHAT IS THE POINT OF ME RELEASING ANY MORE HACKS IF I HAVE TO SPEND EVERY SECOND POST HELPING OTHER TO FIX THEIR FORUMS BECAUSE OF CLASHING |
#49
|
||||
|
||||
Quote:
|
#50
|
||||
|
||||
so what is your solution that stops clashes?
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|