vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Integration with vBulletin - Flashchat Integration for vB 3.6 (https://vborg.vbsupport.ru/showthread.php?t=120926)

adwade 10-10-2006 05:02 PM

Well, this just gets stranger and stranger...

To install the newer v4.73 of FlashChat I followed their docs and they recommended renaming the current CHAT directory to something else, then installing the new version into a CHAT directory. That way if something went wrong, it would be easy to swap back over to the one you knew ran.

As such, I had renamed my original install to chat_v462 and then uploaded the CHAT directory just as directed. On my first install, everything when just perfectly.

Then admist all this, I re-uploaded the install.php file and install_files directory (since I had deleted them upon completion) and re-ran the install. Everything worked just like it did the first time, and I can get into FlashChat again...but it's version 4.62, not v4.73?! WHERE did that come from? No idea, so I deleted everything and reinstalled again. v4.62 installed and works alright, once again. I deleted everything this time, my old v4.62 directory, my new CHAT directory, everything. Tried again, and low & behold v4.62 is what's installed.

I'm using SmartFTP and thought I just didn't understand how it worked, so looked in the options and made sure it was set to overwrite ANYthing that existed. Deleted everything once again, and then re-uploaded the CHAT folder to the server, ran the install, worked fine, and yet I ended up with v4.62 yet again!? Arrrgggghhh! I'm SURE I'm uploading the v4.73 files, so somehow I must have some old files remaining on the server. How do you surely get rid of any existing files on a server in a case like this??

Paul M 10-11-2006 12:42 AM

Delete them.

The version number is taken from the config file, are you sure you are not using an old config file ?

Also, I'm not sure this is really relevant to this modification, and therefore not the best place to be discussing this.

NeitherSparky 10-11-2006 04:44 AM

Quote:

Originally Posted by adwade
I edited the copy that came with FlashChat on my local HD and then FTP'd it up to my site. In doing so, I'm guessing I've overwritten the 'good' file that was left there by the FlashChat install process.:tired:

Just so you don't feel alone, I did the same thing once when I wanted to update my config file. Not knowing what else to do, I had to reinstall everything.

We all live and learn. ;)

adwade 10-11-2006 04:56 AM

Quote:

Originally Posted by Paul M
The version number is taken from the config file, are you sure you are not using an old config file ?

Bingo, We have a winner! You are EXACTLY right Paul.(see below) Thanxx!

Code:

'version'        => '4.6.2', //architecture release . feature release . patch release
Quote:

Also, I'm not sure this is really relevant to this modification, and therefore not the best place to be discussing this.
Understand, sorry about this getting offtrack from your MOD, but maybe it'll help others who ever come up against the same issue.

smoknz28 10-14-2006 03:17 PM

Quote:

Originally Posted by NeutralizeR
Actually it's possible to show DHTML menus over flashchat but this time you can't send messages by pressing the enter button. Still testing alternative solutions...

Thanks NeutralizeR....I'll check in at times to see if you or anyone else has a fix for this. ;)

Mark

Greek Wizard 10-14-2006 03:52 PM

Quote:

Originally Posted by Paul M
What did you edit ?

Paul,

Sorry for the delay in responding.

I don't get much of a chance on the weekdays to do much, so I have to reply on weekends.

In response to my issue in post #242

You asked hat i edited to try and make the page open in a new window.

Well since i could not find the edits in the navbar, and you said it's added "on the fly" my old other step was to edit the xml you created.

Code:

<plugins>
                <plugin active="1" executionorder="5">
                        <title>FlashChat Integration (1)</title>
                        <hookname>parse_templates</hookname>
                        <phpcode><![CDATA[$search_text = '$vbphrase[open_buddy_list]</a></td></tr>';
$add_text = '<tr><td class=\"vbmenu_option\"><a href=\"misc.php?do=flashchat\">$vbphrase[flashchat]</a></td></tr>';
$vbulletin->templatecache['navbar'] = str_replace($search_text,$search_text.$add_text,$vbulletin->templatecache['navbar']);]]></phpcode>
                </plugin>
                <plugin active="1" executionorder="5">
                        <title>FlashChat Integration (2)</title>
                        <hookname>online_location_process</hookname>
                        <phpcode><![CDATA[if ($filename == 'getxml.php')
{
        $userinfo['activity'] = 'flashchat';
}]]></phpcode>
                </plugin>
                <plugin active="1" executionorder="5">
                        <title>FlashChat Integration (3)</title>
                        <hookname>online_location_unknown</hookname>
                        <phpcode><![CDATA[if ($userinfo['activity'] == 'flashchat')
{
        $handled = true;
        $userinfo['action'] = $vbphrase['in_flashchat'];
        $userinfo['where'] = '<a href="misc.php?do=flashchat" TARGET="_blank">'.$vbulletin->options['bburl'].'/misc.php?do=flashchat</a>';
}]]></phpcode>
                </plugin>

I tried the second green highlighted area, which helped the Who's online area, and I know the first green section is probably the Quick links area, but adding the target="_blank" to that gives me a syntax error on the main page.

thanks again for trying to help me out.

txsbmw 10-17-2006 03:54 PM

This is in regards to * For Flashchat inside a vb page

OK I have a question, I installed Flashchat then this Mod and they are working great together. I.E. no asking to log in twice, etc... that most seem to be having BUT..... It will not let me change rooms or even type anything if I use the embedded link (i.e. .../misc.php?do=flashchat) however I also have a custom link added to the Navbar of the non embedded link (i.e. .../chat/flashchat.php) as this is the only way we can use it at this point and the chat room works fine there. On the embedded link all I can do is Add a room, change options, and click on members names to PM them, view profile, etc, I just can't change rooms or type any messages into the chat room.... Any idea what is going on?

Necrosaro420 10-20-2006 09:16 PM

do you HAVE to have the CMS to use this integration? I Just have a normal forum and would like to insert a link in my navbar to it. Thanks

Necrosaro420 10-22-2006 04:43 PM

How do you integrate WITHOUT using a CMS and just a normal forum?

Paul M 10-22-2006 06:10 PM

Just follow the instructions in the zip file.


All times are GMT. The time now is 01:25 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.01845 seconds
  • Memory Usage 1,758KB
  • 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
  • (2)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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