News:

Tekforums.net - The improved home of Tekforums! :D

Main Menu

Forum & Logo Updates

Started by neXus, March 06, 2011, 05:40:18 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

neXus

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.

XEntity

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?

neXus

Will look but that is how the forums work by default, not anything I have changed.

XEntity

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 ;)

Clock'd 0Ne

Hmm I installed a mod to change this before, maybe the this isn't installed on the new theme Liam?

Clock'd 0Ne

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';