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)

txsbmw 07-16-2010 12:05 AM

The auto login is not working for me. It comes up with invalid username or password. Click ok and it will come up with a login screen. I enter my username and password there and it will log me in. Any ideas? I have the latest version of this mod installed and VB 4.0.3 and Flashchat 6.0.5

Paul M 07-16-2010 02:14 PM

Nope, I could only take wild guesses without the necessary access. See the purple support note. :)

RedHacker 07-16-2010 06:51 PM

I have many warnings in the vBulletin 4.0.5 and i cant run the flashchat

Cybeth 07-17-2010 08:39 AM

Hi Paul,

it seems a problem with. htaccess and giving 4.0.5 and FlashChat 6.0.8

Fatal error: Call to a member function hasNext() on a non-object in /is/htdocs/wp1115513_O6EB71KY5I/www/rabenforum/chat/inc/cmses/vbulletin40CMS.php on line 37

I delete .htaccess, it works

.htaccess
HTML Code:

# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On

# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums/)
#RewriteBase /

RewriteCond %{HTTP_HOST} !^www\.rabenforum\.de
RewriteRule (.*) http://www.rabenforum.de/$1 [L,R=301]

RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php [L,QSA]


cam2 07-20-2010 02:42 AM

Quote:

Originally Posted by txsbmw (Post 2069771)
The auto login is not working for me. It comes up with invalid username or password. Click ok and it will come up with a login screen. I enter my username and password there and it will log me in. Any ideas? I have the latest version of this mod installed and VB 4.0.3 and Flashchat 6.0.5


Hey Paul, any fix for this issue? Seeing the same issue on a test install. Thanks in advance!

Paul M 07-20-2010 11:15 AM

Nope, there is no fix as it works fine for me - whatever your issue is, its local to your set-up.

epic1 07-21-2010 03:59 PM

For anyone getting that [undefined] on messages in the chat, you can remove the [IP] portion in the FlaschChat configuration for Admin messages.

imported_pmay68 07-24-2010 03:31 PM

how can i resize the chat window to be shorter.. On my site I have to scroll up and down to read post after typing a reply or something..

Greeksgal 07-24-2010 09:44 PM

When installing Flash chat do I use the mysql database info that I have the forum on or do I create a new mysql database for the flashchat?

Paul M 07-25-2010 01:48 PM

If you have integrated it correctly, it will extract the info from your config file.

Greeksgal 07-25-2010 08:30 PM

Yeah it did thank you. Was being overly cautious.

Prolly not related to install but I have the chat up and running fine except that one of my Admin can't view the chat, the page just stays blank with the Paul M copyright at the bottom, no login boxes appear but we can see her in the chatroom, she just can't see us.

Would this be an install/integration issue or a problem her side, she's updated flash and cleared cache/cookies/temp? Any info would be appreciated.

Paul M 07-26-2010 11:45 AM

Sounds like an issue with her Browser & Flash.

pportuese 07-27-2010 03:06 PM

Can someone walk me through step by step as how to install this and get it up and running?

DeviantFlash 08-12-2010 09:43 PM

I installed the vbulletin 4.0 integration with no problems.

When I log in as the admin of my board, I dont see any of the Private Message, Invite, Share File, Ignore, or profile section in the pulldown when I click on members names.

Also, the options above the chat input screen ie, Options, color save ? Smilies Bold and italics are missing for admins.

Any thoughts?

I know this is probably a Flashcat issue, but is anyone else having this problem?

Paul M 08-13-2010 01:06 PM

Nope, Ive never had that - definitely sounds like an FC issue tho.

Falcon Capt 08-18-2010 08:51 PM

Hey Paul,

Any idea on this issue??? http://forum.tufat.com/showthread.php?t=65898

I am using your integration (in vB 4.0.6) and the CMS file you supplied, but having the problem. FC 6.0.7 works fine, only have the problem in FC 6.0.8

Paul M 08-18-2010 10:03 PM

Thats a Flashchat problem, nothing to do with VB or integration.

mmoore5553 08-25-2010 05:19 PM

I have followed your instructions and newest flashchat 6.0.8 . I tried to upload your xml file and got this error

XML Error: not well-formed (invalid token) at Line 4

i am unsure what to do at this point. Thank you in advanced.

Paul M 08-25-2010 06:34 PM

Which xml file ? Upload it how ?

mmoore5553 08-25-2010 07:07 PM

the xml from your mod. I downloaded it on first page . Then try to import it in products. I am using 4.0.6 ...

thank you.

Paul M 08-25-2010 10:14 PM

The mod has two xml files, hence asking which file you are trying to import.

mmoore5553 08-26-2010 12:43 AM

odd my download only had one ..let me redownload and try again.

mmoore5553 08-26-2010 12:55 AM

I am sorry it is the flash chat intergration xml file. The other xml file i put in forums include file. I tried to go to import product and hit add and then get error.

mmoore5553 08-26-2010 01:25 AM

odd i download it again and everything is fine. Thanks and love this mod. Paul if you have paypal i will donate to your cause ..just PM me info. Also is there a mod like this for 3.8 , if so which chat version will it work ?

Paul M 08-26-2010 11:09 AM

Quote:

Originally Posted by mmoore5553 (Post 2089629)
odd i download it again and everything is fine. Thanks and love this mod. Paul if you have paypal i will donate to your cause ..just PM me info.

Click on the "Support Developer" link - in the righthand block, main (first) post.



Quote:

Originally Posted by mmoore5553 (Post 2089629)
Also is there a mod like this for 3.8 , if so which chat version will it work ?

There is a F/C 5 integration mod for 3.8, which should also work for F/C 6.

mmoore5553 08-26-2010 11:44 AM

Thanks so much working great now. Also did a small donation.

s810car 09-06-2010 10:03 PM

Good work on this as always, works fine for my site (although I'm gonna want to figure out a way to make links on the embedded page open up a different window so members don't log out by clicking to go to another section).

Just a curious question, maybe I didn't see it so excuse my error if incorrect, but being this is to integrate into VB4, why is there no setup for a navtab? Not an issue for me (I already made my own), but I'd suggest as a possible addition to the hack a optional navtab for a quick link (and visible, biggest issue I've heard on my site was no obvious link to chat before I added the navtab).

Paul M 09-07-2010 06:08 PM

Not sure what you mean by a navtab ?

s810car 09-08-2010 05:08 AM

Quote:

Originally Posted by Paul M (Post 2095143)
Not sure what you mean by a navtab ?


sorry, im thinking of the vBulletin Suite setup, as shown on vbulletin.com's forum here (the bar here is seperate from the actual navbar, which would be right below)
https://vborg.vbsupport.ru/external/2010/09/44.jpg

Like I said, Not a huge thing if one knows how to add themselves, but as the chatroom is such an important part of a lot of the forums out there, I would think most that went with the Suite would use this on their Navtab setup

s810car 09-08-2010 05:27 AM

Its actually easier to even give a example code then explain: To add what I'm talking about (assuming you have the vBulletin Suite), you need to make two additional modifications

1. Under Style Manager, create a new template. I called mine "navbar_chat_navtab" simply so I could group it with the navbar templates. Heres example code to add to the template
HTML Code:

<vb:if condition="$vboptions['selectednavtab'] == 'chat'">

<li class="selected">
    <a class="navtab" href="misc.php?do=flashchat">Chat</a>
                                <ul class="floatcontainer">
                                        {vb:raw template_hook.navbar_start}
                                        {vb:raw template_hook.navbar_after_getnew}
                                        <vb:if condition="$show['pmmainlink']">
                                                <li><a href="private.php{vb:raw session.sessionurl_q}" rel="nofollow" target="_blank">{vb:rawphrase private_messages}</a></li>
                                        </vb:if>
                                        {vb:raw template_hook.navbar_after_pm}
                                        <li><a rel="help" href="faq.php{vb:raw session.sessionurl_q}" target="_blank">{vb:rawphrase faq}</a></li>
                                        {vb:raw template_hook.navbar_after_faq}
                               
                                        <li class="popupmenu">
                                                <a href="javascript://" class="popupctrl">{vb:rawphrase community}</a>
                                                <ul class="popupbody popuphover">
                                                        {vb:raw template_hook.navbar_community_menu_start}
                                                        <vb:if condition="$show['quick_links_groups']">
                                                                <li><a href="group.php{vb:raw session.sessionurl_q}" target="_blank">{vb:rawphrase social_groups}</a></li>
                                                        </vb:if>
                                                        <vb:if condition="$show['quick_links_albums']">
                                                                <li><a href="album.php{vb:raw session.sessionurl_q}" target="_blank">{vb:rawphrase pictures_and_albums}</a></li>
                                                        </vb:if>
                                                        <vb:if condition="$bbuserinfo['userid']">
                                                                <li><a href="profile.php?{vb:raw session.sessionurl}do=buddylist" target="_blank"><vb:if condition="$show['friends_and_contacts']">{vb:rawphrase contacts_and_friends}<vb:else />{vb:rawphrase contacts}</vb:if></a></li>
                                                        </vb:if>
                                                        <vb:if condition="$show['memberslist']">
                                                                <li><a href="memberlist.php{vb:raw session.sessionurl_q}" target="_blank">{vb:rawphrase members_list}</a></li>
                                                        </vb:if>
                                                        {vb:raw template_hook.navbar_community_menu_end}
                                                </ul>
                                        </li>
                                        {vb:raw template_hook.navbar_after_community}
                                        <li class="popupmenu">
                                                <a href="javascript://" class="popupctrl">{vb:rawphrase forum_actions}</a>
                                                <ul class="popupbody popuphover">
                                                        <li>
                                                                <a href="forumdisplay.php?{vb:raw session.sessionurl}do=markread" target="_blank">{vb:rawphrase mark_forums_read}</a>
                                                        </li>
                                                        <vb:if condition="$show['member']">
                                                        <li>
                                                                <a href="profile.php?{vb:raw session.sessionurl}do=editoptions" target="_blank">{vb:rawphrase edit_options}</a>
                                                        </li>
                                                        <li>
                                                                <a href="profile.php?{vb:raw session.sessionurl}do=editprofile" target="_blank">{vb:rawphrase edit_your_details}</a>
                                                        </li>
                                                        </vb:if>
                                                </ul>
                                        </li>
                                        <li class="popupmenu">
                                                <a href="javascript://" class="popupctrl">{vb:rawphrase quick_links}</a>
                                                <ul class="popupbody popuphover">
                                                        <li><a href="subscription.php{vb:raw session.sessionurl_q}" rel="nofollow" target="_blank">{vb:rawphrase subscribed_threads}</a></li>
                                                        <li>
                                                                <a href="javascript://" onclick="window.open(getBaseUrl() + 'misc.php?{vb:raw session.sessionurl}do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">{vb:rawphrase open_contacts}</a>
                                                        </li>
                                                        <vb:if condition="$vboptions['forumleaders']">
                                                        <li>
                                                                <a href="showgroups.php{vb:raw session.sessionurl_q}" rel="nofollow" target="_blank">
                <vb:if condition="$vb_suite_installed">
                        {vb:rawphrase view_site_leaders}
                <vb:else />
                        {vb:rawphrase view_forum_leaders}
                </vb:if>
        </a>
                                                        </li>
                                                        </vb:if>
                                                        {vb:raw template_hook.navbar_quick_links_menu_pos1}
                                                        {vb:raw template_hook.navbar_quick_links_menu_pos2}

                                                        {vb:raw template_hook.navbar_quick_links_menu_pos3}

                                                        <vb:if condition="$show['wollink']">
                                                                <li><a href="online.php{vb:raw session.sessionurl_q}" target="_blank">{vb:rawphrase whos_online}</a></li>
                                                        </vb:if>
                                                        {vb:raw template_hook.navbar_quick_links_menu_pos4}
                                                </ul>
                                        </li>
                                        {vb:raw template_hook.navbar_end}
                                </ul>
                        </li>


<vb:else />
<li><a class="navtab" href="misc.php?do=flashchat">Chat</a></li>
</vb:if>

You'll notice I added the "target=_blank" option to all the link tags that weren't popups, that way it'll leave the chat open and open a different browser tab/window for the link, rather then make you logout (another option would be to open a chatroom thats not style integrated for example your-site/chat/flashchat.php, but that takes away from some of the purpose of this integration hack to begin with).

2. In Plugin Manager, add two plugins.
Under the cache_tamplates hook:
PHP Code:

$cache[] = 'navbar_chat_navtab'

Under the process_templates_complete hook:
PHP Code:

if ((THIS_SCRIPT === 'misc') AND $_REQUEST['do'] == 'flashchat'){
    
$vbulletin->options['selectednavtab'] = 'chat'
}
$template_hook['navtab_middle'] .= vB_Template::create('navbar_chat_navtab')->render(); 

That's pretty much it! here's mine as an example:
https://vborg.vbsupport.ru/external/2010/09/43.jpg

Paul M 09-08-2010 12:14 PM

Ah, ok. I wont be changing that for the moment, but maybe for the 4.1 version (if I release one !).

junaid 09-15-2010 04:22 AM

After uninstalled still admincp vBulletin options there is blank space
How I can remove that space

ranz 09-24-2010 11:24 AM

not sure if this has been said here - (and yes, I did search) - but if you do want to integrate FlashChat 6 - and are doing the FlashChat install, you need to disable mod_rewrite and turn search engine friendly off (set to basic). Then the install will work. This actually is before you get to install this mod - but I think it's important to note here.

If you have mod_rewrite turned on and try to install FlashChat6 - you will get a blank page on step_2 of the install script.

Once installed, you can then turn mod_rewrite and search engine friendly back on, then install this mod.

ranz 09-24-2010 11:27 AM

My install works, but I get this at the top of my page:

Quote:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/class_bootstrap.php(1280) : eval()'d code on line 113
I have a feeling it may be to do with other mods - but thought I'd put a post here to guide others who have similar errors.

msolano 09-28-2010 05:53 AM

Hello guys: I upgraded my site to 4.0.7 this weekend.

I had flashchat 5, then I dropped the flashchat tables and then deleted chat directory.

I uploded the new flashchat 6.0.8 files and then tried to install (I kept the chat directory name), but I'm having the error:
"FlashChat was unable to detect your MySQL login setting from the vBulletin 4.0 configuration file. You must correct this before FlashChat can finish its installation"

I uploaded the file of this mod but I had the same error.
What could I check?

msolano 09-30-2010 03:01 PM

Hi. The problem is vbseo. Read this for solution.

Other problem: when logout from flashchat it's not leaving the page. :erm:

mimi123 10-01-2010 09:25 AM

your saying to edit the file called "flashchat_inc.php" in the chat folder but there is no such file in there. i see the link of flashchat in my forum but it says its incorrectly installed, obviously.

s810car 10-06-2010 02:04 AM

Just wanted to let you know of a bug, get a security token error when you click on the member name in the room list and go to their profile from there, must need a session token or something

One other issue, don't know if this is related to the integration or not, keep getting this error sent to me via email, chat doesn't seem to have any visible errors
HTML Code:

Database error in vBulletin 4.0.6:

Invalid SQL:
select * from vbchat_datastore where did='1';

MySQL Error  : Table 'vbchat_datastore' doesn't exist
Error Number  : 1146

Script        : http://SITENAME/chat/temp/images/ivory.jpg
Referrer      : http://SITENAME/chat/chat.swf?login=~user~&password=null&lang=en&instance_id=1/[[DYNAMIC]]/1

Only info I found on vbchat was a hack I've never had or seen before, so not sure EDIT - and i don't use table prefixes so thats not the case either

Paul M 10-06-2010 11:01 AM

I dont have FC6 installed so I cannot confirm the bug (which would be in FC anyway, so Im not sure I could do anything about it).

As to the database error - that is not coming from anything in this mod. I dont recognise the query from FC either.

marinelife 10-06-2010 02:49 PM

How can you make it show if there are users in chat on the forums page?


All times are GMT. The time now is 02:30 AM.

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.01892 seconds
  • Memory Usage 1,883KB
  • 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_html_printable
  • (2)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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