Customizing SMF > Theme Site Themes

Synthetic + Synthetic Light

<< < (2/6) > >>

phantomm:
To change width you have to edit 'width' in this part (inside index.css):

--- Code: ---.center
{
width: 980px;
margin: 0 auto;
}
--- End code ---

wicked1:
thanks for the quick response. worked great :)

wicked1:
hello again
now that i'm starting to fill up the forum with threads, I'm running into an issue with something called "LGFBlocks" which I never installed, but it seems to come with your theme?

I have a board that has 2 sub-boards (or "child" boards), when neither sub-board has posts, and I click to see the board, it shows up properly.

But if one board has posts and the other doesn't, or if one board has "new unread" posts and the other doesn't, I get this error in the column where the last post info should be on the far right:

--- Quote ---Fatal error: template_main() [function.require]: Failed opening required '/forums/Sources/LGFBlocks.php' (include_path='.:/apache/lib/php') in /forums/Sources/Load.php(2181) : eval()'d code on line 96
--- End quote ---
Along with that error, it's only showing the board that has the new unread posts in it, the other one disappears.

I don't have a file named LGFBlocks.php and never have. I redownloaded the theme and there isn't one in the zip file either.

The admin error log shows this:

--- Quote ---2: template_main(/forums/Sources/LGFBlocks.php) [<a href='function.template-main'>function.template-main</a>]: failed to open stream: No such file or directory
File: /forums/Themes/Synthetic_by_UrbanThemes/MessageIndex.template.php (eval?)
Line: 96
--- End quote ---
When I look at MessageIndex.template.php Lines 95-98 it shows:

--- Quote ---                else{
                   require_once($sourcedir .'/LGFBlocks.php');
                   show_avatar($board['last_post']['member']['id'], 50, 1);
                    }
--- End quote ---
How to fix this error?

Madzgo:

--- Quote from: wicked1 on May 20, 2012, 06:38:35 PM ---
When I look at MessageIndex.template.php Lines 95-98 it shows:

--- Quote ---                else{
                   require_once($sourcedir .'/LGFBlocks.php');
                   show_avatar($board['last_post']['member']['id'], 50, 1);
                    }
--- End quote ---
How to fix this error?

--- End quote ---
Delete those lines


That will be fixed and theme will be updated soon

edit: just use the file from the attachment  (overwrite the existing one)

wicked1:
thanks that fixed it :)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version