Webchat Integration Webchat Integration
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Webchat Integration

Started by yancho, May 02, 2006, 12:56:57 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

yancho

Hi I am trying to integrate a webchat script within the available options on the menu. This is the code of the webchat script : http://www.mepa-clan.info/webchat.php // script code : http://pastebin.com/693876


Can you please try to tell me how to integrate it? I am sure that this can be done since I followed a tutorial and managed to integrate ViPer Guestbook to Coppermine.

thanks alot

[removed invalid tag - Thu]

Tranz

I'm not sure what you mean. Do you just want to add a link to the gallery menu, or do you need help creating a page that integrates the chat script?

yancho

#2
Integrate it to the site - so as to have same layout and get a link in the menu :)

PS - why was this thread flagged as invalid?

Joachim Müller

I flagged this thread as "invalid" because you request support for something unrelated to coppermine. Changing the visual appearance of a third-party app like a chat definitely is not related to coppermine.

Tranz

The chat code seems simple enough to put into a Coppermine templated page. Haven't tested, but create a new file for your chat file, like chat.php

In it, put:
<?php 
define
('IN_COPPERMINE'true);
require(
'include/init.inc.php');

pageheader('Web Chat');
{
chat code}
pagefooter(); 
?>


Replace {chat code} with the code from here: http://pastebin.com/693876, minus the redundant html stuff that is already in Coppermine, like head, html, body, etc.

For adding a link, check out the stickies in the themes board.

If you want to get fancy, you could even get the login info from Coppermine.

If you do fulfill this, it would be nice to share the completed code with the community.

yancho

#5
Thanks alot for support :)

Integration worked perfectly - even login (didn't touch it and worked :D)

do u require me to paste my code?

Tranz

It's not a requirement, but would be a nice gesture to give back to the community that has given you Coppermine gallery for free. ;)

If you decide to share, you could create a new thread, which could be moved to the Mods/Hacks board.

yancho

I can't start new threads :|

Tranz

You can't start threads in the mods board as a regular user. You can start the thread in a support board that matches the topic of your thread, and a moderator will move the thread to the mods board.

yancho

#9
ok thanks :)

Edit - can you please start the thread yourself since when I press POST it's not doing it :\ really don't know why .. paste all from pastebin.com : http://pastebin.com/696294

Tranz


yancho

thanks alot .. it looks like i have a problem with "big" posts :| canot reply in long wordings hehe

Tranz

Some of us having trouble posting on different computers. There is a thread about it in the announcements board.