ORANGE-LT

Started by padexx, November 11, 2006, 07:40:42 AM

Previous topic - Next topic

Bigguy

Have you tried to install the global headers and footers mod. It works on all themes.

http://mods.simplemachines.org/index.php?mod=351

Blue!

Hey, I have begun getting an error :Unable to load the 'main' template. when I try to modify Features and Options in my administration.
Does anybody know why this is?

padexx

Coon
the easiest version:

disable the news
in styles.css
#logo, #logo a {
position: absolute;
top: 0;
left: 0;
display: block;
width:440px;
height: 111px;
background: url(images/logo.png) no-repeat;
padding: 30px 0 0 30px;
color: #999;
font-family: Arial, Helvetica, sans-serif;
font-size: 24px;
line-height: 24px;
font-weight: bold;
}

change width to

width: 868px


visin try to install the global headers and footer mod as mentioned by Bigguy (not tested myself)
or, to get the add below the "user center":

in index.template.php
replace

<div id="showcase">
    ' , showcase(), '
</div>';

with

<div id="showcase">
    ' , showcase(), '
</div>
<div> AD CODE </div>';


Coon

Panic,

I tried changing the part that said width:440px; to width:868px;.

Is that all I needed to change? It didn't do anything. How do I take the news out?

padexx

Quotedisable the news

admin- configuration - current theme- disable news?

Coon

#45
Yeah, I tried that too. I disabled the news and extended the width, but still nothing. Do I need to delete the news article as well? I disabled the news but didn't delete the news article.

EDIT: Just deleted the news article and I still no success.

padexx

Coon

it looks like you are NOT using the custom header option described in the theme's README.

Here is what you need to do:

For your header image use logo.png

hight: 111
width: 868

see the styles css to change this (#header and #logo)

in the admin interface - custom theme -

- select "Use Custom Logo/Header Image"

- disable the news

in styles.css
#logo, #logo a {
position: absolute;
top: 0;
left: 0;
display: block;
width:440px;
height: 111px;
background: url(images/logo.png) no-repeat;
padding: 30px 0 0 30px;
color: #999;
font-family: Arial, Helvetica, sans-serif;
font-size: 24px;
line-height: 24px;
font-weight: bold;
}


change width to
width: 868px

#header {
position: relative;
height: 111px;
overflow: hidden;
background: #232833 url(images/header-bg.png) repeat-x;
}

remove the background

in the index.template.php remove the header-l and header-r DIVs to get rid of the corners.

Coon

AGGG! I did it all and it just messed up my forum width, nothing else. Can I talk to you on MSN or give you my forum info so you can give it a go maybe? Please?

Coon

panic, I figured it out now. Thanks for the help. :)

padexx

#49
Coon, sorry for all the "trouble".

Nice to read you've figured it out and still like this theme ;D


I added the german buttons to the download-page
Thanks Torsten for creating them!

Stirred

As promissed I attach the buttons in portuguese that come with the translated Thank You Mod, Rename Topic Mods as well. The font was changed for better seeing.

Some of them weren't translated because they aren´t use in our forum, here you have. Enjoy it, camaradas portugueses! ;)

ATTENTION: The website you're downloading this file from has ADULT CONTENT. So if you're under 18, just click the link and download the file without entering the main website!


--> DOWNLOAD HERE <--

If you're gonna thank anyone, dont do it to me. Cause I didn´t do anything. All the work was done by 0uK^-, a team mate from that website.


Thanks again Panic for giving us the possibility of doing the buttons to our language.
- eighteen seconds before sunrise -

zerodamage

This theme is not showing the visual verification for sending PM's in the Final 1.1.  Only admins are able to send.
That is the ONLY thing I am finding wrong with this theme.

padexx

updated
theme to fix missing verification image in personal messages

in PersonalMessage.template.php
search for
// Subject of personal message.
echo '
<tr>
<td align="right"><b', (isset($context['post_error']['no_subject']) ? ' style="color: red;"' : ''), '>', $txt[70], ':</b></td>
<td><input type="text" name="subject" value="', $context['subject'], '" tabindex="', $context['tabindex']++, '" size="40" maxlength="50" /></td>
</tr>';

add after
if ($context['visual_verification'])
{
echo '
<tr>
<td align="right" valign="top">
<b>', $txt['pm_visual_verification_label'], ':</b>
</td>
<td>';
if ($context['use_graphic_library'])
echo '
<img src="', $context['verificiation_image_href'], '" alt="', $txt['pm_visual_verification_desc'], '" /><br />';
else
echo '
<img src="', $context['verificiation_image_href'], ';letter=1" alt="', $txt['pm_visual_verification_desc'], '" />
<img src="', $context['verificiation_image_href'], ';letter=2" alt="', $txt['pm_visual_verification_desc'], '" />
<img src="', $context['verificiation_image_href'], ';letter=3" alt="', $txt['pm_visual_verification_desc'], '" />
<img src="', $context['verificiation_image_href'], ';letter=4" alt="', $txt['pm_visual_verification_desc'], '" />
<img src="', $context['verificiation_image_href'], ';letter=5" alt="', $txt['pm_visual_verification_desc'], '" /><br />';
echo '
<a href="', $context['verificiation_image_href'], ';sound" onclick="return reqWin(this.href, 400, 120);">', $txt['pm_visual_verification_listen'], '</a><br /><br />
<input type="text" name="visual_verification_code" size="30" tabindex="', $context['tabindex']++, '" />
<div class="smalltext">', $txt['pm_visual_verification_desc'], '</div>
</td>
</tr>';
}

muslimways

I been trying to add "users online today" module manually on this theme, and finding it impossible, spent very long but can't seem to get around this problem. can someone advice me or send me your

BoardIndex.template.php
Stats.template.php

Thanks

ShopHRM

#54
first off install the mod with the package manager from your admin panel, then modify the following. I know this isnt in the actual html editor window but i hope it can help anyways.

In the the boardindex.template.php look for this:


                     ', $txt['most_online_ever'], ': ', $modSettings['mostOnline'], ' (' , timeformat($modSettings['mostDate']), ')
                  </span>
               </td>
            </tr>';


Replace it with this:


                     ', $txt['most_online_ever'], ': ',
$modSettings['mostOnline'], ' (' , timeformat($modSettings['mostDate']), ')
                  </span>
               </td>
            </tr>';
            
   // Users online today

   echo '
   <tr>
      <td class="titlebg" colspan="2">', $txt['uot_users_online_today'], '</td>
   </tr><tr>
      <td class="windowbg" width="20" valign="middle" align="center">
         <img src="', $settings['images_url'], '/icons/online.gif" alt="', $txt['uot_users_online_today'], '" border="0" />
      </td>
      <td class="windowbg2" width="100%">';

   echo '
         <div class="smalltext">';

  echo $txt['uot_total'], ': <b>', $context['num_users_online_today'], '</b>';
  if (!$context['user']['is_guest'])
     echo ' (', $txt['uot_visible'], ': ', ($context['num_users_online_today'] - $context['num_hidden_users_online_today']), ', ', $txt['uot_hidden'], ': ', $context['num_hidden_users_online_today'], ')';

   // Assuming there ARE users online... each user in users_online has an id, username, name, group, href, and link.
   if (!empty($context['users_online_today']) && !$context['user']['is_guest'])
      echo '<br />', implode(', ', $context['list_users_online_today']);

   echo '
            <br />', $context['show_stats'] && !$settings['show_sp1_info'] ? '
            <a href="' . $scripturl . '?action=stats">' . $txt['smf223'] . '</a>' : '', '
         </div>
      </td>
   </tr>';


The Modifications.English.php (if thats what your using) this is the entire file unmodded:



<?php
// Version: 1.1; Modifications

$txt['pdx_forum_button'] = 'URL for button that returns to your main (Home) page : ';
$txt['pdx_forum_button_desc'] = 'Input URL here when the button where it returns to the top on your site is necessary. If it is a blank, the button is not displayed.';
$txt['pdx_forum_button_forum'] = 'Forum';

$txt['header_logo'] = 'Use Custom Logo/Header Image';
$txt['header_logo_desc'] = 'If checked the a custom image (orange-lt/images/logo.png) is used for the header (instead of the forum name). Use the logo.png as base for your own image';

$txt['theme_version_attention'] = 'Hide theme version attention';

// The one to press translation of Modifications.english.php
$txt['necessary_to_translate'] = 'Necessary to translate';


?>



Replace it with this:



<?php
// Version: 1.1; Modifications

$txt['pdx_forum_button'] = 'URL for button that returns to your main (Home) page : ';
$txt['pdx_forum_button_desc'] = 'Input URL here when the button where it returns to the top on your site is necessary. If it is a blank, the button is not displayed.';
$txt['pdx_forum_button_forum'] = 'Forum';

$txt['header_logo'] = 'Use Custom Logo/Header Image';
$txt['header_logo_desc'] = 'If checked the a custom image (orange-lt/images/logo.png) is used for the header (instead of the forum name). Use the logo.png as base for your own image';

$txt['theme_version_attention'] = 'Hide theme version attention';

// The one to press translation of Modifications.english.php
$txt['necessary_to_translate'] = 'Necessary to translate';

$txt['uot_users_online_today']='Users Logged In Today';
$txt['uot_yesterday']='Yesterday at ';
$txt['uot_total']='Total';
$txt['uot_visible']='Visible';
$txt['uot_hidden']='Hidden';
?>



hope that helps, you shouldnt have to modify anything else with this theme

muslimways

oh woow, genius! thank you soo much! it worked perfectly, really appreciate your help

padexx


ShopHRM

no problem, I just started smf about a month ago and I know how confusing it can be so I'm glad to help, its easy to learn once you have the eureka moment

blur

#58
Hi. I am having a slight problem. The bg gradients behind the category titles seem to glitch up. Sometimes when i go to the index or when i scroll up and down the page they go nuts and dont show up or partly show up, as shown in the image below. They are just white areas. Once i hover my mouse back over them they show up though. Also if i hover my mouse over the nav buttons they re show up. This is kind of unattractive and would be nice to know what to do :)


ShopHRM

thats most likely your browser or computer , it does the same thing on my laptop where i have slimbrowser installed but never on my desktop with IE7..just a thought

Advertisement: