Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.30.01 RN All Other Issues
Author Message
dad7732
RavenNuke(tm) Development Team



Joined: Mar 18, 2007
Posts: 1242

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

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: 2583
Location: Pittsburgh, Pennsylvania

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

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! ] and it seems to be working fine.

_________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. 
View user's profile Send private message
dad7732







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

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 ??
 
Palbin







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

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.
 
dad7732







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

Thanks, I realize that my OP was a bit confusing. Smack
 
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6433

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

I couldn't reproduce this. The home page / url doesn't show on registration or user info when deactivated.

_________________
I search, therefore I exist...
nukeSEO - nukeFEED - nukePIE - nukeSPAM - nukeWYSIWYG
 
View user's profile Send private message
kguske







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

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.
 
kguske







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

OK. Added to SVN but it was only on the user info page. Registration hasn't changed and is working correctly.
 
dad7732







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

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
 
kguske







PostPosted: Fri Apr 10, 2009 10:10 am Reply with quote

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

You can get the fix here.
 
dad7732







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

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
 
dad7732







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

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

Cheers
 
kguske







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

If you are logged in as an admin, the email address is viewable. Otherwise, it is not.
 
dad7732







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

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! ] and if you click on the username, the profile shows "Website: [ Only registered users can see links on this board! Get registered or login! ]". 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
 
kguske







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

That's the forum profile. We haven't touched that...yet.
 
dad7732







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

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

Cheers
 
dad7732







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

Fixed it .. sorta ... Smile

Went into the language file and changed:

"Your Home Page" to "Your Pets Name"

Whatever works, 'eh? Very Happy

Cheers
 
draxx
Involved
Involved



Joined: Nov 19, 2003
Posts: 282

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

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







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

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
 
kguske







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

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.
 
dad7732







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

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.
 
draxx







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

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.
 
kguske







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

Aaahhhh....that! Ok, I will work on that...
 
dad7732







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

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.
 
kguske







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

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?
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.30.01 RN All Other Issues

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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©