![]() |
dumb phpinclude error
Well, i'm trying to make a quick registration hack (yeah, i know, it's probably been already made), and i see get an error when i put this in my phpinclude:
PHP Code:
Quote:
Thanks in advance! -Cyber |
You're not escaping any of the quotes.
|
or in easier words:
change PHP Code:
PHP Code:
|
THanks, i'll try that and give you an update.
|
okay, the error seems to be fixed, but the variable won't show. I put in $quickreg in a portal-block thing, and all that shows up is $quickreg, not all the stuff. I have it as any html block. Any idea what i do?
If it's something like make a new template for the portal-home block, how would i do that and what would i do exactly? |
Make sure you're logged out. Also use $bbuserinfo['usergroupid'], not $bbuserinfo[usergroupid] which is deprecated.
|
Quote:
Edit: Tried it and it didn't fix anything. my url is http://www.blindedstorms.com , the block is in the lower left. |
in the php make sure you eval the template...
ie: PHP Code:
regards, g-force2k2 |
You don't have to eval it, especially because there are no replacements or variables in it from what I can see.
|
I guess i could try the eval thing, but what would the template name be? I'm just putting the variable in a box on the left side of the portal.
|
All times are GMT. The time now is 09:20 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:
|