You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 58 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Posts/Threads can disappear using Remove inactive user [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.printer-friendly view
View previous topic Log in to check your private messages View next topic
Poll :: Is this a real bug or is Bert just looney?

Bert is looney!!!
16%
 16%  [ 1 ]
This is a real bug
83%
 83%  [ 5 ]
Total Votes : 6


Author Message
bplinson
Sergeant
Sergeant


Joined: Sep 24, 2003
Posts: 112


PostPosted: Sat Aug 14, 2004 12:33 am Reply with quoteBack to top

I am currently on PHPNuke 7.4 and running Protector System 1.14.b2.

This bug is not a PS bug but rather a PHPnuke bug or MySQL feature, but can create a major problem when using the PS Remove inactive user funtion. I figured I would post this on here and the PS website.

The bug is that if you remove/delete a member of your website that has posted every post from that member might disappear. Not a big deal right?? Well, not just every post of his or hers disappears but every THREAD that the deleted member posted in!!!

This means that say someone is a very active member of your website, has posted quite a lot, and for some reason quits coming the website for any reason (banned, death, no reason) and hits your Remove inactive member days limit. If that person is deleted than EVERY thread he or she posted in will be gone. This could get pretty ugly as your website gets older as more posts/theads could disappear.


The posts and threads are not actually deleted from your database. Rather they can not show up in the forum. Now I am not that smart when it comes to MySql so I can not exactly explain what is going on here. But I believe that once the member was deleted the logical link to the posts/threads he/she posted in are gone so now they have no way of showing up in the forum.

I tried to test this by creating three test users on my development server but could not recreate the problem. But it does exist since it happened to me yesterday when I deleted a member from my production server and all posts from him and threads he posted in disappeared. I was able to get the posts/threads back by restoring the member in my database.

There has also been some discussion about disappearing posts on NukeCops and member deletion was always the reason why the posts/threads were gone. Restoring the delted member always brought the posts/threads back and worked for me also.
Find all posts by bplinsonView user's profileSend private messageVisit poster's website
Zephyrus
Nuke Cadet
Nuke Cadet


Joined: Oct 23, 2004
Posts: 2


PostPosted: Sat Oct 23, 2004 4:35 pm Reply with quoteBack to top

I too just had this problem pop-up. Is there any fix except restoring the user? I hope so, or else I just lost a lot of threads Rolling Eyes
Find all posts by ZephyrusView user's profileSend private message
bplinson
Sergeant
Sergeant


Joined: Sep 24, 2003
Posts: 112


PostPosted: Sun Oct 24, 2004 10:37 am Reply with quoteBack to top

Restore user is the only way to fix it.

if you do not want that person a a member on your website then chaange the password and blank out the email address of the user.

_________________
Bert Linson
Hockenheim, Germany
www.xlforum.net - The LARGEST Sportster Motorcycle forum in the WORLD!!!
Find all posts by bplinsonView user's profileSend private messageVisit poster's website
MisterWORK
Support Mod
Support Mod


Joined: Jun 11, 2003
Posts: 245


PostPosted: Tue Oct 26, 2004 12:48 am Reply with quoteBack to top

Verry odd? Maby I must look if the forum has changes the code. I did this function for Nuke 6.5. Im gonna see what I can find.

bplinson it would be nice if i can get little help from you.

The thing is that all post that the "removed" user has posted shpuld just be converted to Guest posts... not be removed, So it might be somthing bad/wrong there... thx for the info..

_________________
Protector System for phpNuke.
<b>Current Version Released: 1.15.b2( 05/12-04) </b>
Support site: http://protector.warcenter.se
Find all posts by MisterWORKView user's profileSend private messageSend e-mailVisit poster's website
Zephyrus
Nuke Cadet
Nuke Cadet


Joined: Oct 23, 2004
Posts: 2


PostPosted: Tue Oct 26, 2004 5:11 pm Reply with quoteBack to top

Also now that that user is gone along with all my threads I cannot seem to make a new topic in the forum categories/forums that he posted in. when i click submit on the add new post page, it just refreshes the new post page and does nothing. has anyone found anything about this? im running php-nuke 7.0
Find all posts by ZephyrusView user's profileSend private message
Caffeinated
Nuke Soldier
Nuke Soldier


Joined: Feb 18, 2005
Posts: 16


PostPosted: Tue Mar 22, 2005 8:07 am Reply with quoteBack to top

bplinson wrote:
Restore user is the only way to fix it.

if you do not want that person a a member on your website then chaange the password and blank out the email address of the user.


This happened to me this morning and it kind of freaked me out. Happily, I was able to find this thread. To restore the user, I created another user with the same nickname and then edited the database in phpmyadmin so the user ID matched the deleted user's ID. Sorting the user database by user ID revealed where the hole in the DB was. In this case, number 82. Other important fields, like email and password, were filled with useless junk so the old user could not come back and hijack that userID.

All is now well. All threads, as well as order in my little universe, are restored.

I consider this a bug. PHPBB/PHPNuke should generate some kind of placeholder when users are deleted. Losing half my threads is not an option seeing as my group is a repository for community info.

G.
Find all posts by CaffeinatedView user's profileSend private message
lateshow
Nuke Cadet
Nuke Cadet


Joined: Oct 24, 2005
Posts: 1


PostPosted: Mon Oct 24, 2005 8:04 am Reply with quoteBack to top

Caffeinated wrote:
bplinson wrote:
Restore user is the only way to fix it.

if you do not want that person a a member on your website then chaange the password and blank out the email address of the user.


This happened to me this morning and it kind of freaked me out. Happily, I was able to find this thread. To restore the user, I created another user with the same nickname and then edited the database in phpmyadmin so the user ID matched the deleted user's ID. Sorting the user database by user ID revealed where the hole in the DB was. In this case, number 82. Other important fields, like email and password, were filled with useless junk so the old user could not come back and hijack that userID.

All is now well. All threads, as well as order in my little universe, are restored.

I consider this a bug. PHPBB/PHPNuke should generate some kind of placeholder when users are deleted. Losing half my threads is not an option seeing as my group is a repository for community info.

G.


Caffeinated:

I've been hit with this same problem. I am a true novice with phpmyadmin.
Would you please take time and go through a 1,2,3 step proceedure of restoring a user.

Many Thanks! Ron (lateshow) Shocked
ron@texw,com
Find all posts by lateshowView user's profileSend private message
JoAnne
Lieutenant
Lieutenant


Joined: Sep 22, 2005
Posts: 204

Location: NYC

PostPosted: Mon Oct 24, 2005 6:33 pm Reply with quoteBack to top

Caffeinated wrote:


This happened to me this morning and it kind of freaked me out. Happily, I was able to find this thread. To restore the user, I created another user with the same nickname and then edited the database in phpmyadmin so the user ID matched the deleted user's ID. Sorting the user database by user ID revealed where the hole in the DB was. In this case, number 82. Other important fields, like email and password, were filled with useless junk so the old user could not come back and hijack that userID.

All is now well. All threads, as well as order in my little universe, are restored.

I consider this a bug. PHPBB/PHPNuke should generate some kind of placeholder when users are deleted. Losing half my threads is not an option seeing as my group is a repository for community info.

G.


Caffeinated!! Thank You!

I had trusted someone enough to give them my passwords so they could upgrade my site for me. This person took it upon himself to delete some of my members that he personally didn't like, without consulting with me and without my permission. He also did some other things to my site, but there is no need to go into them here. Big Lesson learned, Don't ever give anyone your passwords no matter how much you think you can trust them!! I was forced to change all my passwords. Then I saw that it messed up my forums. I lost 60% of the posts. I was trying to recreate them manually whenever I had time.

I just did your 'Fix' and it worked! I have all the original posts back! Wish you had posted this sooner, but I am still glad you posted it now!

Thank You again!!

JoAnne ~

Reel Sound of Music

United Sound of Music
Find all posts by JoAnneView user's profileSend private messageVisit poster's websiteAIM Address
Display posts from previous:      
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.printer-friendly view
View previous topic Log in to check your private messages View next 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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.342 Seconds - 280 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::