News:

Wondering if this will always be free?  See why free is better.

Main Menu

->MegaPolis

Started by Gmans, December 21, 2008, 02:13:33 PM

Previous topic - Next topic

Geargarious

I have a test site where I testing the MegaPolis theme, when I go to put the news fader up it works fine with internet explorer but does not work with Google Chrome, I have not tested with FireFox. Just wondered if anyone had any thoughts or ideas on this situation. Thanks.

[Core]

What exactly does it do?

Geargarious

It just sits on the first news bit, it doesn't fade to the next.

musc

Hello.Firstly,I installed this great theme and I want to know how to add new smileys?Secondly,I installed thank-o-matic in all themes but in megapolis it doesn;t show the button "thank you".In default themes it shows it.I transfered all images in theme/megapolis/images as said in instructions.What is the problem?Is there something I forgot to do?

ScopeXL

#44
Alright, I am completely stumped. I love this theme, but cannot seem to edit any buttons in the main header. Not even adding text. Here's what I'm trying to do:

In index.template.php

// How about the [search] button?
if ($context['allow_search'])
echo ($current_action == 'search' || $context['browser']['is_ie4']) ? '' : '' , '
<td valign="top" class="navmenu">
<a href="', $scripturl, '?action=search">' , $txt[182] , ' My Site</a></td>';


And the text will not show no matter what. I even tried copying the javascript dropdown menu over, and it will not budge. It's almost as if any index.template.php edits are overwritten back to default immediately. But I try to edit the file in SMF admin, and my edits are there... Any insight?

// Edit

Got it, apparently there are 2 maintab strips? I was editting the wrong one.

Nadidz

Why are a lot of mistakes in the code??

hxxp:www.abload.de/img/apccapture-2009.07.1521080.jpg [nonactive]

swoodie

#46
Hi i am trying to edit the theme to look like this one http://www.nuggetfishing.com.au/index.php?option=com_jfusion&Itemid=38

but i get to here see pic attached, please help on sorting this out with the code needed or rest i need to edit

how do i attach pic?. or my edit


if i can work this out i will intergrate to joomla



as now i use a stand alone site


www.fishing-general.com

swoodie

hi i just installed smf 1.1.8 no mods default works perfect no errors.
this is on a test PC at present

i install the megapolis theme and i get a heap of errors in my logs (main_above sub template - eval?) Errors

Notice: Undefined variable: current_action in C:\xampp\htdocs\webpage\forum\Themes\default\Errors.template.php (main_above sub template - eval?) on line 193

Notice: Undefined variable: current_action in C:\xampp\htdocs\webpage\forum\Themes\default\Errors.template.php (main_above sub template - eval?) on line 198

Notice: Undefined variable: current_action in C:\xampp\htdocs\webpage\forum\Themes\default\Errors.template.php (main_above sub template - eval?) on line 204
 
Notice: Undefined variable: current_action in C:\xampp\htdocs\webpage\forum\Themes\default\Errors.template.php (main_above sub template - eval?) on line 210
 
Notice: Undefined variable: current_action in C:\xampp\htdocs\webpage\forum\Themes\default\Errors.template.php (main_above sub template - eval?) on line 224

Notice: Undefined variable: current_action in C:\xampp\htdocs\webpage\forum\Themes\default\Errors.template.php (main_above sub template - eval?) on line 244
 



i had a look at the index.temp.php file at the numbers listed it looks like it is to do with the menu across the top login help search around that area but have no idea what to do to trouble shoot this, can some 1 help? me fix this theme as i would like to use this 1.

swoodie

#48
i install the debug mod and i get this output

     Templates: 3: index (MegaPolis), Admin (default), Themes (default).
