Previous Thread
Next Thread
Print Thread
Hop To
[FIXED for 7.0.1] User Visible Online Status - blank in reg form? #166661 10/20/2006 5:13 PM
Joined: Aug 2006
Posts: 1,640
jgeoff Offline OP
Pooh-Bah
OP Offline
Pooh-Bah
Joined: Aug 2006
Posts: 1,640
I don't know if this is related to the "Birthday Bug" or not, but I just took a look at my Registration Page and noticed the following (attached). (And I'm hoping it's not something I did ;))

When viewing source, this corresponds to USER_VISIBLE_ONLINE_STATUS:
Code
<tr>
<td class="alt-1" width="50%">
		
</td>
<td class="alt-1" width="50%">
<select name="USER_VISIBLE_ONLINE_STATUS">
<option value="yes" selected="selected">Yes</option>

<option value="no">No</option>
</select>
</td>
</tr>

In newuser.inc.php, this corresponds to:
Code
// VISIBLE SELECTION
if (isset($regopt['USER_VISIBLE_ONLINE_STATUS'])) {
	$thisoption = <<<EOF
		<tr>
		<td class="alt-1" width="50%">
	{$ubbt_lang['PROF_VIS']}
		</td>
		<td class="alt-1" width="50%">
	<select name="USER_VISIBLE_ONLINE_STATUS">
	<option value="yes" selected="selected">{$ubbt_lang['TEXT_YES']}</option>
	<option value="no">{$ubbt_lang['TEXT_NO']}</option>
		</select>
		</td>
		</tr>
EOF;
		if (isset($regopt['USER_VISIBLE_ONLINE_STATUS']['require'])) {
			$requiredfields .= $thisoption;
		}
		elseif (isset($regopt['USER_VISIBLE_ONLINE_STATUS']['show'])) {
			$optionalfields .= $thisoption;
		}
	}
	// END VISIBLE SELECTION



Is anyone else (not) seeing this? Cuz I had new registrations disabled on the test board, and just turned it on to test a fix I posted elsewhere. blush

(BTW - I forgot to fill the Subject in, got the error, went back and luckily my post was still here. But File Manager says I have zero files now, altho it appears it's still attached...)

Attached Files 204-Reg_User_Status.gif
Last edited by Rick; 10/20/2006 5:25 PM.

GangsterBB.NET (Ver. 7.6.1.1)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Chrome, Firefox, & Safari (iPhone); No IE, ever!
Re: User Visible Online Status - blank in reg form? [Re: jgeoff] #166662 10/20/2006 5:20 PM
Joined: Jun 2006
Posts: 9,243
Rick Offline
Former Developer
Offline
Former Developer
Joined: Jun 2006
Posts: 9,243
Looks like a valid bug. I get the same thing on my test board. Will need to get this patched up.

Re: User Visible Online Status - blank in reg form? [Re: Rick] #166663 10/20/2006 5:23 PM
Joined: Jun 2006
Posts: 9,243
Rick Offline
Former Developer
Offline
Former Developer
Joined: Jun 2006
Posts: 9,243
Line 647 of scripts/newuser.inc.php

You'll see a reference to PROF_VIS

change that to ONLINE_HIDE

Re: User Visible Online Status - blank in reg form? [Re: Rick] #166665 10/20/2006 5:32 PM
Joined: Aug 2006
Posts: 1,640
jgeoff Offline OP
Pooh-Bah
OP Offline
Pooh-Bah
Joined: Aug 2006
Posts: 1,640
That did it - thanks! smile


GangsterBB.NET (Ver. 7.6.1.1)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Chrome, Firefox, & Safari (iPhone); No IE, ever!

Forum Search
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Horizontal Image Attachment
by ECNet - 09/11/2019 12:17 PM
user profile, after I click Update nothing happens
by PianoWorld - 09/10/2019 12:38 PM
Inline Image Embeds
by ECNet - 09/03/2019 2:38 PM
Paid Subscriptions - Needs More Incentive
by M4TT - 08/25/2019 10:06 PM
visual accessibility issues.v7.7.3
by Ruben - 08/21/2019 1:50 PM
Who's Online Now
1 registered members (isaac), 65 guests, and 341 spiders.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Amusing Terain Scenics
Amusing Terain Scenics
by isaac, August 19
Sky places
Sky places
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 7.7.3