|
Joined: Sep 2005
Posts: 136
Journeyman
|
Journeyman
Joined: Sep 2005
Posts: 136 |
My UBB needs to have a double posting block. I run an RPG that is turned based and I can't have newbies posting three times in a row because their impatient.
|
|
|
|
Joined: Feb 2007
Posts: 329
Yarp™
|
Yarp™
Joined: Feb 2007
Posts: 329 |
If it's just the newbees, wouldn't correcting them solve the problem?
Update:
Also, describe exactly the situation where somebody is not allowed to post. We cannot make anything when we don't know the exact conditions of the no-go situation.
Last edited by blaaskaak; 09/16/2007 4:54 AM.
|
|
|
|
Joined: Sep 2005
Posts: 136
Journeyman
|
Journeyman
Joined: Sep 2005
Posts: 136 |
My Role-Playing Game is 'Turn Based'. When a player makes a post, they are required to wait for the next person to respond before they can post again.
I have impatient players who want to play so bad they keep posting in the same thread multiple times in a row instead of waiting their turn.
There was an old mod years ago that would prevent them from posting in the same thread two times in a row.
Kelly Posts Sarah Posts Sarah Posts again to add on to first post impatiently
Mod Kelly Posts Sarah Posts Sarah Tries again and is prevented until the next user responds
|
|
|
|
Joined: Feb 2007
Posts: 329
Yarp™
|
Yarp™
Joined: Feb 2007
Posts: 329 |
That's pretty easy to build in for you.
Is that in all forums of your board, or in specific ones?
And mods/admins are allowed to post twice in a row?
|
|
|
|
Joined: Sep 2005
Posts: 136
Journeyman
|
Journeyman
Joined: Sep 2005
Posts: 136 |
Admin and mods are find but all of the forums for all members
|
|
|
|
Joined: Feb 2007
Posts: 329
Yarp™
|
Yarp™
Joined: Feb 2007
Posts: 329 |
okay, I'll give it a go. Still have the addpost script in my texteditor for the "post&close" hack I posted earlier today.
|
|
|
|
Joined: Feb 2007
Posts: 329
Yarp™
|
Yarp™
Joined: Feb 2007
Posts: 329 |
ok, done... open /scripts/addpost.inc.php find $query_vars = array($Parent,$Main,$post_is_topic,$date,$IP,$Subject,$BodySig,$DefaultBody,$Approved,$Icon,$haspoll,$hasfile,$convert,$posterid,$ParentUser,$addsig,0,$postername,$md5_stamp);
add before // ----------------------------------------------------------------------------- // Check if the latest post in this topic is by the same user. If so, deny post. if (($post_is_topic == 0) && ($user['USER_MEMBERSHIP_LEVEL'] == "User")) { $query = " SELECT TOPIC_LAST_POSTER_ID FROM {$config['TABLE_PREFIX']}TOPICS WHERE TOPIC_ID = ? AND TOPIC_LAST_POSTER_ID = ? "; $sth = $dbh->do_placeholder_query($query,array($Main,$posterid),__LINE__,__FILE__); while(list($check) = $dbh->fetch_array($sth)) { $html -> not_right('You cannot post in a topic where the last reply is your own'); } }
The error message users get is somewhere on the bottom, you can edit that if you want.
|
|
|
|
Joined: Sep 2005
Posts: 136
Journeyman
|
Journeyman
Joined: Sep 2005
Posts: 136 |
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|