News:

On Deck: Next is "Bluemoon" For SMF 2.1.4! ;)

 

Recent Topics

Members
Stats
  • Total Posts: 10,783
  • Total Topics: 1,380
  • Online today: 31
  • Online ever: 879
  • (Jan 21, 20, 05:49:15 PM)
Users Online
Users: 0
Guests: 18
Total: 18

BlackRain V3

Started by rjez16, Feb 26, 11, 01:27:03 PM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

rjez16

There seems to be some strange text between link tree in forums. I was wondering if this can be fixed? Its not a big deal just looks kind strange. Please see attached pic.

http://www.playgroundmotocross.net/index.php


[attachment deleted by admin]

Crip

BR3 (index.template.php)
Find - and Replace:
// Show a linktree. This is that thing that shows "My Community | General Category | General Discussion"..
function theme_linktree($force_show = false)
{
   global $context, $settings, $options, $shown_linktree;

   // If linktree is empty, just return - also allow an override.
   if (empty($context['linktree']) || (!empty($context['dont_default_linktree']) && !$force_show))
      return;

   echo '
   <ul class="linktree" id="linktree_', empty($shown_linktree) ? 'upper' : 'lower', '">';

   // Each tree item has a URL and name. Some may have extra_before and extra_after.
   foreach ($context['linktree'] as $link_num => $tree)
   {
      echo '
      <li', ($link_num == count($context['linktree']) - 1) ? ' class="last"' : '', '>';

      // Show something before the link?
      if (isset($tree['extra_before']))
         echo $tree['extra_before'];

      // Show the link, including a URL if it should have one.
      echo $settings['linktree_link'] && isset($tree['url']) ? '
         <a href="' . $tree['url'] . '"><span>' . $tree['name'] . '</span></a>' : '<span>' . $tree['name'] . '</span>';

      // Show something after the link...?
      if (isset($tree['extra_after']))
         echo $tree['extra_after'];

      // Don't show a separator for the last one.
      if ($link_num != count($context['linktree']) - 1)
         echo ' &gt;';

      echo '
      </li>';
   }
   echo '
   </ul>';

   $shown_linktree = true;
}


.. should fix your Linktree.
I have become comfortably numb!


No PM's for Support unless invited! 

I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -
TOTM Winner.

rjez16

That fix most of it thank you... Theres just one part more at the search bar.

[attachment deleted by admin]

Crip

�  <=whitespace=>
"(index.template.php)"


Find and Replace:

   echo '
      <div id="news_section" class="titlebg2 clearfix"', empty($options['collapse_header']) ? '' : ' style="display: none;"', '>
         <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.png" align="middle" alt="', $txt['search_advanced'], '" /></a>
            <input type="text" name="search" value="" style="width: 150px; border: 1px dotted #ceb54b; background: #242424; color: white;" class="input_text" />
            <input type="submit" name="submit" value="', $txt['search'], '" style="width: 11ex; border: 1px dotted #ceb54b; background: #242424; color: white;" class="button_submit" />
            <input type="hidden" name="advanced" value="0" />';
I have become comfortably numb!


No PM's for Support unless invited! 

I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -
TOTM Winner.

rjez16

Worked Perfect! Thanks once again...

Crip

I have become comfortably numb!


No PM's for Support unless invited! 

I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -
TOTM Winner.