Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Theme Site Themes => Topic started by: Pipee on July 30, 2015, 12:32:40 AM

Title: Greeny
Post by: Pipee on July 30, 2015, 12:32:40 AM
Link to the theme (http://custom.simplemachines.org/themes/index.php?lemma=2835)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fcustom.simplemachines.org%2Fthemes%2Findex.php%2Faction%2Cdownload%2Flemma%2C2835%2Fimage%2Cthumb&hash=02871c1eb9c5af5e6c285611f2878f81)

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fsmftricks.com%2FThemes%2FSMFHispano%2Fimages%2Ftheme%2Flogo.png&hash=1cd97d117cd202f24f7549dc191b454f) (http://smftricks.com/)

Theme by Pipee (http://smftricks.com/index.php?action=profile;u=3). Designed by Raphisio (http://smftricks.com/index.php?action=profile;u=3458)

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FprvA2m6.png&hash=a9b7115ce57dd2657bf573e28b139cca)
(https://i.imgur.com/V3tA2ao.png)



(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fsmftricks.com%2FThemes%2Fdefault%2Fimages%2Fdemo.png&hash=5f0c4d55b4565e05f7122267b73dfa4f) (http://demo.smftricks.com/)
Title: Re: Greeny
Post by: Sollys on September 04, 2015, 11:14:14 AM
how to make the header smaller?
Title: Re: Greeny
Post by: Mr. Pedram on September 29, 2015, 05:11:37 AM
Thanks for this theme, really nice! but there are two issue in theme.js:

Quote
Uncaught SyntaxError: Unexpected end of input

Code: [Select]
if (is_ie7down && 'attachEvent' in window){
window.attachEvent('onload', smf_addListItemHoverEvents);

you forgot to close bracket.

Code: [Select]
if (is_ie7down && 'attachEvent' in window){
window.attachEvent('onload', smf_addListItemHoverEvents);
}

and:


Code: [Select]
if ((is_ie && !is_ie4) || is_webkit || is_ff) {
addLoadEvent(smf_codeBoxFix);
}

Quote
Uncaught ReferenceError: is_ie is not defined

and there are more missing bracket in this file..

Edit: and another thing, top menu not working for me, when you mouseover on menu it will not open sub menu, i added this code and it fixed:

Code: [Select]
.nav > li:hover ul {
    display: block;
}
Title: Re: Greeny
Post by: Pipee on October 14, 2015, 06:48:50 PM

Oh, thanks friend.

I fixed the error.
Title: Re: Greeny
Post by: Bythe on January 06, 2016, 02:04:10 AM
hi, you have really nice theme.
can you prepare it for 2.0.11 also
i upload but menu which is on the top like admin panel etc is not working properliy :)
Title: Re: Greeny
Post by: Joe_Stoner on January 27, 2016, 07:43:19 PM
Hi there, I love this theme, the only thing is that when I get new people to register they must scroll down to put in the information to register, due to the huge logo section. This may seem as something small, but it confuses some people and then they just won't sign up because of that. So I'm just wondering if there is a way to get rid of the huge logo section and only have the forums area?
Title: Re: Greeny
Post by: OCJ on January 29, 2016, 04:03:18 AM
Quote
So I'm just wondering if there is a way to get rid of the huge logo section and only have the forums area?


I was just thinking the same thing and had a look at the template files. You can change the height of the  header in the template index css file. Search for "the framing graphics" or "header".

You will need to change  -480px to something smaller. I tried -100px. The user avatar might drop below the menu bar.

The problem with changing it is that sometimes other things move out of place so you might need to then start adjusting something else. It would be good to have the edits to just get rid of the header.
I'm still playing around with it.

/* the framing graphics */
#header
{
   background: url(../images/theme/main_block.png) #fefefe no-repeat 0 -480px;
   padding-left: 20px;
}
#header div.frame
{
   background: url(../images/theme/main_block.png) no-repeat 100% -480px;
   display: block;
   padding: 5px 20px 1em 0;
}
Title: Re: Greeny
Post by: OCJ on January 29, 2016, 04:12:04 AM
Something strange... when I edit the file from within SMF admin theme section and reduce the header size it changes the size in the preview panel, but when saved and the forum refreshed it does not change!  ???

Not sure why yet, maybe there is another place that needs changing.  :(
Title: Re: Greeny
Post by: Simple Forums on January 30, 2016, 01:41:07 PM
You can reduce the height by editing the css

.intro-section {
  background:none 0 0 repeat scroll #FFFFFF;
  height:100%;  << Reduce this
  text-align:center;
}

and for the profile area

.profile-area {
  position:relative;
  right:0;
  text-align:center;
  top:170px; << Reduce this
}
Title: Re: Greeny
Post by: OCJ on January 31, 2016, 10:39:14 PM
That worked - thanks very much!
Title: Re: Greeny
Post by: XExplosion on February 16, 2016, 12:22:15 PM
I want to change the background image and the "SMF Tricks". How can I do it? I'm not good on HTML/PhP and I don't know how to do that. Please help. :)

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2F6e8Ivdq.png&hash=f9deccedf022e66f8cde6fbc5dbdb103)

For "background" I mean the Police Background.

@Pipee
Title: Re: Greeny
Post by: Simple Forums on February 16, 2016, 04:23:10 PM
Have a look in "current theme" options for the logo url section and place the link to the logo you want to use in there.

For the background image open your forum files on the server and look in the themes images folder (images/theme/header.jpg) for the current image. Rename your image to match and upload it overwriting the old image.
Title: Re: Greeny
Post by: XExplosion on February 17, 2016, 03:29:37 PM
Have a look in "current theme" options for the logo url section and place the link to the logo you want to use in there.

For the background image open your forum files on the server and look in the themes images folder (images/theme/header.jpg) for the current image. Rename your image to match and upload it overwriting the old image.

Tried but nothing. :(
Title: Re: Greeny
Post by: lurkalot on February 17, 2016, 03:46:50 PM
Have a look in "current theme" options for the logo url section and place the link to the logo you want to use in there.

For the background image open your forum files on the server and look in the themes images folder (images/theme/header.jpg) for the current image. Rename your image to match and upload it overwriting the old image.

Tried but nothing. :(

Press Ctrl +F5 on your keyboard should do it, if the image has the same name as the old one.
Title: Re: Greeny
Post by: Simple Forums on February 18, 2016, 09:49:43 AM
Have a look in "current theme" options for the logo url section and place the link to the logo you want to use in there.

For the background image open your forum files on the server and look in the themes images folder (images/theme/header.jpg) for the current image. Rename your image to match and upload it overwriting the old image.

Tried but nothing. :(

If you have done what i said it should be working.

Do as lurkalot said and if that does not work (which it should) please share your link here so we can take a look?
Title: Re: Greeny
Post by: CHRIS-7 on March 23, 2016, 06:27:06 PM
Hi , How To Load Avatar On Board ?

I Wanna To Load Avatar On Board For This Theme ?

Like This

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi65.tinypic.com%2Fdyu39j.jpg&hash=da8ace1b2d860bbfde42fbb6a83a5519)

Please Need Help of You ?
Title: Re: Greeny
Post by: Baeron on April 21, 2016, 09:29:49 AM
Hi,
How can I change these icons

That is my recent topics footer



Also how can I make it so the blocks on the right don't squeeze the posters profile look



thank you have amazing day(sorry English)
Title: Re: Greeny
Post by: Frostyxi on April 23, 2016, 04:59:53 PM
@Pipee The profile drop down is not dropping down, im not sure what CSS code to add to correct this I used the one above for the nav

Code: [Select]
.nav > li:hover ul {
    display: block;
}

Can anyone assist with this?

Thank you
Regards
FrostyXI
Title: Re: Greeny
Post by: RizwaN on July 02, 2017, 11:32:42 AM
First of all sorry for bump. I am new don't know what to do? So posting here.

i am trying to remove this profile box at header. Can anyone help me? and that drop menu to left side at the place pf smf tricks logo.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2Fg9BlnwV.png&hash=662bb0a2f65c65ddfe43f9700fba6983)
Title: Re: Greeny
Post by: Sir Osis of Liver on July 02, 2017, 11:18:19 PM
https://www.simplemachines.org/community/index.php?topic=554924.msg3933765#msg3933765
Title: Re: Greeny
Post by: Chalky on July 01, 2018, 04:27:58 PM
I've installed Greeny on my forum this afternoon and I really like it.  The mobile navigation generally works very well.  I've a few issues however, the first one being the biggest.

1.  On the message index there is no link to the last post in each topic on mobile view.  The responsive layout doesn't play well will the quick moderation checkboxes, as you can see in my screenshot.  When you select a board from the main index, the column for "last post" has a header but the content is completely taken over by checkboxes.  HOWEVER, disabling the checkboxes for quick moderation, the "last post" column disappears completely and the topic column takes over the full width of the screen.  So when viewing the topic list within a board, there is no link to see or skip to the last post in the topic.

This is not the case when viewing "unread topics".  There is a "last post" link there that's perfect.

2.  Sidebars don't work well on mobile view as they squash all the content over to the right so that the text overlaps.  Disabling sidebars resolves the issue, but without sidebars the desktop experience can be quite clunky.  Is there a way to respect the user's sidebar setting on large screens but force disabling sidebars on mobile?

3.  From action=unread, if you scroll up and click on view unread topics in the header, the button does not reload the page but just scrolls you back down to where you already were, so if there are new unread topics you don't see them.  Can the unread link in the header be made to force a page reload?

4.  I really am nitpicking now because the mobile navigation is very sophisticated, but the menu items that have child menus, such as Admin and Profile, are not links themselves as they are in most other themes.  So instead of being able to just click on Admin from the menu and go to the Admin panel overview, you have to select one of the items from its child menu and navigate backwards from there.

5.  I have also noticed that when reading a topic on a mobile screen, the posts display the avatar of the poster but not the poster name.  Is this intentional?  I can probably figure out how to hack the name in myself but it would help to know if there's a reason why the name was omitted.

I love this theme and any help would be appreciated - thank you!