vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   AJAX Chat Integration (https://vborg.vbsupport.ru/showthread.php?t=167513)

mark99 01-11-2008 12:14 PM

AJAX Chat Integration
 
I wasn't very happy with any of the current vBulletin AJAX Chat mods listed on here but I did manage to find this one, which contains partial vB integration (not listed here, that I can see):

https://blueimp.net/ajax/

However I've no idea how to implement the "online users" code and the author suggested I ask on a vB site. The code itself is listed here:

https://blueimp.net/forum/viewtopic.php?f=19&t=469

SABRSox 04-07-2008 09:18 PM

I'm also looking for this as well. The wiki for the project lists this solution for phpbb3, and the author says it should be able to work for vB with some modifications. I'm not terribly familiar with vB code, and was wondering if somebody could tackle this. I'd greatly appreciate it.

http://ajax-chat.wiki.sourceforge.ne...ine+chat+users

skariko 04-17-2008 09:38 AM

I'm also looking for this!

WEBDosser 04-17-2008 10:05 AM

interesting..

bulldog71169 06-29-2008 12:26 AM

Hmmm... months later and still no answer on this question?

Ramsesx 11-07-2008 07:51 AM

Tried several hours yesterday to get an online list but with no success.
It would be nice if somebody could get this done, I'm wondering that this chat isn't used by many people.
It is very easy integrated in vbulletin, only upload files via ftp, click on install and everything is done.

cindy helmond 11-20-2008 07:45 PM

i have working this nice chat on my board but only the registered users can login but can you make it like flashchat that you open the chat in the forums ? i have now a new window _blank

thx

MTGDarkness 12-31-2008 11:49 PM

Bumping this? I would also really love to see a solution to this.

Jaydee 2 01-01-2009 06:41 PM

I#M also looking for AJAX "Online User" in vB.
Tried this today, but seems to be difficult. There are some Integration for MK-Portal, phpBB etc., but i can't change it to vB... only Errors.

(Same Question you'll find at German vbulletin-g.org)

Any Idea?

Jaydee 2 01-06-2009 09:35 AM

Ok Folks, now you can abandon the search. :D

The Solution you'll find here in the German Add-on Forum:

http://vbulletin-germany.org/showthr...?t=5081&page=1

Works great, and you can change the Phrases as you like it.
Have Fun! :)

ragtek 01-06-2009 09:38 AM

Hi
it's planed to release it also on vb.org.

MTGDarkness 01-06-2009 01:52 PM

Lame, I have to register there too?
*is lazy*

Oh well. No big deal. Thanks. :)

gorentals 01-08-2009 12:39 AM

Is this only for German users?

Quote:

Originally Posted by Jaydee 2 (Post 1703103)
Ok Folks, now you can abandon the search. :D

The Solution you'll find here in the German Add-on Forum:

http://vbulletin-germany.org/showthr...?t=5081&page=1

Works great, and you can change the Phrases as you like it.
Have Fun! :)


ragtek 01-09-2009 09:45 AM

hi
atm yes!
But, today morning i've released Version 1.4 which means that all bugs are fixed and all wishes wear implemented.
I hope that i can translate it this weekend, beginn of next week, so that i can release it soon as possible here on vb.org

Jaydee 2 01-09-2009 11:07 PM

Quote:

Is this only for German users?
Not really. :) There are 4 different official vBulletin Boards, and with your License you can register in all of them.
If you don't wanna wait until the english Version- Release, you can download a Add-on/Modification also in the German-Area.
Same way i'm from Germany and nevertheless a member oft this (english) Board. :)

Daryn 01-16-2009 10:22 PM

Good stuff. I'll be waiting on the english version.

Saviour 01-28-2009 02:57 PM

"Ditto"...waiting for the English version...

Allan 01-28-2009 04:23 PM

Total integration with vBulletin (french tutorial)

Demo: http://www.vbulletin-ressources.com/...&template=chat (you must registered)

Daryn 03-09-2009 04:13 AM

Hey, whatever happened to the English version of the addon?

gundarN 05-25-2009 09:23 AM

I've got the German version working on my English board; but I don't know how to change the display text from German to English:
"Es ist 1 User im Chat"

ragtek 05-25-2009 10:01 AM

Quote:

Originally Posted by Daryn (Post 1763754)
Hey, whatever happened to the English version of the addon?

if you mean my add-on:
never find the time to translate everything and to release it here:(

paphmad 06-13-2009 12:17 PM

Can you just post the files over here as they are? I'm fine with a german version, I just want a version that works!
I can't seem to register or log onto the german site, even though i've set the right settings over at vbulletin.com


Please please pleas

:(

ragtek 06-13-2009 12:19 PM

I don't think that the team here will give a ok for it, but you can download it from vb-germany without problems

paphmad 06-13-2009 12:53 PM

Quote:

Originally Posted by ragtek (Post 1828928)
I don't think that the team here will give a ok for it, but you can download it from vb-germany without problems

I've tried, my german is "ok" but even with babelfish i can't seem to register or log on.
And you can't download the zip without being logged on :(

I'm having the same trouble with the french site too, vbulletin.org was no problem though.

[S]You guys might be the best ones to ask this, I have tried to install the package, (using Allan's method above)
it says it's been installed, asks me to delete the install.php files which I do.

But when I try to load the chat/index.php all I get is this

Query: SELECT userID, userName, userRole, channel, UNIX_TIMESTAMP(dateTime) AS timeStamp, ip FROM ``.ajax_chat_online ORDER BY userName; Error-Report: Incorrect database name '' Error-Code: 1102

Am I doing something really really stupid? :([/S]

Ok ignore all that, I was being stupid, hadn't used the correct settings in config.php
Got AJAX chat working perfectlyon my site.

hbalagh1 08-11-2009 09:33 PM

I finally got the french translation version working w/ lots of use of google translator

zetetic 09-06-2009 01:33 AM

FAIL! I registered at that German forum to get the add-on and still get "permission denied" when I try to download it. :mad:

MGP_Tech 09-26-2009 04:19 PM

Having a way to integrate Ajax with vbulletin would be awesome. I'm not looking for anything super fancy, just make it so that users don't have to log in with a second login information...

Anyone had luck on making an english version?

NTMID8 09-27-2009 03:37 AM

Quote:

Originally Posted by camarilladee (Post 1890904)
Having a way to integrate Ajax with vbulletin would be awesome. I'm not looking for anything super fancy, just make it so that users don't have to log in with a second login information...

Anyone had luck on making an english version?

I second this... maybe someone who got it working could write up some English instructions?

lodac 04-02-2010 05:16 PM

I really am not concerned with the 'intergration' into the templates, however my members called for a Who's In Chat feature, like the one created for Flashchat on vB4.

I have created one off looking at how Who's In Flashchat 6. It is still not completed, however I am using it on my forum and will work on finishing it up today. I have yet to create a vB4 Mod, so packaging it will come and go.

You can see what I am talking about here:

Whats Going on: http://www.r6live.com/forum.php
Above Forums: http://www.r6live.com/welcome-center/
Above Search: http://www.r6live.com/search.php?do=...e=vBForum_Post

Still working on it, and customizing the templates and options

Tigatoday 07-09-2010 02:23 PM

Hi.

I installed Ajax Chat 0.8.3 on my forum with vbulletin 3.8.4 and its running perfect but before I used Cyb Chatbox as shoutbox on my forumhome just below de navbar and I liked that a lot.

The readme file of ajax chat says

Quote:

Shoutbox:
=========

AJAX Chat is also usable as shoutbox - this is a short guide on how to set it up:


1. Shoutbox stylesheet
----------------------

Add the following line to the stylesheet (CSS) of all pages displaying the shoutbox:

@import url("http://example.org/path/to/chat/css/shoutbox.css");

Replace http://example.org/path/to/chat/ with the URL to the chat.
Modify css/shoutbox.css to your liking.


2. Shoutbox function
--------------------

Add the following function to your PHP code:

<?php
function getShoutBoxContent() {
// URL to the chat directory:
if(!defined('AJAX_CHAT_URL')) {
define('AJAX_CHAT_URL', './chat/');
}

// Path to the chat directory:
if(!defined('AJAX_CHAT_PATH')) {
define('AJAX_CHAT_PATH', realpath(dirname($_SERVER['SCRIPT_FILENAME']).'/chat').'/');
}

// Validate the path to the chat:
if(@is_file(AJAX_CHAT_PATH.'lib/classes.php')) {

// Include Class libraries:
require_once(AJAX_CHAT_PATH.'lib/classes.php');

// Initialize the shoutbox:
$ajaxChat = new CustomAJAXChatShoutBox();

// Parse and return the shoutbox template content:
return $ajaxChat->getShoutBoxContent();
}

return null;
}
?>

Make sure AJAX_CHAT_URL and AJAX_CHAT_PATH point to the chat directory.


2. Shoutbox output
------------------

Display the shoutbox content using the shoutbox function:

<div style="width:200px;"><?php echo getShoutBoxContent(); ?></div>
But to be honest I have no clue which files to change with above instructions. So my question is: does anybody know in which files I should paste step one, the stylesheet, in which file and where I should put the function and where exactly to put the output string?

I've searched a lot in many forums but didn't find the solution untill now.

Thanks a lot for your help!!

draver 08-09-2010 08:54 PM

Quote:

Originally Posted by lodac (Post 2014738)
I have yet to create a vB4 Mod, so packaging it will come and go.

That looks good. Can i download that mod for VB4?

Drake Splinter 01-13-2011 09:50 AM

Sorry to reanimate a zombie thread, but I'm wondering if anyone was able to get this working, with user integration/bridge and shoutbox? My users loved having this chat back when we were still on phpBB, but the feature was lost after moving to vbulletin since blueimp doesn't seem to offer any vb support. I've tried other ajax-based chats for vbulletin, but they "just aren't the same."

I know this is a vb3 section, but I'd also like to know if anyone has been able to get this working on vb4.

StinkBuddies 08-06-2011 02:05 AM

Did anyone every make this work for VB 4?

ICThawk 09-01-2011 02:14 PM

For those trying to do this with vB4 I have started a thread

https://vborg.vbsupport.ru/showthread.php?t=269509

I have put together a few pieces to the integration puzzle and am working on the last.

intp 02-28-2012 02:39 PM

I have ajax chat connected to my vBulletin forum. Both are running from the same server right now.

I would like to move ajax chat to a different server to reduce CPU load but still integrate with the vBulletin user logins. I know how to access the database remotely but the question is how can I do user authentication for chat if not on the same server as vb?


All times are GMT. The time now is 05:20 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01374 seconds
  • Memory Usage 1,807KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (35)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete