![]() |
just on the board
|
If you want to be able to use the new codemaxlines variable that is in RC3 so the boxes won't ever go past the point that the others do now, you need to add:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
seems there are changes in rc3 i never noticed ^^
|
Nice Hack Xenon :)
Was wondering how when vb.org used to run vb2 people got the sql code to work, didn't even know it existed for vb2. Even though most places won't find this useful I find it interesting. Cheers, g-force2k2 |
the vb2 version was written by Chen just for vb.org and was never released :)
i just ported it over to vb3, optimized it and then asked chen if i could release it. i know that there are not much boards which can use it, but if at least one other board can use it, it was worth the release :) |
Quote:
It took me a while with the padding not working right when following the other bbcode templates for the sql template. Then it hit me with the stylevar[cellpadding] variable they were using. I had hardcoded it into the template, but it is easier this way if you ever want to do a global change. The blockcodeheight is new in RC3 and doesn't quite work right yet. I reported it over to vb.com and they are wroking on it, I guess. ;) I even got the sql box (as well as the others) set up with the double-click that they had for vB2, totally revamped for vB3. It makes it alot easier now that the boxes are smaller. ;) |
well i use a codebox height coded myself on vb.org, that'S why i have not noticed the rc3's as i have not reverted the templates ;)
i'll add your fixes into my next installfile :) |
Can you share your height code until RC3 gets theirs working right? ;)
If you want the double-click code for it, let me know. It works different with the pre tags than it did as a replacement with the td tags. You can use the same template as one of the other bbcodes with that stuff added to the install file. No more having to hard-code it. ;) Oh, and we also added a SQL button to the editors. Just had to add something to 2 templates. Didn't have to mess with any js files. This vB3 is GREAT!!! ;) |
Don't forget the add the SQL template to the showthread.php and the showpost.php, too. ;)
|
hmm, i think the height hack isn't that perfect, too.
at least sometimes it does things it shouldn't do ;) but i'll look at it at all :) |
All times are GMT. The time now is 12:53 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|