Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Force Read
Author Message
Nickman Offline
Manager
*******
Management

Posts: 2,680
Joined: May 2008
Reputation: 66
Post: #1
Force Read
Mod Description: Force users to read a thread

Link to Mods DB: Get It
01-26-2009, 07:26 PM
Visit this user's website Find all posts by this user
Zayebis Offline
Junior Member
**

Posts: 19
Joined: Mar 2009
Reputation: 0
Post: #2
RE: Force Read
(01-26-2009 07:26 PM)Nickman Wrote:  Mod Description: Force users to read a thread

Link to Mods DB: Get It
How do you edit the settings ? I cant find any settings for this
03-03-2009, 11:14 PM
Visit this user's website Find all posts by this user
rohithvsn Offline
Junior Member
**

Posts: 15
Joined: Mar 2009
Reputation: 0
Post: #3
RE: Force Read
good work!
03-08-2009, 11:53 PM
Find all posts by this user
okitai Offline
Member
***

Posts: 79
Joined: Oct 2008
Reputation: 0
Post: #4
RE: Force Read
Hi,
I love it. I just found that it is versatile enough to either force to read a thread or a forum. My only problem is that i cannot use this to force guests. This is do to:
1) There "uid" and there "gid" is '0' and thus see every message I wrote to the other (all others have a '0' in either there "uid" or there "gid").
2) Only the first guest that comes will see the message as it doesn't understand sessions (only "uid"s).
Can you change it to allow it to work with guests?

Ori..

Of two equivalent theories or explanations, all other things being equal, the simpler one is to be preferred.
simplified translation of Occam's razor

[Image: 82pwtx]
(This post was last modified: 03-14-2009, 05:54 PM by okitai)
03-14-2009, 05:53 PM
Visit this user's website Find all posts by this user
Splappy Offline
O.o
****

Posts: 347
Joined: Oct 2008
Reputation: 5
Post: #5
RE: Force Read
(03-14-2009 05:53 PM)okitai Wrote:  1) There "uid" and there "gid" is '0' and thus see every message I wrote to the other (all others have a '0' in either there "uid" or there "gid").

Actually, the gid for guests is 1.
03-15-2009, 03:40 AM
Visit this user's website Find all posts by this user
okitai Offline
Member
***

Posts: 79
Joined: Oct 2008
Reputation: 0
Post: #6
RE: Force Read
Splappy, sorry, your correct. Still, what I wrote does happen; And, I corrected this by adding an "if" statement (its on the third(3)) line:
Code:
    global $mybb,$db;
    if ($mybb->user['usergroup'] != '') {
        if ($mybb->user['usergroup'] != '0' && $mybb->user['uid'] != '0')
        {
            //Perform a check to see if this usergroup has any needed force reads
For whatever reason, when this line doesn't exists, every action preformed be a non logged user (guest?) is followed by the messages (all of them) assigned to every group/user in the AdminCP.

Ori....

Of two equivalent theories or explanations, all other things being equal, the simpler one is to be preferred.
simplified translation of Occam's razor

[Image: 82pwtx]
(This post was last modified: 03-15-2009, 08:15 AM by okitai)
03-15-2009, 08:12 AM
Visit this user's website Find all posts by this user
Jussel Offline
Junior Member
**

Posts: 14
Joined: May 2009
Reputation: 0
Post: #7
RE: Force Read
Purchased it, It's always handy to let them have to read the rules before they can do anything 001_smile
05-09-2009, 04:13 AM
Find all posts by this user
YoStIn 584 Offline
Junior Member
**

Posts: 13
Joined: May 2009
Reputation: 0
Post: #8
RE: Force Read
thnks this is beautiful for my forum
05-09-2009, 10:41 AM
Find all posts by this user
alkutob Offline
Junior Member
**

Posts: 1
Joined: Dec 2009
Reputation: 0
Post: #9
RE: Force Read
It is not strange to find such grat powerful mod in this great forum , it is this forum's msgs to all vBulletin developers that here will be the factory of tomorrows powerful mods makers .
thank you
12-18-2009, 10:05 AM
Find all posts by this user
mastermunj Offline
Senior Member
****

Posts: 546
Joined: Aug 2009
Reputation: 2
Post: #10
RE: Force Read
Now that's something handy to make rules reading mandatory 001_smile
12-18-2009, 02:54 PM
Visit this user's website Find all posts by this user




User(s) browsing this thread: 1 Guest(s)