Joined: Oct 2006
Posts: 51
Likes: 1
Journeyman
Journeyman
Joined: Oct 2006
Posts: 51
Likes: 1
When a user registers for my forum, there is a checkbox under the Birthday field. The checkbox does not have any title or explanation. I collect birthday information, but do not require it. Can anyone tell me why the checkbox is appearing, what it is for, and how I can eliminate it?
Last edited by Rick; 10/17/2006 10:48 AM .
Joined: Aug 2006
Posts: 1,649
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,649
Likes: 1
Maybe your Style settings are preventing it from being visible (highlight the area and see if you can read the text)
It's probably the "Show birthday in calendar and profile" option
PS - I like how you don't need to fill out the year now, to have your birthday saved for the calendar
Last edited by jgeoff; 10/14/2006 3:52 PM .
GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Oct 2006
Posts: 51
Likes: 1
Journeyman
Journeyman
Joined: Oct 2006
Posts: 51
Likes: 1
Good suggestion - I hadn't thought of that. Unfortunately, I tried to highlight the area, but it really is blank.
Joined: Jun 2006
Posts: 16,369
Likes: 126
Joined: Jun 2006
Posts: 16,369
Likes: 126
I was attempting to visit your test site to see this for myself, but it seems you're not accepting registrations... I'd like to take a gander at the raw html to see what exactly is being dropped by the browser (or not included by the forum) Additionally, what is checked in the registration settings having to deal with birthdays?
Joined: Aug 2006
Posts: 1,649
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,649
Likes: 1
Dude.... See attached
Attachments
GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Jun 2006
Posts: 16,369
Likes: 126
Joined: Jun 2006
Posts: 16,369
Likes: 126
Sure, thats what it looks like on your forum, I want to know what it looks like on our troubled soul's forum
...
Joined: Oct 2006
Posts: 51
Likes: 1
Journeyman
Journeyman
Joined: Oct 2006
Posts: 51
Likes: 1
I'm not sure why my forum wasn't accepting your registration, but it seems to be working ok now. The forums are at
www.usawks.com/forums/ubbthreads.php . Also, I've tried toggling the birthday item between "Required" and "Optional," but it doesn't change the blank item. Here is what it looks like:
Last edited by mjuby; 10/14/2006 9:20 PM .
Joined: Jun 2006
Posts: 16,369
Likes: 126
Joined: Jun 2006
Posts: 16,369
Likes: 126
Humm odd, no html is being displayed period (just tried it on your site) Have you done any editing to the wordlets/language files? More specifically, what does the value (in editbasic.php) for SHOWBDAY say? (It should say "Show birthday in calendar and profile.")
Joined: Aug 2006
Posts: 1,649
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,649
Likes: 1
Yeah, did you edit any language files?
This
is weird...!
<td class="alt-1" width="50%">
</td>
<td class="alt-1" width="50%">
<input name="USER_PUBLIC_BIRTHDAY" value="1" class="form-checkbox" type="checkbox">
</td>
</tr>
All I can say is, works for me...!
GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Oct 2006
Posts: 51
Likes: 1
Journeyman
Journeyman
Joined: Oct 2006
Posts: 51
Likes: 1
Here's what is in my editbasic.php file:
Joined: Jun 2006
Posts: 16,369
Likes: 126
Joined: Jun 2006
Posts: 16,369
Likes: 126
Humm, so its not that... What version are you running? (7.0 final or a beta)
not entirely sure what else, wonder where Rick is
Joined: Jun 2006
Posts: 626
Addict
Addict
Joined: Jun 2006
Posts: 626
Did Rick actually miss this one?
Joined: Oct 2006
Posts: 51
Likes: 1
Journeyman
Journeyman
Joined: Oct 2006
Posts: 51
Likes: 1
Running 7.0 final. I'm new to UBB.threads, just recently moved from UBB.classic. Would the script that transferred my forum from classic to threads have anything to do with it?
Joined: Jun 2006
Posts: 9,242
Likes: 1
Former Developer
Former Developer
Joined: Jun 2006
Posts: 9,242
Likes: 1
This is actually a bug. If you don't have the checkbox checked to show birthdays in the calendar then the language string is empty.
Joined: Jun 2006
Posts: 9,242
Likes: 1
Former Developer
Former Developer
Joined: Jun 2006
Posts: 9,242
Likes: 1
The fix. Edit line 280 of scripts/newuser.inc.php Currently you'll see where it has SHOWBDAY2 that should read: SHOWBDAY_NOCAL
Joined: Oct 2006
Posts: 51
Likes: 1
Journeyman
Journeyman
Joined: Oct 2006
Posts: 51
Likes: 1
Thanks, Rick. Is there any way that I can have the birthday checkbox checked by default?
Joined: Aug 2006
Posts: 1,649
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,649
Likes: 1
Is there any way that I can have the birthday checkbox checked by default?
This
should work... add " CHECKED " to
LINE 289:
<input type="checkbox" name="USER_PUBLIC_BIRTHDAY" value="1" class="form-checkbox"
CHECKED />
GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Oct 2006
Posts: 51
Likes: 1
Journeyman
Journeyman
Joined: Oct 2006
Posts: 51
Likes: 1
Rick said that the bug occurs when
"If you don't have the checkbox checked to show birthdays in the calendar"
Where can I find the checkbox option to show birthdays in the calendar?