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,913
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 588
  • Total: 589
  • @rjen

[Block] Additional Stats

Started by Lord Anubis, March 31, 2008, 05:44:20 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

fl4pj4ck

any chance to update this code to show mini-avatars of logged-in users?

lurkalot

#31
Will this work with SMF arcade?  If not is there a version that does please.  Looks good. ;)

cme1st2302

I am trying to get the one with the Flashchat to work but I keep getting the following error

QuoteTable 'eas0825602315011.members' doesn't exist
File: /home/content/b/u/c/buc240/html/eastcoastastro/forums/Sources/SPortal1-1.php(1646) : eval()'d code
Line: 32

Any ideas how to fix this?

Thanks in advance,
Chris

Lord Anubis

you would have to have the flashchat integration mod installed

cme1st2302

I have it installed and have been using it for some time now.

JPDeni

A lot would depend on what is going on in the S-Portal1-1.php file. From your error message, off the top of my head, I would guess that you're missing the $db_prefix variable in a "global" statement . I could be wrong, though.

cme1st2302

I have attached my SPortal1-1.php file for you to take a look at.  I do see the $db_prefix variable in the sportal function but I'm not sure if that is what you are talking about.  Please take a look over and see if you can find whats wrong.

Thanks for your assistance,
Chris

JPDeni

That looks right. Try adding $db_prefix to the "global" line of your block.

The code at the beginning of this topic starts with

global $context, $settings, $options, $scripturl, $txt, $user_info, $modSettings;


which may have changed by the time you got to it :) but however it looks now, try adding the $db_prefix variable to it:


global $context, $settings, $options, $scripturl, $txt, $user_info, $modSettings, $db_prefix;


It can't hurt and it might fix your problem.

cme1st2302



This website is proudly hosted on Crocweb Cloud Website Hosting.