[ABD] PJIRC chat

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
ghettowboy
Registered User
Posts: 216
Joined: Tue Jun 12, 2007 3:53 pm

Re: [BETA] PJIRC chat

Post by ghettowboy » Sat Nov 24, 2007 11:41 am

this script is driving me crazy!!!!! blah :?

i cant seem to get this mod to accept commands for the nickserv services... it reads the user name just fine but for some reason i can't get it to pull anything else... i have created a new field in the database for this and i've gotten it to be editable thru the acp and ucp panels.... but implimenting it in the script is becomming a nightmare.. so, i wondering if anyone has played with this and had any success?

User avatar
MasterZ
Registered User
Posts: 712
Joined: Wed Sep 24, 2003 5:33 am
Contact:

Re: [BETA] PJIRC chat

Post by MasterZ » Sat Dec 15, 2007 12:47 pm

Hello,

I tried installing this addon after upgrading to 3.0.0 and I am running into problems.
I get the error message

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3392: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3394: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3395: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3396: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
After getting this the first time, I went to another forum and followed the same steps, testing after each step, and it did this after I uploaded the modified common.php file. If I remove those edits or comment them out the problem still stays.

This error will cause a minor inconvenience to my visitors, but more importantly it prevents me from logging in to the admin panel.

Does anybody know how to fix this?

// EDIT: I fixed it by downloading a new common.php file and then applying the changes, I also noticed that there are two spaces before the tabs for the entries into the common.php file, removing those might have fixed it.

DeepPhrozen
Registered User
Posts: 1
Joined: Sat Dec 29, 2007 2:23 am

Re: [BETA] PJIRC chat

Post by DeepPhrozen » Sat Dec 29, 2007 2:26 am

Great Job and thanks for this mod. Got it running on phpbb3 gold.
had to make some changes because of the usage of etech style in german but it works pretty good.

props

ElgarL
Registered User
Posts: 2
Joined: Tue Jun 12, 2007 4:53 pm

Re: [BETA] PJIRC chat

Post by ElgarL » Sat Jan 05, 2008 1:46 pm

I installed this mod on 3.0.0 Gold, but nothing shows up. There seem to be no additions anywhere. Not even the link in overal_header.php shows up.

No errors and no problems, just nothing shows.

saaiberke
Registered User
Posts: 1126
Joined: Wed Jul 20, 2005 8:13 am
Location: Gent/Belgium
Contact:

Re: [BETA] PJIRC chat

Post by saaiberke » Sat Jan 05, 2008 2:47 pm

Then you must have made a mistake somewhere. Did you refresh the cache and theme cache?

I have it installed on 2 Gold boards without problems.

Can you give an URL where I can see this?

Grtz,

Nic

ElgarL
Registered User
Posts: 2
Joined: Tue Jun 12, 2007 4:53 pm

Re: [BETA] PJIRC chat

Post by ElgarL » Sat Jan 05, 2008 3:08 pm

Thank you, that was it.

I had installed it fine, but I had to purge the cache.

kyle1745
Registered User
Posts: 173
Joined: Thu Nov 14, 2002 2:21 am

Re: [BETA] PJIRC chat

Post by kyle1745 » Mon Feb 18, 2008 4:56 am

Anyone still working on this one?

User avatar
wizard james
Registered User
Posts: 366
Joined: Sun Nov 14, 2004 5:43 am

Re: [BETA] PJIRC chat

Post by wizard james » Wed Feb 20, 2008 8:37 pm

I just have yet to do anything extra to it, right now it works fine. for the lastest version of phpbb3.
Join me at ##phpbb-chat on irc.freenode.net

kyle1745
Registered User
Posts: 173
Joined: Thu Nov 14, 2002 2:21 am

Re: [BETA] PJIRC chat

Post by kyle1745 » Thu Feb 21, 2008 1:08 am

For example this part of the old mod, which displayed the active users on the index.

Code: Select all

############################################################## 
## MOD Title: Blitzed.org Stats Add-on (PJIRC Chat MOD)
## MOD Author: Midnightz < eyze@netzero.net > (Tia Kremetis) http://pjirc4phpbb.earlsoft.co.uk/
## MOD Description: Add-on stats for the PJIRC Chat MOD. 
## MOD Version: 1.0.0 
## 
## Installation Level: (Easy) 
## Installation Time: 5 Minutes
## 
## Files To Edit: 	   5
##		  
##		   - root/chat.php
##		   - root/index.php
##		   - language/lang_english/lang_main.php		   
## 		   - templates/subSilver/overall_header.tpl		  
##		   - templates/subSilver/index_body.tpl
##		   
## 
## Included Files: 	   None
##		     
##
############################################################## 
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the 
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code 
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered 
## in our MOD-Database, located at: http://www.phpbb.com/mods/ 
############################################################## 
## Author Notes:
##
##	These are optional IRC add-ons to the PJIRC Chat MOD v3.1.2a
##	Explained: Users chatting, number of users chatting, status indicator
##	Repeat edits to overall_header.tpl & index_body.tpl for all other templates!
##	Please be aware that occasionally Blitzed.org's server locks up which may cause
##	errors. This can not be controlled by me or any coding that has been done as this 
##	script is entirely utilizing another script that Blitzed.org hosts. This caution only
##         applies to the Users chatting etc. section of code herein. Please also note that the
## 	new script handles caching and a little bit of error handling in an effort to minimize
##	the server load on Blitzed.org and possible errors you could recieve, should they
##	be experiencing technical difficulties. Special thanks to AlleyKat for improving this
##	code for us all!
## 
############################################################## 
## MOD History:
##
##   2004-07-20	 - Version 1.0.0
##
## 
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
##############################################################
#
#-----[ OPEN ]------------------------------------------ 
#
index.php
#
#-----[ FIND ]------------------------------------------
#
//
// If you don't use these stats on your index you may want to consider
#
#-----[ BEFORE, ADD ]-------------------------------- 
#
# Notes: You need to edit the "CHANNEL" and "PASSWORD" to retrieve those stats from Blitzed.org.
#	(both must be lowercase)
#           It is required that you register for this feature at Blitzed.org before you can use it.
#           Go here to register it: http://www.blitzed.org/scripts/chanuserlist/register.phtml
#           Do not use the "#" symbol before your channel name when editing.
#           You must CHMOD 777 your cache folder in order for this script to work!
#
# Example: if ( $listfile = @fopen("http://blitzed.org/scripts/chanuserlist/?channel=%23midnightz&pass=something", "r") ) {
#

// 
// Begin PJIRC Channel Userlist & Count Integrations 
// 
$cachefile = 'cache/blitzedlist.html'; 
$cachetime = 1 * 60; 
// Use cache if younger than $cachetime 
if ( file_exists($cachefile) && time() - $cachetime < filemtime($cachefile) ) { 
    $listfile = @fopen($phpbb_root_path.$cachefile, "r"); 
    $users = ""; 
    $count = 0; 
    while ($nickname = fgets($listfile)) { 
       $users .=  trim($nickname) . ", "; 
       $count++; 
    } 
    $thingydingy = 1; 
} 
else { 
    if ( $listfile = @fopen("http://blitzed.org/scripts/chanuserlist/?channel=%23CHANNEL&pass=PASSWORD", "r") ) { 
      $users = ""; 
      $fullfile = ""; 
      $count = 0; 
      while ($nickname = fgets($listfile)) { 
         $users .=  trim($nickname) . ", "; 
         $fullfile .= $nickname; 
         $count++; 
      } 
      // Cache the output to file 
      $fp = fopen($phpbb_root_path.$cachefile, 'w'); 
      fwrite($fp, $fullfile); 
      fclose($fp); 
      $thingydingy = 1; 
    } else { 
    $myuserlist = $lang['IRC_memberlist_offline']; 
    $nickname = ""; 
    $listfile = ""; 
    $count = 0; 
    $users = ""; 
    $thingydingy = 0; 
    } 
} 

if ( $thingydingy == 1 ) { 
    // Remove , from end 
    $users = ereg_replace(', $', "", $users); 
    $myuserlist = $lang['IRC_memberlist']." <b>$count</b><br />\n$users"; 
    $myuserlist; 
}

#-----[ FIND ]------------------------------------------ 
#
'L_MARK_FORUMS_READ' => $lang['Mark_all_forums'],
#
#-----[ AFTER, ADD ]------------------------------------------ 
#

	// PJIRC MOD w/Channel Userlist & Count Integrations
	'MYUSERLIST' => $myuserlist, $nickname, $listfile, $count, $users,
	
#
#
#-----[ OPEN ]--------------------------------------------------
#
chat.php
#
#-----[ FIND ]---------------------------------------------------
#
     'PJIRC_MOD_VERSION' => $pjirc_config['irc_mod_version'],
#
#-----[ AFTER, ADD ]------------------------------------------
#

     'MYUSERLIST' => $myuserlist,
#
#-----[ OPEN ]--------------------------------------------------
#
language/lang_english/lang_main.php
#
#-----[ FIND ]---------------------------------------------------
#
$lang['IRC_disabled'] = '<b>Our chat room is currently closed.</b> Please try again later.';
#
#-----[ AFTER, ADD ]------------------------------------------ 
#

$lang['IRC_memberlist'] = 'Users chatting:'; 
$lang['IRC_memberlist_offline'] = 'Chat status temporarily unavailable'; 

#
#-----[ OPEN ]--------------------------------------------------
#
templates/subSilver/index_body.tpl
#
#-----[ FIND ]---------------------------------------------------
#
	<td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE} &nbsp; [ {L_WHOSONLINE_ADMIN} ] &nbsp; [ {L_WHOSONLINE_MOD} ]<br />{RECORD_USERS}<br />{LOGGED_IN_USER_LIST}
#
#-----[ IN-LINE AFTER, ADD ]---------------------------------
#

<br />{MYUSERLIST}

#
#-----[ OPEN ]--------------------------------------------------
#
templates/subSilver/overall_header.tpl
#
#-----[ FIND ]---------------------------------------------------
#
<a href="{U_CHAT}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_chat.gif" width="12" height="13" border="0" alt="{L_CHAT}" hspace="3" />{L_CHAT}</a>&nbsp;
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
# Note: You can add this anywhere, in any template file or however many times you'd like. 
#          Be sure to change the "NICKNAME" to your registered Blitzed.org nickname.
#

<br />Support Status Indicator:&nbsp;<img src="http://www.blitzed.org/online.phtml?nick=NICKNAME&style=picture" alt="Blitzed Status Indicator">

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ 
# 
# EoM

User avatar
wizard james
Registered User
Posts: 366
Joined: Sun Nov 14, 2004 5:43 am

Re: [BETA] PJIRC chat

Post by wizard james » Thu Feb 21, 2008 1:15 am

If you got a request, you can PM me with it, and il see what i can do.
Join me at ##phpbb-chat on irc.freenode.net

TLab3000
Registered User
Posts: 2
Joined: Mon Mar 03, 2008 8:25 pm

Re: [BETA] PJIRC chat

Post by TLab3000 » Thu Mar 13, 2008 2:22 pm

wizard james wrote:MOD Title: PJIRC chat mod

Looking for a chat icon
There you go... though it's nothing special:
Image
or
Image

Both are meant for prosilver, of course.

Uhm, while I'm at it - is there a way to allow guests to use pjirc?

Cheers

Timo

User avatar
wizard james
Registered User
Posts: 366
Joined: Sun Nov 14, 2004 5:43 am

Re: [BETA] PJIRC chat

Post by wizard james » Fri Mar 14, 2008 12:00 am

Hi, Thank you the images, il repack the mod with it in a bit.

As for letting guests use it. Right now its all in the template, pjirc.html checks to see if its a bot/guest . then redirects them to the login page. Only thing is i am unsure if it was a large site, would need a random gernarator for numbers behind "guest". That would easily go into the php file. I will look at that.
Join me at ##phpbb-chat on irc.freenode.net

JackS08
Registered User
Posts: 4
Joined: Sun Mar 30, 2008 10:51 am

Re: [BETA] PJIRC chat

Post by JackS08 » Sun Mar 30, 2008 10:58 am

Hi. This is a great mod, from what I've seen, and I'd like to get it installed on my forums. However, that's where I come to a dead end.

I really have no knowledge of installing mods on phpbb myself and have not been able to gather enough helpful information to try and do so. I took a look at this thread, which would be a great help, but I don't see any kind of install notes in the PJIRC Mod folder and I'm at a loss as to how to start installing it.

Any help would be appreciated!

Thanks!

User avatar
noth
Registered User
Posts: 2481
Joined: Fri Jan 07, 2005 7:10 pm
Location: North Surrey
Contact:

Re: [BETA] PJIRC chat

Post by noth » Sun Mar 30, 2008 11:25 am

I had a huge problem with the common.php in en :(

this raised multiple errors across the top on running the forum

so I just didn't do the edits to common.php at all

ran the mod without common.php being altered and it was fine!! 8-) looks good but .... no smilies

never mind - works well and quick too :P

it was far far easier to mod than the phpBB2 version - when the author says 6 minutes - HE MEANS IT :mrgreen:

JackS08
Registered User
Posts: 4
Joined: Sun Mar 30, 2008 10:51 am

Re: [BETA] PJIRC chat

Post by JackS08 » Sun Mar 30, 2008 11:54 am

Ok, I don't know if that post was aimed at me, but that's raised another question:

What/Where is the 'common.php' file?

Locked

Return to “[3.0.x] Abandoned MODs”