News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Pixel Perfect

Started by Shortie, August 28, 2009, 02:34:18 PM

Previous topic - Next topic

Jazhawk

Am I not asking in the right thread?

-Jazhawk

Özgür

You need to edit your style.css and need css skills. You're asking right topic too.
So Long

Shortie

Will post the instruction later as I have only just go in

afe

Great theme - but it doesn't work for me. All I see is this http://a.imagehost.org/0115/notwork.png
Can anyone help me.

Shortie

Sorry to here that

All I would suggest is either upload it again or do it manually via FTP as it appears to be corrupted while being uploaded

or check out the Support thread at GraphicsMayhem

afe

I reuploaded it and it's still the same.

KensonPlays

How do I make the background fixed? for all three sizes? bedtime now, gnight!

Owner of Mesozoic Haven

Shortie

What do you mean by fixed

If you mean the same background for all three size then the theme will only look good for the size you chose which is no different from setting the variant in the admin area and stopping members from changing it

Shortie

janitro

congratulations on your theme, it's great! we're planning to make it the default of our forum but i'm having an issue with the logo:



it happens with browsers opera, firefox and IE

FiveSeven

Really liking this one Shortie...and it seems to be doing well... 8)

Shortie


janitro

Quote from: janitro on October 10, 2009, 12:51:39 PM
congratulations on your theme, it's great! we're planning to make it the default of our forum but i'm having an issue with the logo:



it happens with browsers opera, firefox and IE

So after all I managed to fix the logo issue on the theme Pixel Perfected (for SMF 2.0 RC2)

on \Themes\Pixel-Perfected\index.template.php

find

<div id="logo">';



if (empty($settings['header_logo_url']))

echo $context['forum_name_html_safe'];

else

echo ' <a href="'.$scripturl.'" title=""><img  src="', $settings['header_logo_url'], '" alt="', $context['forum_name_html_safe'], '" /></a>

';

echo ' </div>'; // logo


replace with

<div style="text-align: center;">
        <h1>';

if (empty($settings['header_logo_url']))
echo '';
else
echo '
<img src="', $settings['header_logo_url'], '" alt="', $context['forum_name'], '" />';

echo '
</div>';



now it works well on Opera, Firefox and IE :D

TugaBin

Hi,

First of all, wonderful theme, it became our forum's default! perfectly the colors we had in mind, just a little bit of gold lines would have looked like it was meant for us, but anyway, it's alredy perfect, thnaks a lot.

But, yes, I have a but... We use a simpleportal, and then we have twice the avatar and news, and search and all that stuff within pixels of interval.

So I come here to ask if it's possible to remove the user area in the theme, I attach a picture to be more specific, and since we have a shoutbox, with the user area and the shoutbox not collapsed, we don't even see the forum's portal when we come in. We have to scroll down to begin seeing stuff...


I already thank you for making this wonderful theme, and then ask for your help to make it completely perfect with our forum.

Thanks in advance.


[nofollow]

Shortie

Easy one

In the themes index.template.php

Find and delete the following make sure you have a back up first though

echo '
<div class="headerpadding ">
<form class="floatright" id="search_form" action="', $scripturl, '?action=search2" method="post" accept-charset="', $context['character_set'], '">
<a href="', $scripturl, '?action=search;advanced" title="', $txt['search_advanced'], '"><img id="advsearch" src="'.$settings['images_url'].'/filter.gif" align="middle" alt="', $txt['search_advanced'], '" /></a>
<input type="text" name="search" value="" style="width: 190px;" />&nbsp;
<input type="submit" name="submit" value="', $txt['search'], '" style="width: 11ex;" />
<input type="hidden" name="advanced" value="0" />';

// Search within current topic?
if (!empty($context['current_topic']))
echo '
<input type="hidden" name="topic" value="', $context['current_topic'], '" />';
// If we're on a certain board, limit it to this board ;).
elseif (!empty($context['current_board']))
echo '
<input type="hidden" name="brd[', $context['current_board'], ']" value="', $context['current_board'], '" />';
echo '
</form>';
// Show a random news item? (or you could pick one from news_lines...)
if (!empty($settings['enable_news']))
echo '
<div id="random_news"><h3>', $txt['news'], ':</h3><p>', $context['random_news_line'], '</p></div>';
else
echo '
<div id="random_news"><h3><p></p></h3></div>';
echo '
</div>';

// show the menu
// template_the_menu (); uncomment to return normal menu

echo' <table  width="100%">
<tr>
<td width="10%">';
if ($context['user']['is_logged'])
{

if (!empty($context['user']['avatar']))
echo '
<div id="userareaavatar">', $context['user']['avatar']['image'], '</div>';

}
echo' </td>
<td width="50%">';
template_userarea();
echo' </td>
<td width="40%">';
template_forum_stats ();
echo' </td>
</tr>
</table>';

PSPguru

despite is nice, but I have the feeling like is a bit slow to display on my screen :(.

Shortie

Once it has loaded once then everything is cached so should be no slower than any other theme

TugaBin

Quote from: Shortie on April 05, 2010, 05:06:12 AM

In the themes index.template.php

Find and delete the following make sure you have a back up first though
....

Wahou, thanks a lot, it's perfect!!! now it really all fancy and stuff, ur the best ;)

Quote from: Shortie on April 05, 2010, 05:06:12 AM
Easy one...

For you... :P  I've been triyng alone for 2 days to see if I can get to understand a bit of php, but, nada...

Quote from: Shortie on April 05, 2010, 07:31:22 AM
Once it has loaded once then everything is cached so should be no slower than any other theme

I confirm, the first time it takes about 3-4 maybe 5 seconds to load, and the next times it loads in less than a second.



Thanks again Shortie, coz for us you are a Giant... 8)

TugaBin

Geez....

I hadn't browse all the forum and thought it was perfect, but, again with the but... some mebers made me notice some template issues that the forum hadn't with the previous theme.

Sorry to bother you, but maybe I'm not the only one and it could help others as well.

So here are they:

-1° - There's no more separation between posts, they all look like if they were part of only one post, don't know if it's supposed to be like that, but it's kind of disturbing when people follow a topic and can't know exactly who said what.
[nofollow]

-2° - The 'New Topic' button is messed up, the reply button was too, but I managed to get it right by removing the 'active' value assigned to it, but I can't get 'new topic' right...
[nofollow]

-3° - And for this one, I really don't know what happened, but it's all really messed up, it's in a page with a flash BBCode including a flash .swf game in the page, don't know if it's the reason, but this one is out of control!
[nofollow]

-4° - This last one concerns an issue with Ad Manager Mod I guess, when it's not active, the post looks like it should, but when it's active, the bottom of topic page gets all messed up when there's not or just one response in topic, after a second reply it looks fine:
[nofollow]
And just to know, the last ad is supposed to look like a post in the topic, but it doesn't have the same backround as the posts like it does in other themes:
[nofollow]

But these 2 last ones concerning ads are optional, if it can be fixed, great, if not, nevermind.


For info, i use SMF 2.0 RC3 with SimplePortal 2.3.2, forum's language is portuguese_pt in ISO-8859-1, don't if it's a reason to have these issues but it's all I can tell for what I know.


Thanks Shortie!

C.ya

Shortie

I know exactly what your problem is now

You are using Pixel Perfect which is an RC1.2 theme :D :D - my bad as I did not ask the question

the reason for this is the introduction of Curve

But all is not lost

What you need is Pixel Perfected which is an RC3 theme with all the features and is almost 100% the same but in my eyes a little bit cleaner looking

Due the time scales SMF are taking to approve themes it is currently on available from my Site - Just click my sig and it will take you there

Download it and install it and then we can work on the removal of the top bit

Also on my front page there is a link to my Demo Site when you can see it in action

Have fun and if you need any help just post a topic on my site

Shortie

daveb47

QuoteWhat you need is Pixel Perfected which is an RC3 theme with all the features and is almost 100% the same but in my eyes a little bit cleaner looking

Is Pixel Perfected available as your site is down.

Also how do i edit/add to menu

Thanx
https://daveb47.co.uk

A Slinky is like Jeremy CorbynWinehouse,Weird looking,Not really of any use to anybody.
But its really funny when it falls down the stairs!!:D:D

Advertisement: