Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Theme Site Themes => Topic started by: Bulakbol on May 03, 2008, 04:26:10 PM

Title: Shiny Blue
Post by: Bulakbol on May 03, 2008, 04:26:10 PM
Link to the theme (http://custom.simplemachines.org/themes/index.php?lemma=660)
(http://custom.simplemachines.org/themes/index.php/action,download/lemma,660/image,thumb)

Black and blue lines.  This theme will not display (x hidden). Let me know if you want it displayed.
Title: Re: Shiny Blue
Post by: Apllicmz on May 03, 2008, 06:54:18 PM
Nice themes..
where can finder demo
goog work
Title: Re: Shiny Blue
Post by: Bulakbol on May 03, 2008, 07:06:00 PM
I haven't created one yet Joomlamz. I will let you know when it is ready. Thanks for trying this theme.

<edit>Shiny Blue demo (http://www.shinyblue.kalesangbayan.com/index.php)</edit>
Title: Re: Shiny Blue
Post by: Jazhawk on May 06, 2008, 05:31:01 PM
Cool theme but no buttons.  Can't navigate around dude.  No home, admin, messages no nothing.

Would like to use it if it had just a little more functionality.

-Jazhawk
Title: Re: Shiny Blue
Post by: Bulakbol on May 06, 2008, 11:25:06 PM
Hi Jazhawk. This theme is for SMF 2.0 Beta 3.1. You might have installed it in SMF 1.1.5.  :)

I will probably submit one of the same name and style for version 1.1.5. Thanks for trying this theme.

<edit> For version 1.1.5, download shinyblue115.zip. </edit>
Title: Re: Shiny Blue
Post by: Bulakbol on June 04, 2008, 07:13:00 PM
To add the "my messages" and "Members" buttons, open index.template.php with your favorite editor and look for
$hide_buttons = array('pm', 'mlist');

and replace with
$hide_buttons = array();

and add the two buttons (attached) in images/english folder.

Thanks for using this theme.
Title: Re: Shiny Blue
Post by: JosDaddy on July 01, 2008, 04:13:25 PM
JohnyB

Just found your theme and it is awesome!!

I am running SMF 2.0 and have one question. How can I center the menu buttons?

Thank you in advance.
Title: Re: Shiny Blue
Post by: Bulakbol on July 01, 2008, 07:04:46 PM
Thanks josdaddy.

To center the menu, in index.template.php find
<td colspan="3" valign="middle" class="tborder" style="border-width: 1px 0 0 0; font-size: smaller;">';

and replace with (added align="center")
<td colspan="3" align="center" valign="middle" class="tborder" style="border-width: 1px 0 0 0; font-size: smaller;">';
Title: Re: Shiny Blue
Post by: JosDaddy on July 01, 2008, 08:11:04 PM
Thank you so much JohnyB
Title: Re: Shiny Blue
Post by: Bulakbol on July 01, 2008, 08:22:47 PM
You are welcome. I forgot about the bottom menu. Same file index.template.php, look for
<td valign="top" style="background-color: #000000;">';
template_menu();


and replace with
<td align="center" valign="top" style="background-color: #000000;">';
template_menu();
Title: Re: Shiny Blue
Post by: JosDaddy on July 01, 2008, 10:34:11 PM
Worked like a charm. Thank you.
Title: Re: Shiny Blue
Post by: JosDaddy on July 03, 2008, 12:47:28 AM
OK, I said I had one question, will you allow me another? :)
In the theme, what is a sub-post? How do you make a sub-post?

Thanks in advance.
Title: Re: Shiny Blue
Post by: Bulakbol on July 03, 2008, 08:40:25 PM
Where in the theme mentioned "sub-post"?
Title: Re: Shiny Blue
Post by: JosDaddy on July 03, 2008, 10:47:22 PM
Where it has the NEW POST, NEW SUB-POST, and the NO NEW buttons. The color key buttons?
Right above the Info Center.

Just never heard of sub-post and wanted to check it out.

By the way JohnyB, great mods with the avatarsonboard and the imagesonboard. SWEET!!!
Title: Re: Shiny Blue
Post by: Bulakbol on July 03, 2008, 11:01:52 PM
Thanks josdaddy. :)

Subs-posts are messages posted inside subs-boards (childboards) :) If there's new post inside a sub-board, the color of board icon will be orange or comething.
Title: Re: Shiny Blue
Post by: JosDaddy on July 03, 2008, 11:52:17 PM
I got it, just wasn't thinking. Pretty normal for me.
Title: Re: Shiny Blue
Post by: Burke ♞ Knight on July 11, 2008, 11:44:44 PM
Great theme Johnny! :)

The Member button on menu, when showing, is raised up a bit compared to the rest.

That's the only flaw I found. :)

Great work, as always... Keep it up. :)
Title: Re: Shiny Blue
Post by: Bulakbol on July 11, 2008, 11:53:44 PM
You can edit the members button. :) Thanks for trying/using this theme.
Title: Re: Shiny Blue
Post by: JosDaddy on July 12, 2008, 10:40:57 AM
BurkeKnight,

I did a little edit to that button. Here it is lowered a bit.
Title: Re: Shiny Blue
Post by: UyKuyoK on July 12, 2008, 11:11:55 AM
good work. nice theme
Title: Re: Shiny Blue
Post by: Burke ♞ Knight on July 12, 2008, 02:46:42 PM
Quote from: josdaddy on July 12, 2008, 10:40:57 AM
BurkeKnight,

I did a little edit to that button. Here it is lowered a bit.

Perfect!   Thank you. :)
Title: Re: Shiny Blue
Post by: Bulakbol on July 25, 2008, 08:42:00 PM
Quote from: UyKuyoK on July 12, 2008, 11:11:55 AM
good work. nice theme

I thank you.

Thank you too BurkeNight. :)

If you want to change the background color of stickied topics, in MessageIndex.template.php find
Quote<td class="windowbg1" valign="middle" width="42%">

and replace the class="windowbg1" with
class="windowbg', $topic['is_sticky'] ? '2' :'1', '"
Title: Re: Shiny Blue
Post by: SA™ on September 12, 2008, 09:23:47 AM
is there any chance of getting 4 buttons made please

forum
arcade
multiplayer
shop

thnaks
Title: Re: Shiny Blue
Post by: JosDaddy on September 12, 2008, 06:47:11 PM
JohnyB

If you don't mind me doing it, I will attempt to make the buttons wdm2005 asked for. I just don't want to step on anyones toes by doing that.

It may take a day or two, got a busy weekend ahead.
Title: Re: Shiny Blue
Post by: SA™ on September 12, 2008, 06:57:10 PM
it ok now i changed it to a dropdown menu instead thanks for the offer   ;)
Title: Re: Shiny Blue
Post by: Bulakbol on September 13, 2008, 01:32:53 AM
@JosDaddy
   Thanks for the offered help. Appreciated.

<edit>
Extra buttons uploaded in case people need them. Like e-mail, forum, arcade, gallery, multiplayer, chat, etc..
</edit>
Title: Re: Shiny Blue
Post by: psynx on October 08, 2008, 03:38:06 PM
i just installed this them but lacks extra buttons for my packages. i saw x-tra_buttons.zip in the theme link but where should this zip be uploaded? in which file of the theme? i dont have much knowledge about codes and etc. just basic html.
Title: Re: Shiny Blue
Post by: Bulakbol on October 09, 2008, 08:21:59 PM
Decompress the package to your PC and then upload the gif files via FTP to shinyblue115/images/english or shinyblue2b3/images/english folder if you are using the one for version 2.0.
Title: Re: Shiny Blue
Post by: Bulakbol on October 11, 2008, 02:50:36 AM
For shinyblue2b3 and  PortaMax, in index.template.php, find
Code (line 323 - 327) Select
if (in_array($act, $hide_buttons))
continue;
else
echo '
<a href="', $button['href'], '">', $settings['use_image_buttons'] ? '<img src="' . $settings['lang_images_url'] . '/' . $act . '.gif" alt="' . $button['title'] . '" border="0" />' : $button['title'], '</a>', !empty($button['is_last']) ? '' : $context['menu_separator'];


and replace with
//-> start change PortaMx
if (in_array($act, $hide_buttons))
continue;
else
echo '
<a href="', $button['href'], '">', ($act{0} != '_' && $settings['use_image_buttons'] ? '<img src="' . $settings['lang_images_url'] . '/' . $act . '.gif" alt="' . $button['title'] . '" border="0" />' : $button['title']), '</a>', !empty($button['is_last']) ? '' : $context['menu_separator'];
//-> end change PortaMx */


then decompress the extra button package and add them to shinyblue2b3/images/english folder.
Title: Re: Shiny Blue
Post by: psynx on October 11, 2008, 02:25:25 PM
Quote from: JohnyB on October 09, 2008, 08:21:59 PM
Decompress the package to your PC and then upload the gif files via FTP to shinyblue115/images/english or shinyblue2b3/images/english folder if you are using the one for version 2.0.

i already done that. so how do i make this buttons appear on top of my page align with other buttons like home, profile, etc.?
Title: Re: Shiny Blue
Post by: Bulakbol on October 14, 2008, 01:05:13 AM
@psynx
To add a button, let's say "arcade" button, (line 300 to line 335) add like this
// The [arcade]
// if ($context['user']['is_logged'])
echo '
<a href="', $scripturl, '?action=arcade">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/arcade.gif" alt="Arcade" border="0" />' : 'Arcade'), '</a>', $context['menu_separator'];


To add "Shop" button, change the "arcade" to "shop".
Title: Re: Shiny Blue
Post by: psynx on October 14, 2008, 12:15:10 PM
thanks JohnyB. it works ok now.

btw one more thing, how do i let this button open in a new window like 'target=_blank' , u know what i mean? when users click this button, say 'help' button it will open in an another window.

and also, i added nneonne's shout box. the shoutbox just showed up but cannot send messages. i followed nneonne's shoutbox installation instructions to other theme but doesn't work in your index.template. any idea pls? my site is www.mirc-chatters.isgreat.org
Title: Re: Shiny Blue
Post by: Bulakbol on October 14, 2008, 10:22:14 PM
Yup, add the target="_blank", like this.
Quote<a href="', $scripturl, '?action=arcade" target="_blank">

Sorry, I am not too familiar with that shoutbox. I'll take a look at it when I have time.
Title: Re: Shiny Blue
Post by: psynx on October 21, 2008, 08:54:00 AM
nneonneo's shoutbox is working fine now in my site with shinyblue theme.

i am an avid fun of this theme  ;)
Title: Re: Shiny Blue
Post by: Bulakbol on October 22, 2008, 03:30:10 AM
Cool. Good to know. Here's some tip.

Tip #1.
To enlarge the category name a bit and change the font face, edit the BoardIndex.template.php and look for
echo '
&nbsp;', $category['link'], '

replace with
echo '<span style="font-size: 18px; margin-left: 2px; font-family: Georgia;">
', $category['link'], '</span>




Tip #2.
To remove your forum name from the linktree, edit Index.template.php and look for
foreach ($context['linktree'] as $link_num => $tree)
{
// Show the | | |-[] Folders.
if (!$settings['linktree_inline'])
{
if ($link_num > 0)
echo str_repeat('<img src="' . $settings['images_url'] . '/icons/linktree_main.gif" alt="| " border="0" />', $link_num - 1), '<img src="' . $settings['images_url'] . '/icons/linktree_side.gif" alt="|-" border="0" />';

replace with
Quoteforeach ($context['linktree'] as $link_num => $tree)
   if ($tree['name'] != $context['forum_name'])
   {
      // Show the | | |-[] Folders.
      if (!$settings['linktree_inline'])
      {
         if ($link_num > 1)
            echo str_repeat('<img src="' . $settings['images_url'] . '/icons/linktree_main.gif" alt="| " border="0" />', $link_num - 2), '<img src="' . $settings['images_url'] . '/icons/linktree_side.gif" alt="|-" border="0" />';

Changes and additional statement are red in color.
Title: Re: Shiny Blue
Post by: psynx on October 23, 2008, 11:56:26 AM
hello,

could you add a banlist button pls?

and how do i make a background image in my board index page? i want to set a halloween background temporarily in my board index page. is this possible?
Title: Re: Shiny Blue
Post by: Bulakbol on October 23, 2008, 09:45:29 PM
@psynx
Can't you use the ImagesOnBoard (http://custom.simplemachines.org/mods/index.php?mod=1266) mod?

Here's a banlist button.
Title: Re: Shiny Blue
Post by: psynx on October 25, 2008, 01:24:42 AM
thanks johnyB.

i just installed a stafflist link in this theme and also i need stafflist button pls?

btw, are you a  filipino?
Title: Re: Shiny Blue
Post by: Bulakbol on October 28, 2008, 02:37:24 AM
@psynx
Here's the stafflist button you requested.  Thanks for using/trying this theme.
<offtopic> Proud to be one.</offtopic>
Title: Re: Shiny Blue
Post by: jeddi on October 30, 2008, 10:47:21 AM
JohnyB, I am using this theme, it's pretty. Hate to ask but if I don't you cant say yes or no. I need three buttons;
YOUTUBE
WEBSITE
USER CP

I will be forever greatful if you can.
thank you in advance!

How do I remove the nav menue buttons at the bottom?
I can see that your support for your theme is absolute!
Title: Re: Shiny Blue
Post by: Burke ♞ Knight on October 30, 2008, 04:19:41 PM
JohnyB,

Theme up since May '08...
Only 3 pages for support, most being for buttons, which you kindly help with...

Tells me one thing...

Like I said before, Great job on such a greatly done theme. :)
Title: Re: Shiny Blue
Post by: Bulakbol on October 31, 2008, 10:51:28 PM
@jeddi
Here are your requested buttons. I'll add them to the extra-buttons package. To remove the bottom menu, find and comment-out.  Around line 219.
template_menu();

@BurkeKnight
Thanks for the cool compliment.  8)
Title: Re: Shiny Blue
Post by: jeddi on November 02, 2008, 07:50:41 AM
JohnyB, Thank you very much for your help.
May need a bit extra help lining them up with the other menu tabs, cant seem to get that right.
The code has been given earlier but I want to know after which code it goes.

Line 300-335 doesnt work it places my button way up the left corner.
thank you! :)
Title: Re: Shiny Blue
Post by: jeddi on November 02, 2008, 09:16:12 PM
I have done it, managed to add buttons in line on the main tab menue.
I fooled around a bit without success and then tried it on the default themes
Subs.php and it worked, why didnt I think of that before!
Title: Re: Shiny Blue
Post by: Burke ♞ Knight on November 03, 2008, 11:04:29 AM
JohnyB

Could I ask you to make 3 very custom buttons for me?

Realm Info Center
Contact
Links

It's for my Realm Online Site. :)

Thank you.


EDIT:

Also, I found a strange issue...

With the smileys, I set in Current Themes, to use Classic in the Select default smiley set for this theme settings. When hit save, it resets to (use global default) and when try to do a post, the smileys do not show.
When do a properties check on the smileys, they show as being: Smileys/1/smiley.gif

Figured you may want to know that.
Title: Re: Shiny Blue
Post by: Bulakbol on November 03, 2008, 09:20:11 PM
@jeddi
That's good. Every Admin should know or learn how to do it by theirself. ;D

@BurkeKnight
Do you have to specify the name of your board in a button? I did it for you anyway.  :)
Together with your other requested buttons. Some people might need them too.
Title: Re: Shiny Blue
Post by: Burke ♞ Knight on November 03, 2008, 09:23:27 PM
Thanks, JohnyB...

Actually, the Realm Info Center is the hub of the site.
It's where the members go to get any and all info for playing the Realm. :)
One of my most visited sites.
Title: Re: Shiny Blue
Post by: jeddi on November 07, 2008, 05:54:16 PM
JohnyB I have another but final request to complete the theme, two buttons

replies

unread

These two buttons will make me happy with my ShinBlue Theme. Also want to say your support for your theme is top class, you know your stuff.
thanks again
jeddi
Title: Re: Shiny Blue
Post by: Bulakbol on November 08, 2008, 06:12:24 PM
@BurkeKnight
My pleasure.

@jeddi
Here are your requested buttons.
Title: Re: Shiny Blue
Post by: jeddi on November 09, 2008, 03:33:34 PM
Thanks again JohnyB!
Title: Re: Shiny Blue
Post by: jeddi on November 13, 2008, 01:32:37 PM
JohnyB I need one more button. I tried making it but couldnt get the colour right.

Need 'auction' with a little hammer.

bless your kind heart
jeddi
Title: Re: Shiny Blue
Post by: Bulakbol on November 13, 2008, 08:10:10 PM
@jeddi
Not sure if I did it right so I made two copies.
Title: Re: Shiny Blue
Post by: jeddi on November 13, 2008, 08:40:06 PM
JohnB, thank you! I think Im ok now and enjoying your theme. ;)
Title: Re: Shiny Blue
Post by: spincity on December 22, 2008, 05:55:34 PM
Hi JOHNYB,This theme is awesome! How does one change the title from "shiny blue" to something different? Salamat
Title: Re: Shiny Blue
Post by: Bulakbol on December 23, 2008, 02:32:51 AM
Quote from: spincity on December 22, 2008, 05:55:34 PM
Hi JOHNYB,This theme is awesome!
Salamat.  :D

The "Shiny Blue" is an image and you can find it in default/images folder. It is called smflogo.gif.  You can edit it using photoshop or similar photo editing softwares. Or if you want to use your own image,  rename your image as smflogo.gif.
Title: Re: Shiny Blue
Post by: monza on February 02, 2009, 09:19:00 AM
Hi, Love the theme just sent you a PM about show new replies and show new posts not showing up on my board under the shiny blue theme :)
Title: Re: Shiny Blue
Post by: Bulakbol on February 02, 2009, 08:29:46 PM
Thanks Monsa. PM replied.
Title: Re: Shiny Blue
Post by: monza on February 02, 2009, 09:07:22 PM
Just a quick one that I should share here :)

I had a problem with favicon's not showing in any browser. I have added the following line and it is now working just change the .png to .ico or .gif :)

in index.template.php
Find:



<html xmlns="http://www.w3.org/1999/xhtml"', $context['right_to_left'] ? ' dir="rtl"' : '', '><head>

Replace with:


<html xmlns="http://www.w3.org/1999/xhtml"', $context['right_to_left'] ? ' dir="rtl"' : '', '><head>
<link rel="shortcut icon" href="favicon.png" type="image/x-icon"/>

Title: Re: Shiny Blue
Post by: Bulakbol on February 02, 2009, 09:26:35 PM
I uploaded a favicon.ico in the root directory without doing any file edits. Most browsers (except IE) detects it automatically.

Back to the topic. :D

If anyone want to add "Show unread post..." and " Show new replies ...", edit your index.template.php.
Code (find) Select
<a href="', $scripturl, '?action=pm"><img src="', $settings['images_url'], '/mynewemail.gif" alt="" style="margin-left: 4px;" align="bottom" /></a>';
Code (add after) Select
echo '
         <br /><a href="', $scripturl, '?action=unread">', $txt['unread_since_visit'], '</a>
         <br /><a href="', $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '</a>';


you might need the attached button. Upload into shinybluexxx/images/english folder.