News:

Join the Facebook Fan Page.

Main Menu

->MegaPolis

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

Previous topic - Next topic

Gmans

Link to the theme


--> Nice js menu;
--> Custom code in header;
--> Nice navigation;
=============================
Google Chrome , IE7 , Opera 9 LooK
Можно по-русски! :Р
"Not so big the universe, as its source code ..." ^^

Crip

I have become comfortably numb!


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



TOTM Winner. | Demo Site1on1 Theme Support

Apllicmz




Gmans

QuoteGood Work
Nice themes
Nice theme Gmans

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

Cado


erg0

Yep, the theme is great, but i'v downloaded 2 times the PSD' file & i got only a png file..
Can you upload the real one ?
Thanks  :)

Gmans

Quote from: erg0 on December 24, 2008, 08:42:26 PM
Yep, the theme is great, but i'v downloaded 2 times the PSD' file & i got only a png file..
Can you upload the real one ?
Thanks  :)
Oh... Sorry               
Please wait weekend ;)
Можно по-русски! :Р
"Not so big the universe, as its source code ..." ^^

erg0

 :'(

ok body, thanks for your work, it's simply great.

Plus

dont install this theme ! its take administrator rights when installed. After couldnot uninstall !

[R] RMD /public_html/Themes/MegaPolis/languages
[R] 550 Can't remove directory: Permission denied
[R] RMD /public_html/Themes/MegaPolis/images
[R] 550 Can't remove directory: Permission denied
[R] RMD /public_html/Themes/MegaPolis
[R] 550 Can't remove directory: Permission denied

Gmans

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

Jazhawk

How do you manage the psd file once you shopped it?  Save it as what and what folder does it go in?

-Jazhawk

marchingelite2

#11
hi could you help me please?

im trying to make the border around my article smaller but cant seem to find it anywhere? do you know where n what i have to edit please? Also the reply box is black, anyway i can change that to black? and 1 last thing how can i make the main logo 1 instead of split into 3?

ive attached a screenshot to make it easier for you to see what i mean

thanks in advance

ps love the theme, ive editted it abit to suit my site but overall its fab!




Gmans

1)
.Border-color class or .tborder in style.css  ???
2)
.input class in style.css ???
3)
Replace my logo in themes/megapolis/images ???
PS I Ask pardon if something have wrong understood
Thanks
Можно по-русски! :Р
"Not so big the universe, as its source code ..." ^^

marchingelite2

thanks..

What i want with the logo is one big one to cover the full length of the screen, at the moment it is split into 3

smflogo.jpg
bg.jpg
logoleft.jpg

is there a way to make it 1?

thanks

Gmans

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

Nickadimos

I sent you an email. But im posting here too! Just in case someone else know how!

First I wanna say BEAUTIFUL THEME MEGAPOLIS!!

I love it so much ive been learning PHP!

I am writing to ask you, Would you be willing to help me add the ad management mod to your theme?

I need it badly, not for ads though. I have a couple of widgets I like to use, and I place them inside the ad-space since it can read any format of script ive thrown at it.

I have tried and tried to do this manually with no joy. there are a few sections in the index.template.php the ad management mod author calls for for you to place his code but they dont exist in your Theme.

Needless to say im lost.

could you;

A) Send me the Theme with the mod applied already? LOL

B) Translate your theme and point out the differences from what the mod calls for and let me do it myself? :)

I would appreciate it very much!

Thanks!

Terry

www.gamedev.selfip.com/forum

Gmans

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

jdvarner

Very nice theme. Only issue i had was on my dell laptop with XP it looked good. On my wifes Vista Dell laptop the entire right side was over lapping. Why would that happen?

had to take it off. If its something to do with the operating system or the system itself... then why dont the other themes cause the same issue?

jdvarner

never mind. figured it out. its the TP Shout that throws it out of whack.

jdvarner

Quick question. Folks love the theme but would like for me to change the dark grey on the background "quick reply or in pm's" they say its hard to have black font on dark grey back ground in those box areas. How do i make it a lighter grey.

thanks.
john

Gmans

Quote from: jdvarner on January 11, 2009, 10:52:25 AM
Quick question. Folks love the theme but would like for me to change the dark grey on the background "quick reply or in pm's" they say its hard to have black font on dark grey back ground in those box areas. How do i make it a lighter grey.

thanks.
john
THEMES/megapolis/style.css
search
 background: url(images/form.gif) #686868 repeat-x;
replace
background: #DDD repeat-x;
Можно по-русски! :Р
"Not so big the universe, as its source code ..." ^^

jdvarner

ok. i did that and it changes the background except for the first line. see attach pic for what i mean.


jdvarner

oops. i goofed. works great. thanks.

gijosh28

#23
How do I add a button that says gallery and points to http://racingperformancestreetcars.com/forum/index.php?action=gallery [nofollow]

gijosh28

#24
I figured this out and figured I would share it in case anyone else wants to do the same.

3 edits to the index.template.php:

1)
find after line 59:

// The [calendar]!
   if ($context['allow_calendar'])
      echo ($current_action == 'calendar' || $context['browser']['is_ie4']) ? '' : '' , '
            <td valign="top" class="navmenu">
               <a href="', $scripturl, '?action=calendar">' , $txt['calendar24'] , '</a></td>';


add after:

// The [gallery]!
   if ($context['allow_calendar'])
      echo ($current_action == 'gallery' || $context['browser']['is_ie4']) ? '' : '' , '
            <td valign="top" class="navmenu">
               <a href="', $scripturl, '?action=gallery">gallery</a></td>';



2)
find after line 521:

if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))

replace with:

if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'gallery', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))

3)
find after line 521:

// The [calendar]!
   if ($context['allow_calendar'])
      echo ($current_action == 'calendar' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
            <td valign="top" class="maintab_' , $current_action == 'calendar' ? 'active_back' : 'back' , '">
               <a href="', $scripturl, '?action=calendar">' , $txt['calendar24'] , '</a>
            </td>' , $current_action == 'calendar' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


add after:

// The [gallery]!
   if ($context['allow_calendar'])
      echo ($current_action == 'gallery' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
            <td valign="top" class="maintab_' , $current_action == 'gallery' ? 'active_back' : 'back' , '">
               <a href="', $scripturl, '?action=gallery">gallery</a>
            </td>' , $current_action == 'gallery' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';



This should do it.  Did for me.

Gmans

// The [gallery]!
   if ($context['allow_calendar'])
      echo ($current_action == 'gallery' || $context['browser']['is_ie4']) ? '' : '' , '
            <td valign="top" class="navmenu">
               <a href="', $scripturl, '?action=gallery">gallery</a></td>';

 if ($context['allow_calendar']) 

menu enabled if calendar enabled too  ;D
This stroke small error...
Thank you  gijosh28  :)
Можно по-русски! :Р
"Not so big the universe, as its source code ..." ^^

gijosh28

I didnt know how to check if they have gallery permissions or not, but on my board the users who have calendar permission have gallery permission as well.  But I would like to make this right.  How do I make it check to see if they have gallery permission?

Gmans

can be if ($context['allow_gallery']) ?
A don't know you gallery :)
Можно по-русски! :Р
"Not so big the universe, as its source code ..." ^^

thedeepfriedboot

Hey
I just installed the theme but I am unable to any any of my news updates from the " News and Newsletters" feature to show up at the top. How to I get it so that I can post updates once again?

Gmans

admin - current theme - mange themes - enable "Show news fader on board index" :)
Можно по-русски! :Р
"Not so big the universe, as its source code ..." ^^

codwarrior

#30
hi guys, I learned some great stuff already on modifying this great theme, but what I still don't know how to do is modify the background with the MegaPolis_PSD(real) file. I have done my photoshop magic to it but I don't know how to get it into the forum.

thedeepfriedboot

Quote from: codwarrior on March 06, 2009, 10:03:31 PM
I guys, I learned some great stuff already on modifying this great theme, but what I still don't know how to do is modify the background with the MegaPolis_PSD(real) file. I have done my photoshop magic to it but I don't know how to get it into the forum.
You need to replace the default logo file with you image with the exact same name. I think its called something like SMF Logo or something like that in the image folder. Ill look the name up if you need me to.

codwarrior

I see the smflogo.jpg is part of the header, what about the background gradient?

thedeepfriedboot

Quote from: codwarrior on March 06, 2009, 10:19:28 PM
I see the smflogo.jpg is part of the header, what about the background gradient?
You mean the city background behind the title? If you are talking about the main title for the forum, its one picture for the logo and the background. If you are looking for something else, just pull the entire image folder and browse through them in a thumbnail view.


d1337r

I have one question: I was running an SMF forum and now moving to Intellect Board. Could I have a right to try to port this theme on Intellect Board engine (of course, keeping your copyrights)?
Plz email me, cause I don't visit this forum too often: <my nickname> at gmail.com [nofollow]

dzinerfusion

Hey i would like to know how to add a [forums] section to the bar, like [home] [search] [login] etc. Also,Could tell me how to change the width of the footer so it can be more smaller in width

dzinerfusion

nvm i know how to add that but can anyone tell me what i have to do to add the ''chat'' button?

Gmans

Hello!
open themes/megapolis/index.template.php in notepad
find
// Show the [help] button.
add before:
// Show the [chat] button.
 echo ($current_action == 'chat' || $context['browser']['is_ie4']) ? '' : '' , '
          <td valign="top" class="navmenu">
             <a href="', $scripturl, '?action=chat">CHAT</a></td>';

', $scripturl, '?action=chat => replace
Можно по-русски! :Р
"Not so big the universe, as its source code ..." ^^

Vickgrandteco

IM having problems.  ??? i dont know how to change the logo D: i tryed switching the one in the images fold same name i reloaded the theme and it still says "MYCOMMUNITY" logo on top halp

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: