Bloc, when manually installing your mod, I get a template parse error when loading index.template.php. It's not telling me exactly where to look so I'm pretty much clueless. Care to help me out with this please?
Make sure you really pay attention when manually editing code. You had about 4 mistakes. You even had a </add after> left over. :)
Careful not to break an echo statement too. Echo works like this:
echo 'everything_goes_in_here_and_ends_like_this'; There was a couple of places where you entered the code right in the middle of an echo statement and didn't fix it. If you use a php editor that showes colors it really makes it easy to find your mistakes. I didn't go over this file with a fine tooth comb, so if it doesn't work let me know.
Quote from: IchBinâââ,¬Å¾Ã,¢ on October 19, 2005, 05:53:40 AM
Make sure you really pay attention when manually editing code. You had about 4 mistakes. You even had a </add after> left over. :)
Careful not to break an echo statement too. Echo works like this:
echo 'everything_goes_in_here_and_ends_like_this'; There was a couple of places where you entered the code right in the middle of an echo statement and didn't fix it. If you use a php editor that showes colors it really makes it easy to find your mistakes. I didn't go over this file with a fine tooth comb, so if it doesn't work let me know.
Man I feel like such a noob :P. Now I'm getting this parse error though:
Quoteparse error, unexpected '}'
Quoteparse error, unexpected '}'
you will find that on one line by itself -- just remove it
It should give you the line number about where its at too.
Hey, you guys are getting really good at this! ;D
shhh!! don't tell anyone. :P
Yea -- copy and past lol
Ray, you just ruined my trade secrets.... :P
Quote from: IchBinâââ,¬Å¾Ã,¢ on October 19, 2005, 01:27:57 PM
It should give you the line number about where its at too.
No, it doesn't...
You know, all along I could have just gave you a copy of my default theme file. :2funny: but, that would be too easy. Here you go, this should work. You were missing this part.
// TinyPortal
if($context['TPortal']['showtop']==1)
{
// TinyPortal end
Hence, the reason why there was an unexpected "}"
Thank you, IchBinâââ,¬Å¾Ã,¢. With all that set aside, I'm now getting a blank page when I attempt to go to my forum ???.
Check your permissions? That is, if you're on a linux host.
Still not working at all?
Quote from: IchBinÃ,â,,¢ on October 20, 2005, 03:49:00 AM
Check your permissions? That is, if you're on a linux host.
Everything is CHMODed to 777...
This is the default theme right?
Only thing that I can think of that would make it a blank page is permissions or corrupted files. You check all the files for SMF/TP to make sure they weren't 0 in size and stuff?
Quote from: IchBinâââ,¬Å¾Ã,¢ on October 20, 2005, 09:20:55 PM
This is the default theme right?
Only thing that I can think of that would make it a blank page is permissions or corrupted files. You check all the files for SMF/TP to make sure they weren't 0 in size and stuff?
No, it's not. That's fine...I'll revert to the backups.
Would you like my default TP index.template file?