Sub templates: 6: init, main_above, admin_above, main, admin_below, main_below.
Language files: 6: index.english (default), Modifications.english (default), Themes.english (default), Settings.english (MegaPolis), Admin.english (default), Admin.english (default).
Files included: 8 - 376KB. (show.\index.php, .\Settings.php, .\Sources\QueryString.php, .\Sources\Subs.php, .\Sources\Errors.php, .\Sources\Load.php, .\Sources\Security.php, .\Sources\Themes.php)
Queries used: 12.

         SET NAMES utf8
   in C:\xampp\htdocs\webpage\forum\Sources\Load.php line 150, which took 0.0002501 seconds.

         SELECT variable, value
         FROM smf_settings
   which took 0.00061417 seconds.

      SELECT data
      FROM smf_sessions
      WHERE session_id = 'b304d77e8f616dd500353225e012eaa9'
      LIMIT 1
   in C:\xampp\htdocs\webpage\forum\Sources\Load.php line 1994, which took 0.00056911 seconds.

            SELECT mem.*, IFNULL(a.ID_ATTACH, 0) AS ID_ATTACH, a.filename, a.attachmentType
            FROM smf_members AS mem
               LEFT JOIN smf_attachments AS a ON (a.ID_MEMBER = 1)
            WHERE mem.ID_MEMBER = 1
            LIMIT 1
   in C:\xampp\htdocs\webpage\forum\Sources\Load.php line 390, which took 0.00080609 seconds.

         SELECT variable, value, ID_MEMBER, ID_THEME
         FROM smf_themes
         WHERE ID_MEMBER IN (-1, 0, 1)
            AND ID_THEME IN (4, 1)
   in C:\xampp\htdocs\webpage\forum\Sources\Load.php line 1165, which took 0.0008142 seconds.

         SELECT ID_THEME, value AS name
         FROM smf_themes
         WHERE variable = 'name'
            AND ID_MEMBER = 0
         ORDER BY ID_THEME
   in C:\xampp\htdocs\webpage\forum\Sources\Themes.php line 219, which took 0.00080514 seconds.

      INSERT INTO smf_log_errors
         (ID_MEMBER, logTime, ip, url, message, session)
      VALUES (1, 1249354185, SUBSTRING('127.0.0.1', 1, 16), SUBSTRING('?action=theme;sesc;sa=admin', 1, 65534), SUBSTRING('8: Undefined variable: current_action<br />File: C:\\xampp\\htdocs\\webpage\\forum\\Themes\\default\\Themes.template.php (main_above sub template - eval?)<br />Line: 192', 1, 65534), 'f707b1db3dede9deb4b24dd9d1d20e8c')
   which took 0.0007 seconds.

      INSERT INTO smf_log_errors
         (ID_MEMBER, logTime, ip, url, message, session)
      VALUES (1, 1249354185, SUBSTRING('127.0.0.1', 1, 16), SUBSTRING('?action=theme;sesc;sa=admin', 1, 65534), SUBSTRING('8: Undefined variable: current_action<br />File: C:\\xampp\\htdocs\\webpage\\forum\\Themes\\default\\Themes.template.php (main_above sub template - eval?)<br />Line: 197', 1, 65534), 'f707b1db3dede9deb4b24dd9d1d20e8c')
   which took 0.00060415 seconds.

      INSERT INTO smf_log_errors
         (ID_MEMBER, logTime, ip, url, message, session)
      VALUES (1, 1249354185, SUBSTRING('127.0.0.1', 1, 16), SUBSTRING('?action=theme;sesc;sa=admin', 1, 65534), SUBSTRING('8: Undefined variable: current_action<br />File: C:\\xampp\\htdocs\\webpage\\forum\\Themes\\default\\Themes.template.php (main_above sub template - eval?)<br />Line: 203', 1, 65534), 'f707b1db3dede9deb4b24dd9d1d20e8c')
   which took 0.0005641 seconds.

      INSERT INTO smf_log_errors
         (ID_MEMBER, logTime, ip, url, message, session)
      VALUES (1, 1249354185, SUBSTRING('127.0.0.1', 1, 16), SUBSTRING('?action=theme;sesc;sa=admin', 1, 65534), SUBSTRING('8: Undefined variable: current_action<br />File: C:\\xampp\\htdocs\\webpage\\forum\\Themes\\default\\Themes.template.php (main_above sub template - eval?)<br />Line: 209', 1, 65534), 'f707b1db3dede9deb4b24dd9d1d20e8c')
   which took 0.00055599 seconds.

      INSERT INTO smf_log_errors
         (ID_MEMBER, logTime, ip, url, message, session)
      VALUES (1, 1249354185, SUBSTRING('127.0.0.1', 1, 16), SUBSTRING('?action=theme;sesc;sa=admin', 1, 65534), SUBSTRING('8: Undefined variable: current_action<br />File: C:\\xampp\\htdocs\\webpage\\forum\\Themes\\default\\Themes.template.php (main_above sub template - eval?)<br />Line: 223', 1, 65534), 'f707b1db3dede9deb4b24dd9d1d20e8c')
   which took 0.00055099 seconds.

      INSERT INTO smf_log_errors
         (ID_MEMBER, logTime, ip, url, message, session)
      VALUES (1, 1249354185, SUBSTRING('127.0.0.1', 1, 16), SUBSTRING('?action=theme;sesc;sa=admin', 1, 65534), SUBSTRING('8: Undefined variable: current_action<br />File: C:\\xampp\\htdocs\\webpage\\forum\\Themes\\default\\Themes.template.php (main_above sub template - eval?)<br />Line: 243', 1, 65534), 'f707b1db3dede9deb4b24dd9d1d20e8c')
   which took 0.0005548 seconds.

[hide queries]

ciggwin

#49
I just installed AJAX Chat (http://custom.simplemachines.org/mods/index.php?mod=1319) and I would like to add a "CHAT" link in the navigation bar before the "LOGOUT" button. Can you help? I do not know what to edit.

Thank you!

*edit* found another post in this thread and modified it a little... it works! now I just need to figure out how to get the chat to launch in a new window and pass the current logged in credentials.

zolee

how can i add link in menu to mi homepage

NADINE_PICARD

Hi , i love you theme and would like to use it into my website... The only problems , it's i have my own banner and would like to keep it... The name community does not suit me... lol

How i can change this please or at which line i can add my banner url ?

Gmans

QuoteHow i can change this please or at which line i can add my banner url ?
forum settings - current theme :)
Also i included psd file. you can change this in adobe fotoshop and replace image =)

Можно по-русски! :Р
"Not so big the universe, as its source code ..." ^^

NADINE_PICARD

Hi , If i want to replace the name of MY COMMUNITY for the name of my website , how can i do it ?

Advertisement: