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.5 (https://vborg.vbsupport.ru/showthread.php?t=91278)

paulmjno 12-28-2005 03:27 PM

Fatal error: Cannot instantiate non-existent class: statement in /home/myusername/public_html/board/vbulletin35CMS.php on line 26

I searched this thread, and others have reported this; the only advice they got what that they had broke something. Well, I've broken nothing...any idea what the prob is?

Paul M 12-28-2005 05:22 PM

Quote:

Originally Posted by paulmjno
Fatal error: Cannot instantiate non-existent class: statement in /home/myusername/public_html/board/vbulletin35CMS.php on line 26

I searched this thread, and others have reported this; the only advice they got what that they had broke something. Well, I've broken nothing...any idea what the prob is?

Well you may not actually have "broken" anything, but clearly you have done something very wrong - that error message clearly shows that not only do you have vbulletin35CMS.php in the wrong place (it should be in ../chat/inc/cmses/) but somehow you are also trying to run it - which given it's totally incorrect location - should be impossible (unless you are trying to run it direct).

indie 12-28-2005 07:48 PM

Any chance of making this a CMPS module? I have a module already but it's not as good as this mod, it doesn't have musername and it's in an iframe which is really annoying. I tried putting this code in a module, but no go. I guess it only works on FORUMHOME.

Thanks

Paul M 12-28-2005 08:05 PM

Erm, indie, are you sure you have posted in the correct thread ? You are not showing as having this installed - and tbh, I don't understand how your post relates to this hack.

moonclamp 12-28-2005 09:27 PM

Quote:

Originally Posted by Paul M
Erm, indie, are you sure you have posted in the correct thread ? You are not showing as having this installed - and tbh, I don't understand how your post relates to this hack.

he might be referring to a vbadvanced hack that adds flashchat into an Iframe template on a portal page.

indie 12-28-2005 09:29 PM

Yes, I was. I posted in the Who Is Chatting thread now. Sorry.

JAYEMULE 12-28-2005 10:01 PM

I seem to have everything working except getting a link to the chat room on my navbar. I am following the instructions fine but whhen I go to edit my navbar template I can not find this code in that template anywhere. Got any suggestions ?

<td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout"
onclick="return log_out()">$vbphrase[log_out]</a></td>

Thanks a lot Paul. I always look for your work around here.

Jaye

OK here is something I found that appears to be very similar. Would this be what I am looking for ? I am using vb 3.5.2 so I wonder if it may just be different than what is in the instructions for adding a link ?

Paul M 12-28-2005 10:40 PM

I think session has changed to session_q since those instructions were written, IIRC they are 3.0 instructions.

JAYEMULE 12-28-2005 11:05 PM

OK Then , I forgot to paste the code I found in the previous post, sorry. I am such a dunce at times ;)

This is the code I find in my Navbar template
<!--<span style="float:$stylevar[right]">[<a href="login.php?$session[sessionurl]do=logout&amp;u=$bbuserinfo[userid]" onclick="return log_out()">$vbphrase[log_out]</a>]</span>-->

would it be in place of this code they have in the instructions to look for ?
<td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout"
onclick="return log_out()">$vbphrase[log_out]</a></td>

Thanks again for your help.

Jaye

Paul M 12-29-2005 10:33 AM

You need to find this ;

HTML Code:

<td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a></td>
and insert the flashchat link code above it.

JAYEMULE 12-29-2005 12:10 PM

Thank you so kindly Paul ! That was what I needed to find. Don't know why I couldn't see it before but all is well now ! I have this on my test board with a few helpers checking it out and it should go onto my live board here in the next day or two. I sure appreciate your help.

Jaye

lifesourcerec 12-29-2005 07:50 PM

What code do you put in to make it open its own window?

attroll 12-30-2005 04:11 AM

Quote:

Originally Posted by lifesourcerec
What code do you put in to make it open its own window?

Your link would have to look something like this

PHP Code:

<a target="_Chat" href="http://www.hobbyinsider.net/forum/chat/flashchat.php"><b>Enter Chat Room</b></a

The
target="_Chat"
is the only thing that is added to make it open in a new window. What this does is titel the new window _Chat.

kommuni 12-30-2005 07:28 AM

Quote:

Originally Posted by Paul M
There is no autologin support for socket server mode in any flashchat cms integration. I have an experimental (alpha) cms file that does it for vb 3.5 - but it's not for public use.

Hi Paul,

anything new about the socket-support yet? Maybe any chance for you to share your pre-version with me for testing? Flashchat is not in productive use in my forums yet - i'm still waiting for a solution for that. As we have lot's of users and they're currently using my old chat extremely i don't want to start without the socket-integration yet. The non-socket-version would drive my servers crazy :)

Paul M 12-30-2005 10:59 AM

Quote:

Originally Posted by kommuni
anything new about the socket-support yet? Maybe any chance for you to share your pre-version with me for testing? Flashchat is not in productive use in my forums yet - i'm still waiting for a solution for that. As we have lot's of users and they're currently using my old chat extremely i don't want to start without the socket-integration yet. The non-socket-version would drive my servers crazy :)

I haven't worked on it for a while, so it has a few minor bugs and is not recommended for live systems. Feel free to PM me if you want to test it. I haven't tested it at all in the 4.5.x beta versions.

LockeAG 12-30-2005 04:26 PM

Hey Hi..

Well I don't know if its correct to post my problem here but ..mmh

The registred users , the moderators, the smoderators and all the normal usergroups created by default by vbulletin can acces without a problems to the flahchat, but the new groups created by me, they can't access to the flashchat , I mean they appear like banned users.. So I would like to know how to fix this problem.

Thanks

LockeAG 12-30-2005 05:32 PM

Quote:

Originally Posted by LockeAG
Hey Hi..

Well I don't know if its correct to post my problem here but ..mmh

The registred users , the moderators, the smoderators and all the normal usergroups created by default by vbulletin can acces without a problems to the flahchat, but the new groups created by me, they can't access to the flashchat , I mean they appear like banned users.. So I would like to know how to fix this problem.

Thanks

Thanks Paul M jajaja...

http://www.tufat.com/forum/showthread.php?t=11655

cdoyle 12-30-2005 07:19 PM

Hi,
Would some of you who have installed this hack, could you post your forum URL's?

I would like to see some examples on how this looks integrated with VB.

Thanks
Chris.

Paul M 12-30-2005 09:29 PM

Just visit the Tufat site - their forum is vbulletin, with integrated flashchat.

svoec 12-31-2005 02:45 AM

hey -- I'm trying to hack your hack, and could use some help..

The idea is to allow users in some groups to chat anytime, and others can only chat sunday after 18:00 hours...


