![]() |
That's why it doesn't work then - the header has already been called by then.
Find ; Code:
// get new private message popup :) |
If I'm ever asked who my hero is, I'll proudly say Paul M.
Thanks buddy. Works like a champ. Now I just gotta get my "Who's Online" working at the same location and I'm good to go. Thanks again! |
Glad it worked. :) You might want to check this hack as well if you are using flashchat 3.9.
I'm surprised at how many people seem to use flashchat, I never expected this to reach so many installs. :) |
I did everything you said step-by-step and the second piece of the hack works beautifully, and i even see the spot for Who's Chatting
But when i modify the index.php file, i get this error: Parse error: parse error, unexpected ',' in /home/content/a/d/m/admin032769/html/index.php on line 35 any ideas? is spacing an issue at all? i amusing notepad and not sure if maybe that is putting in some weird chars? |
Not sure what you need to see of my index.php but here is the relevant portion:
PHP Code:
|
Posting a section of code for all to see is not something you should be doing. Please hide all code inside code/php tags. It's also a waste of time since there are no line numbers. Also, you are not showing as having installed the hack, I will normally only provide support if you have clicked install. Thanks. :)
|
Sorry - i didn't know how to do the code inside php tags? for future reference, how should i do that?
Anyway, i clicked Install - sorry about that. Anyway, line 35 references $globaltemplates = array( so do i need to add a reference to this new template that is being called? |
There is no new template associated with this hack - and line 35 is well away from the changes made by this hack. I suggest you revert to a fresh [original] copy of index.php and make the edit again.
|
Also for the future, using notepad is probably about the safest thing you could use. NotePad doesn't add in junk. Word would. Just FYI.
Also, delilah429, this might sound really stupid, but you didn't by any chance remove all the code that was ABOVE the logged in users when you added the chat snippet in your index.php did you? I just found it odd you chose to include soooo much of everything below the LOGGED IN USERS but didn't include anything above the CHAT snippet in what you pasted in above. |
Well I was just coming back here to say that I downloaded EditPlus to see if it was something the editor was doing and it worked PERFECTLY! so i am not sure - and no, i didn't delete what was above that line - it was silly just to show that snippet though - irrelevant, i suppose - but like i said i did the exact same thing and it worked - go figure
Love this! |
Is the upgraded version supposed to work with the newly released FlashChat 4.0? If so, mine is not working :D. I logged into chat and refreshed the forum homepage to find it still said no users in chat. Is this supposed to be working with 4.0?
|
Quote:
However, this hack works perfectly for Flashchat 4.0.0 (beta) - I have been running this version of the chat on our forum for 2/3 weeks now, so you must have made a mistake somewhere. |
Quote:
PHP Code:
Code:
<!-- end logged-in users --> |
Quote:
|
Quote:
PS: Do not install the bots:), there is a bug where if you install them with a cms you will get call to undefined member errors. This is supposed to be fixed in a later release. |
Well they really f**ked up from 4.0.0 beta to 4.0.1 didn't they :rolleyes: - Yes, the BOTS are a pain - I had to edit proc.php despite turning them off.
The problem with the hack seems to be down to the fact that 4.0.1 now uses it's own table prefix system with vB - as well as the vB table prefix system - and to make it worse, there is an error in the CMS2 file as well. The default prefix they use seems to be "flashchat_", but you will find it in the config.srv.php file as below ; Code:
<?php Find this in the Hack Code ; PHP Code:
PHP Code:
|
Can this be change to work with AMF FlashChat http://www.tufat.com/ simular but different. :ermm:
I can fiddle around with it but I am not a coder but know how to play with codes a little. :nervous: |
Quote:
However where it says PHP Code:
PHP Code:
Great job Paul:) |
Quote:
I will make a note of it, people who upgrade from 3.x.x to 4.0.1 will probably retain the flashchat folder (as I did). |
Quote:
I myself just changed the folder to the name chat. I try to keep everything as it came as much as possible :). Even with these problems some of which plain acts of negligence on the coding side my members still like 4.0.1, and that's what makes them and myself happy:). *with the exception of installation, it was iKonboard all over again* |
Well since it seems to work ok, I have uploaded it as Version 2.10.
|
Installed times 2 so far...
I have 3 different forums...The third is on it's way soon, I have to install flashchat to it first! :) |
err wait a second...I don't think I even want to think about going up to 4.0.1 at this point -- I was already having enough issues with 3.9.6...
(man alive...I'm glad I got the 3.9.6 before it upgraded...If there are that many problems -- since they are *oh so helpful* on the flashchat forums :S) |
Quote:
I noticed how "helpful" they are on the fc forum when I posted yesterday. I really can't understand why they have added all this "bots" crap either, I haven't come across anyone who wants to chat to a flipping robot. |
Quote:
|
Hi Mr. Bob,
I did get my install of 4.0.1 working with vbulletin 3.0.7 and yes the bots are silly but even that seems to be working now. I wish I could tell you exactly what made the difference. I am using the CMS2 verison and the prefix is finally reading in as _fc_, which is what it seems to want. I have no idea why the installer wasn't pulling in the right database & prefix info, but it suddenly started finding what it needed. I am using absolute paths in the CMS2 to my install which is in /root/chat not /root/forum/chat. The problem I am trying to resolve now is incorporating /chat/info.php output using vbulletin's phpinclude_start template. I am having problems that I didn't have with 3.9.6. I don't want to clutter the thread here - so that discussion is going on in Tufat - http://www.tufat.com/phpBB2/viewtopic.php?t=5779 at least it would be going on if the moderator there didn't want me to fill the "Code Depot" with half baked code. I am afraid, after all that effort it is back to 3.9.6 for me! Regards, Matt |
Paul,
I've installed this hack however I'm trying to get the User Count to work and not having much joy my config.serve.php has those values as the ones below(of course hidden) and I can't get the count thing to work apart from that it looks fine. I can send you any further info as well if need be. I'm running vb 3.07 and the Flash chat as 4.0 or above <?php $GLOBALS['fc_config']['db'] = array( 'host' => 'localhost', 'user' => 'sqluser', 'pass' => 'password', 'base' => 'database', 'pref' => '', // 'pref' => 'flashchat_', ); ?> Look forward to your help. Kind regards, Hanif |
Did you install FC 4.0.x from scratch ? What table prefix did you choose during the installation ? (you appear to have commented out the "flashchat_" choice in your config above).
A link, and test login to your site would be useful as well. :) |
Hiya Paul,
Your the man...thanks for getting in touch dude. Link is www.muslimprofessionals.org.uk/forums I had the vb3_fc chat for 4.0 install and prior to that I had vb3 during the old one. I can access the chat and it logs in if a user account is recognised and accepted...??? Strange I've PMed you a login for a test account. Kindest regards, Hanif |
I have found your problem.
In the code near the top is this ; Code:
// ## Paul M - Flashchat - Who is in the chat v2.10 ## // |
Hi Paul many thanks for replying back mate,
but I've checked the code again and I do have the variable as $fcfolder = 'chat'; I've pm'd you a snipped of the index.php and the config.srv.php Kindest regards, Hanif Rehman p.s. once again thanks for going to the trouble for looking at this |
Okay, I need ftp access to investigate this properly - there is a mis-match somewhere. I have dropped you a PM.
|
Well I'm not sure where you have gone - but I have uploaded a slightly changed version (v2.16) - I think this may cure your problem.
|
a bit of a problem(actually a big one)
I am using the latest 4.02 version of flashchat. And after doing this(also used the integration hack https://vborg.vbsupport.ru/showthrea...ight=flashchat) I am facing a queer problem. The hack is working for me but not for others. I can see who is in chat and all from all browsers but for all others, they can't even open the forums page(by all others i mean normal users, supermods etc) They are getting either ascii gibberish in opera or in FF they just get a blank page for forum home. All other forum pages load properly. the actual view source code they see is <html><body></body></html> in ff And as soon as i remove the code in hack from index.php it starts to work normally for all. I have rechecked the code and where i am putting it and its all correct. Even tried moving it around in index.php and still same probs. what could be wrong? the funny part is that its working for me... but not for anyone else :S |
flashchat v4.04 is out...
|
Quote:
Quote:
|
4.02 version...
i have no idea myself. It works for me and not for anyone else. All get ascii chars. Maybe some other hack is interfering... |
Quote:
Quote:
|
was using 2.15 but used the new one now(changed folder name to chat) but same problem.
I am putting a screenshot of what members are getting as soon as i do the file edit. (I am btw getting what you should get. The who is chatting is showing for me) And yes the site is www.techenclave.com and this is the source of forumhome people see once i put the edit of the hack in index.php http://img193.echo.cx/my.php?image=screenshot1wm.jpg Btw the time you see this post, the hack is not installed. I have reverted back to original index.php file or else the whole lot of members were after me :) |
Are you doing the Forumhome template edit as well - I can't see that either ?
If so, which combination causes your problem ; 1. Index.php edited, Forumhome not changed. 2. Forumhome edited, Index.php not changed. 3. Both changed. Is it the standard vB Forumhome template, or a custom one ? Do you have a test user ? Also, can you PM me your edited index.php. |
All times are GMT. The time now is 03:38 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|