News:

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

Main Menu

[Theme] Saf Themes for 1.0.X

Started by forsakenlad, September 16, 2005, 02:31:17 PM

Previous topic - Next topic

forsakenlad

I am already making a dark version cyberjack ;) Miraenda as a guest you know a random session ID is added to the end of each link, when I remove the session ID and try to naviagte there is no problem. But by default I can't navigate and get internal server errors on every page...
Eren "forsakenlad" Yaşarkurt
SMF Friend & Former Team Member

Miraenda

Actually, though, no session IDs are adding to the end of my url when I'm navigating as a guest, which is why I'm confused a) why they aren't for me but seem to be for someone else, b) what is causing them to show or not show for a guest.  I only made CSS changes to the theme, no code changes, so that's what is really confusing me.

Also, thanks for earlier saying the theme looks nice with the changes :D

forsakenlad

Mir, I actually think that the reason might be a mod_security problem not a problem with the theme. Can you please do the things that [Unknown] has described here:

Having problems with mod_security?

Please let me know after you do the changes so that I can check to see if the problem is fixed :)
Eren "forsakenlad" Yaşarkurt
SMF Friend & Former Team Member

Miraenda

Thanks forsaken, I know we run mod_security already, but I didn't realize this could happen using it for some reason.  I've added the .htaccess file you'd noted, are you still getting issues when going to http://realbachelor.com/forum/ ?

forsakenlad

As a guest I am not getting any errors now (both with and without the session ID added). I am happy to say that your problem has been solved ;)
Eren "forsakenlad" Yaşarkurt
SMF Friend & Former Team Member

Miraenda

Ty very much :) Sorry to take your theme thread off-track though, but I greatly appreciate the help. ;)

forsakenlad

I was happy to help you. Actually I am glad I helped you through the theme thread, thanks to you it has been at the top of the first page of the board :P :P :)
Eren "forsakenlad" Yaşarkurt
SMF Friend & Former Team Member

router

great theme, I love the orange one. BTW, how can I add a button to the top part, like the default theme, so users can have the option to display or not display the top info (welcome guest.....posts in by). Thanks

forsakenlad

I had never felt a need for that option as the top part was already really small, I will post a code that wouldn't affect the look of the theme soon ;)
Eren "forsakenlad" Yaşarkurt
SMF Friend & Former Team Member

Pichichi

#189
Hello forsakenland,

a really good theme, is just what i had on my mind and what i was looking for to be in my forum.

I am installing it at hxxp:www.forocincovillas.net/foro [nonactive].  It is a forum in spanish language and i was wondering if buttons can be found translated to spanish.  Actually, displayed buttons belong to another theme.

Thanks a lot

forsakenlad

I am very happy to know that you've liked the theme. If you would like to translate the buttons into Spanish, just drop me a PM with your e-mail address included and I'll send you the PSD's... ;)
Eren "forsakenlad" Yaşarkurt
SMF Friend & Former Team Member

Someguy

Hey forsakenlad,

Great theme. In your first post you mention "There is an option that removes the forum name on the header for those that would like to use their own custom header". I was wondering, how do I go about doing this, or how can I link my forum name so that when somebody clicks on it they go back to the home.

Thanks in advance.

forsakenlad

To remove the forum name, head over to Administration Center --> Current Theme and check this: "Hide the forum name on the header?"

To add a link to the froum name, open up your Index.template.php file and find:

Code (Index.template.php) Select
$context['forum_name'];

And replace it like this:

Code (Index.template.php) Select
'<a href="', $scripturl, '">', $context['forum_name'], '</a>';
Eren "forsakenlad" Yaşarkurt
SMF Friend & Former Team Member

zigzag

Hi,

I have  'Show a quick login on every page'  ticked in my admin panel but it doesn't show up - is that just a feature of the theme or have I messed something up  :D

forsakenlad

Actually there is no quck login box in the saf themes, but you can use this instead. Open up your BoardIndex.template.php file and find:

Code (BoarIndex.template.php) Select
// Show the login bar. (it's only true if they are logged out anyway.)
if ($context['show_login_bar'])
{
echo '
<tr>
<td class="catbg" colspan="2">', $txt[34], ' <a href="', $scripturl, '?action=reminder" class="smalltext">(' . $txt[315] . ')</a></td>
</tr>
<tr>
<td class="windowbg" width="20" align="center">
<a href="', $scripturl, '?action=login">
<img src="', $settings['images_url'], '/icons/login.gif" alt="', $txt[34], '" border="0" /></a>
</td>
<td class="windowbg2" valign="middle">
<form action="', $scripturl, '?action=login2" method="post" style="margin: 0;">
<table border="0" cellpadding="2" cellspacing="0" width="100%"><tr>
<td valign="middle" align="left">
<label for="user"><b>', $txt[35], ':</b><br /><input type="text" name="user" id="user" size="15" /></label>
</td>
<td valign="middle" align="left">
<label for="passwrd"><b>', $txt[36], ':</b><br /><input type="password" name="passwrd" id="passwrd" size="15" /></label>
</td>
<td valign="middle" align="left">
<label for="cookielength"><b>', $txt[497], ':</b><br /><input type="text" name="cookielength" id="cookielength" size="4" maxlength="4" value="', $modSettings['cookieTime'], '" /></label>
</td>
<td valign="middle" align="left">
<label for="cookieneverexp"><b>', $txt[508], ':</b><br /><input type="checkbox" name="cookieneverexp" id="cookieneverexp" checked="checked" class="check" /></label>
</td>
<td valign="middle" align="left">
<input type="submit" value="', $txt[34], '" />
</td>
</tr></table>
</form>
</td>
</tr>';
}


And replace it like this:

Code (BoarIndex.template.php) Select
// Show the login bar. (it's only true if they are logged out anyway.)

echo '
<tr>
<td class="catbg" colspan="2">', $txt[34], ' <a href="', $scripturl, '?action=reminder" class="smalltext">(' . $txt[315] . ')</a></td>
</tr>
<tr>
<td class="windowbg" width="20" align="center">
<a href="', $scripturl, '?action=login">
<img src="', $settings['images_url'], '/icons/login.gif" alt="', $txt[34], '" border="0" /></a>
</td>
<td class="windowbg2" valign="middle">
<form action="', $scripturl, '?action=login2" method="post" style="margin: 0;">
<table border="0" cellpadding="2" cellspacing="0" width="100%"><tr>
<td valign="middle" align="left">
<label for="user"><b>', $txt[35], ':</b><br /><input type="text" name="user" id="user" size="15" /></label>
</td>
<td valign="middle" align="left">
<label for="passwrd"><b>', $txt[36], ':</b><br /><input type="password" name="passwrd" id="passwrd" size="15" /></label>
</td>
<td valign="middle" align="left">
<label for="cookielength"><b>', $txt[497], ':</b><br /><input type="text" name="cookielength" id="cookielength" size="4" maxlength="4" value="', $modSettings['cookieTime'], '" /></label>
</td>
<td valign="middle" align="left">
<label for="cookieneverexp"><b>', $txt[508], ':</b><br /><input type="checkbox" name="cookieneverexp" id="cookieneverexp" checked="checked" class="check" /></label>
</td>
<td valign="middle" align="left">
<input type="submit" value="', $txt[34], '" />
</td>
</tr></table>
</form>
</td>
</tr>';
Eren "forsakenlad" Yaşarkurt
SMF Friend & Former Team Member

zigzag

Hi,

Thank you  :) It's no problem without the quick login, I was just worried I'd messed something up  :D

forsakenlad

No you haven't messed up anything :) The theme is made like that ;)
Eren "forsakenlad" Yaşarkurt
SMF Friend & Former Team Member

IT

I love this theme! I want to translate it in romanian so please send me the button's psd files.
Check PM for email details! ;)

forsakenlad

Eren "forsakenlad" Yaşarkurt
SMF Friend & Former Team Member

cyberjack

i am using orange in a different site

http://www.repertuardog-ist.com  (mkportal)

http://www.repertuardog-ist.com/forum  (smf)

i love all of them ;)

Advertisement: