Win a copy of Head First Android this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Deleteung users

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hHow do i delete a user, eg. a "test"-named one. ?

ths, heinz
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can only lock the accounts, currently. And even if, in the future, we were going going to implement "physical" deletion, it only will be avaible to users with 0 messages.

To lock the accounts, go to the administration panel -> Users and choose the users you want to lock.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
May be it's better to also delete messages by those users! ops:
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Anonymous wrote:May be it's better to also delete messages by those users! ops:



Maybe.. This can be an optional task chosen by the Administrator, since removing its messages may impact in inconsistent topics.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Rafael,

I have a serious problem. I just took a couple of days to integrate jforum into my existing user database. All works fine, no problem, except for the biggest problem of all....

When users of our system delete their account, we can only lock their account in jforum. This is a huge issue because what we really need to do is delete all postings by that particular user since they no longer exist. Why, you ask...because members of our site will see their name and try and ask them a question not knowing that they don't exist anymore.

Rafael, I tried deleted all posts from all tables with a particular user_id, but as you already know, this screws up the cache. I tried turning off the cache in your global config file, but that didn't seem to help.

Is there a work around to possibly deleting all cache when a user is deleted by our system? Or something else perhaps?

Chad
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Chad, take a look in classes from the "repository" package, like TopicRepository, ForumRepository and so on.

Also, version 2.1.4 comes with a CacheAction, which is used in the admin panel to see cached data / restart and so on.

Maybe it will not be all you need, but is for sure a good start. In the worst situation, you can add new methods, like "clearThisShit()"

Let me know of your progress.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey,

What I've seen in other forums is that when a user becomes "unregistered", his posts transform into "anonymous" ones or "unregistered" which is a special kind of user/non-user.

Would that work? As JForum allows for anonymous/guest messages, you would "just" need to turn all the topics of the user into this kind of messages.

Cheers!
[originally posted on jforum.net by GreenEyed]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hm, that may be an option. Much probably jforum will provide some default actions (turn to anonymous, remove all, don't remove etc)

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Rafael and others for adding to this post.

I like the idea of turning users to anonymous when they are deleted.

I hope you keep this idea in mind when creating new versions Rafael.

Keep up the excellent work.

Chad
[originally posted on jforum.net by Anonymous]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic