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,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 445
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 464
  • Total: 464

[Block] users in arcade

Started by wdm2005, August 18, 2008, 04:25:01 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bluto

OK, will do G6.
I appreciate the help, but dread the task. :)

G6Cad

The task is not really that hard.
If you use the parser on SMF and in their mod site, you can check the mods easy and see if they touch the file and if they do, what code they add or change

wdm2005

@bluto try this code if you didnt get it working

global $scripturl, $txt, $context, $db_prefix,$settings;
// heres the bullits duck lol
    $bullet2 = '<img src="'.$settings['images_url'].'/TPdivider2.gif" alt="" border="0" style="margin:0 2px 0 0;" />';
   //its ok now bullits have flown by stand up again lol
               
               $online = ssi_whosOnline('array');
      foreach($online['users'] as $user){
 

   $result = db_query("
      SELECT url
      FROM {$db_prefix}log_online
      WHERE ID_MEMBER = {$user['id']}",__FILE__, __LINE__);
     
      $checkit = mysql_fetch_assoc($result);
      $data = @unserialize($checkit['url']);
         if(isset($data['action']) && $data['action'] == 'arcade')      echo $bullet2 , $user['hidden'] ? '<i>' . $user['link'] . '</i>' : $user['link'];  echo ' ';
      }

unset($data);


Bluto

#13
That works, thanks WDM. Much appreciated.
Now, if you could make it that easy for who's in Flashchat, I'd be forever indebted.LOL.

IchBin

Bluto, did you look at the other flashchat code snippets we have here?

Bluto

No ICH, I've been trying to implement the Flashchat integration mod, with no success. If I rebuild the forum, I'll put that one in right after TP.
But I will have a look and see what you have, if it's a snippet, it has to be easier.
Thanks IchBin

Bluto


wdm2005

Quote from: Bluto on September 29, 2008, 02:20:27 AM
That works, thanks WDM. Much appreciated.
Now, if you could make it that easy for who's in Flashchat, I'd be forever indebted.LOL.

all i done was remove the ssi call
require("SSI.php");

This website is proudly hosted on Crocweb Cloud Website Hosting.