Gray Style

Started by The Domain Shop, November 06, 2011, 08:59:23 AM

Previous topic - Next topic

The Domain Shop

Link to the theme


Description: Gray Style is a lovely smart gray styled smf theme.

This theme uses some css3 which may not render in older browsers!

>> License – Read included txt file <<

Created by:



For more free themes visit us here

For theme support visit us here

simpleinter

seem rss function don't work for me. it error when i click on that button.  :'(

The Domain Shop

What is the error you are getting? Please provide me with link to your forum too.

Jack_40k

Can you post a sample?

hvyhitter

Very nice. my forum is running this as a default now.. after having the smf default for a long time.

How do I remove the G+ buttons on the page. I dont like them for obvious reasons. I went in the options for the forum and the theme. I didnt see it. I can do manual edits to the forum (What SMF admin cant lol )

The Domain Shop

Quote from: hvyhitter on March 31, 2014, 02:43:06 PM
Very nice. my forum is running this as a default now.. after having the smf default for a long time.

How do I remove the G+ buttons on the page. I dont like them for obvious reasons. I went in the options for the forum and the theme. I didnt see it. I can do manual edits to the forum (What SMF admin cant lol )

Have a look in the display.template.php and index.template.php for code to remove/replace. Sorry I can't give you the exact code to alter, I don't have access to a computer at min.

Kimmie

Love this theme. One problem I am having is my top menu bar. How can I fix this?


radu81

post a link to your forum, it will be much easier to help
sorry for my bad english

Kimmie

#8
I don't have this theme turned on to anyone yet. I don't turn them on until I have the theme completely finished because it would cause too many errors in my log with others using it. The problem is, I have mods on my site that add buttons to that menu, and in addition, as admin, I have more buttons than reg members do up there so the line is having to wrap around.

I figure if I remove the "help" and the "calender" buttons, it will resolve the issue for regular members, and on my end as admin I will only have the logout button on that 2nd line which is not really a big deal. Looks like there is also room for me to maybe reduce the number of spaces between each one.



Can I edit that code and remove those two from it and remove some of the spaces? Thanks


Edit: I got it fixed.

The Domain Shop


Kimmie

Well I already did it all manually. I turned two of them off. Actually now, I just have to figure out how to remove all that space in between each of them. so that the remaining button will jump back up on that top line. I hate to install a mod just to do that. Do you happen to know what code changes that?

Kimmie

Getting several errors on this theme in index.template.php file and not sure what is causing it. They all seem to be on line 188

When I open up this file in ftp this is what is on that line but I don't think that line is what it is referring to.

<p class="your_avatar"><a href="', $scripturl, '?action=profile">'.$context['user']['avatar']['image'].'</a></p>

8: Undefined index: image
/home/***/public_html/Themes/GrayStyle-u/index.template.php
Line: 188




lurkalot

Quote from: Kimmie on May 07, 2014, 01:13:24 PM
Getting several errors on this theme in index.template.php file and not sure what is causing it. They all seem to be on line 188

When I open up this file in ftp this is what is on that line but I don't think that line is what it is referring to.

<p class="your_avatar"><a href="', $scripturl, '?action=profile">'.$context['user']['avatar']['image'].'</a></p>

8: Undefined index: image
/home/***/public_html/Themes/GrayStyle-u/index.template.php
Line: 188


It's when a logged in member of your forum hasn't got an Avatar, it'll throw this error when they visit.

Kimmie

The forum doesn't require them to have one. They have the option to select "no avatar".



Are you telling me this theme forces them all to have one?

lurkalot

Quote from: Kimmie on May 08, 2014, 01:58:04 PM
The forum doesn't require them to have one. They have the option to select "no avatar".



Are you telling me this theme forces them all to have one?

No the theme needs fixing so it doesn't throw a error when your members don't have an avatar selected.  It's a bug. Trax fixed mine for me some time back.

The Domain Shop

Here you go.. index.template.php attached :)

klra

Has the bug been fixed in the release that is at the Mod site?

The Domain Shop

I can't remember if I re uploaded it. Check your error logs?

klra

I'm getting the error with "no avatar" selected when they login-

8: Undefined index: image
Apply Filter: Only show the errors from this file
File: /home4/*******/public_html/***/Themes/default/GenericMenu.template.php (body_above sub template - eval?)
Line: 188

klra

also, it throws the error every time the member moves through the forum

klra

Ok, I used the above index.php and it stopped throwing the errors.


The Domain Shop

Quote from: klra on June 13, 2014, 11:10:04 AM
Ok, I used the above index.php and it stopped throwing the errors.

Great! I've updated the theme on the mod site now anyhow  :)

klra

Very cool-

Also, for those that might want to use this theme, I had to do the manual edits for the Users Online Today Modification- worked like a charm!

Kimmie

x
Quote from: klra on June 13, 2014, 05:28:43 PM
Very cool-

Also, for those that might want to use this theme, I had to do the manual edits for the Users Online Today Modification- worked like a charm!


Any time you put on a new theme you will have to make edits for that mod, as well as several others.

Steve

I don't know if this thread is still being monitored but if so ... this is my absolute favorite skin with the exception of the rss feed buttons. I'd like to remove them. How do I do that?
DO NOT pm me for support!

The Domain Shop

Glad you like it :-)

BoardIndex.template.php

Find
$board['name'], '</a>
&nbsp;<a href="' . $scripturl . '?action=.xml;board=' . $board['id'] . ';type=rss"><img src="' . $settings['images_url'] . '/rss.png" alt="rss" /></a>


Replace with
$board['name'], '</a>

MessageIndex.template.php

$board['name'], '</a>
&nbsp;<a href="' . $scripturl . '?action=.xml;board=' . $board['id'] . ';type=rss"><img src="' . $settings['images_url'] . '/rss.png" alt="rss" /></a>


Replace with
$board['name'], '</a>

Make sure to backup before making the changes ;-)

Steve

Thanks!

What a difference an ' makes ... I accidentally deleted the last one on the end in those two lines of code and got a massive parser error ... good thing I heeded your last piece of advice.

One more thing if you don't mind ... at the very top left where the date is, can that rss button be removed too?
DO NOT pm me for support!

The Domain Shop

Yep, have a look in the index.template.php for the social section, sorry I can't give the exact changes, I'm not at my pc.

Steve

Okay, got it. Thanks again! :D
DO NOT pm me for support!

The Domain Shop


joseph1977

1.) I have an issue with the logo location with IE,Safari and Opera. I edited the css in my theme to get it centered but the logo is more to the left than i wanted. It only with these 3 browsers. I have no issues with Firefox and Chrome.

2.) The other issue with the background on a mobile browser like an IPhone. When I tested my site on my IPhone's browser the background doesn't float with the index like the desktop browsers. I did replace the background in css.

my website is hxxp:www.harleyfreedomforum.mzzhost.com/forums/index.php [nonactive]

Any ides on the fix?

The Domain Shop

Quote from: joseph1977 on September 25, 2014, 02:31:22 PM
1.) I have an issue with the logo location with IE,Safari and Opera. I edited the css in my theme to get it centered but the logo is more to the left than i wanted. It only with these 3 browsers. I have no issues with Firefox and Chrome.

2.) The other issue with the background on a mobile browser like an IPhone. When I tested my site on my IPhone's browser the background doesn't float with the index like the desktop browsers. I did replace the background in css.

my website is http://www.harleyfreedomforum.mzzhost.com/forums/index.php

Any ides on the fix?

Yep there's no width set on the header in css so n the index.css

find
#header {
  background:none;
  height:300px;
  overflow:hidden;
}


replace with
#header {
  background:none;
  height:300px;
  overflow:hidden;
  width:100%;
}


That should work  :)

joseph1977

Any idea  on the IPhone issue?

The Domain Shop

I'm not sure because i haven't got an iPhone so i would only be guessing and to be honest it was never created with mobile in mind.
Try making the background repeat itself by changing the "no-repeat" to repeat-x or repeat-y on the background css.

If you include a screen shot so i can see what's happening i might be able to help you better.

If you need more support drop by my forum were ill be happy to help you resolve this.

Steve

Any idea what's causing the white dot to the left of 'Oval Office' in the attached image?

It shows in both Firefox and Chrome and has been there for ages but I kept forgetting to come ask about it.  :-[
DO NOT pm me for support!

The Domain Shop

Quote from: Steve on April 15, 2015, 06:20:25 PM
Any idea what's causing the white dot to the left of 'Oval Office' in the attached image?

It shows in both Firefox and Chrome and has been there for ages but I kept forgetting to come ask about it.  :-[

EDIT: It looks like i missed a bit of the colour just at the edge, i'm not too sure though. Send me your sites url to have a look please?

Steve

Sending via PM. Do you need an account?
DO NOT pm me for support!

The Domain Shop

Quote from: Steve on April 16, 2015, 04:30:03 PM
Sending via PM. Do you need an account?

Yes please  :)

The Domain Shop

It looks like it's caused by the shoutbox, would it be possible for you to disable and see if it goes away?

Steve

Disabling the shoutbox does indeed make it go away. I can live with it and thanks for looking and finding out what the problem was for me. :)
DO NOT pm me for support!

The Domain Shop

Quote from: Steve on April 16, 2015, 05:05:49 PM
Disabling the shoutbox does indeed make it go away. I can live with it and thanks for looking and finding out what the problem was for me. :)

It just want's a slight alteration to how the shoutbox is styled. Glad to be of some assistance ;)

Advertisement: