Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 12373
Latest: smurfs
New This Month: 0
New This Week: 1
New Today: 0
Stats
Total Posts: 40210
Total Topics: 7081
Most Online Today: 62
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 61
Total: 61

Author Topic: Button strip in Versatility theme/IE7  (Read 3426 times)

0 Members and 1 Guest are viewing this topic.

Offline neilwheel

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • frameforum
Button strip in Versatility theme/IE7
« on: February 06, 2009, 11:56:14 am »
Im using the RT Versatility theme and everything looks great in Firefox and Chrome. However in Internet Explorer, the right-justified strip of buttons end up stacked instead of all on one line to the right of the template. Can anyone tell me why this is and how I could go about rectifying it? A member of my forum reckons it needs to have some
 
Code: [Select]
<td> and </td> tags placed in the HTML, but I haven't been able to find the appropriate lines for the buttons.

Here is a screenshot of what the template looks like in IE7 on an attachment.

Many thanks,

Neil
« Last Edit: February 06, 2009, 01:12:16 pm by neilwheel »

Offline neilwheel

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • frameforum
Re: Button strip in Versatility theme/IE7
« Reply #1 on: February 09, 2009, 10:03:52 am »
*bump*  :'(

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15105
    • View Profile
Re: Button strip in Versatility theme/IE7
« Reply #2 on: February 09, 2009, 07:34:38 pm »
Try the following
Open Sources/classifieds.php
Find
Code: [Select]

function DoToolBarStrip($button_strip, $direction )
{
global $settings, $txt;

if (!empty($settings['use_tabs']))
{
template_button_strip($button_strip, $direction);
}
else
{
foreach ($button_strip as $tab)
{
/*
if (!empty($tab['is_selected']))
{
echo '
<img src="', $settings['images_url'], '/selected.gif" alt="*" /> <b><a href="', $tab['url'], '">', $tab['text'], '</a></b>';

$selected_tab = $tab;
}
else
*/


echo '
<a href="', $tab['url'], '">', $txt[$tab['text']], '</a>';

if (empty($tab['is_last']))
echo ' | ';
}

}

}
Replace with
Code: [Select]

function DoToolBarStrip($button_strip, $direction )
{
global $settings, $txt;

if (!empty($settings['use_tabs']))
{
template_button_strip($button_strip, $direction);
}
else
{
echo '<td>';
foreach ($button_strip as $tab)
{
/*
if (!empty($tab['is_selected']))
{
echo '
<img src="', $settings['images_url'], '/selected.gif" alt="*" /> <b><a href="', $tab['url'], '">', $tab['text'], '</a></b>';

$selected_tab = $tab;
}
else
*/


echo '
<a href="', $tab['url'], '">', $txt[$tab['text']], '</a>';

if (empty($tab['is_last']))
echo ' | ';
}

echo '</td>';

}

}
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline neilwheel

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • frameforum
Re: Button strip in Versatility theme/IE7
« Reply #3 on: February 10, 2009, 03:21:44 am »
GREAT !  ;D ;D ;D ;D

Many thanks - works a treat!

 

Related Topics

  Subject / Started by Replies Last post
3 Replies
3657 Views
Last post February 26, 2007, 01:20:48 pm
by SMFHacks
1 Replies
3077 Views
Last post May 09, 2007, 05:28:31 am
by NaSHoOo
0 Replies
3231 Views
Last post July 30, 2008, 09:42:39 am
by ikhala
0 Replies
3994 Views
Last post December 25, 2010, 09:27:09 am
by bulletflame
2 Replies
1692 Views
Last post November 27, 2012, 05:50:12 am
by china-stamps

+- Recent Topics

Download System Lite by Rock Lee
June 03, 2020, 07:34:24 pm

Font question by SMFHacks
May 27, 2020, 08:15:26 am

Error message with latest SMF 2.1 Github build by Hatshepsut
May 25, 2020, 01:43:26 am

smfblog not working on 2.0.17 by tech9
May 20, 2020, 01:44:34 pm

Copyright removal by stbc
May 18, 2020, 01:27:57 am

Mod Verified User i can't square the image by Rock Lee
May 07, 2020, 07:56:10 pm

SMF4Mobile 2.0 released for SMF 2.0.x by SMFHacks
May 06, 2020, 12:13:14 pm

SMF Social Login Pro - Discontinued? by Nicole
May 02, 2020, 05:47:04 pm

Likes by SMFHacks
April 30, 2020, 09:50:35 pm

Upgrade Issue - by SMFHacks
April 28, 2020, 12:40:13 pm

Powered by EzPortal