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 4: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 4: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 4: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 4: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 4: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!

Link Copied to Clipboard
Forum Search
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Error Rebuilding Forums 7.7.1
by BellaOnline - 01/22/2020 1:22 PM
Subscriptions Question
by Ruben - 01/14/2020 12:11 PM
Page won't load after 7.7.3 Update
by Jim0421 - 01/08/2020 11:11 AM
Ubb 7.7.3 winkey emoji shortcut issue
by Ruben - 01/07/2020 4:04 PM
testing winkey emoji shortcut
by Ruben - 01/06/2020 2:36 PM
Who's Online Now
1 members (isaac), 98 guests, and 338 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
3D Creations
3D Creations
by JAISP, December 30
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.4
(Snapshot build 20200106)