The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
Quote:
Oh well, the installation script could just run a query to find the largest current typeid, and add 1 ...... |
#12
|
|||
|
|||
Quote:
|
#13
|
||||
|
||||
hmm, i wonder why phrasetypid doesn't have the autoincrement.
Did the devs just forgot it? or has it a reason, would be nice to know |
#14
|
||||
|
||||
Quote:
|
#15
|
||||
|
||||
well actually im not sure how it works but spacial phrase groups use id nos above 100 for ex
email body = 2000 email subject = 3000 something else uses 9000 but they are all multiples of 1000 and what about all the phrase ids that are currently scattered between where vb stops and 1000 i have used 153 for the members choice ... i will have to change it 888 for the jukebox .... i dont know if anyone else is using it 152 for the trader .... i dont know if anyone else is using it there again if i change the idno for the members choice ... i have to code the installer to check which one is used before updates can be made |
#16
|
||||
|
||||
Quote:
|
#17
|
|||
|
|||
Well the phrasetypeid is a real problem with the way hacks are made right now, but this could be solved with some intelligent installer. The question is however, do we want that for 1 hack different phrasetypeid's will be used on every installation. That don't make life easier.
About the permission bitfields, i really think this is a much bigger problem. These normal require manual file edit's, where you must manually check in the sources if a wanted number is still free, and if not decide on a new number. With deciding on a new number it is very easy for a non-coder who don't have god knowledge about how bitfields work, to choose the "wrong" number. I think it would be a great improvement to hacks released for vB (and thus an improvement of the experience users have with vB) if coders can make good agreements on this, and that jelsoft will support this with a registration system of used id's. |
#18
|
||||
|
||||
Quote:
|
#19
|
||||
|
||||
Just make a function to check if the phraseid/phrasegroupid is available. Then if it's not try another one. It's not hard This was done with vB2 hacks and the setting/settingroup table
|
#20
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|