Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Is JForum application support these features?

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rafael,

1) Is there any auto delete option for a forum user?
2)Can we change the order of replies? I mean by default latest reply of a given topic will be shown in the last instead we want to display it in the first.
3)Is there any option for selecting a timezone for each post? or Can we display a timezone for every post?


Thanks,
Gopal
[originally posted on jforum.net by gopal]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

gopal wrote:Hi Rafael,

1) Is there any auto delete option for a forum user?
2)Can we change the order of replies? I mean by default latest reply of a given topic will be shown in the last instead we want to display it in the first.
3)Is there any option for selecting a timezone for each post? or Can we display a timezone for every post?


Thanks,
Gopal



I'll answer these so Rafael can correct me:

(1) No, you can not really delete a user (id). The db user_id is set to autoincrement (no gaps from what I know).
(2) I wish so, but I don't think so (not via config). I wish because needing to go to the last to see the recent is obnoxious.
(3) No. It is in the db structure, but not the UI. I wish it were in the UI.



[originally posted on jforum.net by MyJForum]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

(2) I wish so, but I don't think so (not via config). I wish because needing to go to the last to see the recent is obnoxious.



You can change the db query in the config file to do that. Of course, it might affect other parts of the forum that rely on the same query.

[originally posted on jforum.net by bcc]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wow!! Thank you guys.

I updated PostModel.selectAllByTopicByLimit query in generic_quries.sql with ORDER BY post_time DESC instead of ASC.

After changing the above query with DESC it is displaying last post as first.

Hope that is the only change.

Gopal


[originally posted on jforum.net by gopal]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If there is no way to disable or delete the user with auto SSO option can i use a sql query to delete or disable user from my application.

Please post the sql quries to delete or disable user from jfrom application for the following scenarious.

1) Just delete or disable the user without deleting any topics.
2) Just delete or disable the user and all his topics.

I need to handle following options in case of disable:

i) User should not login with disabled username.
ii) I should not allow other users to send any private messages to disabled users.
iii) I should have options to delete user topics and/or posts for disabled users.

Hope above options make sense.

Thanks,
Gopal



[originally posted on jforum.net by gopal]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!