Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Theme Site Themes => Topic started by: ~WannaBeDie on April 21, 2009, 03:56:23 PM

Title: The Lord Of The Rings
Post by: ~WannaBeDie on April 21, 2009, 03:56:23 PM
Link to the theme (http://custom.simplemachines.org/themes/index.php?lemma=1577)
(http://custom.simplemachines.org/themes/index.php/action,download/lemma,1577/image,thumb)


The Lord Of The Rings design by WannaBeDie.
Title: Re: The Lord Of The Rings
Post by: βluΣ ЯosΣ on April 21, 2009, 04:37:01 PM
very nice theme


You are doing beautifull  themes .
Title: Re: The Lord Of The Rings
Post by: ~WannaBeDie on April 22, 2009, 09:48:17 AM
Thank you very much !
Title: Re: The Lord Of The Rings
Post by: Marcus Forsberg on April 22, 2009, 09:51:16 AM
Great job!
Title: Re: The Lord Of The Rings
Post by: ~WannaBeDie on April 22, 2009, 09:54:06 AM
Quote from: Nas on April 22, 2009, 09:51:16 AM
Great job!
Thank you Nas :)
Title: Re: The Lord Of The Rings
Post by: akguide on May 05, 2009, 04:38:32 PM
Problem with install I get this error:

Forum/Themes/The_Lord_Of_The_Rings118/languages/Settings.english.php on line 5" 

after install when I go to profile to change theme

Just thought you should know this happened on a new clean install of  2.0 RC1 and on a wholy different forum when I tried to download of the version for 1.1.8 as well

AKGuide
Title: Re: The Lord Of The Rings
Post by: candidosa2 on May 06, 2009, 10:19:54 PM
good themes
nice...very nice
Title: Re: The Lord Of The Rings
Post by: Nathaniel on May 17, 2009, 07:11:43 AM
There are some issues with non-escaped quotes for the SMF 2 RC1 version of this theme. ;)

Change this code ('Languages/Settings.english.php'):
$txt['theme_description'] = 'I'm used images from Fam Fam Fam's Silk Iconset.Theme by WannaBeDie.<br /><br />Author: <i><a href="mailto:[email protected]">WannaBeDie</a></i>';


To this code:
$txt['theme_description'] = 'I\'m used images from Fam Fam Fam\'s Silk Iconset.Theme by WannaBeDie.<br /><br />Author: <i><a href="mailto:[email protected]">WannaBeDie</a></i>';
Title: Re: The Lord Of The Rings
Post by: ~WannaBeDie on May 18, 2009, 10:28:14 AM
Quote from: Nathaniel on May 17, 2009, 07:11:43 AM
There are some issues with non-escaped quotes for the SMF 2 RC1 version of this theme. ;)

Change this code ('Languages/Settings.english.php'):
$txt['theme_description'] = 'I'm used images from Fam Fam Fam's Silk Iconset.Theme by WannaBeDie.<br /><br />Author: <i><a href="mailto:[email protected]">WannaBeDie</a></i>';


To this code:
$txt['theme_description'] = 'I\'m used images from Fam Fam Fam\'s Silk Iconset.Theme by WannaBeDie.<br /><br />Author: <i><a href="mailto:[email protected]">WannaBeDie</a></i>';

thanks :)
Title: Re: The Lord Of The Rings
Post by: madglee on May 28, 2009, 08:39:51 PM
Hi,

Great theme. I just had two questions:

1) How can I remove whatever it is - Javascript? - that's causing the header buttons to move and show text?

2) How do I increase the width of the whole theme? Changing the wrapper didn't seem to do anything.

Thanks!
Title: Re: The Lord Of The Rings
Post by: madglee on May 31, 2009, 04:23:45 PM
Well, I managed to figure out how to increase that width, but I can't seem to get that JavaScript out of there without making parse errors. Can you please help when you get a chance? Thanks.
Title: Re: The Lord Of The Rings
Post by: madglee on May 31, 2009, 04:56:27 PM
Hmm, I deleted the reference to imagemenu.js in index.template.php and that makes them not move, but I'm not sure if I've broken anything else because of that. Feel like I'm using a saw instead of a scalpel.
Title: Re: The Lord Of The Rings
Post by: madglee on June 06, 2009, 10:02:29 AM
Hi,

This is probably a stupid question but I can't find the answer anywhere. I'm using SMF RC2 1-1 with the LOTR theme and the login on the homepage does not have any drop down to choose how long a person stays logged in. Unfortunately, this causes one to have to login again and again.

Is there a way to just add that in somehow? Or do I have to change the session length or something?

Also, I'm still trying to remove that JavaScript from the top buttons - I can remove a reference to it, but that causes a script error.

Thanks in advance.
Title: Re: The Lord Of The Rings
Post by: shadow82x on June 06, 2009, 07:45:17 PM
In ../Themes/The_Lord_Of_The_Rings/index.template.php

Find
                // Otherwise they're a guest - this time ask them to either register or login - lazy bums...
                else
                {
                echo '               
            <script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script>
                <form action="', $scripturl, '?action=login2" method="post" accept-charset="', $context['character_set'], '" ', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this, \'' . $context['session_id'] . '\');"' : '', '>
                    <input class="loginput" type="text" name="user" size="10" />
                    <input class="loginput" type="password" name="passwrd" size="10" /><br />
                    <input class="loginbutton" type="submit" value="" /><br /><span class="middletext">', sprintf($txt['welcome_guest'], $txt['guest_title']), '</span><br />
<span class="time">' , $context['current_time'], '</span>
                    <input type="hidden" name="hash_passwrd" value="" />
                </form>';
                }


Make it
                // Otherwise they're a guest - this time ask them to either register or login - lazy bums...
                else
                {
                echo '               
            <script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script>
                <form action="', $scripturl, '?action=login2" method="post" accept-charset="', $context['character_set'], '" ', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this, \'' . $context['session_id'] . '\');"' : '', '>
                    <input class="loginput" type="text" name="user" size="10" />
                    <input class="loginput" type="password" name="passwrd" size="10" />
                    <select name="cookielength">
                        <option value="60">', $txt['one_hour'], '</option>
                        <option value="1440">', $txt['one_day'], '</option>
                        <option value="10080">', $txt['one_week'], '</option>
                        <option value="43200">', $txt['one_month'], '</option>
                        <option value="-1" selected="selected">', $txt['forever'], '</option>
                    </select><br />
                    <input class="loginbutton" type="submit" value="" /><br /><span class="middletext">', sprintf($txt['welcome_guest'], $txt['guest_title']), '</span><br />
<span class="time">' , $context['current_time'], '</span>
                    <input type="hidden" name="hash_passwrd" value="" />

                </form>';
                }
Title: Re: The Lord Of The Rings
Post by: madglee on June 08, 2009, 10:41:16 AM
Thanks so much, you're the best!
Title: Re: The Lord Of The Rings
Post by: madglee on June 13, 2009, 05:06:02 PM
Hi WannaBeDie,

I'm still waiting to hear how to properly turn off that JavaScript which makes the header images move; haven't gotten any response from you here or by PM.

Also, this theme throws a bunch of errors about undefined offset: admin, home, etc etc, which I fixed by adding in quotes such that $txt[search] becomes $txt['search'].

However, on line 333 of the index.template.php it says:
  if ($context['allow_memberlist'])
echo '<li><a href="', $scripturl, '?action=mlist" class="kwick opt5">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/memberlist.gif" alt="' . $txt[331] .'" /><span>' : $txt['member_list']), '</span></a></li>';


The 331 throws an undefined offset error still. Adding in the ' doesn't help. How can I fix that? Not sure what 331 refers to.

Hopefully you'll answer - the main forums would just refer me here, and I'm not sure what else to do besides continuing to ask you here.

Thanks for the great theme!