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.
GuestSignIn
This discussion is related to the GuestSignIn addon.
Comments
array('account.php', 'categories.php', 'extension.php',
... I believe all the page manager pages would use this after you add extension.php to that list of pages.This update doesn't do that, (I'm going to leave it out on purpose, since it could break some other extension) instead this version fixes the XHTML validation issues that (wraith) pointed out in January.
i tried that after i asked you and it did not work
I also added another thing to it neither which helped
if (in_array($Context->SelfUrl, array("account.php", "categories.php", "comments.php", "index.php", "search.php",
"extension.php", "?Page=apply"))
unless i messed up with spelling, then i did the same thing
i will check out yours though
so if this doe snot work, your not going to fix it? I did not quite get what you said
How do I make the "code boxes"? (like hamed did in the post above)
Also one more question, I have several other pages on my sites, is it possible to add this signin on my other pages as well? Use this site for example, it is like adding GuestSignin for Swell Blog | Documentation | Community | Get Vanilla | Vanilla Add-ons. Please give me some hint how I would do that.
Thanks
Jun
#GuestSignIn fieldset form ul li input#txtUsername, #GuestSignIn fieldset form ul li input#txtPassword { width: 162px; }
You might be able to shorten it to just this:
#GuestSignIn #txtUsername, #GuestSignIn #txtPassword { width: 162px; }
Below
$SignInForm = $Context->ObjectFactory->CreateControl($Context, "SignInForm", "frmSignIn");
add
$PasswordForm = $Context->ObjectFactory->CreateControl($Context, "PasswordRequestForm", "frmPassword"); $ApplyForm = $Context->ObjectFactory->CreateControl($Context, "ApplyForm", "frmApply");
and below
$Page->AddRenderControl($SignInForm, $Configuration["CONTROL_POSITION_HEAD"] + 1);
add
$Page->AddRenderControl($PasswordForm, $Configuration["CONTROL_POSITION_MENU"] + 2); $Page->AddRenderControl($ApplyForm, $Configuration["CONTROL_POSITION_MENU"] + 3);
Off course, you should add some extra css as well.
What I am now looking for is a way to add direct logout instead of a link to a logout page. Could anybody point me in the right direction?
I can't get both of these extensions to work simulataneously. If I have 'DefaultPage' enabled, signing in with 'GuestSignIn' just takes me to the 'official' sign in dialogue.
I'm a total beginner with php, so sorting this out is beyond me (yet!). Any ideas?