![]() |
PHP help?
Okay I have been reading over W3 schools.com for about 1day 1/2. I have developed a script (I think it will work) and I wonder how would you "export" it to use for VB?
Here's the script: PHP Code:
|
Put this in a hook that is called before the template you want this to display in is eval'd.
PHP Code:
Good work. Nice to see people apply themselves instead of just asking for a gimmie. Oh yeah, set your editor to 4 space tab too. ;) |
Ohh that makes a lot of sense! Thanks for the help!
|
Glad to help. Take a look at existing hacks to get clues on how to make it a product. Or make a product in the acp and add hooks to it and export it.
|
Nice, clean code is also good (since you're learning). One thing to do is to avoid using too generic variables, as other modifications may "take over" your variable.
PHP Code:
|
All times are GMT. The time now is 02:10 AM. |
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:
|