ORANGE-LT

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

Previous topic - Next topic

padexx

Link to the theme


Another simple and light theme.

If you have questions:
PLEASE
have a look into the readme.txt coming with the theme first.

Tinyportal Version

Bigguy

Very nice looking theme. I thik the orange is a bit hard to read but it is a nice theme. I don't like the pop-up to much on the demo site though, lol but thats ok. Nice theme. :)

padexx

Thanks!

feel free to modify it ;D

Sorry for the pop-up its is a free webspace (if you can advise a "better" one, tell me :) )

Bigguy

You might be able to find a good one here:

http://www.simplemachines.org/community/index.php?board=4.0

You can also check my sig for a link to x10hosting.

Ekros

This theme is the greatest theme ever created right now :). I saw the demo around a week ago and im happy it has finally came :D. Thank you, and great work!

bloc

Yeah, its very slick. Always loved the PDX-DK theme, and this is equally great. :)

codenaught

It looks really nice. Great job on it. :) However I do agree with Bigguy, that the orange is a bit hard to read.
Dev Consultant
Former SMF Doc Coordinator

Bigguy

A darker orange might be a bit better. ???

inbetwee

When you look at the forum stats its not showing good.
Look At the sreenshot Click.
And also its looks better when the background is fixt?


Inbetwee


padexx

inbetwee
QuoteWhen you look at the forum stats its not showing good.
this issue is fixed now.

dl the new version or replace the following code in the styles.css:
/* Alternating backgrounds for posts, and several other sections of the forum. */
.windowbg, tr.windowbg td
{
padding: 1ex;
background: #EEE;
border-bottom: 1px solid #eee;
}
.windowbg2,tr.windowbg2 td
{
padding: 1ex;
background: #fcfcfc;
border-bottom: 1px solid #eee;
}
.windowbg3,tr.windowbg3 td
{
padding: 1ex;
background: #f0f0f0;
}


with
/* Alternating backgrounds for posts, and several other sections of the forum. */
.windowbg, tr.windowbg td
{
padding: 5px;
background: #EEE;
border-bottom: 1px solid #eee;
}
.windowbg2,tr.windowbg2 td
{
padding: 5px;
background: #fcfcfc;
border-bottom: 1px solid #eee;
}
.windowbg3,tr.windowbg3 td
{
padding: 5px;
background: #f0f0f0;
}


QuoteAnd also its looks better when the background is fixt?
I don't understand what you mean...

padexx

Update:

03   - updated the display.template.php and the MessageIndex.template.php to correct some errors filling the error logs of SMF

in MessageIndex.template.php
find
global $context, $settings, $options, $scripturl, $modSettings, $txt;
replace with
global $context, $settings, $options, $scripturl, $modSettings, $txt, $isSticky;
in display.template.php
find all
'/' . $context['templatestyle'] .
and delete them

pcjunkie

Need a small fix for better intergration...

How do I get the template menu to display active pages?
I tried adding #nav a:active ....... but it seems to not want to work.

Any suggestions?

padexx

@pcjunkie
To get this a little work has to be done. I posted the solution over here.

ametzler

I love the theme!!  I know where to add in the coding to make new buttons in the navigation bar but what is the code I need to put in so they button displays it's name.  For example, I would like to put a link in the navigation bar to my chat room.  What code do I need to put in to make the link to the chat room?  Also, where in the coding do I need to make the change for Home in the navigation bar to say Forum?  Thank you in advance for all of your help!!

pcjunkie

Quote from: panic on November 18, 2006, 06:56:25 AM
@pcjunkie
To get this a little work has to be done. I posted the solution over here.

Cheers ;)

naveenkumar

#15
Hey! It is slightly modified version of RocketTheme [nofollow]'s Versatility SMF theme. :)

Now, I am able to get it free, and they also shutdown their development of SMF themes.

If you are able to put an option to choose fonts color,, as it was available in Versatility, would we very useful and no doubt, it will take the first place in themes.

Stirred

First of all i want to say that i love this theme!!

One problem that i find always with this theme, is when i install some mod that add buttons next to Topic, Post, Move... etc... the buttons won´t show up!

For instance i'm installing the Rename Mod found here: http://www.simplemachines.org/community/index.php?topic=98910.0

I adapted the code from the default in order to change orange-lt, like this:

<file name="Themes/TP_orange-lt/Display.template.php">
<operation>
<search position="before"><![CDATA[
$mod_buttons[] = array('text' => 'quickmod_delete_selected', 'image' => 'delete_selected.gif', 'lang' => true, 'custom' => 'onclick="return confirm(\'' . $txt['quickmod_confirm'] . '\');" id="quickmodSubmit"', 'url' => 'javascript:document.quickModForm.submit();');
]]></search>
<add><![CDATA[

// Rename Topic
if (allowedTo('rename_topic_any') || ($context['user']['started'] && allowedTo('rename_topic_own')))
$mod_buttons[] = array('text' => 'rename_topic', 'image' => 'edit.gif', 'lang' => true, 'url' => $scripturl . '?action=renameTopic;topic=' . $context['current_topic']);
]]></add>
</operation>
</file>


Well it install smoothly and makes the changes well, but then i can´t see the buttons or text or anything. And the buttons are uploaded as well.

What is going wrong??? =/
- eighteen seconds before sunrise -

padexx

@Stirred posting in both forums and PM me (nice way to knock on my door ;))


in orange-lt/display.template.php search for
if ($context['can_remove_post'] && !empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1)
$moderationButtons[] = $settings['use_image_buttons'] ? '<input type="image" name="submit" id="quickmodSubmit" src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/delete_selected.gif" alt="' . $txt['quickmod_delete_selected'] . '" />' : '<a href="javascript:document.forms.quickModForm.submit();" id="quickmodSubmit">' . $txt['quickmod_delete_selected'] . '</a>';

add after
if (allowedTo('rename_topic_any') || ($context['user']['started'] && allowedTo('rename_topic_own')))
$moderationButtons[] = '<a href="' . $scripturl . '?action=renameTopic;topic=' . $context['current_topic'] . '">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/renametopic.gif" alt="' . $txt['rename_topic'] . '" border="0" />' : $txt['rename_topic']) . '</a>';


in orange-lt/languages/modifications.english.php add
$txt['rename_topic'] = 'Rename Topic';
$txt['rename_topic_no_id'] = 'You must select a valid topic.';
$txt['rename_topic_current_subject'] = 'Current Subject';
$txt['rename_topic_new_subject'] = 'New Subject';


and upload the image below to orange-lt/images/english/

gasg

Please put this great theme to blue color, it waste my eyes with all orange links :(

Stirred

panic thank you man!! =D

I know this can be a little too much, but can you give me these lines too (same issue) for the Thank You Mod, is the last mod that i can´t have it working:

<search for>
if ($context['can_remove_post'] && !empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1)

$mod_buttons[] = array('text' => 'quickmod_delete_selected', 'image' => 'delete_selected.gif', 'lang' => true, 'custom' => 'onclick="return confirm(\'' . $txt['quickmod_confirm'] . '\');" id="quickmodSubmit"', 'url' => 'javascript:document.quickModForm.submit();');
</search for>

<add before>
if (isset($context['thank_you']['premission']))
$mod_buttons += array(
'lock_thank_you' => array('test' => 'thank_you_lock', 'text' => 'd_thank_you_lock'.$context['ThankYouLockStatus'], 'image' => 'thank_you_lock'.$context['ThankYouLockStatus'].'.gif', 'lang' => true, 'custom' => '', 'url' => $scripturl . '?action=thankyoulock;topic=' . $context['current_topic'] . '.0'),
'remove_thank_you' => array('test' => 'thank_you_delete', 'text' => 'd_thank_you_remove', 'image' => 'thank_you_delete.gif', 'lang' => true, 'custom' => 'onclick="return confirm(\'' . $txt['d_thank_you_remove_warn'] . '\');"', 'url' => $scripturl . '?action=thankyouremove;topic=' . $context['current_topic'] . '.0'),
);
</add before>



Thanks again for your fast answer! ;D
- eighteen seconds before sunrise -

Advertisement: