I can't get this to work. It's giving me server errors that says something about settings.php but I only have default.php in the zipped file so I renamed setings to default and the error was gone but the webby chat is hidden and I can't find it anywhere. Chatango is better for now (until I can figure out webby chat).
this is cool and it works on my forum... BUT i get this error msg in people.php and a couple other php pages. So I removed it for now... How can I fix it?
Fatal error: Call to a member function on a non-object in /home/www/ava.eu.pn/extensions/webby_chat/default.php on line 106
add-on needs to ensure that it only tries to add a tab on pages where these are available. try replacing the last part of the code with this (added a little page check, unverified!)://////////////////////
if (in_array($Context->SelfUrl, array('index.php','comments.php','categories.php'))) { $Menu->AddTab("Chat", "", "javascript: __wbc_slide_chat_pane();"); $Head->AddString('<script language="JavaScript" type="text/javascript" > var __ptw_s = document.location.href; var __ptw_t = document.title; var __ptw_suggest_user_name = "' . $Context->Session->User->Name . '"; var __ptw_force_guests = true; var __ptw_disable_chat_button = true;
'); // add extra user defined variables $Head->AddString(str_replace('\r\n', "\r\n", $Configuration['WEBBY_CHAT_EXTRAS']));
well... change this:if (in_array($Context->SelfUrl, array('index.php','comments.php','categories.php'))) to if (in_array($Context->SelfUrl, array('index.php','comments.php','categories.php','search.php','account.php'))) Pretty much you can add all pages to the array (list). If you have specific php pages for the light gallery (see address bar in your browser) you could add those too. Give it a try.
PS The author of this plugin should make the appropriate changes to the uploaded code (and I'm not sure there aren't more appropriate changes). As-is, the add-on is buggy.
I had a lot of problems with this extension, and gave up after struggling with it for hours. I'm using PFC, which was a doozy to install and get going - not a single issue.
@philrisk Are you using 1.2 of the vanilla add on? @Michael3185 Can you let us know what problems you were having so we can help resolve them for everyone?
*** IF YOU ARE USING PAGEMANAGER *** PageManager doesn't show the tab that webbychat tries to create. You can create it by doing this:
1. Goto Page Management 2. Add a new page 3. Set the Tab Name to Chat 4. Leave tab Identifier blank 5. Copy this exactly into "Tab Attributes: onclick="__wbc_slide_chat_pane(); return false;" 6. Make the Tab Url: #
@crickeys - I installed it before the 13th if that was when 1.2 was released.Deleted it now so not sure which one I was using. I installed about 2 weeks ago.
That was a few 18 hour days ago, and I can't remember the exact problems. Tell you what though, now I've seen crikeys advice on Page Manager, I'll give Webby Chat another look, as I do vaguely remember nothing coming up. Will post again later.
[edit]
Sorry, but after reading their main site, I won't be using it. I need a private chat that I can fully control from day one, as the forum it's used in is for staff providing service for at-risk groups. Hence, lots of rules and regulations.
@TomTester; cheers for the links. I did try phpFreeChat, but liked the way PFC integrated easily and just worked (though I see from various posts that others had problems).
The first forum I'm getting ready to go asap is private, and will only have around 30 - 40 members, so PFC will do on that. Another one may grow much larger, so I may look at other options in the future.
Comments
Thanks
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Dan
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Fatal error: Call to a member function on a non-object in /home/www/ava.eu.pn/extensions/webby_chat/default.php on line 106
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •//////////////////////
if (in_array($Context->SelfUrl, array('index.php','comments.php','categories.php'))) {
$Menu->AddTab("Chat", "", "javascript: __wbc_slide_chat_pane();");
$Head->AddString('<script language="JavaScript" type="text/javascript" >
var __ptw_s = document.location.href;
var __ptw_t = document.title;
var __ptw_suggest_user_name = "' . $Context->Session->User->Name . '";
var __ptw_force_guests = true;
var __ptw_disable_chat_button = true;
');
// add extra user defined variables
$Head->AddString(str_replace('\r\n', "\r\n", $Configuration['WEBBY_CHAT_EXTRAS']));
// end script
$Head->AddString("\r\n</script>");
// call chat
$Head->AddString('<script src="http://www.webbychat.com/chat_js/chat.php?src=vanilla" language="javascript" type="text/javascript"></script>');
};
?>
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Light gallery extension page
search.php
account.php
members extension page
can this be fixed?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •if (in_array($Context->SelfUrl, array('index.php','comments.php','categories.php')))toif (in_array($Context->SelfUrl, array('index.php','comments.php','categories.php','search.php','account.php')))Pretty much you can add all pages to the array (list). If you have specific php pages for the light gallery (see address bar in your browser) you could add those too. Give it a try.
PS The author of this plugin should make the appropriate changes to the uploaded code (and I'm not sure there aren't more appropriate changes). As-is, the add-on is buggy.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •only the ones with short urls like search.php
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Bugs: Custom Settings for WebbyChat don't work. The break the settings.php instead.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •as a nugget in the footer spot with http://lussumo.com/addons/index.php?PostBackAction=AddOn&AddOnID=283 than
using this silly add-on...
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •@Michael3185 Can you let us know what problems you were having so we can help resolve them for everyone?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •PageManager doesn't show the tab that webbychat tries to create. You can create it by doing this:
1. Goto Page Management
2. Add a new page
3. Set the Tab Name to Chat
4. Leave tab Identifier blank
5. Copy this exactly into "Tab Attributes:
onclick="__wbc_slide_chat_pane(); return false;"
6. Make the Tab Url: #
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •