Guest Sign In shows version 0.9 here at the Vanilla Add-ons listing, but version in the file is (correctly) 1.0.
Also, I think a set of <p> tags was dropped from this section (lines 39-42): $Panel->AddString('<div id="GuestSignIn"> <h2>'.$GuestSignIn_Title.'</h2> ' . $GuestSignIn_Message . ' <fieldset><form id="frmSignIn" method="post" action="'. GetUrl($Configuration, 'people.php') .'"> Should be: $Panel->AddString('<div id="GuestSignIn"> <h2>'.$GuestSignIn_Title.'</h2><p> ' . $GuestSignIn_Message . ' </p><fieldset><form id="frmSignIn" method="post" action="'. GetUrl($Configuration, 'people.php') .'"> The code for the <p> is in the CSS.
In default.phpExtension Name: Guest Sign in Message On the addons site: GuestSignIn
I'd go with the GuestSignIn to be used as the extension name since both the addons site is called that and the directory the extension is saved in is as well.
Incidentally, both default.php and the readme say it's version 1.0 and the add-ons site says it's .9. Might want to bump the add-ons site as well.
When users sign in they are redirected to my main page (no the forum main but the top level of hte domain) How do I fix this?? I ahve looked at all the files and I cannot find the problem. Thanks!
Near the bottom of the default.php file, just before the } else { there should be a 10. Change that to a lower number and it should move higher in the panel.
thanks for that but it doesn't seem to make any difference. is it likely that it is conflicting with Nugget or another extension. is it risky at all to turn off all other extensions to see if that makes any difference.
cheers - J
I just want to say that since adding this extension the rate of people applying for membership on my forum has increased noticeably. My forum allows anyone to read it, so you have to click a link to get to the sign in page. Apparently people must have been having a hard time finding it, and putting the login on the left helped them out.
Excellent add-on (should be part of the base software, IMO).
However--I notice that the layout breaks XHTML 1.0 Strict spec, which the rest of the board code adheres to. I was able to correct it with relative quickness--the <div> tag surrounding the <fieldset> tag actually should be inside the form tag (as <input> is an element that must be contained in a <div>, <p>, or other "container" tag--<form> is not a container tag, which surprised me the first time I ran into this part of the XHTML spec).
The input tags also have to be corrected from <input> to <input />.
That's just the nit in me, picking. Otherwise, excellent, functional, and necessary extension!
You would have to edit the second half of the if line, the part that looks like 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.
The sign in input forms are too wide (over the side panel). I am using firefox 3 on Linux. It happens on two of my machines with wider screen (the narrow screen is ok). Anyone know why? How can it be fixed? Thanks in Advance.
Thanks WallPhone for looking into it. BTW, the Live Search form size did not get affected. It always stays in the boundary.
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.
Comments
Also, I think a set of <p> tags was dropped from this section (lines 39-42):
$Panel->AddString('<div id="GuestSignIn"><h2>'.$GuestSignIn_Title.'</h2>
' . $GuestSignIn_Message . '
<fieldset><form id="frmSignIn" method="post" action="'. GetUrl($Configuration, 'people.php') .'">
Should be:
$Panel->AddString('<div id="GuestSignIn"><h2>'.$GuestSignIn_Title.'</h2><p>
' . $GuestSignIn_Message . '
</p><fieldset><form id="frmSignIn" method="post" action="'. GetUrl($Configuration, 'people.php') .'">
The code for the <p> is in the CSS.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Added to my TODO list for this weekend.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •In default.php
Extension Name: Guest Sign in MessageOn the addons site: GuestSignIn
I'd go with the GuestSignIn to be used as the extension name since both the addons site is called that and the directory the extension is saved in is as well.
Incidentally, both default.php and the readme say it's version 1.0 and the add-ons site says it's .9. Might want to bump the add-ons site as well.
- 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 •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •how can I move the guest sign-in to the top of the side panel?
is there a single file that needs to be edited?
cheers - J
- 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 •is there a magic spell i could use? or at least a few lines of code?
thanks a lot! in advance
- 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 •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.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •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
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •How do I make the "code boxes"? (like hamed did in the post above)
- 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 •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
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •#GuestSignIn fieldset form ul li input#txtUsername, #GuestSignIn fieldset form ul li input#txtPassword {width: 162px;
}
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •