[ABD] AJAX 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.
User avatar
zentauriom
Registered User
Posts: 76
Joined: Sun Jun 22, 2008 1:09 pm
Location: Landau in der Pfalz
Contact:

Re: [RC] AJAX Chat

Post by zentauriom »

Please could anyone tell me about the CODE to have a LOOK like the Shoutbox from joebart72.

Got the Smilie and BBcodes allready from him.
Thank you joebart72 8-)

I mean like:
to erase Messages (Admin) in the Shoutbox, and not logged on the Chat.
And the Background shown in White and Light Grey for the Messages to display.
Also a Scrollbar.

I would be very happy about the Code.

Thank you Guys :mrgreen:


Image
User avatar
easygo
Registered User
Posts: 689
Joined: Sun Oct 31, 2004 4:23 pm
Contact:

Re: [RC] AJAX Chat

Post by easygo »

No, that's not my party dude! Why not keep on doing it via PM with him :?:
Casual developer for AJAX Chat on behalf of the author / Arcade Center powered by phpBB Arcade

A problem well put is half solved. (John Dewey, 1859–1952)
User avatar
rfforum
Registered User
Posts: 136
Joined: Tue Nov 18, 2008 10:00 am

Re: [RC] AJAX Chat

Post by rfforum »

easygo wrote:Try this one

Code: Select all

<!-- IF S_USER_LOGGED_IN and (U_MCP or U_ACP) -->
Put your chat related code here
<!-- ENDIF -->
and place it at the end of the index_body.html right before

<!-- INCLUDE overall_footer.html -->

Regards

I also Want to put the whole box there ( not just a test box, and such, the whole chatbox I need at the bottom, I used the phpbb3 integration and it only shows txt box and and the txt, no graphics.
Image
Click the PIC ^^^^ to check out my site.
you get a great site if you click on the link
http://tectonicz.forumotion.net
joebart72
Registered User
Posts: 743
Joined: Thu Feb 01, 2007 5:54 am

Re: [RC] AJAX Chat

Post by joebart72 »

zentauriom wrote:Please could anyone tell me about the CODE to have a LOOK like the Shoutbox from joebart72.

Got the Smilie and BBcodes allready from him.
Thank you joebart72 8-)

I mean like:
to erase Messages (Admin) in the Shoutbox, and not logged on the Chat.
And the Background shown in White and Light Grey for the Messages to display.
Also a Scrollbar.

I would be very happy about the Code.
Do like me : Link your CSS to your style so, you upload shoutbox.css into styles/your style/theme. Then you edit stylesheet.css and change for this :

Code: Select all

@import url("shoutbox.css");
No, you can for each style modify shoutbox.css like you want.

Arrow Style :

Image

Dark Style :

Image

BlackDiamond Style :

Image

It's very easy ;)
I learn English with phpbb.com :)
User avatar
muggins
Registered User
Posts: 1183
Joined: Fri Feb 22, 2008 5:12 pm
Location: Texas
Name: Donovan
Contact:

Re: [RC] AJAX Chat

Post by muggins »

joebart72 wrote:
zentauriom wrote:Please could anyone tell me about the CODE to have a LOOK like the Shoutbox from joebart72.

Got the Smilie and BBcodes allready from him.
Thank you joebart72 8-)
joebart72, I have looked through the chat code, but I am lost... Would you be kind enough to post or PM me the smilies and BBcode changes and additions you made? I would like to use my own smilies, too!
Muggins
joebart72
Registered User
Posts: 743
Joined: Thu Feb 01, 2007 5:54 am

Re: [RC] AJAX Chat

Post by joebart72 »

Done ;) I can tell you (for the shoutbox) that with IE 7, smilies are not displayed correctly if you add some. With Firefox, that's OK and with IE 8 too : Smilies go to line.

To add your own smilies, the tip has been given a few pages before...

http://www.phpbb.com/community/viewtopi ... 0#p7169885

(Sorry for my bad "Texan", I'm French :lol: ).
I learn English with phpbb.com :)
User avatar
muggins
Registered User
Posts: 1183
Joined: Fri Feb 22, 2008 5:12 pm
Location: Texas
Name: Donovan
Contact:

Re: [RC] AJAX Chat

Post by muggins »

Merci, pardner. :D
Muggins
User avatar
zentauriom
Registered User
Posts: 76
Joined: Sun Jun 22, 2008 1:09 pm
Location: Landau in der Pfalz
Contact:

Re: [RC] AJAX Chat

Post by zentauriom »

joebart72 wrote:
zentauriom wrote:Please could anyone tell me about the CODE to have a LOOK like the Shoutbox from joebart72.

Got the Smilie and BBcodes allready from him.
Thank you joebart72 8-)

I mean like:
to erase Messages (Admin) in the Shoutbox, and not logged on the Chat.
And the Background shown in White and Light Grey for the Messages to display.
Also a Scrollbar.

I would be very happy about the Code.
Do like me : Link your CSS to your style so, you upload shoutbox.css into styles/your style/theme. Then you edit stylesheet.css and change for this :

Code: Select all

@import url("shoutbox.css");
No, you can for each style modify shoutbox.css like you want.

Arrow Style :

Image

Dark Style :

Image

BlackDiamond Style :

Image

It's very easy ;)
Hi joebart72

done that, but nothing happens?
The Shoutbox looks lioke before, only thing missin is the LOOK :oops:
gr00vytunes
Registered User
Posts: 58
Joined: Sat May 03, 2008 1:53 pm

Re: [RC] AJAX Chat

Post by gr00vytunes »

Many Apologies if this has been answered.. I have the latest and greatest version freshly installed after download today! Im running phpBB 3.0.4

Followed the easy install guide everything went smooth, i removed the install.php file and navigated my way to the chat/index.php and I was presented with the log in screen wahoo!

I logged in with my phpBB username and password, went through to the login successful msg from phpBB and for a brief second I saw the crown jewels but I was redirected to the login screen doh! Next Ijust logged in as a guest and it all worked!!

Any ideas why I can't log in as myself under phpBB username? I saw something about sessions cookies on here so I purged my cache and cleared all board cookies but it still doesn't solve it!

I look forward to your response

Kind Regards

gr00vy
jimcarrel
Registered User
Posts: 671
Joined: Fri Jul 27, 2007 10:49 pm
Location: Oklahoma City, Oklahoma

Re: [RC] AJAX Chat

Post by jimcarrel »

gr00vytunes,

In chat/lib/config.php, about line 60, you will find:

Code: Select all

// Session name used to identify the session cookie:
$config['sessionName']
You have to get your session cookie from inside APC of phpBB3, and put your session cookie name in the appropriate place.

So that it looks like this:

Code: Select all

// Session name used to identify the session cookie:
$config['sessionName'] = 'phpbb3_n4xay';
using your correct cookie name, of course.
Grace--Getting what I don't deserve
Mercy--Not getting what I do deserve
gr00vytunes
Registered User
Posts: 58
Joined: Sat May 03, 2008 1:53 pm

Re: [RC] AJAX Chat

Post by gr00vytunes »

Thanks for that... I had to change the Cookie Domain aswell in phpBB due to running in a local test environment and now all is well!

I added a link to the chat in my rainbow pearl style

<a href="./chat">Chat Room</a>

At it navigates to that page... but how can I get it to popup in a window?

Thanks for your help!
jimcarrel
Registered User
Posts: 671
Joined: Fri Jul 27, 2007 10:49 pm
Location: Oklahoma City, Oklahoma

Re: [RC] AJAX Chat

Post by jimcarrel »

Code: Select all

<a href="./chat" target="_blank">Chat Room</a>
that should make new window in IE but in Firefox you would have to right click link and choose "open in new window" or Firefox will put it in a new tab. I don't know how to make Firefox do otherwise.
Grace--Getting what I don't deserve
Mercy--Not getting what I do deserve
User avatar
muggins
Registered User
Posts: 1183
Joined: Fri Feb 22, 2008 5:12 pm
Location: Texas
Name: Donovan
Contact:

Re: [RC] AJAX Chat

Post by muggins »

Try something like this:

Code: Select all

<a href="./chat" onclick="popup(this.href, 750, 500); return false;">Chat Room</a>
Tweak the two numbers for the width and height of your pop-up window...
Muggins
gr00vytunes
Registered User
Posts: 58
Joined: Sat May 03, 2008 1:53 pm

Re: [RC] AJAX Chat

Post by gr00vytunes »

nice one muggins... worked a treat!
User avatar
muggins
Registered User
Posts: 1183
Joined: Fri Feb 22, 2008 5:12 pm
Location: Texas
Name: Donovan
Contact:

Re: [RC] AJAX Chat

Post by muggins »

;)
Muggins
Locked

Return to “[3.0.x] Abandoned MODs”