Recent Topics

Members
Stats
  • Total Posts: 10,749
  • Total Topics: 1,374
  • Online today: 489
  • Online ever: 879
  • (Jan 21, 20, 05:49:15 PM)
Users Online
Users: 0
Guests: 472
Total: 472

A blue Flagrantly?

Started by voyager, Jun 06, 11, 02:51:21 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

willemjan

Quote from: ZarPrime on Jun 06, 11, 11:14:21 AM
Well, I knew you had used it willemjan. :D

LOL was just kidding, buddy ;)

voyager

Here you go.

Zar: Sure, send me the link.

[attachment deleted by admin]

willemjan

Who sees the error in this code?

function template_body_above()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings;

echo !empty($settings['forum_width']) ? '
<div id="wrapper" style="width: ' . $settings['forum_width'] . '">' : '', '
<div id="header">
<div id="head-l">
<div id="head-r">
  <div id="userarea" class="smalltext">';
if (!empty($context['user']['avatar']))
echo '<div id="my-avatar" class="clearfix">
'.$context['user']['avatar']['image'].'
</div>';
if ($context['user']['is_logged'])

voyager

Don't look at me! I haven't changed the index.template since I downloaded the theme. Just the css files.

willemjan

The odd thing is that it does show the header part on your site. So the error must be in this part:

echo !empty($settings['forum_width']) ? '
<div id="wrapper" style="width: ' . $settings['forum_width'] . '">' : '', '


Or where it closes this div

voyager

Does it have anything to do with the theme being RC5 and my forum being RC4? Otherwise I'm afraid you've lost me!

willemjan

I think I found it. Try this one. But backup the old file first!

[attachment deleted by admin]

voyager

Nothing looks different in that one to me?

Just asking an obvious question, are you trying to fix the threads theme or did you change it to the Flagrant one?

voyager

If not though, everything still looks exactly the same (full page width, no quick login box (just the links there)).

http://e-p1.net/index.php?action=forum&theme=67

willemjan

No, nothing changed. Please put back the original file. I run into an dead end. I'm sure one of the other guys can help you.