vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   New Posting Features - Check Post (https://vborg.vbsupport.ru/showthread.php?t=171227)

SwollenCranium 02-23-2008 07:44 PM

Quote:

Originally Posted by cheesegrits (Post 1449485)
werds be here..

-- hugh

I understand completely. Nice work.

This could come in handy for those members that reply to a post much slower than other members, in other words this can prevent many users from saying the same thing.


I like the concept, but I would like it MORE if I could select to activate it ONLY in a specified forum instead of board wide.

I'll keep an eye on this and will most likely use it when you get your "forum to exclude" function to work.

cheesegrits 02-23-2008 09:01 PM

Quote:

Originally Posted by SwollenCranium (Post 1449504)
I'll keep an eye on this and will most likely use it when you get your "forum to exclude" function to work.

Done. Version 1.01 uploaded.

-- hugh

Magnumutz 02-24-2008 03:01 PM

Installed, i like this one :)

Forum Lover 02-24-2008 03:17 PM

WoW... The idea is great. Only thing that scaring me that red colored msg above. I want to use it. tagged.

cheesegrits 02-24-2008 05:22 PM

To be honest, I got the idea from SMF (Simple Machines Forums), which I hate, but it does have this one feature I like that vB doesn't have.

As for the Beta testing status, don't be too scared. I haven't had any bug reports yet, and the mod is very simple. It's either going to work on your forum or it isn't. If it doesn't, just turn it off, let me know and I'll work out what the problem is. It won't damage your board in any way. The only database write it does is to update the 'last activity' date for the user in the session table when they are using Quick Reply (for some reason, vB doesn't do it when using Quick Reply).

-- hugh

youradhere4222 02-24-2008 06:02 PM

phpBB also has this feature...

Golzarion 02-24-2008 06:04 PM

Good work!

What if both users send their post at the same time ?

I have seen posts that sent at exact the same time , for example both at 23:34 pm

cheesegrits 02-24-2008 07:37 PM

Good point. If the posts are made in exactly the same second, Check Post won't trigger. I guess I could change that so it tests for "less than or equal to" instead of "less than". I'll probably do that in the next release. Meanwhile if you want to change that behaviour, edit the newreply_post_start hook, and in the 'if' statement:

PHP Code:

if (!in_array($threadinfo['forumid'],$checkpost_forum_exclude) and $vbulletin->userinfo['userid'] and $vbulletin->options['checkpost_enabled'] and $vbulletin->userinfo['lastactivity'] < $threadinfo['lastpost']) 

... and change the < to <=.

-- hugh

Cybertims 03-02-2008 08:22 PM

Anyone actually have this working?
Why does it have this in the plugins??

require_once(DIR . '/cheesegrits/checkpost/plugin.newreply_post_start.php

cheesegrits 03-03-2008 01:27 AM

That should be commented out, is it not? When I'm debugging, I run the code as required files, so I can put breakpoints in it. Can't do that with pure eval'ed code in plugins. If it isn't commented out, it should be, I'll have a look.

-- hugh


All times are GMT. The time now is 02:54 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01156 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete