[Theme] Neptune (SMF 1.0.5 - SMF 1.1RC2 )

Started by bloc, June 29, 2005, 09:43:31 AM

Previous topic - Next topic

bloc

Quote from: platypus314 on July 01, 2005, 03:02:42 PM
I love your theme, but whenever it is used on my forum, a bunch of these type of messages appear on the error log:

8: Undefined index: memberCount
File: /home/jjbcdnl/public_html/foro/Themes/neptune11/Themes.template.php (eval?)
Line: 612

For that file and various other files, including some in the /Themes/default folder.  I'm not very php-savvy, however.  Anyone have any ideas?  (Some of these files don't even seem to have a line 612, and the others don't have memberCount on that line.

What version of SMF do you use? And what version of Neptune?

If you mix the two you get errors like that. "membercount" is used in SMF 1.0.5 - but not in SMF 1.1beta. So it would seem you are using a Neptune 1.0.5 version on a SMF 1.1 - which will work mostly, but are not recommended for the same reason - errors in the log.

platypus314

Hm...I used to have 1.0.5, and then I upgraded to 1.1 with the upgrade script.  So something must not have upgraded right?

bloc

You now have SMF 1.1? And you used Neptune for 1.0.5 ? If so, just upload the other one instead.

platypus314

Erm...I think I have all the versions right (neptune 11 and smf 1.1 beta 3), but when I look at the current version stuff in the admin center, a couple of stragling things are still 1.0 for some reason.  In any case, I've just reverted to a backup so things should be working fine now.  Thanks for your prompt assistance though :)!

Navy


softwareguy

For those who are using the 1.1 beta 3 public who want to correct some errors in this theme (Assume theme is not modified) (1.1 beta 3 theme only!):

index.template.php
Change Line 2
From:
Quote// Version: 1.1 Beta 3; index
To:
Quote// Version: 1.1 Beta 3 Public; index

Change Line 612
From:
Quote<b>', $modSettings['totalMessages'], '</b> ', $txt[95], ' ', $txt['smf88'], ' <b>', $modSettings['totalTopics'], '</b> ', $txt[64], ' ', $txt[525], ' <b>', $modSettings['memberCount'], '</b> ',  $txt[19], '<br />
To:
Quote<b>', $modSettings['totalMessages'], '</b> ', $txt[95], ' ', $txt['smf88'], ' <b>', $modSettings['totalTopics'], '</b> ', $txt[64], ' ', $txt[525], ' <b>', $context['common_stats']['total_members'], '</b> ',  $txt[19], '<br />


Themes.template.php
Change Line 2
From:
Quote// Version: 1.1 Beta 3; Themes
To:
Quote// Version: 1.1 Beta 3 Public; Themes

Tercel


bloc

ah, the "memberCount" I had forgot. Thanks for pointing it out softwareguy. Its not really an error that the version are not "beta 3 public" though - the theme IS built when beta 3 was out, not beta3 public, and it works fine in both. ;)

Tercel, being faster than what?

Fabian

Hello

First of all thanks to Bloc for this wonderfull Template. I have installed smf_1-1-beta3p_install.zip (June 28, 2005) and Theme Neptune hxxp:www.bloczone.net/files/neptune/neptune11.zip. [nonactive]

I have a problem at index.php?action=trackip;searchip=

8: Undefined variable: title
Datei: /public_html/Themes/default/BoardIndex.template.php (eval?)
Zeile: 510

8: Undefined variable: title
Datei: /public_html/Themes/default/MessageIndex.template.php (eval?)
Zeile: 510

8: Undefined variable: title
Datei: /public_html/Themes/default/Display.template.php (eval?)
Zeile: 510

8: Undefined variable: title
Datei: /public_html/Themes/default/Display.template.php (eval?)
Zeile: 510


Can anyone help me out, because i am new with SMF.

Thanks, Fabian

bloc

Errors are corrected.

Fabian , you could just download the archive again and overwrite the index.template.php file, and the errors should be gone.

Fabian

Hi Bloc

Thanks. I have downloaded the zip from hxxp:www.bloczone.net/files/neptune/neptune11.zip [nonactive] again and overwrited the File index.template.php.

But i have still the same errors at index.php?action=trackip;searchip=

Any idea ?

Greetings, Fabian

Fabian

Hi Bloc

The error is gone ...

Thanks, Fabian

dave

IE sees this theme as 800X600? ( it just looks to darn big.. in IE )
firefox sees it normally
how do i fix this ?


bloc

I think its something with the html code you use in the extra boxes. Does it behave like that if you remove those?

dave

no behaved like that before i added them
works 100% in both the same

ie before and after sees theme 800X600 and all is big

firefox
before and after
looks fine

bloc

Hm. If you look at my site http://www.bloczone.net/smf/index.php?action=forum in IE you will see that it doesn't show any different..so I am guessing it has to be something you added, maybe in the top of the theme? A stray <tr><td> or other non-closed tags can make that happen, but its hard to tell without actually seing the code you have now.

Tercel

QuoteTercel, being faster than what?

@Bloc

Than me  ;D I located the Prob... but he wrote faster ;)
I'm Just building a new Site, using 1.1beta3 puplic with Neptune & MKPortal for our Fan Projekt.
Think it´s gettin fine. Will post URL when ready. There´s still a Problem with the "Show on top?" Radio Buttons.
Can´t get them to "OFF". After saving they are allways on again. Don´t know why. Any Idea?
There are also some other minor Problems, but I´m not sure for now, if they are not a Problem of the Database.
THX for the fine Theme (as your´s are allways)

Tercel

dave

#37
echo '
            <center><a href="http://www.basslurereviews.com" target="_blank"><img src="http://basslurereviews.com/themes/Sand_Journey/images/logonew.jpg" align="center" valign="middle" alt="basslurereviews" border="0"></a>';

for some reason that did it in IE?
my logo is only 480X60
alligned it center and it tore up the theme to 640X480?
got me


if i remove the top image its fine
if i re add it it messes it up
o well


bloc

Quote from: Tercel on July 06, 2005, 05:38:36 AM
QuoteTercel, being faster than what?

@Bloc

Than me  ;D I located the Prob... but he wrote faster ;)
I'm Just building a new Site, using 1.1beta3 puplic with Neptune & MKPortal for our Fan Projekt.
Think it´s gettin fine. Will post URL when ready. There´s still a Problem with the "Show on top?" Radio Buttons.
Can´t get them to "OFF". After saving they are allways on again. Don´t know why. Any Idea?
There are also some other minor Problems, but I´m not sure for now, if they are not a Problem of the Database.
THX for the fine Theme (as your´s are allways)

Tercel

ah, I see.. :)

The radio buttons..I am not sure I understand but..are they part of a <form> up there?

bloc

Quote from: dave on July 06, 2005, 05:39:51 AM
echo '
            <center><a href="http://www.basslurereviews.com" target="_blank"><img src="http://basslurereviews.com/themes/Sand_Journey/images/logonew.jpg" align="center" valign="middle" alt="basslurereviews" border="0"></a>';

for some reason that did it in IE?
my logo is only 480X60
alligned it center and it tore up the theme to 640X480?
got me


if i remove the top image its fine
if i re add it it messes it up
o well


Strange.It might have something to do with using a table up there..or did you use a div?

Advertisement: