TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,966
  • Latest: safir45
Stats
  • Total Posts: 195,994
  • Total Topics: 21,325
  • Online today: 291
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 145
  • Total: 145

Pulling in high scores from smfarcade into a block. Has anybody tried this?

Started by houston, November 08, 2005, 03:43:51 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

TwinsX2Dad

I am running the latest version of TP on top of RC2 and this worked easily.

One question I have - is there a way to limit it to reporting just one high score per game?

[attachment deleted by admin]



TwinsX2Dad




houston

Thanks for this info Ray. Unfortunatly I am getting a parse error in my load.php file.

Parse error: parse error, unexpected '[' in /home/eaglebay/public_html/forum/Sources/Load.php(1607) : eval()'d code(34) : eval()'d code on line 1

I have looked at line 1607 and can not see a [ in that line. This is what I am seeing.

// Are we going to use eval?
   if (empty($modSettings['disableTemplateEval']))
   {
      $file_found = file_exists($filename) && eval('?' . '>' . rtrim(file_get_contents($filename))) !== false;
      $settings['current_include_filename'] = $filename;
   }
   else
   {
      $file_found = file_exists($filename);

      if ($once && $file_found)
         require_once($filename);
      elseif ($file_found)
         require($filename);
   }

   if ($file_found !== true)
   {
      ob_end_clean();
      if (!empty($modSettings['enableCompressedOutput']))
         @ob_start('ob_gzhandler');
      else
         ob_start();

      if (isset($_GET['debug']) && !WIRELESS)
         header('Content-Type: application/xhtml+xml; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set']));

This is from line line 1604 to line 1626 line 1607 is red.

Does anybody have any thoughts on this error

Thanks

borgBOB

Are you using the same versions of arcade mod, and SMF? as this is written for?

houston

Quote from: borgBOB on February 24, 2006, 05:05:40 AM
Are you using the same versions of arcade mod, and SMF? as this is written for?

SMF 1.1 RC2 and arcade 1.2.4b

The package manager says that it is 1.2.4 but the arcade pages tell me that it is powered by 1.2.4b

Ray

Quote from: houston on February 24, 2006, 04:12:34 AM
Thanks for this info Ray. Unfortunatly I am getting a parse error in my load.php file.

Parse error: parse error, unexpected '[' in /home/eaglebay/public_html/forum/Sources/Load.php(1607) : eval()'d code(34) : eval()'d code on line 1

I have looked at line 1607 and can not see a [ in that line. This is what I am seeing.

// Are we going to use eval?
   if (empty($modSettings['disableTemplateEval']))
   {
      $file_found = file_exists($filename) && eval('?' . '>' . rtrim(file_get_contents($filename))) !== false;
      $settings['current_include_filename'] = $filename;
   }
   else
   {
      $file_found = file_exists($filename);

      if ($once && $file_found)
         require_once($filename);
      elseif ($file_found)
         require($filename);
   }

   if ($file_found !== true)
   {
      ob_end_clean();
      if (!empty($modSettings['enableCompressedOutput']))
         @ob_start('ob_gzhandler');
      else
         ob_start();

      if (isset($_GET['debug']) && !WIRELESS)
         header('Content-Type: application/xhtml+xml; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set']));

This is from line line 1604 to line 1626 line 1607 is red.

Does anybody have any thoughts on this error

Thanks
I havent had any errors with it - umm You are using a php box right??

This website is proudly hosted on Crocweb Cloud Website Hosting.