so I hacked up your code like this...
(unfortunatly, since it don't work, this is a literal interpetation)



PHP Code:

if (date('D')=="Sun" and date('G')>=18)
    
$GLOBALS['vbulletin'] = array(
    
'cookie' => $config['Misc']['cookieprefix'],
    
'prefix' => $config['Database']['tableprefix'],

    
'sessupdate' => true// Update vB session table when user speaks.
    
'users' => array( 2,11,12,14 ) , // vB usergroups allowed access to chat.
    
'customer' => array( ) , // vB usergroups allowed access as customers.
    
'mods' => array( 5,7,) , // vB usergroups allowed access as chat moderators.
    
'admin' => array( ) , // vB usergroups allowed access as chat administrators.
    
'banned' => array( 1,) , // vB usergroups banned from accessing the chat.

    
}else 
             {
$GLOBALS['vbulletin'] = array(
        
'cookie' => $config['Misc']['cookieprefix'],
        
'prefix' => $config['Database']['tableprefix'],
    
        
'sessupdate' => true// Update vB session table when user speaks.
        
'users' => array( 11,12,14 ) , // vB usergroups allowed access to chat.
        
'customer' => array( ) , // vB usergroups allowed access as customers.
        
'mods' => array( 5,7,) , // vB usergroups allowed access as chat moderators.
        
'admin' => array( ) , // vB usergroups allowed access as chat administrators.
        
'banned' => array( 1,2,) , // vB usergroups banned from accessing the chat.
    


I'm just getting a blank page when I try to log into flashchat.


It don't work, and I can't figure out why!!
any help would be appreciated!!

Thanks.

Paul M 12-31-2005 06:40 AM

You are missing an opening bracket '{' after the if statement.

svoec 12-31-2005 01:09 PM

DOH --
I just found it...

Thanks....

cdoyle 01-02-2006 09:15 PM

hmm, I'm not sure what I did but I broke my flashchat.

I installed it this morning and was working great.

I then added this hack, and also the flashchat on vbpage https://vborg.vbsupport.ru/showthrea...ght=flash+chat

but now, nobody can get into the chat (even myself) If you go to http://www.caraudiocentral.net/forums/flashchat.php you get the login prompt now (before I tried to apply these 2 hacks, my 'platinum' members were able to enter the hack without logging in).
But now you get that prompt, and no matter what you enter in those fields, it says 'incorrect user id or password'

anyone have any ideas to where to check first? It was working before so it has to be something I did when I tried to apply these hacks.

Thanks
Chris.

Paul M 01-02-2006 10:28 PM

Can you enter flashchat okay direct -

http://www.caraudiocentral.net/forum.../flashchat.php

?

cdoyle 01-03-2006 03:02 AM

Not anymore, I just get that invalid error. It was working before I attempted to do these hacks, but not sure what I could have done to screw it up.

cdoyle 01-03-2006 03:47 AM

I'm not sure what's wrong with it.

I've unistalled the plugins, and then put back the original flashchat files onto the server. But it still doens't work, just prompts for a user name and password.

Is there a way to totally uninstall flashchat and start over?

Paul M 01-03-2006 05:11 AM

Just delete the files, then re-upload them, then re-run the install.

docvader 01-03-2006 01:30 PM

Quote:

Originally Posted by Paul M
Replace the existing one - which is in ..../chat/inc/cmses/

Hi Paul

Just went through a nightmare of killing access to mysql on my new server here, after reinstalling flashchat to get the permissions to work, LOL. Didn't realize from the instructions that "upload the supplied/edited files." meant
Quote:

Originally Posted by Paul M
Replace the existing one - which is in ..../chat/inc/cmses/

You might want to change the install directions to reflect this. I, being technologically handicapped, put the file in the vb directory. And wondered for a while why it didn't do anything. Comical, I know, truly comical.

Great hack by the way. As we've come to expect from you!

rich

Paul M 01-03-2006 04:32 PM

I've edit my master copies, next time I do an upload, the instructions will change.

vietkieu_cz 01-03-2006 06:36 PM

Cant find file consts.php and foleders inc\classes\ ???

Paul M 01-03-2006 06:40 PM

Look harder then - it's there in the install files.

vietkieu_cz 01-03-2006 06:45 PM

So I cant find the install files, folders inc\classes\ :? Anyway thanks

Paul M 01-03-2006 07:25 PM

Erm ../chat/install_files/

reismarktq2 01-03-2006 10:40 PM

Does this hack include access to the Flash Chat Admin CP via the vBulletin Admin CP? I've installed the hack and it seems to be working fine as far as the chatting itself goes, and I was just wondering since in the past, it's taken some time for products that modified the Admin CP (namely, the arcade) to show up there.

Paul M 01-03-2006 10:43 PM

Quote:

Originally Posted by reismarktq2
Does this hack include access to the Flash Chat Admin CP via the vBulletin Admin CP?

No.

Such a thing may come one day, but not for the moment.

reismarktq2 01-04-2006 12:04 AM

Thanks for the clarification.

One other question: Is access to the private, permanent boards limited to those in the "admin" group, or can those in the "mods" group access it as well? I have a "moderator's lounge" room set up in my Flash Chat installation that I would like both mods and admins to be able to access. If only "admin" can access the private rooms, how can I modify the CMS so that the "mods" can access it too?

Paul M 01-04-2006 12:32 AM

You cannot alter this in the CMS file - it's part of the main code.

In flashchat 4.4.x versions it is admins only - in 4.5.x versions it has been fixed to be admins and mods.

badham 01-04-2006 01:34 AM

Well I found my mistake, and it was my head up my ass...anyway she works well now...

badham

snakes1100 01-05-2006 04:26 AM

@Paul
Is there a known issue with user groupID's with double digits?

I have tried to add a groupID of 16 and i cant get access for that group, all groupID's 1-9 are fine.

What i've done temporarily is add registered user group access to the users in that group so they can access the chat, this is not what i want as now i have to allow registered users into the chat. This was just to comfirm that all groups with a Id of 1-9 work fine.

Thanx

Paul M 01-05-2006 06:57 AM

Quote:

Originally Posted by snakes1100
@Paul
Is there a known issue with user groupID's with double digits?

Nope, any group id will work (as long as it's granted access).

I take it you *have* actually edited the CMS file for these extra groups to give them access ?


All times are GMT. The time now is 06:13 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.02058 seconds
  • Memory Usage 1,849KB
  • 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_html_printable
  • (2)bbcode_php_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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