News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

[Theme] Saf Themes for 1.0.X

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

Previous topic - Next topic

zigzag

Hi,

I'm changing my Joomla theme and there's a bit of conflicting css which is affecting the padding on the saf theme, I've been going all through the css but I just can't find the bit I need to alter, it's with the border around the forum, there's supposed to be some padding as you can see on the first image here: http://www.catchthelight.co.uk/right.gif  But the joomla template takes it out here: http://www.catchthelight.co.uk/wrong.gif
Any suggestions as to how to fix it greatly appreciated  :)

wizard13335

#361
The image sources in some files are messed up. It says the source of the image is http://www.site.com/forum/Themes/safblue/images/buttons/image.gif, while it's actually http://www.site.com/forum/Themes/safblue/images/english/image.gif.

Wizard-A world of spells and enchantments awaits you.
Have a cat? Share your pet with the world at Kitten Kare.

BeeF93

Ok im new at this. This has probably been asked and explained millions of times, but I need a quick rundown on how to place a link/image/button near the menu at the top of the page.

This button will link back to my main page.

Main page: hxxp:www.top100fitnesssites.com [nonactive]
Forum: hxxp:www.top100fitnesssites.com/Forum/index.php [nonactive]

dtm.exe

Quote from: FBI on January 08, 2006, 08:52:15 PM
Thanks for OWDY for great Blue Jeans Theme :D
I am using you color of Quote. Its amazing. Everybody can take a look here http://img369.imageshack.us/img369/4939/quote6bf.jpg
Maybe this CSS style fit for you :)

Would you care to post the code for the .quote of Owdy's Blue Jeans theme so that others may do the same?

PerJ

I get this message in the Forum Error Log:
8: Undefined index: modify_cancel
Fil: /home/mydomain/public_html/XXX/XXXsmf/Themes/safbluerc1/Display.template.php (main sub template - eval?)
Rad: 580


I have manually updated the theme from RC1 to RC2, did I miss something or what could be wrong?

BTW, this is my line 580:
var smf_template_body_edit = \'<div id="error_box" style="padding: 4px; color: red;"></div><textarea class="editor" name="message" rows="12" style="width: 94%; margin-bottom: 10px;">%body%</textarea><br /><input type="hidden" name="sc" value="', $context['session_id'], '" /><input type="hidden" name="topic" value="', $context['current_topic'], '" /><input type="hidden" name="msg" value="%msg_id%" /><div style="text-align: center;"><input type="submit" name="post" value="', $txt[10], '" onclick="return modify_save(\\\'' . $context['session_id'] . '\\\');" accesskey="s" />&nbsp;&nbsp;', $context['show_spellchecking'] ? '<input type="button" value="' . $txt['spell_check'] . '" onclick="spellCheck(\\\'quickModForm\\\', \\\'message\\\');" />&nbsp;&nbsp;' : '', '<input type="submit" name="cancel" value="', $txt['modify_cancel'], '" onclick="return modify_cancel();" /></div>\';

forsakenlad

Quote from: zigzag on January 08, 2006, 09:44:40 PM
Hi,

I'm changing my Joomla theme and there's a bit of conflicting css which is affecting the padding on the saf theme, I've been going all through the css but I just can't find the bit I need to alter, it's with the border around the forum, there's supposed to be some padding as you can see on the first image here: http://www.catchthelight.co.uk/right.gif  But the joomla template takes it out here: http://www.catchthelight.co.uk/wrong.gif
Any suggestions as to how to fix it greatly appreciated  :)

Open up your style.css and remove the borders from the maintable class ;)

Quote from: Wizard13335 on January 08, 2006, 10:56:10 PM
The image sources in some files are messed up. It says the source of the image is http://www.site.com/forum/Themes/safblue/images/buttons/image.gif, while it's actually http://www.site.com/forum/Themes/safblue/images/english/image.gif.



Can you post a link please? I have never seen this kind of a problem reported before.

Quote from: BeeF93 on January 08, 2006, 11:30:59 PM
Ok im new at this. This has probably been asked and explained millions of times, but I need a quick rundown on how to place a link/image/button near the menu at the top of the page.

This button will link back to my main page.

Main page: www.top100fitnesssites.com
Forum: www.top100fitnesssites.com/Forum/index.php

Its ok, search for this in your index.template.php file:

<a href="', $scripturl, '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/home.gif" alt="' . $txt[103] . '" style="margin: 2px 0;" border="0" />' : $txt[103]), '</a>', $context['menu_separator'], '

And replace it with this:

<a href="http://www.top100fitnesssites.com/">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/home.gif" alt="' . $txt[103] . '" style="margin: 2px 0;" border="0" />' : $txt[103]), '</a>', $context['menu_separator'], '
<a href="', $scripturl, '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/forum.gif" alt="Forum" style="margin: 2px 0;" border="0" />' : 'Forum'), '</a>', $context['menu_separator'], '


Quote from: PerJ on January 09, 2006, 01:04:26 PM
I get this message in the Forum Error Log:
8: Undefined index: modify_cancel
Fil: /home/mydomain/public_html/XXX/XXXsmf/Themes/safbluerc1/Display.template.php (main sub template - eval?)
Rad: 580


I have manually updated the theme from RC1 to RC2, did I miss something or what could be wrong?

BTW, this is my line 580:
var smf_template_body_edit = \'<div id="error_box" style="padding: 4px; color: red;"></div><textarea class="editor" name="message" rows="12" style="width: 94%; margin-bottom: 10px;">%body%</textarea><br /><input type="hidden" name="sc" value="', $context['session_id'], '" /><input type="hidden" name="topic" value="', $context['current_topic'], '" /><input type="hidden" name="msg" value="%msg_id%" /><div style="text-align: center;"><input type="submit" name="post" value="', $txt[10], '" onclick="return modify_save(\\\'' . $context['session_id'] . '\\\');" accesskey="s" />&nbsp;&nbsp;', $context['show_spellchecking'] ? '<input type="button" value="' . $txt['spell_check'] . '" onclick="spellCheck(\\\'quickModForm\\\', \\\'message\\\');" />&nbsp;&nbsp;' : '', '<input type="submit" name="cancel" value="', $txt['modify_cancel'], '" onclick="return modify_cancel();" /></div>\';


Can you upload the Display.template.php that is in the RC2 package and let me know if this has been fixed?
Eren "forsakenlad" Yaşarkurt
SMF Friend & Former Team Member

wizard13335

#366
I tried to get a screenshot, but it wouldn't let me post one. I think it only happens in places like the message index or the calendar, so you may have to register. My forum is located at http://www.kittenkare.com/forum.

Also, I noticed this small bug in the blue RC2 version where the help window still opens in a new window. It's easy to fix, though. Just find where it creates the help button in index.template.php and remove target="_blank". :)
Wizard-A world of spells and enchantments awaits you.
Have a cat? Share your pet with the world at Kitten Kare.

PerJ

#367
Quote from: forsakenlad on January 09, 2006, 04:08:23 PM


Quote from: PerJ on January 09, 2006, 01:04:26 PM
I get this message in the Forum Error Log:
8: Undefined index: modify_cancel
Fil: /home/mydomain/public_html/XXX/XXXsmf/Themes/safbluerc1/Display.template.php (main sub template - eval?)
Rad: 580


I have manually updated the theme from RC1 to RC2, did I miss something or what could be wrong?

BTW, this is my line 580:
var smf_template_body_edit = \'<div id="error_box" style="padding: 4px; color: red;"></div><textarea class="editor" name="message" rows="12" style="width: 94%; margin-bottom: 10px;">%body%</textarea><br /><input type="hidden" name="sc" value="', $context['session_id'], '" /><input type="hidden" name="topic" value="', $context['current_topic'], '" /><input type="hidden" name="msg" value="%msg_id%" /><div style="text-align: center;"><input type="submit" name="post" value="', $txt[10], '" onclick="return modify_save(\\\'' . $context['session_id'] . '\\\');" accesskey="s" />&nbsp;&nbsp;', $context['show_spellchecking'] ? '<input type="button" value="' . $txt['spell_check'] . '" onclick="spellCheck(\\\'quickModForm\\\', \\\'message\\\');" />&nbsp;&nbsp;' : '', '<input type="submit" name="cancel" value="', $txt['modify_cancel'], '" onclick="return modify_cancel();" /></div>\';


Can you upload the Display.template.php that is in the RC2 package and let me know if this has been fixed?

I have tried Display.template.php coming with the update package as well as the one from new install package, but I still get the same errors.

Added: I get hundreds of these errors in an hour or two.  :(

zigzag

Hi forsakenlad,
I managed to find the bit that was squashing it all up :D just in case anyone else has a similar problem here is the bit of code in the Joomla css that was causing it:
table.nospace {
border-collapse: collapse;
border: 0;
margin: 0;
padding: 0;
width: 100%;
}

table.nospace td {
margin: 0;
padding: 0;
}

Changing it to this fixed the problem:
table.nospace {
border-collapse: collapse;
width: 100%;
}

table.nospace td {
}

forsakenlad

#369
Quote from: PerJ on January 09, 2006, 04:55:45 PM
Quote from: forsakenlad on January 09, 2006, 04:08:23 PM


Quote from: PerJ on January 09, 2006, 01:04:26 PM
I get this message in the Forum Error Log:
8: Undefined index: modify_cancel
Fil: /home/mydomain/public_html/XXX/XXXsmf/Themes/safbluerc1/Display.template.php (main sub template - eval?)
Rad: 580


I have manually updated the theme from RC1 to RC2, did I miss something or what could be wrong?

BTW, this is my line 580:
var smf_template_body_edit = \'<div id="error_box" style="padding: 4px; color: red;"></div><textarea class="editor" name="message" rows="12" style="width: 94%; margin-bottom: 10px;">%body%</textarea><br /><input type="hidden" name="sc" value="', $context['session_id'], '" /><input type="hidden" name="topic" value="', $context['current_topic'], '" /><input type="hidden" name="msg" value="449651" /><div style="text-align: center;"><input type="submit" name="post" value="', $txt[10], '" onclick="return modify_save(\\\'' . $context['session_id'] . '\\\');" accesskey="s" />&nbsp;&nbsp;', $context['show_spellchecking'] ? '<input type="button" value="' . $txt['spell_check'] . '" onclick="spellCheck(\\\'quickModForm\\\', \\\'message\\\');" />&nbsp;&nbsp;' : '', '<input type="submit" name="cancel" value="', $txt['modify_cancel'], '" onclick="return modify_cancel();" /></div>\';


Can you upload the Display.template.php that is in the RC2 package and let me know if this has been fixed?

I have tried Display.template.php coming with the update package as well as the one from new install package, but I still get the same errors.

Added: I get hundreds of these errors in an hour or two.  :(

I have checked this on a bunch of forums I have Saf installed and saw that I am not recieving any of those errors. Can you provide a link to your forum and also a test account?

And zigzag thanks for that bit of code, I am sure it will be helpful for a lot of users :)
Eren "forsakenlad" Yaşarkurt
SMF Friend & Former Team Member

BeeF93

Nice. Thanks alot. Worked like a charm. Now to get the Shoutbox to work is another problem

PerJ

Quote from: forsakenlad on January 09, 2006, 08:42:28 PM
I have checked this on a bunch of forums I have Saf installed and saw that I am not recieving any of those errors. Can you provide a link to your forum and also a test account?

When I set up a test account and changed to English language, then I also tried to force these errors to come, but they didn't. :)
I have the swedish language package for RC1 while I'm running SMF + Saf RC2. I'll update later today, the swedish language package for RC2 is just released.
If the problem isn't solved by updating, I'll be back for more advise.

/Per 

forsakenlad

Can you provide "me" with a test account?
Eren "forsakenlad" Yaşarkurt
SMF Friend & Former Team Member

bimbam

Fantastic theme mate, thanks for that.

One question though - some of my users when using Firefox have this problem where if there is a longish post (say over 10 lines or whatever) the post automatically turns into like an IFrame, in that the post goes into a little scroll box.  This has only happened since moving templates today, as I previously had Bloc's Amber theme installed and had no such issues with that.

Any ideas what I could do to disable this when people are using Firefox? It is fine in IE.

Cheers.

BeeF93

Anyone familiar with where to put the Shoutbox mod on the forum and what code to use?

Thanks

forsakenlad

Quote from: bimbam on January 10, 2006, 11:51:12 AM
Fantastic theme mate, thanks for that.

One question though - some of my users when using Firefox have this problem where if there is a longish post (say over 10 lines or whatever) the post automatically turns into like an IFrame, in that the post goes into a little scroll box.  This has only happened since moving templates today, as I previously had Bloc's Amber theme installed and had no such issues with that.

Any ideas what I could do to disable this when people are using Firefox? It is fine in IE.

Cheers.

Thanks, glad you have liked it. The display glitch that your users have been experiencing has been reported many times and it is not an issue with the theme. It is a display bug in Firefox so there is nothing I can do for that.

Quote from: BeeF93 on January 10, 2006, 12:36:33 PM
Anyone familiar with where to put the Shoutbox mod on the forum and what code to use?

Thanks

How to make mods work with themes?
Eren "forsakenlad" Yaşarkurt
SMF Friend & Former Team Member

R1p.PeR

 :D dammit!! very nice themes !!!!! downloadin' and intallin' now

u r the best!!!  ;D

PerJ

Quote from: forsakenlad on January 10, 2006, 07:30:40 AM
Can you provide "me" with a test account?

Your test account is set up, you got PM and hopefully a mail from my forum.

My problem was solved by updating the swedish language pack to RC2.

autogespot.com

Forsakenlad, Many thanks for your quick update :)

Greetings and if you want to see your theme :)
http://forum.autogespot.com/index.php?board=14.0

Stuart

Quote from: dtm.exe on January 08, 2006, 11:56:34 PM
Quote from: FBI on January 08, 2006, 08:52:15 PM
Thanks for OWDY for great Blue Jeans Theme :D
I am using you color of Quote. Its amazing. Everybody can take a look here http://img369.imageshack.us/img369/4939/quote6bf.jpg
Maybe this CSS style fit for you :)

Would you care to post the code for the .quote of Owdy's Blue Jeans theme so that others may do the same?

I'd quite like that  :D

Advertisement: