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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,021
  • Total Topics: 21,332
  • Online today: 744
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 511
  • Total: 511

PJIRC Chat mod

Started by Moocat, September 04, 2005, 11:00:08 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Moocat

on my site i have tinyportal installed and PJIRC chat mod. when i click the chat button, it opens a new window, like it should, but the screen shows the helios colors and only the top navigation bar. the screen is also littered with fatal errors. The chat applet actually appears and works fine, just the errors are really bothersome. here they are:

Notice: Undefined index: TPortal in /home/xxxxx/public_html/forum/Sources/Load.php(1500) : eval()'d code on line 240

Notice: Undefined index: TPortal in /home/xxxxx/public_html/forum/Sources/Load.php(1500) : eval()'d code on line 259
 
Notice: Undefined index: TPortal in /home/xxxxx/public_html/forum/Sources/Load.php(1500) : eval()'d code on line 386

Notice: Undefined index: TPortal in /home/xxxxx/public_html/forum/Sources/Load.php(1500) : eval()'d code on line 388

Notice: Undefined index: TPortal in /home/xxxxx/public_html/forum/Sources/Load.php(1500) : eval()'d code on line 390

Notice: Undefined index: TPortal in /home/xxxxx/public_html/forum/Sources/Load.php(1500) : eval()'d code on line 399

Notice: Undefined index: TPortal in /home/xxxxx/public_html/forum/Sources/Load.php(1500) : eval()'d code on line 409

This leads me to believe that the problem is with the TP blocks, but i dont know how to get rid of the errors.

bloc

Yes, the PJIRC template might need to include the call for tportalblocks. I have to check, it might use the "wrap" template function in SMF.

Moocat

yeah i have no idea what that means at all :P


bloc

Not to worry..I will explain - as soon as I have looked at it. :)

Moocat


bloc

Ok, its nothing to do with blocks, its the fact that it calls SSI.php and render its window through that, that cause the problem, because it tries to get TP info, but are not able too.

As long as the mod is done like this, there is no apparant solution I am afraid.

Although by looking at the code I would assume it actually could work in a TP article - the only thing you need to do is to insert your path to the applet. Becuase php code is ONLY used to get the path - and that you can insert yourself. The rest is pure HTML code - which gets the java stuff of course.

If you want to try that route, let me know.

Moocat

What do you mean by a "TP article"? I simply want it to display the blocks around it and no other errors, but if that isn't possible, its at least good to know that i don't have to try and fix it! :)

thx for the advice

bloc

What i mean is that you could simply use a article to display the chat applet - meaning blocks etc, will work fine. Just an article without category will do. I will have to try it out, so i am just curious if you want to try it or not. :)

Moocat

it sounds like something that might be a bit too small to hold the chat applet, as it has many tabs and such at the top, and my blocks are about the size of yours on the <<< side.

domp

I have been fiddling with chatboxes as well, Pjirc is nice but I've found a new chat option with streaming VideoÂÃ,  and audio support. The video's are really fast. Nothing have to be installed because it's all build in flash.

But the best part is that it's bridged to SMF :)

Go to our test site and find the chat button at the top. I'm sure you'll like it.

This website is proudly hosted on Crocweb Cloud Website Hosting.