News: ..Added , Crip's  SMF *1.1 Themes too..
Welcome, Guest.
Please login or register.
Loading...
  • Home
  • Forum
  • Help
    • TinyPortal
  • Calendar
  • Downloads
  • Login
  • Register
  • Cripzone »
  • Forum »
  • Theme Support »
  • Theme Support (Moderator: Crip) »
  • BlackRain V3 charset issue?
* * *

User

Welcome, Guest. Please login or register.
Feb 03, 12, 10:30:03 PM

Login with username, password and session length

CZ Friends

  •      TPsupport
  •      blocWeb
  •      build&Tell
  •      tentDwellers
  •      aRgStudio

“Random Proverb”

PROV 16:9 A man's heart deviseth his way: but the LORD directeth his steps.
« previous next »
  • Print
Pages: [1]   Go Down

Author Topic: BlackRain V3 charset issue?  (Read 1864 times)

0 Members and 1 Guest are viewing this topic.

lahn

  • Guest
BlackRain V3 charset issue?
« on: Jul 29, 10, 01:07:24 AM »
Hey, I've recently stumbled across your themes, and BlackRain V3 was gorgeous! - so it's my default theme now... anyway!

My problem is the display list of which sub boards I'm currently browsing. For instance while making this post, in the upper left side it says
"Cripzone >> Theme Support >> Theme Support >> Start new Topic - on my SMF 2.03RC this doesn't work with your theme! - it works with the default though.

it replaces the >> with an 'unknown character sign'
screenshot here:

have a look at it here : http://forums.shadowstalkersguild.com/index.php?board=54.0

I thought it originally was my database's character set that was off, so I converted it to UTF-8 with SMF, without any luck. (which btw, with Black Rain V3, it's hard to see whether checkboxes are ticked :P)

Any hints on how I can fix that please?

Thank you
Logged

Offline Crip

  • Administrator/Owner
  • Hero Member
  • *****
  • Posts: 5,390
  • Gender: Male
  • Say it ant true?
    • Cripzone
Re: BlackRain V3 charset issue?
« Reply #1 on: Jul 29, 10, 07:01:04 AM »
You can just replace the Linktree in : : [index.template.php]

Just-Below :
</body></html>';
}
Replace all with :
Code: [Select]
// 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>[/url]' : '<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;
}

========>
This should fix the weird character thing , if not just report/post here again.
Logged
I have become comfortably numb!

Do Not PM me for Support unless invited!
I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -


Donate A Bible! | Quad Link | TOTM Winner.

lahn

  • Guest
Re: BlackRain V3 charset issue?
« Reply #2 on: Jul 29, 10, 11:25:52 AM »
Thanks, I managed to fix it! :)

in line 444 I found
Code: [Select]
echo ' »';which should just be replaced with
Code: [Select]
echo ' &#187;';
Cheers!
Logged

Offline Crip

  • Administrator/Owner
  • Hero Member
  • *****
  • Posts: 5,390
  • Gender: Male
  • Say it ant true?
    • Cripzone
Re: BlackRain V3 charset issue?
« Reply #3 on: Jul 29, 10, 11:32:25 AM »
that will work too , seems it 'linktree' gets off during the theme install .. but i dunno..?

..glad it works now.
Logged
I have become comfortably numb!

Do Not PM me for Support unless invited!
I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -


Donate A Bible! | Quad Link | TOTM Winner.

lahn

  • Guest
Re: BlackRain V3 charset issue?
« Reply #4 on: Jul 29, 10, 12:01:55 PM »
hmm, I found another similar bug, but fixed it myself too, just reporting it in case you're interested:

This happens for boards that are collapsible



The bug is in file BoardIndex.template.php on line 95
Code: [Select]
<a href="', $category['collapse_href'], '">', $category['collapse_image'], '</a> ';the trailing space in
Code: [Select]
</a> '; isn't a regular whitespace for some reason!
Logged

Offline Crip

  • Administrator/Owner
  • Hero Member
  • *****
  • Posts: 5,390
  • Gender: Male
  • Say it ant true?
    • Cripzone
Re: BlackRain V3 charset issue?
« Reply #5 on: Jul 29, 10, 12:19:27 PM »
thanks for the info , only you thus far has had these issues  , but if someone else does i will inspect it..
Logged
I have become comfortably numb!

Do Not PM me for Support unless invited!
I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -


Donate A Bible! | Quad Link | TOTM Winner.

  • Print
Pages: [1]   Go Up
« previous next »
  • Cripzone »
  • Forum »
  • Theme Support »
  • Theme Support (Moderator: Crip) »
  • BlackRain V3 charset issue?
 

Recent

  • Can I Sit Next To You Gir... by Crip
    [Feb 03, 12, 02:32:39 PM]
  • Rush! by Scrubmeister
    [Feb 03, 12, 09:13:13 AM]
  • Maxx - Happy Birthday! by Maxx
    [Feb 02, 12, 04:08:15 PM]
  • Quote by Crip
    [Feb 02, 12, 09:59:25 AM]
  • Fine Tuning BR Finale by TLone
    [Feb 01, 12, 08:09:41 PM]
  • Modified CoalBlack? by Lyfing
    [Jan 24, 12, 02:31:55 PM]
  • Tom Petty! by Crip
    [Jan 22, 12, 12:26:45 PM]
  • The Doors! by Crip
    [Jan 21, 12, 11:58:01 AM]
  • Theme Edit Basics finding... by Maxx
    [Jan 20, 12, 07:58:24 AM]
  • Old Man! by Maxx
    [Jan 19, 12, 05:14:50 PM]

Stats

Members
  • Total Members: 516
  • Latest: streic
Stats
  • Total Posts: 5302
  • Total Topics: 844
  • Online Today: 21
  • Online Ever: 146
  • (Feb 15, 11, 07:14:16 PM)
Users Online
Users: 2
Guests: 17
Total: 19
Maxx
ZarPrime
  • SMF 2.0.2 | SMF © 2011, Simple Machines
    TinyPortal © 2005-2011
  • XHTML
  • RSS
  • WAP2
Style308 by, Crip