Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
lace extension and v1
does anyone know if this extension works properly w/ version 1.0?
i don't want to install it just yet before i know it works....
tia
0
This discussion has been closed.
Comments
Yes it was the "failed to modify extension" in a popup. hrm i checked the permissions and it seems that they were all set at 644 for the newly created files.. ie conf/extensions.php and I will give it another shot now.
also, once i've enabled whosonline (which is the offending extension in my case, i'm assuming lace would be yours), ALL of the extensions on the page give this error, even tho it still writes to the file just fine.
hmm maybe i should disable whosonline and see if that is the cause of it.
THAT WAS IT!!!
It seems that it was WhosOnline breaking the extensions page. Once I removed that It was golden.
I'm going to have to try it later tonight.
Both work basically the same way though by setting the cookie for Lace from Vanilla - so be sure your cookie values in the default.php match those in your Lace config.
// Create chat cookie setcookie("Cmehil_Lace_name", $AccountUser->Name, time()+3600*24*30, "/chat/");
Make sure that line in default.php matches your settings in your "chat/config.php" file.
I'm having the same problem as synfield - it looks like everything is installed correctly, but the sidebar button isn't showing up.
I've downloaded and installed Lace, and everything is running correctly. I have the latest Lace.1 extension, and
$Context->Dictionary["Chat"] = "Foobar Chat"; $Context->Dictionary["btnChat"] = "Chat Now!";
has been pasted into conf/languages.php.
Here are my Lace settings in chat/config.php:
/** The name you'd like to appear in the main header, and anywhere the name of the chatroom is displayed. */ define('LACE_SITE_NAME', 'Foobar Chat'); # URL Settings /** Absolute URL to Lace including trailing slash (e.g. 'http://www.myserver.com/lace/' */ define('LACE_URL_ABS', 'http://www.foobar.com/chat/'); /** Relative URL to Lace including trailing slash (e.g. '/chat/' or simply '/') */ define('LACE_URL_REL', '/chat/'); # Cookie Settings /** Name Lace's session cookie */ define('LACE_SESSION_COOKIE', 'Foobarchat'); /** Name Lace's nickname cookie */ define('LACE_NAME_COOKIE', LACE_SESSION_COOKIE.'_name');
My extension chat cookie is:
// Create chat cookie setcookie("Foobarchat_name", $AccountUser->Name, time()+3600*24*30, "/chat/");
Any idea what's going wrong? Thanks for your help! :-)
Is it looking in the right place for your lace config? I mean if you take out the "if" statement which checks for the lace config does it show up then?
I've been racking my brains on this one:
if ($AccountUser) { $Panel->AddString("<h2>".$Context->GetDefinition("Chat")."</h2> <form name=\"frmChat\" method=\"get\" action=\"../chat/index.php\" method=\"POST\"><input type=\"hidden\" name=\"name\" value=\"".$AccountUser->Name."\" /></form> <legend>".$AccountUser->Name.", would you like to <a href=\"#\" onclick=\"frmChat.submit()\">".$Context->GetDefinition("btnChat")."</a></legend>", 100); }
It seems the problem is here in this if but why you are not getting the text and link in the panel is beyong me. I've tried this on 3 intalls of Vanilla 1 and it seems to be OK.
What other extensions do you have running maybe there is a conflict?
Even though you both seem to be checking for the relative path to the chat - could you humor me and try "../ajax_chat/config.php" instead of what you have? When it's running as an extension I do believe it's the relative path of the chat compared to vanilla itself.
Commenting out the "if" statement did the trick - it's showing up now. Thanks!
Another quick question: it's giving me the following:
Foobar Chat -------------- [USERNAME], would you like to Chat Now
Just text - no button. How do I get the button to show up?
Thanks for the help!
Josh