Fatal error: Call to undefined function: parse_bbc() in /home/nextgene/public_ht

Started by MegaV1, May 24, 2006, 02:24:46 AM

Previous topic - Next topic

MegaV1

Fatal error: Call to undefined function: parse_bbc() in /home/nextgene/public_html/forum/Sources/Load.php(1055) : eval()'d code on line 135

help?
please?

kegobeer

What version of SMF are you running?  Are you using the default theme?  If not, when you switch to the default theme do you get any error messages?
"The truth of the matter is that you always know the right thing to do. The hard part is doing it." - Norman Schwarzkopf
Posting and you (Click "WATCH THIS MOVIE")

MegaV1

1.0.7, i was using it and someone said they can't see it, so i logged out and that happened

kegobeer

Use the default theme.  If you don't get that message anymore, your custom theme has a problem.
"The truth of the matter is that you always know the right thing to do. The hard part is doing it." - Norman Schwarzkopf
Posting and you (Click "WATCH THIS MOVIE")

MegaV1


kegobeer

The parse_bbc function only exists in SMF 1.1.  Are you sure you are using 1.0.7?
"The truth of the matter is that you always know the right thing to do. The hard part is doing it." - Norman Schwarzkopf
Posting and you (Click "WATCH THIS MOVIE")

MegaV1

so what should i do now?
i can't fix it so i moved on
except there is a few conflicts and i had to install several mods manually
when i moved over, this is what it says

2134 Posts in 1 Topics by 195 Members
Latest Member: alwyn334

and the member list says
Parse error: syntax error, unexpected ',' in /home/info/public_html/Sources/Memberlist.php on line 328

and when i try the topic solved mod after installing the thank you mod, i get this
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/info/public_html/Sources/Post.php on line 1875

and i think that's all i remember for the moment

oh yeah

2 Guests, 0 Buddies, 2 Users
Users active in past 15 minutes:
MegaV1, yuki^^

how do i increase it from 15 to another number?
i could do it in my last forum, before i moved

kegobeer

"The truth of the matter is that you always know the right thing to do. The hard part is doing it." - Norman Schwarzkopf
Posting and you (Click "WATCH THIS MOVIE")

MegaV1


winrules

Quote from: kegobeer on May 27, 2006, 01:28:58 PM
Quote from: kegobeer on May 25, 2006, 11:32:12 AM
The parse_bbc function only exists in SMF 1.1.  Are you sure you are using 1.0.7?
Can you please answer kegobeer's question?

Also could we have a link to your site?


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


MegaV1

NextGeneration Forums | Powered by SMF 1.0.7.
© 2001-2005, Lewis Media. All Rights Reserved.    Valid XHTML 1.0! Valid CSS!
Page created in 0.181 seconds with 17 queries.
looks like 1.0.7 to me, i thought i said that before

winrules

Quote from: MegaV1 on May 27, 2006, 05:06:57 PM
NextGeneration Forums | Powered by SMF 1.0.7.
© 2001-2005, Lewis Media. All Rights Reserved.    Valid XHTML 1.0! Valid CSS!
Page created in 0.181 seconds with 17 queries.
looks like 1.0.7 to me, i thought i said that before
It looks like you are using a theme that is made for 1.1, as the parse_bbc function doesn't exist in 1.0.x. Could we have a link to your site?


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


MegaV1

i kinda redirected the site, but i was using the default theme built for 1.0.7
removing redirect as we speak


winrules



winrules
SMF Developer
               
My Mods
Please do not PM me for support.


MegaV1

      echo '
   <link rel="index" href="' . $scripturl . '?action=;board=' . $context['current_board'] . '.0" />';

   // We'll have to use the cookie to remember the header...
   if ($context['user']['is_guest'])
      $options['collapse_header'] = !empty($_COOKIE['upshrink']);

   // Output any remaining HTML headers. (from mods, maybe?)
   echo $context['html_headers'], '

   <script language="JavaScript" type="text/javascript"><!--
      var current_header = ', empty($options['collapse_header']) ? 'false' : 'true', ';

      function shrinkHeader(mode)
      {';

   // Guests don't have theme options!!
   if ($context['user']['is_guest'])
      echo '
         document.cookie = "upshrink=" + (mode ? 1 : 0);';
   else
      echo '
         document.getElementById("upshrinkTemp").src = "', $scripturl, '?action=jsoption;var=collapse_header;val=" + (mode ? 1 : 0) + ";sesc=', $context['session_id'], ';" + (new Date().getTime());';

   echo '
         document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/upshrink.gif");

         document.getElementById("upshrinkHeader").style.display = mode ? "none" : "";

         current_header = mode;
      }
   // --></script>
</head>
<body>';
   if (!$context['user']['is_logged'])
      echo '<div id="info"><div id="infobar">', parse_bbc( $txt['infobarText'] ), '</div></div>';

   // Because of the way width/padding are calculated, we have to tell Internet Explorer 4 and 5 that the content should be 100% wide. (or else it will assume about 108%!)
   echo '
   <div id="headerarea" style="padding: 12px 30px 4px 30px;', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' width: 100%;' : '', '">';

   // The logo and the three info boxes.
   echo '
      <table cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="position: relative;">
         <tr>
            <td colspan="2" valign="bottom" style="padding: 5px; white-space: nowrap;">';

   // This part is the logo and forum name.  You should be able to change this to whatever you want...
   echo '
               <img src="', $settings['images_url'], '/smflogo.gif" width="250" style="float: right;" alt="" />
               <span style="font-family: Georgia, sans-serif; font-size: xx-large;">', $context['forum_name'], '</span>';

winrules

You ahve a call to parse_bbc in the infobar mod. Change

echo '<div id="info"><div id="infobar">', parse_bbc( $txt['infobarText'] ), '</div></div>';

to:

echo '<div id="info"><div id="infobar">', doUBBC( $txt['infobarText'] ), '</div></div>';


That will fix it in that location. However there may be other calls to parse_bbc elsewhere if you have amny modifications like that to the default theme. You could try adding this function to subs.php:

function parse_bbc($message, $smileys = true, $cache_id = '')
{
return do_UBBC($message, $smileys);
}

You only need to do that if what I posted above doesn't work.


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


kegobeer

If you installed any mods, make sure they are for 1.0.7 and not RC2.  At some point, somewhere, you installed something designed for RC2.
"The truth of the matter is that you always know the right thing to do. The hard part is doing it." - Norman Schwarzkopf
Posting and you (Click "WATCH THIS MOVIE")

MegaV1

okay, can someone please work with me to install a mod?
i prefer MSN if possible, i seem to have problems with this a mod
i install it, i modified it and it doesn't work
it doesn't work before i modify it

kegobeer

"The truth of the matter is that you always know the right thing to do. The hard part is doing it." - Norman Schwarzkopf
Posting and you (Click "WATCH THIS MOVIE")

Advertisement: