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: Integration for vB 3.7 (https://vborg.vbsupport.ru/showthread.php?t=166834)

Paul M 01-19-2009 12:24 PM

Paul M is me :)

I never got time to look, I will when I can.

vbplusme 03-16-2009 04:03 AM

I think you might have a problem with the "getPhoto" function on 3.8.1. I am using a custom avatar and know the image file is not being created per the funtion in vbulletin38cms.php so I get an error or group of errors in my php error log. This is on a system that was upgraded to 3.8.1.1 not sure its broken on a clean 3.8.1.1 install yet, I have not checked it BUT I do know that upgrades do not respond the same way as clean installs now, for sure.

Any ideas why the image would not be created by the getPhoto function?

Paul M 03-16-2009 07:54 AM

Since you havent said what the errors are, i cant tell you anything, but i assume you read this comment in the file ;

Quote:

// This function only works if you use the database storage method in vbulletin //

vbplusme 03-16-2009 11:02 AM

Hi Paul,

Actually, I did read that and am in compliance but I have been doing some more testing and discovered possibly a path problem in the vbulletin38cms.php. The errors ( I forgot where I was bouncing back and forth between here and Tufat).

I have Flashchat 5.0.10 running with vBulletin 3.8.1.1. When I checked my error log, I find it full of these messages:

Quote:

[16-Mar-2009 20:06:46] PHP Warning: fopen(./images/cust_img/$000001$1221367575.gif) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such file or directory in C:\wamp\htdocs\chat\inc\cmses\vbulletin38CMS.php on line 227

[16-Mar-2009 20:06:46] PHP Warning: fwrite(): supplied argument is not a valid stream resource in C:\wamp\htdocs\chat\inc\cmses\vbulletin38CMS.php on line 228

[16-Mar-2009 20:06:46] PHP Warning: fflush(): supplied argument is not a valid stream resource in C:\wamp\htdocs\chat\inc\cmses\vbulletin38CMS.php on line 229

[16-Mar-2009 20:06:46] PHP Warning: fclose(): supplied argument is not a valid stream resource in C:\wamp\htdocs\chat\inc\cmses\vbulletin38CMS.php on line 230


As a test I added the full path to the image folder to this line:

PHP Code:

$fpath  './images/cust_img/'.$fname.'.'.$fextn

It didn't create the temp image but the error went away and now I can not reproduce but the avatar doesn't display either?

Paul M 03-16-2009 12:17 PM

If no image is created then it cannot be displayed.

vbplusme 03-16-2009 12:42 PM

I understand. I suspected that it was not finding the directory was the reason but when I put the full path in, it still didn't create the image but it didn't generate any errors either? So what do you suspect is going on here? As you can see from the error message, the avatar image is definitely in the database and displays correctly in vbulletin the way it should?

I am not clear now whether the problem is vbulletin or flashchat but it showed up with 3.8.1.

If the avatar is not in the database, you get an array_merge error about not being an array which I think is a PHP5 problem.

Sure would be nice if I could sort this out, Tufat has pretty much bounced the ball over here but I am not clear that is right place but the problems seem to show up in your code?

Any help greatly appreciated at this point.

thank for your attention, Michael

TacticalNuke 03-19-2009 01:04 PM

I'm having an error where the users stay logged into flashchat. I was wondering if anyone else was having this problem and could provide assistance. It seems that my time file isn't getting updated (http://forum.tufat.com/showthread.ph...gged+into+chat). However, I've tried reinstalling and the fixes mentioned in that thread. The users don't show up in "Who is chatting" but do show up once in the room.

Thanks for any help.

Makaveli007 03-20-2009 09:19 PM

Installed, Thanks

RickyG 07-26-2009 11:21 AM

Hello Paul,

Used this for FC4 and worked great!
Now trying:
VB 3.7
FC 5

I uninstalled FC dropped the sql flashchat_
Disabled integration

Installed FC5
Used your cmms to get rid of header error
installed your newest integation

all is well...except.

I go to FC and it prompts me user name. I check to user groups and it is all good.

any ideas what i missed?

RickyG

RickyG 07-26-2009 01:30 PM

Interesting, did reinstall and selected VB3.6 and it works now....i am running 3.7


All times are GMT. The time now is 06:15 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.01602 seconds
  • Memory Usage 1,741KB
  • 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
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (2)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