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

HoTmetal

Quote from: forsakenlad on November 22, 2005, 01:31:02 AM
Yep I do, its on the first post ;)

Ahhh there it  is... Bright as day <no  pun intended, ok maybe just a little>

timmyo

#221
ok I have managed to get saf-grey working in TinyPortal 0.75

I had to leave out the buttons that collapse/expand headers as I couldn't indentify the correct code in the original page (ditto adding 'TinyPortal' link in the copyright area) but the rest of the functionality works.

see http://timodonnell.co.uk/musiconline/index.php [nofollow]

Not sure what the etiquette is here - if you want me to send you a copy or its ok to post the code here then let me know . . .

<edit - anyone fancy making a 'TP Admin' button ?  :D >

Tim

timmyo

#222
ok - I have put together a zip with the ammended template file and the extra TP images that need to be added to Saf- themes. Simply unzip the attached file and FTP the contents in to the relevant Saf theme directory and voila - it's TinyPortal version

get it from www.timodonnell.co.uk/musiconline/safchange.zip [nofollow]


Tim

<edit - 1.0.5 only >

Solarise Pablo

Hello nice theme almost exactly what i wanted. im new to this, but got it all working.. I just need help on putting my own banner at the top replacing the My community text and the smf logo can u help?!!

P

forsakenlad

Timmyo thanks for that, I am sure a lot users will find it useful. Solarise, all is in your theme settings ;)
Eren "forsakenlad" Yaşarkurt
SMF Friend & Former Team Member

robbievk

forsakenlad thanks for your creation, i was looking for a clean, proffesional looking theme to wrap inside my joomla powered site... and it looks like this will be the one!

please check the forum @ www.ubertastic.com in a day or two it will probably be your theme (slightly modified) shining up the forums!  ;)

forsakenlad

Really nice use of Saf-Grey you have there, also loved your site's design ;)
Eren "forsakenlad" Yaşarkurt
SMF Friend & Former Team Member

robbievk

yeah it's a template i adjusted for Mambo/Joomla.

We decided to immediately make your forum the standard!

Solarise Pablo

Hey its me again!! I do need help on replacing the my community text and the right  top side graphic with one banner which i have...ive looked into the instructions but cant get it too work!!  P

forsakenlad

Go to your theme settings and disable the header text and upload your own logo to the images directory (the name must be top_bg.gif) ;)
Eren "forsakenlad" Yaşarkurt
SMF Friend & Former Team Member

klumy


jsethi

The theme is not working for me I keep getting many messages like this. I am using 1.05.

Notice: Undefined index: number_recent_posts in /home/content/f/t/p/ftpbreakaway/html/smf/Themes/SAF Orange/Settings.template.php on line 89
Notice: Undefined index: number_recent_posts_desc in /home/content/f/t/p/ftpbreakaway/html/smf/Themes/SAF Orange/Settings.template.php on line 90
Notice: Undefined index: hide_post_group in /home/content/f/t/p/ftpbreakaway/html/smf/Themes/SAF Orange/Settings.template.php on line 174
Notice: Undefined index: hide_post_group_desc in /home/content/f/t/p/ftpbreakaway/html/smf/Themes/SAF Orange/Settings.template.php on line 175

forsakenlad

Make sure you have the 1.05 version of the theme installed and install the theme from the admin panel, using the zip file ;)
Eren "forsakenlad" Yaşarkurt
SMF Friend & Former Team Member

greyknight17

Quote from: forsakenlad on November 14, 2005, 12:28:27 PM
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>';

What do we need to edit so the quick login box is gone once they log in?

forsakenlad

Replace the: if ($context['show_login_bar']) with: if ($context['user']['is_guest']) ;)
Eren "forsakenlad" Yaşarkurt
SMF Friend & Former Team Member

Solarise Pablo

Once again I appreciate your time on this mate..once ive done this once i will use the theme for other sites i do..getting the hang of this better now!!
The My community text has gone, found the box!!  but the uploaded graphic doesnt show?? am I going crazy here?!!
I just need to know how to make the top banner area a bit larger in height, been browsing through the code cant see a height number?

P

forsakenlad

The height is defined in the style.css file under the comment "Header". The graphics extension must be gif ;)
Eren "forsakenlad" Yaşarkurt
SMF Friend & Former Team Member

Solarise Pablo

Spot on mate...thanks very much for your help...and time....
Paul

forsakenlad

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

Solarise Pablo

I tell u what im not letting u off the hook so easy lol!!!
I am also looking for the page bg colour? is that in the css file as well? cant see it and can u add a bg graphic?
Also finally lol..the words 'my community' under the buttons and on the blue bar below the boards (my community - info center) can these be changed ?

http://www.solariserecords.com/forum/index.php [nofollow]

Theres it

Advertisement: