vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Chat Modifications - Flashchat 6 Integration for vBulletin 4.x (https://vborg.vbsupport.ru/showthread.php?t=231184)

thunderclap82 05-06-2011 03:52 PM

There is an AJAX plug-in for Flashchat that I'm trying to get working so people on non-flash devices can access it. Unfortunately, modifying the configuration file is a bit over my head and I thought either the author of this mod or someone with more coding experience could help. (I hope I'm not hijacking this thread; I thought it might benefit all of us.)

This requires the official AJAX mod found on the tufat site.

The first step seems to be the same for all boards: rename user.js to user.php. You then need to modify the ajax.tpl file in the templates folder.

Find:
Code:

<script type="text/javascript" src="js/user.js"></script>
Replace with:
Code:

<script type="text/javascript" src="js/user.php"></script>
This is where I get lost. You now need to modify the user.php file.

Here is what I have. I've designated my (few) changes:

Code:

<?php /* I added */

/*
  (c) 2006 TUFaT.com. All Rights Reserved
*/

/* user object */

function User () {
  this["uid"]            = $userid; /* I added */
  this["login"]          = $username; /* I added */
  this["password"]        = null;
  this["room"]            = 0;
  this["role"]            = 0;
  this["color"]          = "ffffff";
  this["state"]          = 1;
  this["gender"]          = "U";
  this["photo"]          = "";
  this["tz"]              = -180;
  this["lang"]            = config["defaultLanguage"];
  this["ignored"]        = false;
  this["loginInProgress"] = false;
  this["privateWin"]      = null;
}

?> /* I added */

Now, all the other board that have gotten this working have additional code prior to the /* user object */ portion, though I have no idea what should be added for vB. Does the author of this mod or someone who knows coding like to take a stab?

Again, if it's inappropriate for me to post here I apologize. Let me know and I will make it it's own thread, or I will ask a mod to move it. I just thought it could be beneficial for all who use it.

Paul M 05-06-2011 10:25 PM

I dont mind you asking, but personally I cannot help you - ive never used the ajax plugin.

Chase 06-10-2011 08:16 PM

Does anyone know if Flashchat 6 is still available for purchase thru tufat?

Stefan118 06-10-2011 10:51 PM

in january it was...
just $5,00 and you can download 2 versions.

If you download...
There is no support anymore for the chat by the creator.

There is a bug in it with the status change in the chat.

Took me a couple days to find the cure.
You can PM me and I will mail it to you.

Paul M 06-10-2011 11:54 PM

Quote:

Originally Posted by Chase (Post 2205966)
Does anyone know if Flashchat 6 is still available for purchase thru tufat?

Flashchat is free, and has been for at least the last two years.

Stefan118 06-11-2011 08:32 PM

Quote:

Originally Posted by Paul M (Post 2206023)
Flashchat is free, and has been for at least the last two years.

Not that i need it anymore, but where can you download it free?
I mean... when i go to tufat.com, it says $5,00
Sure, you can download the FREE version, but my opinion is that there are some important things missing.

http://www.tufat.com/s_flash_chat_chatroom.htm

Ok, i know you can download it NOT legaly, but i thought this was the official website.

Paul M 06-11-2011 09:04 PM

Simply download the Free version on the link you posted.

All the $5 gets you is the source code, which is of no use to 99% of people.

Chase 06-12-2011 12:19 AM

I assume the free version would work fine with vb4 and this mod?

Paul M 06-12-2011 10:34 AM

As far as I know it still works. I dont actually use it any more.

yesfans 06-30-2011 08:59 PM

I get SPAM ALERT MESSAGES if I type too many messages to faast, how do I turn that off?

yesfans 06-30-2011 09:00 PM

next to my name/time it says UNDEFINED. What does that mean, how to get rid of it?

yesfans 06-30-2011 09:59 PM

is there a script/code to put a WHO IS IN CHAT on my forums front page, 4.1.4 version.

lild100 08-15-2011 11:54 PM

Is there a way to have a number next the title Chat Lounge.. i.e if 5 people are in the chat lounge it will become chat lounge (5)

Any ideas guys please help i want this

Dan

EdQ 08-23-2011 12:40 AM

Quote:

Originally Posted by Chris-777 (Post 2183618)
"FlashChat was unable to detect your MySQL login setting from the vBulletin 4.0 configuration file. "

I saw that one other person has this error. Has anyone else sorted it out? My users use the hell out of my chat room, and there doesn't seem to be many other options out there.

I am getting that issue now. Oh well.

Rahstyles 08-24-2011 02:20 AM

Hey does this work for 4.1.5?

EdQ 08-24-2011 02:43 AM

Quote:

Originally Posted by Rahstyles (Post 2237256)
Hey does this work for 4.1.5?

It doesn't work for me.

Rahstyles 08-24-2011 02:46 AM

Quote:

Originally Posted by EdQ (Post 2237260)
It doesn't work for me.

What problems are u getting?

EdQ 08-24-2011 03:11 AM

Quote:

Originally Posted by Chris-777 (Post 2183618)
"FlashChat was unable to detect your MySQL login setting from the vBulletin 4.0 configuration file. "

I saw that one other person has this error. Has anyone else sorted it out? My users use the hell out of my chat room, and there doesn't seem to be many other options out there.

Quote:

Originally Posted by Rahstyles (Post 2237263)
What problems are u getting?

Same as above

John Lester 08-26-2011 04:45 AM

Quote:

Originally Posted by Rahstyles (Post 2237256)
Hey does this work for 4.1.5?

Yes although the "undefined" bug (all chats are preceeded by undefined) is present on my install.

basilrath 08-26-2011 07:22 AM

Use the earlier chat tufat system it has less bugs and the "undefined" is not present

Rahstyles 08-29-2011 10:23 AM

Acsually its working on my site

k6rikko 09-12-2011 02:56 AM

Hi all, i run Vbulletin 4.1.5 and have integrated the flashchat over this plug in here. The problem is i have changed the default style and works fine if i log in over the chat direct. If i use the log in over vbulletin so the style is the same but in blue <.< this drives me crazy. blue doesnt fit my page style :rolleyes:

I have attached 2 pics from the prob. Any chance to correct this ? I would be sooo happy if someone can help me with this :)

1st pic shows over direct chat log in but i need this over vb log-in too
https://vborg.vbsupport.ru/

2nd pic shows wrong styling over vb log-in
https://vborg.vbsupport.ru/


many thanks all , have a good time :up:

greets Rikko

lild100 09-12-2011 04:41 PM

Is there a way to have a number next the title Chat Lounge.. i.e if 5 people are in the chat lounge it will become chat lounge (5)

Any ideas guys please help i want this

Dan

k6rikko 09-14-2011 05:56 PM

No idea ? Please :( its really important to fit the style on the board

k6rikko 09-25-2011 11:31 AM

Problem not solved yet <.< No one here where can help. I know i be stressing but its really important thats the prob :/

Lostboyfan 10-07-2011 09:56 PM

Installed. Works great Btw is there a way to make this so that it can open in a popup window. My members have been asking me that question.


All times are GMT. The time now is 04:58 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.01506 seconds
  • Memory Usage 1,776KB
  • 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
  • (3)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (26)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete