Hy

i need this modul for drupal 6.x can you fix it please ? i have edited the pjirc.info so i can see and activate it in drupal 6 but nothing works

please update or tell how must i change in pjirc.module

please, please, please

CommentFileSizeAuthor
#2 pjirc_head_6.patch25.46 KBsnufkin
#1 pjirc.patch3.34 KBTheCrow

Comments

TheCrow’s picture

StatusFileSize
new3.34 KB

I have upload the patch for Upgrade Pjirc from last 5.x-1.2 version to 6.x branch. This code is tested under Drupal 6.2.

A change is needed too for pjirc.info:

name = pjirc
description = Embeds the PJRIC client into drupal
core = 6.x

; Information added by drupal.org packaging script on 2007-03-31
version = "6.x-1.2"
project = "pjirc
snufkin’s picture

Version: 5.x-1.2 » master
Status: Active » Needs review
StatusFileSize
new25.46 KB

Here is an updated patch against HEAD with the new PJIRC package, could you roll a release please?

niallhatton’s picture

Hey,

I really need some urgent help getting JIRC into Drupal 6. Im having a bit of a hard time getting it to work. Any help is much apprecaited. MSN/email : neo@krisisdnb.co.uk

Cheers

Niall

snufkin’s picture

Just apply the patch i posted and it'll work.

TheCrow’s picture

@snukfin

did u tried my patch before post your? Your introduce some error in french.lng file and some change about anonymous user is questionable. Anyway better to patch the last release than a head version for dont lose the progress, many developer dont use head branch :))

snufkin’s picture

I used that as a start, but I added the up-to-date pjirc files, so that error is theirs.

Re HEAD: that would be still bad coding practice, not like it really matters with this module though.

niallhatton’s picture

I would apply the patch but im having trouble working out how, I have looked it up of course, and it seems I need to merge the codes from existing module and patch, I downloaded somthing called Tortoise SVN, but im not developer and this just really confused me. Is there anything out there someone with little coding knowledge can use?

Kind Regards and thanks for your patience :)

Niall

niallhatton’s picture

I would apply the patch but im having trouble working out how, I have looked it up of course, and it seems I need to merge the codes from existing module and patch, I downloaded somthing called Tortoise SVN, but im not developer and this just really confused me. Is there anything out there someone with little coding knowledge can use?

Kind Regards and thanks for your patience :)

Niall

vm’s picture

niallhatton’s picture

After patching, I decided to not used the module lol, instead i just embedded the code from my exisiting site and changed the code a bit. Ive got it working with regards to using the logged in Drupal username but I can not work out how to send the users drupal password to my chat server. the code ive tried to use is


<?php
global $user;

$secret_password = md5($user->pass);
?>
.
.
.
<param name='command1' value='/msg nickserv identify <?php print $secret_password; ?>'>

all this seems to be doing is sending the MD5 hash to nickserv not the actual password. There must be a way to check the REAL password as obviously Drupal does this on each user login. Maybe ive not got my head around this as well as I need to.

All help is appeciated :)

Kind Regards
Niall

snufkin’s picture

Drupal does not store the plain text password, it stores the hash instead, and compares the hash of the user entered value with the stored one.

ruharen’s picture

Component: Miscellaneous » Code
Assigned: Unassigned » ruharen

Expect news shortly about D6 compatibility.

In other hand, please, this issue is about porting pjirc module to D6. Avoid other topics. Please open another issue instead.

ruharen’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.