293921
mike
Re: Pre-moderating forums: an idea
  • 2002/7/10 21:52

  • mike

  • Just popping in

  • Posts: 21

  • Since: 2002/2/3 1


Why not release it as a separate module instead of a hack so both modules can be used together? So we could use an unmoderated newbb and a moderated one together - the same as the current faqmodule/xoopsdoc module - would be a nice option



293922
MaxIT
Re: Pre-moderating forums: an idea
  • 2002/7/10 18:24

  • MaxIT

  • Just popping in

  • Posts: 65

  • Since: 2002/11/8


(pre-)Hack is finished, it looks like working fine.

You can take a look at my RC3 Test Site.

Just login as testuser/testuser and post anything. Logout, then look at your thread, will be empty. Login again as testmoderator/testmoderator, look in the threads, and you will se a button: if you press the 'red' one, it will hide the post; if you do the 'green' one, it will unhide it.

Known bugs:

- incongruency in user/thread/forum posts count (it involves too many code lines)
- if thread has not at least 1 post unhided, it should not appear on forum threads list (this is a mess, except by adding further field and logic for threads table)
- if post is sent from a moderator, it should be implicitally approved (easy one)
- post should be see from owner, too (not sure)
- forum module admin should have same rights as moderator (just a keyword)



293923
MaxIT
Re: Pre-moderating forums: an idea
  • 2002/7/10 17:06

  • MaxIT

  • Just popping in

  • Posts: 65

  • Since: 2002/11/8


Quote:
I think you have a very nice idea...of course we accept any contribution by users any time..

I almost finished the hack: I just need to work on viewpost.php for filtering posts according to user permission, and add a checkbox "moderated" on forum administration.
It will be a beta because I think I'll get some posts-related problem like user-posts count and showing empty thread when all posts are hided (a better version should add a 'hide' flag to thread headers)
I'll release it soon.



293924
onokazu
Re: Pre-moderating forums: an idea
  • 2002/7/10 14:43

  • onokazu

  • XOOPS Founder

  • Posts: 617

  • Since: 2001/12/13


I think you have a very nice idea...of course we accept any contribution by users any time..



293925
Baccillus
Re: Who's Online Mod. Guest / Member Online User Count Problem
  • 2002/7/10 13:07

  • Baccillus

  • Just popping in

  • Posts: 1

  • Since: 2002/7/10


well, i am also facing a problem..it is showingin the "who's online" "0 guests and 1 members online" all the time i got my few friends on the net to visit my site and still after frequent refreshing the count remains the same :(

pls let me know what is the problem



293926
Philip
Who's Online Mod. Guest / Member Online User Count Problem
  • 2002/7/10 12:25

  • Philip

  • Just popping in

  • Posts: 11

  • Since: 2002/6/29


I'd like to know if anyone else has noticed this problem on their setup, or is it just me. And if it is a problem, if there is a fix in the making?

I am using XOOPS 3.0.3 at http://www.calogic.de . It is not a very heavily used site.

Upon entering the site, the who's online block shows 1 guest.

After logon, the who's online block shows 1 guest and 1 Member online, and my User Name is displayed.

After logoff, the block still shows 1 Guest and 1 Member that is online, and my User Name is still displayed. Even in the forum my posts show I am online.

My Admin rights however, are not available after logoff, which I didn't expect would be.

It really just seems to be the Who's Online module itself.

If I wait 5 minutes or so, then refresh, or navigate in the site after logoff, my online status then shows 1 guest and 0 members.

This leads me to think it probably has something to do with a cache, either proxy or local, and XOOPS cookie(s).

And because I am no fan of cookies in anyway, either as a user or the programmer that I am, I would suggest using a differnt method of determinig if an online visitor is a Guest, or a logged on Member. Is it correct to assume that, at the second of logoff, a Member becomes a Guest?

I mean, there is surely a field in the user table, or elshwhere in some other table, that records if a visitor is logged on or not. And it is this field that should be used to count the number of Guests / logged on Members, not a cookie (if this is the case).

Yes, I know there is the remote possibility that some other person is online at the same time, but highly unlikely. I have been using XOOPS for a week or so now, and I noticed this descrepancy from the get go, and have been observing it closely.

Thanks for any comments.

Just checked, the XOOPS site seems to have this (bug?) too. Plus I just upgraded to 3.0.4, and same thing.



293927
MaxIT
Re: Pre-moderating forums: an idea
  • 2002/7/9 10:48

  • MaxIT

  • Just popping in

  • Posts: 65

  • Since: 2002/11/8


*bump*

(only 11 visits at now and could interests larger public)



293928
MaxIT
Re: Account re-activation required on Profile email changes
  • 2002/7/8 14:17

  • MaxIT

  • Just popping in

  • Posts: 65

  • Since: 2002/11/8


Sorry, there is a bug in this hack:
you need to add this before line 123 to make it work properly:

$email = $xoopsUser->email("E");

Otherwise, $email value previously taken from text box will be empty ad an error will occour while you try saving user profile.



293929
MaxIT
Pre-moderating forums: an idea
  • 2002/7/8 12:47

  • MaxIT

  • Just popping in

  • Posts: 65

  • Since: 2002/11/8


To let XOOPS forum moderators doing their job before the publish of what they should moderate, I'm thinking about an hack that should be simple.
The idea is following:
- add a db field in table PREFIX__bb_posts_text called post_approved.
- ad a db field in table PREFIX_bb_forums called forum_moderated
- when a user post a message, default value of post_approved will be = !forum_moderated
- for normal user, when forum engine will display messages, it will display only those ones in which post_approved = 1
- for moderators, forum engine will display all messages with an additional approve button (which will show the state of post_approved value, too). Clicking on it will switch post_approved field value.

I'm going do it on myself but I'm interested on knowing devs & community opinion about integrating this in official release.

Other than in France, in Italy too there is a problem of 'responsability' of site contents, including forums, and this is a important feature, IMHO.



293930
danyblue
Re: HTML problem in XOOPS and Other CMS?
  • 2002/7/7 21:54

  • danyblue

  • Just popping in

  • Posts: 48

  • Since: 2002/4/15


Hi all,
the tag "valign" didn't worked.
In the between i Have tried to use layouts instead of tables, and althought the content was aligned in the top, it didn't respect the columns.
So i had an idea. wouldn't it be better to consider the "cell" between the columns of the portal, as a virtual screen, where are the contents could be indexed ( for instance in the case of using the DIV tags)...??
I will try the other suggestions to see if it solves the problem.

REgards,
Danyblue







Login

Who's Online

465 user(s) are online (315 user(s) are browsing Support Forums)


Members: 0


Guests: 465


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits