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,973
  • Latest: NonStop
Stats
  • Total Posts: 196,240
  • Total Topics: 21,353
  • Online today: 722
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 238
  • Total: 238

How to integrate PJIRC into TP quick'n'easy

Started by fenris_w0lf, January 22, 2006, 06:16:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

LoKiTo

An Error Has Occurred!
Unable to load the 'main' template. 

Maybe us because i have 1.1 rc2?

LoKiTo

It works!!! thank you so much , i was coping the entire code , instend of addind the chat code alone , thanks a lot man

Pale Rider

#12
Okay, I have this all installed and working but I have a small problem. I am not allowing guest access to the chat so the "_mysite" appendage is not necessary in my case. The problem is this, I want it to pass along my user name (PaleRider) without the appended "_" so the channel will op me automatically with chanserv. How do I get rid of the "_" at the tail end of my nick? I have // remarked out the line in the chat.template.php but it still adds the "_"

TIA for any and all help with this matter.

Okay, I dug around in the template a bit and got this sorted. for anyone else who may wish to know you can just replace lines 83 and 89 as follows:

change line 83 to - <param name="nick" value="'. $userchatguestname . '">
change line 89 to - <param name="nick" value="'. $userchatname . '">


PR

shadrach

Does it matter where you place this code?
// Here's the monstrous $_REQUEST['action'] array - $_REQUEST['action'] => array($file, $function).
$actionArray = array(
'activate' => array('Register.php', 'Activate'),
'chat' => array('Chat.php', 'Chat'),
'admin' => array('Admin.php', 'Admin'),

This website is proudly hosted on Crocweb Cloud Website Hosting.