Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43295
Total Topics: 7523
Most Online Today: 208
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 204
Total: 204

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

0 Members and 1 Guest are viewing this topic.

Offline neilwheel

  • Member
  • *
  • 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

  • Member
  • *
  • 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: 16452
    • 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

  • Member
  • *
  • 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
4463 Views
Last post February 26, 2007, 01:20:48 pm
by SMFHacks
1 Replies
3770 Views
Last post May 09, 2007, 05:28:31 am
by NaSHoOo
3 Replies
5620 Views
Last post June 28, 2007, 09:36:48 pm
by SMFHacks
0 Replies
5302 Views
Last post December 25, 2010, 09:27:09 am
by bulletflame
2 Replies
2752 Views
Last post November 27, 2012, 05:50:12 am
by china-stamps

+- Recent Topics

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

Powered by EzPortal