Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Theme Site Themes => Topic started by: Smoky "Rider" Blue on August 12, 2008, 09:10:08 PM

Title: Splat!
Post by: Smoky "Rider" Blue on August 12, 2008, 09:10:08 PM
Link to the theme (http://custom.simplemachines.org/themes/index.php?lemma=929)
(http://custom.simplemachines.org/themes/index.php/action,download/lemma,929/image,thumb)

light weight theme with loading times of under 0.01 seconds.. easy to add to your site, and should allow for viewing for most browsers.. few custom codings and must be seen in action to appreciate..

Demo here (http://houseofsmoky.com/smf/demo/index.php?theme=4)
Title: Re: Splat!
Post by: Fussilet on August 12, 2008, 09:12:16 PM
smoky good work , nice theme my friend ;)
Title: Re: Splat!
Post by: BuЯЯЯЯaK on August 12, 2008, 09:17:22 PM
Nice work
Title: Re: Splat!
Post by: Smoky "Rider" Blue on August 12, 2008, 09:29:48 PM
thanks Fussilet and Burak!!

Smoky has been working hard ;)
Title: Re: Splat!
Post by: Fussilet on August 12, 2008, 09:36:06 PM
your welcome smoky ( Hoş geldin) ;)
Title: Re: Splat!
Post by: Smoky "Rider" Blue on August 12, 2008, 11:13:44 PM
 :D  teşekkürler   arkadash    8)
Title: Re: Splat!
Post by: Apllicmz on August 12, 2008, 11:26:18 PM
Nice work
good themes
Title: Re: Splat!
Post by: Smoky "Rider" Blue on August 13, 2008, 01:11:00 AM
obrigado Joomlamz!!!  ;)
Title: Re: Splat!
Post by: Crip on August 13, 2008, 05:27:42 AM
Nice smoky! ;)
Title: Re: Splat!
Post by: Smoky "Rider" Blue on August 13, 2008, 08:18:43 AM
lol Hi Crip!!! thanks.. you guys are too kind!!  ;)

but i am attached to those peepz!! maybe i will have to play with them some more..
Title: Re: Splat!
Post by: KahneFan on November 13, 2008, 05:21:02 AM
Smoky, diggen' the theme, but how/where would I change...
Quote
Mark ReadNotifyNew TopicPost new poll

To something like...
Quote
Mark Read | Notify | New Topic | Post new poll
Title: Re: Splat!
Post by: Smoky "Rider" Blue on November 13, 2008, 06:20:43 AM
you will have to look in the display.template.php file  ;)
Title: Re: Splat!
Post by: KahneFan on November 13, 2008, 11:21:42 AM
I apologize, I'm not seeing it. I've changed this on a past forum as well, but for some reason I'm don't remember what I did.
Title: Re: Splat!
Post by: Smoky "Rider" Blue on November 13, 2008, 01:32:45 PM
im sorry.. try the messageindex.template file..


*note: Splat doesnt have that file, so you will need to use the default's, and modify it the way you would like..



too much coffee in the morning!!  ;)
Title: Re: Splat!
Post by: KahneFan on November 13, 2008, 05:17:36 PM
At the bottom of that page I see...

function theme_show_buttons()
{
global $context, $settings, $options, $txt, $scripturl;

$buttonArray = array();

// If they are logged in, and the mark read buttons are enabled..
if ($context['user']['is_logged'] && $settings['show_mark_read'])
$buttonArray[] = '<a href="' . $scripturl . '?action=markasread;sa=board;board=' . $context['current_board'] . '.0;sesc=' . $context['session_id'] . '">' . $txt['mark_read_short'] . '</a>';

// If the user has permission to show the notification button... ask them if they're sure, though.
if ($context['can_mark_notify'])
$buttonArray[] = '<a href="' . $scripturl . '?action=notifyboard;sa=' . ($context['is_marked_notify'] ? 'off' : 'on') . ';board=' . $context['current_board'] . '.' . $context['start'] . ';sesc=' . $context['session_id'] . '" onclick="return confirm(\'' . ($context['is_marked_notify'] ? $txt['notification_disable_board'] : $txt['notification_enable_board']) . '\');">' . $txt['notify'] . '</a>';

// Are they allowed to post new topics?
if ($context['can_post_new'])
$buttonArray[] = '<a href="' . $scripturl . '?action=post;board=' . $context['current_board'] . '.0">' . $txt['new_topic'] . '</a>';

// How about new polls, can the user post those?
if ($context['can_post_poll'])
$buttonArray[] = '<a href="' . $scripturl . '?action=post;board=' . $context['current_board'] . '.0;poll">' . $txt['new_poll'] . '</a>';

return implode(' &nbsp;|&nbsp; ', $buttonArray);
}

?>


Which, as you see ends with...

return implode(' &nbsp;|&nbsp; ', $buttonArray);


Should that not already be doing what I'm looking for?
Title: Re: Splat!
Post by: KahneFan on November 23, 2008, 09:11:02 PM
Smoky, as a sample of where I'm looking, look at the button set on This Page (http://ipostyoupost.com/index.php?board=5.0), it's all pushed together. I've looked in the page you listed above ad edited where I think it should make difference and it does not. Any help is appreciated.
Title: Re: Splat!
Post by: Smoky "Rider" Blue on November 24, 2008, 02:24:44 AM
what is your current screen resolution?

the standard for most sites is still at 1024px  while only a few people are using the 800px

http://www.w3schools.com/browsers/browsers_display.asp

i have a wide screen, 15.4 inch screen on the laptop i use the most (1024px)

and here is a screener of your theme.

now note, i am not a member of your site, so i can not see how many buttons are on it...

but to me, the theme looks fine as is. If you are wanting to do anything with the theme, you are more than welcome to do so.. if the buttons are too much, i suggest the drop down menu navigation found here:

http://custom.simplemachines.org/mods/index.php?mod=1508

to help you out.. i am glad that you are using my theme and i hope it will soon make you happy. if you need further help, just post..

thanks!  :)
Title: Re: Splat!
Post by: KahneFan on November 24, 2008, 02:30:49 AM
Forgot you have to be a memer to see that. However, found a fix.

in splat/index.template.php

elseif (!isset($buttons[$key]) || $force_reset)
$buttons[$key] = '<a href="' . $value['url'] . '" ' .( isset($value['custom']) ? $value['custom'] : '') . '>' . $txt[$value['text']] . '</a>';


Which I changed to:

elseif (!isset($buttons[$key]) || $force_reset)
$buttons[$key] = '<a href="' . $value['url'] . '" ' .( isset($value['custom']) ? $value['custom'] : '') . '>| ' . $txt[$value['text']] . ' |</a>';


BTW, if you would like to see:
username: SMF
password: smftest
Title: Re: Splat!
Post by: Smoky "Rider" Blue on November 24, 2008, 03:31:06 AM
ok i understand now..

thank you for the fix.. the next time, if i decide to upgrade the theme, i will include it..  ;)

as far as the other buttons, you look good to go..

thank you again!  :)
Title: Re: Splat!
Post by: KahneFan on November 24, 2008, 03:35:48 AM
Thanks!

I do have another probably bug. Being that this is 2.0b4 theme I'm not sure if it's SMF caused or Splat caused; I've installed two mods "Are you human" and "Regbar", the text from both mods would not register on the site the normal way (reading from modifications lang file), so I had to manually hardcode the text where needed. At first I thought it was a problem with the first mod, but when it happened on a 2nd mod...
Title: Re: Splat!
Post by: Smoky "Rider" Blue on November 24, 2008, 11:28:28 AM
if a theme has a language folder with the modifications."english".php (or what flavor of language you are using, it will be needed to add to the file..  ;)

not sure what you are having to "hardcode" but the theme will run fine if you do the edits right..  :P
Title: Re: Splat!
Post by: KahneFan on November 24, 2008, 12:49:01 PM
I did a normal install (through admin) and then also did the manual edit of the splat/languages/Modifications.english.php, but the text did not show where it was needed. So, I had to replace the call for that text with the actual text. For example...

Regbar mod has this bit...
Quote
      if($context['user']['is_guest'] && $context['current_action'] != 'register')
         echo '<div id="infobar"><a href="' . $scripturl . '?action=register"><p>' . $txt['regbar_text'] . '</p></a></div>';

Which calls to: (from language file)
Quote
$txt['regbar_text'] = 'It appears you have not registered with our community. To register please click here ...';

Even with the line above being placed in the default template and then me manually placing it in the Splat template, it would not show the above text where it was called for, so I had to replace the call for the text with the actual text, like this...
Quote
         if($context['user']['is_guest'] && $context['current_action'] != 'register')
         echo '<div id="infobar"><a href="' . $scripturl . '?action=register"><p> It appears you have not registered with our community. To register please click here ... </p></a></div>';

BTW, thanks for your help with all of this :D
Title: Re: Splat!
Post by: KahneFan on November 30, 2008, 01:43:53 AM
Just as an update, I just tried to install the trader rating system which is a rather large mod. I used the manual install instructions and, again, the text is not showing up for some reason  :(
Title: Re: Splat!
Post by: Smoky "Rider" Blue on November 30, 2008, 02:15:27 AM
did you install the mod to the site and then do the edits needed for the theme KahneFan? :o

Title: Re: Splat!
Post by: KahneFan on November 30, 2008, 02:53:52 AM
Yes and yes :D
Title: Re: Splat!
Post by: Smoky "Rider" Blue on November 30, 2008, 03:21:01 AM
any error messages in the admin log area??

i havent looked at the theme lately and probably wont get a chance to till next weekend.. but if you still need help after that, just post, pm me or tag me on my site..

i will try to check in with you tho.. i know you want to get the theme going for your site..  :)
Title: Re: Splat!
Post by: Smoky "Rider" Blue on November 30, 2008, 02:17:59 PM
after looking at the .sql file you sent me, KahneFan..

i dont think you have the edits right.. there is a lot of  errors dealing with

8: Undefined index:  karma_add_to',

'8: Undefined index:  regbar_text',

'8: Undefined index:  inlinedimages',

8: Undefined index:  smftrader_admin',

you might want to read this:

http://docs.simplemachines.org/index.php?topic=402.msg4230#msg4230

as i do not have the time to fix the errors on your site..

check and see if your default theme is error free, and run the maintance in the back.. if it is, then you need to go thru the theme files and double check your coding on it.. i do know i have had over 20 mods working with that theme error free... so it is possible..  ;)

Title: Re: Splat!
Post by: KahneFan on November 30, 2008, 02:35:29 PM
Will do, thanks!
Title: Re: Splat!
Post by: Smoky "Rider" Blue on November 30, 2008, 02:51:46 PM
no biggie KahneFan..

and i will be keeping up with you  :)
Title: Re: Splat!
Post by: Ferkel on January 15, 2009, 07:36:29 AM
Hi, SmokyBlue and All!
Guys, could you, please, help me?
I have one question about Splat theme.

I have NO attachment preview in post, when using this theme.
In admin panel I have checked box for preview and it's works fine in other themes.
That's how it looks in DEFAULT theme:
(http://forum.seat-club.kiev.ua/_banners/smf/01_attach_default_theme.jpg)

And how it looks in SPLAT theme:
(http://forum.seat-club.kiev.ua/_banners/smf/01_attach_splat_theme.jpg)

Is it possible to make preview?


Thank you!
Title: Re: Splat!
Post by: Smoky "Rider" Blue on January 16, 2009, 10:15:22 AM
this is a free theme, and if you wish to use it, go for it.. if you want to tinker with it, that is fine too.. ;)
Title: Re: Splat!
Post by: Ferkel on January 17, 2009, 10:22:37 AM
Quote from: SmokyBlue on January 16, 2009, 10:15:22 AM
this is a free theme, and if you wish to use it, go for it.. if you want to tinker with it, that is fine too.. ;)
thanks for reply, SmokyBlue.
but I'm newbie in PHP and, unfortunately, have no idea how to make this preview. :-[ :-\
So, without yours and other assistance I can not do that. ??? :'(
Title: Re: Splat!
Post by: Smoky "Rider" Blue on January 17, 2009, 04:31:03 PM
what mods do you have?

did you make the theme edits needed?

any errors in your log? if yes, use code tags.

and really, your screen shots are a bit too small to see any detail..

how about a link to your site and if you really want me to look, pm me a test admin account. will try to see what is going on myself.
Title: Re: Splat!
Post by: Smoky "Rider" Blue on January 21, 2009, 10:10:07 AM
Ferkel,

i can not read russian. i am sorry, but perhaps you can seek help on the russian boards area here..  ;)