PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  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
gandlers
New Member
New Member


Joined: Jan 07, 2007
Posts: 19

PostPosted: Thu May 17, 2007 1:04 pm Reply with quote Back to top

Hey guys,

I am having a problem that the date a user joined is not showing correctly in the members list. Initially i thought it was a 2.10.00 bug which was fixed by 2.10.01 as the user accounts which weren't showing correctly were deleted and the users re-registered after I patched the site to 2.10.01. A user has since registered and the same error has occured, the enclosed pic shows the members list and the error in the joined date column.

Image

Anybody have any ideas what may be causing this? I've noticed that the the affected user is the only one with a website and location defined in their profile, but the other users prior to the upgrade hadn't defined websites or locations.
Very confusing.

Cheers

Gandlers
View user's profile Send private message
Susann
Moderator


Joined: Dec 19, 2004
Posts: 2282
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Thu May 17, 2007 3:20 pm Reply with quote Back to top

You donīt need to delete users with such a date. Iīm pretty sure it has nothing to do with the website entry. I had the same issue with standard nuke and found tools like that:
Only registered users can see links on this board!
Get registered or login to the forums!



D M d, Y g:i a edit user and check/change the date.
View user's profile Send private message Visit poster's website
Gremmie
Former Moderator in Good Standing


Joined: Apr 06, 2006
Posts: 2401
Location: Iowa, USA

PostPosted: Thu May 17, 2007 4:05 pm Reply with quote Back to top

I looked at the Member_List code, and it is using the field user_regdate from the _users table for the column. It is possible that got messed up somehow. Are you using the standard Your_Account module or something else like CNBYA?

I would follow Susann's advice and check the user_dateformat and user_regdate fields in your _user table to see if they are messed up.

That number looks like a UNIX timestamp that has not been formatted into a human readable date.
View user's profile Send private message
gandlers
New Member
New Member


Joined: Jan 07, 2007
Posts: 19

PostPosted: Thu May 17, 2007 6:15 pm Reply with quote Back to top

we are using the standard "your_account".

I have had a look in the sql database and in the user_regdate field it has the numerical string (unixtimestamp), and in the user_dateformat field it has the actual date of registration rather than "D M d, Y g:i a" like all the other working accounts have.

Anyone have any ideas what may have caused this as im new to this PHPNuke malarky and things like this make me feel really out of my depth as i havent got a clue how to find and fix the fault. Is it possible that the user could be causing this during registration?

Oh Susann, I actually deleted the accounts as they were not showing to add into usergroups in NSN groups. That fault seemed to be fixed by the patch, but I thought the same of the timestamp fault. Smile

Thanks for your advice

G
View user's profile Send private message
Gremmie
Former Moderator in Good Standing


Joined: Apr 06, 2006
Posts: 2401
Location: Iowa, USA

PostPosted: Thu May 17, 2007 6:32 pm Reply with quote Back to top

I am not real sure how that could have gotten like that. The code in Your_Account is pretty straightforward. Did the user sign up through the phpBB forums registration or through a link on the home page (Your_Account)?

I would just edit that users row in phpMyAdmin as follows:

change the user_regdate field to the English date (May 17, 2007)
change the user_dateformat field back to D M d, Y g:i a

Do you know this user?
View user's profile Send private message
Susann
Moderator


Joined: Dec 19, 2004
Posts: 2282
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Thu May 17, 2007 6:46 pm Reply with quote Back to top

It happens sometimes and mods can cause this. You only need to change this 2 things.
With the converter tool you are able to find and change the user_regdate easily if it happens again.
Btw: The NSN groups works fine.
View user's profile Send private message Visit poster's website
montego
Site Admin


Joined: Aug 29, 2004
Posts: 7481
Location: Arizona

PostPosted: Thu May 17, 2007 7:47 pm Reply with quote Back to top

Yeah, I don't recall us making any changes to Members List or Forums code for 2.10.01, so not sure... Even Your Account, there were no changes between 2.10.00 and 2.10.01.
View user's profile Send private message Visit poster's website
Susann
Moderator


Joined: Dec 19, 2004
Posts: 2282
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Sun May 27, 2007 12:21 pm Reply with quote Back to top

@gandlers

Iīve found out that all new users with a wrong register date used the forums registration and there the Coppa.
No, I donīt know a permanent fix at the moment. Donīt let them register trough the forums. Change the path.
If you have still this problem check with phpMyAdmin the username within the tracked IPs you`ll find out how they registered.
There are other ways too e.g. the logfiles.
View user's profile Send private message Visit poster's website
Gremmie
Former Moderator in Good Standing


Joined: Apr 06, 2006
Posts: 2401
Location: Iowa, USA

PostPosted: Sun May 27, 2007 12:36 pm Reply with quote Back to top

At one time I removed the login and registration from the forum template on my site so that they could only login through Your_Account.
View user's profile Send private message
Susann
Moderator


Joined: Dec 19, 2004
Posts: 2282
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Sun May 27, 2007 12:40 pm Reply with quote Back to top

But how can you use the Coppa without forums registration ?
View user's profile Send private message Visit poster's website
Gremmie
Former Moderator in Good Standing


Joined: Apr 06, 2006
Posts: 2401
Location: Iowa, USA

PostPosted: Sun May 27, 2007 12:44 pm Reply with quote Back to top

I don't. Smile
View user's profile Send private message
gandlers
New Member
New Member


Joined: Jan 07, 2007
Posts: 19

PostPosted: Mon Jan 21, 2008 2:35 am Reply with quote Back to top

Hey guys,

just digging up this old thread as we have has a few "bots" recently registering an posting viagra adverts etc.

How would I go about removing the login/register from hte forums, I have searched the code, but cant seem to find it. I know its probably looking me right in the face, but this PHP Nuke stuff is a bit advanced with complex syntax that hurts my head Smile

G
View user's profile Send private message
Susann
Moderator


Joined: Dec 19, 2004
Posts: 2282
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Mon Jan 21, 2008 2:52 am Reply with quote Back to top

Try this code by evaders:
FIND in includes/usercp_register.php
Code:


if ( !defined('IN_PHPBB') )
{
        die("Hacking attempt");
        exit;
}



AFTER, ADD

Code:

if ($mode == "register") {
   Header("Location: modules.php?name=Your_Account&op=new_user");
   die();
}
View user's profile Send private message Visit poster's website
gandlers
New Member
New Member


Joined: Jan 07, 2007
Posts: 19

PostPosted: Tue Jan 22, 2008 7:33 am Reply with quote Back to top

tried that, there is still the option to register.

What I want to do is remove the Register bit from the forum and only allow users to resiter by the info block.

G
View user's profile Send private message
Susann
Moderator


Joined: Dec 19, 2004
Posts: 2282
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Tue Jan 22, 2008 11:23 am Reply with quote Back to top

But they are redirected to Your Account with the forums link to register.
A link to your site would be great.
I quess the link is in the overall header of your forums template.
View user's profile Send private message Visit poster's website
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-2008 by Raven
Proud to be listed at Lobo Links Web Directory

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 Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

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

zerosum