Recent Topics

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

Analysis

Started by xPandax, Jul 02, 13, 06:13:58 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

xPandax

Hi,

First of all thanks for all the free themes. Your contribution towards custom themes in SMF in incredible.

I downloaded "Actualism" theme from your website and it works perfectly. But in the error log, the following error appears for all the links, i.e. 2 errors/request.

Quote8: Undefined variable: modSettings
Themes/default/SimTopics.template.php (body_below sub template - eval?)

8: Undefined variable: modSettings
Themes/default/languages/BadBehavior_bbc.english.php (body_below sub template - eval?)

Yes, these errors are related to "similar topics" and "bad behaviour" mods but those errors aren't thrown when I use "reference" or "Anecdota" theme made by you.

Please help me when you find time. :)

Crip

#1
  ==>> hi, (which Theme is with errors)??

i'm not sure so i will check it.
I have become comfortably numb!


No PM's for Support unless invited! 

I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -
TOTM Winner.

xPandax

Thank you very much. :)

Crip

"""Analysis theme has the errors?
I have become comfortably numb!


No PM's for Support unless invited! 

I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -
TOTM Winner.

xPandax

Analysis Theme - Error

Reference & Anecdota - Works fine


Thanks for your time.

Crip

I have become comfortably numb!


No PM's for Support unless invited! 

I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -
TOTM Winner.

Crip

it might take sometime to sort this...
I have become comfortably numb!


No PM's for Support unless invited! 

I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -
TOTM Winner.

xPandax

No problem dude. Fix it when you find time. :)

Maxx

Panda,

I fail to see what or how these error s are pointing you toward the theme as being in error? This trouble you are having seems more related to the mod itself and you should realy go to whom ever made this mod for their support, Jeff does not modify his themes to fit Mods. He only supports erros with the theme, if any pop up!

regards,
Maxx

Crip

Thanks Maxx ,  and your right.
I have become comfortably numb!


No PM's for Support unless invited! 

I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -
TOTM Winner.

xPandax

Quote from: Maxx on Jul 02, 13, 09:04:40 AM
Panda,

I fail to see what or how these error s are pointing you toward the theme as being in error? This trouble you are having seems more related to the mod itself and you should realy go to whom ever made this mod for their support, Jeff does not modify his themes to fit Mods. He only supports erros with the theme, if any pop up!

regards,
Maxx

Quote from: Crip on Jul 02, 13, 09:07:11 AM
Thanks Maxx ,  and your right.

No problem. Thank you for your time.  :)

Crip

Theme_Analysis support is welcome.
I have become comfortably numb!


No PM's for Support unless invited! 

I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -
TOTM Winner.

Maxx

Yes the issue seems to be between the SMF default theme not excepting the change the mod whats to make to it, and the "body_below sub template" and I would not force this, it could mess up you forum or the db tables!

regards,
Maxx

xPandax

Quote from: Maxx on Jul 02, 13, 09:31:42 AM
Yes the issue seems to be between the SMF default theme not excepting the change the mod whats to make to it, and the "body_below sub template" and I would not force this, it could mess up you forum or the db tables!

regards,
Maxx

But there are no such errors when using "reference & anecdota" themes. I've mentioned this in the OP. That's the reason I opened this thread asking for support.

I understand that you don't change your themes so that its compatible with mods. I'm sorry for making this thread.

Crip

was the .mods already installed , before you downloaded the Theme?
I have become comfortably numb!


No PM's for Support unless invited! 

I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -
TOTM Winner.

xPandax

Quote from: Crip on Jul 02, 13, 10:09:01 AM
was the .mods already installed , before you downloaded the Theme?
I reinstalled those 2 mods and all mods that required edits in custom theme.

Crip

You could BackUp & try changing the below -- just a suggestion , not recommended?

index.template.php

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


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

...
I have become comfortably numb!


No PM's for Support unless invited! 

I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -
TOTM Winner.

Maxx

try this and let us know what your admin error logs say!

admin > Server settings > "General" >  un-check the radio button : "evaluation of templates".

then check you admin "error log" and see what errors you get?

Just the latest few errors!

I'll try to get back later or tomorrow I have tons of stuff to do!

regards,
Maxx



xPandax

#18
I don't know how to thank you. It worked. Thank you very very much.  :2up:

Thanks to both of you for your time.  :grinz:



PS: I checked reference & anecdota themes, and yes the index.template.php of those themes have "$modSettings" under template_body_below function.

Crip

my bad , it will be updated again. :up:
I have become comfortably numb!


No PM's for Support unless invited! 

I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -
TOTM Winner.

xPandax

Thank you very much.

Crip

#21
your welcome. + thank you for reporting it! :up:
I have become comfortably numb!


No PM's for Support unless invited! 

I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -
TOTM Winner.