jvvg wrote:
It couldn't be that hard to program. It probably could be programmed in 30 seconds.
I put the code upthread.
Offline
Offline
Support.
Offline
That would be much more useful than either repeatedly clicking the button, or pacing the basement! Support!
Offline
sonicfan12p wrote:
That would be much more useful than either repeatedly clicking the button, or pacing the basement! Support!
Yeah, I can stop having to set the timer on my watch, and when I don't have it, occasionally getting weird errors.
Offline
I support this. I also think the 60 second rule should only apply to you if you have ever been caught spamming topics or projects.
Offline
chanmanpartyman wrote:
I also think the 60 second rule should only apply to you if you have ever been caught spamming topics or projects.
There's a first for everything, because someone could be pretty deadly before they get caught the first time.
Offline
Support! It could EASILY be added.
Offline
scimonster wrote:
SilverDomination wrote:
I support! I think it would ease the anger of Scratchers waiting, if they knew how much time they had left to wait. That's how it's done on Coder's Shed!
@sci, can you tell me your flood interval code, & how to add it in punBB?You probably won't be able to do this using PunBB-Hosting. :S
Code:
In /post.php, find... // Flood protection if (!isset($_POST['preview']) && $pun_user['last_post'] != '' && (time() - $pun_user['last_post']) < $pun_user['g_post_flood']) $errors[] = $lang_post['Flood start'].' '.$pun_user['g_post_flood'].' '.$lang_post['flood end']; and replace it with... // Flood protection if (!isset($_POST['preview']) && $pun_user['last_post'] != '' && (time() - $pun_user['last_post']) < $pun_user['g_post_flood']) $errors[] = $lang_post['Flood start'].' '.$pun_user['g_post_flood'].' '.sprintf($lang_post['flood end'], $pun_user['g_post_flood']-(time() - $pun_user['last_post'])); In /lang/English/post.php find 'flood end' => 'seconds have to pass between posts. Please wait a little while, then try posting again.', and replace it with... 'flood end' => 'seconds have to pass between posts. Please wait %s more seconds, then try posting again.',That's it!
It doesn't look like it'll work on PunBB 1.4.1. Can you make one for that? I don't know PHP...
Offline
Support, and I get the 180 second rule VERY often, about 2-3 times every day.
Offline
scimonster wrote:
soniku3 wrote:
scimonster wrote:
You probably won't be able to do this using PunBB-Hosting. :SCode:
In /post.php, find... // Flood protection if (!isset($_POST['preview']) && $pun_user['last_post'] != '' && (time() - $pun_user['last_post']) < $pun_user['g_post_flood']) $errors[] = $lang_post['Flood start'].' '.$pun_user['g_post_flood'].' '.$lang_post['flood end']; and replace it with... // Flood protection if (!isset($_POST['preview']) && $pun_user['last_post'] != '' && (time() - $pun_user['last_post']) < $pun_user['g_post_flood']) $errors[] = $lang_post['Flood start'].' '.$pun_user['g_post_flood'].' '.sprintf($lang_post['flood end'], $pun_user['g_post_flood']-(time() - $pun_user['last_post'])); In /lang/English/post.php find 'flood end' => 'seconds have to pass between posts. Please wait a little while, then try posting again.', and replace it with... 'flood end' => 'seconds have to pass between posts. Please wait %s more seconds, then try posting again.',That's it!
How do you do that?
By editing the original source.
What original source?
Offline
scimonster wrote:
I did that on my forums, so i already have the code. I'll discuss it with the ST.
Yea, I've always thought that this would be cool, and saw it's on your website as well. I support.
Offline
sonicgames20 wrote:
scimonster wrote:
soniku3 wrote:
How do you do that?By editing the original source.
What original source?
The source of the post.php file. Sometimes not accessible if you're using a hoster, instead of hosting yourself.
Offline
scimonster wrote:
sonicgames20 wrote:
scimonster wrote:
By editing the original source.What original source?
The source of the post.php file. Sometimes not accessible if you're using a hoster, instead of hosting yourself.
Sci? Are you on misc forums anymore? We need you!
Offline
bump
Offline