PHP Web Host - Quality Web Hosting For All PHP Applications Free RavenNuke(tm) Add Ons
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Tue Apr 07, 2009 4:38 pm Reply with quote Back to top

In "Configuration" "Default Fields" there is the field:

Allow URL for website: Active/Deactivate

This isn't working because the field is actually "Homepage" and the user can enter their URL even if the field is deactivated. Am I missing something here?

Cheers
View user's profile Send private message
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2455
Location: Pittsburgh, Pennsylvania

PostPosted: Tue Apr 07, 2009 7:31 pm Reply with quote Back to top

The name given to the field doesn't mean anything. It only matter what field is referenced in the database.

I tried hiding the field on
Only registered users can see links on this board!
Get registered or login to the forums!
and it seems to be working fine.
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Tue Apr 07, 2009 7:36 pm Reply with quote Back to top

I understand that but I think my point was really that it doesn't work if "Deactivated". The user, when registering is still presented with the dialog and can still add a URL for their homepage/website .. Unless I am missing something ??
View user's profile Send private message
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2455
Location: Pittsburgh, Pennsylvania

PostPosted: Wed Apr 08, 2009 10:22 am Reply with quote Back to top

Oh I see what you mean now. I was just looking at "edit info" and "user info" not at registration. I'll take a look at it.
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Wed Apr 08, 2009 10:26 am Reply with quote Back to top

Thanks, I realize that my OP was a bit confusing. Smack
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Fri Apr 10, 2009 8:45 am Reply with quote Back to top

I couldn't reproduce this. The home page / url doesn't show on registration or user info when deactivated.
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Fri Apr 10, 2009 8:54 am Reply with quote Back to top

I think that's because my test site has an update that resolved a similar issue related to permissions. I'll add to SVN and fix both.
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Fri Apr 10, 2009 9:08 am Reply with quote Back to top

OK. Added to SVN but it was only on the user info page. Registration hasn't changed and is working correctly.
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Fri Apr 10, 2009 9:34 am Reply with quote Back to top

Yes, if the user registers, then goes to "Your Account" => "Change Info", there is not supposed to be place displayed for "Website URL" if it is deactivated in the RNYA configuration => default fields
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Fri Apr 10, 2009 10:10 am Reply with quote Back to top

I believe the userinfo.php change may address this, too, because I can't reproduce it.

You can get the fix
Only registered users can see links on this board!
Get registered or login to the forums!
.
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Fri Apr 10, 2009 10:45 am Reply with quote Back to top

That took care of THIS issue, thanks ... Butttt .. did NOT take care of the email issue unless I am missing something. Mouseover the email icon in the user profile and it still shows the real email address in the lower status bar. Or .. where is the new userinfo.php file supposed to work for that fix.

Cheers
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Fri Apr 10, 2009 11:06 am Reply with quote Back to top

Ok, I see how this works re: email viewable now ... And yes, it DOES work with the new userinfo.php file.

Cheers
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Fri Apr 10, 2009 11:29 am Reply with quote Back to top

If you are logged in as an admin, the email address is viewable. Otherwise, it is not.
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Sat Apr 11, 2009 7:52 am Reply with quote Back to top

New twist ...

Scenario (actual event)

User registers and at this time can add URL:
Only registered users can see links on this board!
Get registered or login to the forums!
and if you click on the username, the profile shows "Website:
Only registered users can see links on this board!
Get registered or login to the forums!
". However, if that user goes to "Change Info", the website text is missing as per the "default fields" being deactivated. I need to eliminate ALL possibilities of users adding a URL "website". I can always find "URL" in the php file and edit it out so it doesn't appear that way but this should be a little easier to do in the UI somewhere.

Cheers
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Sat Apr 11, 2009 8:04 am Reply with quote Back to top

That's the forum profile. We haven't touched that...yet.
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Sat Apr 11, 2009 8:13 am Reply with quote Back to top

So, they can still add a website URL but only at registration time. Should be easy enough to edit that out.

Cheers
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Sat Apr 11, 2009 9:13 am Reply with quote Back to top

Fixed it .. sorta ... Smile

Went into the language file and changed:

"Your Home Page" to "Your Pets Name"

Whatever works, 'eh? Very Happy

Cheers
View user's profile Send private message
draxx
Worker
Worker


Joined: Nov 19, 2003
Posts: 186

PostPosted: Mon Apr 13, 2009 3:38 pm Reply with quote Back to top

Well while were at it the new userinfo.php still has an issue.... or mabie not that file .... but when I say "no" to the fake email address option it still asks for a fake email address.

Is that also forum?
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Mon Apr 13, 2009 3:47 pm Reply with quote Back to top

Are you doing the "Default Fields" feature in Edit Users and deactivating that field? Does this happen when a user first registers or after they register and go to Your Account => Change Info? they are two different areas.

Cheers
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Mon Apr 13, 2009 4:28 pm Reply with quote Back to top

If you disable the URL, it cannot be added at registration, displayed on user info or changed on the Your Account Change Info page. It could be displayed / changed on the Forums Profile page.

Same for fake email address. If it's disabled, it won't display on registration, user info, change user info, but will display on Forums profile.

As dad7732 pointed out, it is deactivated in Admin, Edit Users, Default Fields.
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Mon Apr 13, 2009 5:24 pm Reply with quote Back to top

I just registered as a user on my support site. I was sent an activation email as expected. Clicking the link I was brought to this page:

"You must complete and submit this form for your account to be activated!:"

The form contains:

Fake Email:
URL for Website:
Hide Online Status:
Allow Signature Info:
Allow Extra Info:
Allow Interests:

All of these are "Deactivated" in Default Fields. The only one that is NOT displayed is "URL for Website". The rest are valid and displayed and can enter the info.

The Your Account => Change Info is clear of ALL of the deactivated fields.
View user's profile Send private message
draxx
Worker
Worker


Joined: Nov 19, 2003
Posts: 186

PostPosted: Mon Apr 13, 2009 6:17 pm Reply with quote Back to top

Okay I had to step through this.

Fake email is disabled.

When a user logs in for 1st part - it does not display this fake email.

When user clicks the activation link it comes back to the page - and then it asks for fake email.

Once you click submit then it vanishes again - it does not appear in the user profile nor does it appear when you click change info in your account. Apparently only at the activation link/confirmation does it show.
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Mon Apr 13, 2009 7:09 pm Reply with quote Back to top

Aaahhhh....that! Ok, I will work on that...
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Mon Apr 13, 2009 7:15 pm Reply with quote Back to top

Yup, unless you actually register as a new user, you won't see that form. It was annoying me to no end when I had a user that registered, logged in and as I watched his progress, the (H) appeard next to his username and I had that field deactivated. It was only after registering a test user myself that I realized what was happening.
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Sat Apr 18, 2009 6:11 pm Reply with quote Back to top

OK...going through this, I have a question. If the fields are required for registration and membership requires approval, shouldn't they be view only on this activation page?
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum