The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#22
|
||||
|
||||
[QUOTE]Originally posted by bira
yeah, it occured to me that some people here may not have .html parsed as php in their httpd.conf (which, I must admit, I'm surprised you don't) |
#23
|
||||
|
||||
btw, you might want to edit the instructions.txt file in the zip in the attachment, to edit the .html into .php (to make it working) - in case people cut and paste from the instructions file instead of from this thread. Will prevent them from coming here and complaining it doesn't work and that they did exactly what the instructions say - the instructions are kinda wrong now.
|
#24
|
||||
|
||||
server load doesn't change one bit. If you parse html via php and there's not a single php code in that file, it will just output it and that's that. There's nothing to execute, hence there's no memory needed.
But I get your point about shared servers. In any event, it was a complete oversight on my part and I apologise. What surprises me is that none of you got a javascript error! getting a <?php echo $something ?> smack in the middle of a javascript should have immediately triggered a javascript syntax error for you. You probably have the option to disable all errors in your browser selected. Shame on you, developers! |
#25
|
||||
|
||||
[QUOTE]Originally posted by KuraFire
btw, you might want to edit the instructions.txt file in the zip in the attachment, to edit the .html into .php (to make it working) - in case people cut and paste from the instructions file instead of from this thread. Will prevent them from coming here and complaining it doesn't work and that they did exactly what the instructions say - the instructions are kinda wrong now. |
#26
|
||||
|
||||
At a friend's request, I also made an alternative colours chart:
If you rather use this one than the original one included in the hack (first post), then please: 1) download the attached file, rename it to picker.php 2) in style.php, instead of: Code:
window.open('picker.php?fieldname=$name&idvalue=$idvalue','color','width=202,height=124,left=539,top=450') Code:
window.open('picker.php?fieldname=$name&idvalue=$idvalue','color','width=202,height=147,left=539,top=450') |
#27
|
||||
|
||||
I think I'm gonna try something, instead of hard-coding all the colors in the file, maybe you can use a FOR loop to go through all the colors... or maybe half the colors.
|
#28
|
||||
|
||||
FireFly, what for?
|
#29
|
||||
|
||||
[QUOTE]Originally posted by bira
yeah, it occured to me that some people here may not have .html parsed as php in their httpd.conf (which, I must admit, I'm surprised you don't) |
#30
|
||||
|
||||
[QUOTE]Originally posted by bira
server load doesn't change one bit. If you parse html via php and there's not a single php code in that file, it will just output it and that's that. There's nothing to execute, hence there's no memory needed. But I get your point about shared servers. In any event, it was a complete oversight on my part and I apologise. What surprises me is that none of you got a javascript error! getting a <?php echo $something ?> smack in the middle of a javascript should have immediately triggered a javascript syntax error for you. You probably have the option to disable all errors in your browser selected. Shame on you, developers! |
#31
|
||||
|
||||
Quote:
[QUOTE]Originally posted by KuraFire Also: if a server parses .html files, doesn't that mean it Checks the entire .html file to see if there is any PHP code inside it, anywhere? I do believe that that's what parsing is.. :/ And if so, it _would_ provide some extra server loads if you do it on a large scale (100+ visits per minute) - all those php, asp, etc. tutorials speak about how you shouldn't use .php extensions if you don't have any PHP in the file, to prevent needless server parsing, i.e. server loads. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|