Tekforums

Chat => General Discussion => Topic started by: neXus on March 06, 2011, 05:40:18 AM

Title: Forum & Logo Updates
Post by: neXus on March 06, 2011, 05:40:18 AM
I been taking a break from doing work on the forum as I have needed to do overtime and freelance work and have a bit of a break from the forum stuff but I know there are things to fix up still and I will do them. I wont leave things as they are, dont worry.

I got several logo's on the go as well.

In terms of the forums are their any bugs you have seen?

I know of...

- The PM layouts are messed up
- Message post has a line that needs to go above the editor area
- Editor area focus to be removed as it looks crap
- Links in quotes need sorting
- Footer of forum colouring not quite right and needs improving
- For some reason a couple of the buttons have gone a funny colour
- Admin control buttons are messed up. I need Nige to kindly make me a mod/admin for a time to work on these as it is hard to fix what you can not see.
- Some buttons like post and preview have not been really styled up yet.

Optimisations
- Image buttons created as background images will soon be all in one file.
- Ill optimise the css file when closer to being done.

- I still think we should hide all but 5-10 smilies on post layout as waiting for them to load up is a little annoying.

If you have any bugs, let me know here in bullet point form, thanks.
Title: Re: Forum & Logo Updates
Post by: XEntity on March 12, 2011, 01:04:10 AM
Hi Nexus,

when you go to the home page, it shows 'Index' as the page title, would probably be better if this actually read the forum name?

I know your busy, but when you get round to doing it ;)

BTW hows the logos coming on?
Title: Re: Forum & Logo Updates
Post by: neXus on March 12, 2011, 03:01:07 AM
Will look but that is how the forums work by default, not anything I have changed.
Title: Re: Forum & Logo Updates
Post by: XEntity on March 12, 2011, 03:08:35 AM
Quote from: neXus on March 12, 2011, 03:01:07 AM
Will look but that is how the forums work by default, not anything I have changed.

Didn't think it was but thought while you were having a play round with the code ;)
Title: Re: Forum & Logo Updates
Post by: Clock'd 0Ne on March 12, 2011, 09:14:43 AM
Hmm I installed a mod to change this before, maybe the this isn't installed on the new theme Liam?
Title: Re: Forum & Logo Updates
Post by: Clock'd 0Ne on March 12, 2011, 09:48:14 AM
These changes need making I think:

./Themes/default/index.template.php

Find:
<title>', $context['page_title_html_safe'], '</title>';

Replace With:
<!-- SMF Modders; Forum Name in Browser Title -->
<title>', isset($context['browser_title']['portal']) ? $context['browser_title']['portal_title'] : (!empty($modSettings['page_title_positions']) && $modSettings['page_title_positions'] == '1' && $context['current_action'] != '' ? $context['browser_title']['no_portal']. ''. $context['page_title_html_safe'] : $context['page_title_html_safe']. ''. $context['browser_title']['no_portal']), '</title>';
// !! End SMF Modders; Forum Name in Browser Title



./Themes/default/languages/Help.english.php

Find (at the end of the file):

?>

Add Before:

// SMF Modders; Forum Name in Browser Title
$helptxt['page_title_positions'] = 'This allows you to change the position of your forum name in your browsers title either before or after the page title.';
// End SMF Modders; Forum Name in Browser Title



./Themes/default/languages/Modifications.english.php

Find (at the end of the file):

?>

Add Before:

// SMF Modders; Forum Name in Browser Title
$txt['page_title_positions'] = 'Forum Name...';
$txt['before_page_title'] = 'Before Page Title';
$txt['after_page_title'] = 'After Page Title';
// End SMF Modders; Forum Name in Browser Title



./Themes/default/languages/index.english.php

Find:

$txt['forum_index'] = '%1$s - Index';

Replace With:

$txt['forum_index'] = 'Index';