Previous Thread
Next Thread
Print Thread
Hop To
Joined: Aug 2006
Posts: 1,649
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,649
Likes: 1
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...)
Attachments
204-Reg_User_Status.gif

Last edited by Rick; 10/20/2006 5:25 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: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Looks like a valid bug. I get the same thing on my test board. Will need to get this patched up.

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Line 647 of scripts/newuser.inc.php

You'll see a reference to PROF_VIS

change that to ONLINE_HIDE

Joined: Aug 2006
Posts: 1,649
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,649
Likes: 1
That did it - thanks! smile


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

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
0 members (), 1,073 guests, and 180 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)