News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Splat!

Started by Smoky "Rider" Blue, August 12, 2008, 09:10:08 PM

Previous topic - Next topic

Smoky "Rider" Blue

Link to the theme


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
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

Fussilet

smoky good work , nice theme my friend ;)

BuЯЯЯЯaK


Smoky "Rider" Blue

thanks Fussilet and Burak!!

Smoky has been working hard ;)
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

Fussilet

your welcome smoky ( Hoş geldin) ;)

Smoky "Rider" Blue

#5
 :D  teşekkürler   arkadash    8)
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

Apllicmz

Nice work
good themes



Smoky "Rider" Blue

obrigado Joomlamz!!!  ;)
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

Crip

I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

Smoky "Rider" Blue

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..
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

KahneFan

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
#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

Smoky "Rider" Blue

you will have to look in the display.template.php file  ;)
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

KahneFan

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.
#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

Smoky "Rider" Blue

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!!  ;)
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

KahneFan

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?
#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

KahneFan

Smoky, as a sample of where I'm looking, look at the button set on This Page, 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.
#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

Smoky "Rider" Blue

#16
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!  :)
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

KahneFan

#17
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
#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

Smoky "Rider" Blue

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!  :)
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

KahneFan

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...
#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

Smoky "Rider" Blue

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
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

KahneFan

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
#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

KahneFan

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  :(
#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

Smoky "Rider" Blue

did you install the mod to the site and then do the edits needed for the theme KahneFan? :o

**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

KahneFan

#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

Smoky "Rider" Blue

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..  :)
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

Smoky "Rider" Blue

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..  ;)

**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

KahneFan

#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

Smoky "Rider" Blue

no biggie KahneFan..

and i will be keeping up with you  :)
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

Ferkel

#29
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:


And how it looks in SPLAT theme:


Is it possible to make preview?


Thank you!

Smoky "Rider" Blue

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.. ;)
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

Ferkel

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. ??? :'(

Smoky "Rider" Blue

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.
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

Smoky "Rider" Blue

Ferkel,

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

**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

Advertisement: