vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   New Posting Features - Doublepost Prevention Plus (https://vborg.vbsupport.ru/showthread.php?t=204177)

Vitaly 02-03-2009 10:00 PM

Doublepost Prevention Plus
 
This branch is no longer supported. Please, use this product.

This is complete rework of Xenon mod, that's not supported for a long time.

Difference:
  • No problems with quickpost & AJAX
  • Attachments supported
  • Easy groups ignore support
  • Hooks for customisation
What this mod do:

If user creates 2 sequent posts in a short time, those are merged. That helps to keep your forum clear and prevent topicks bumping.

Setup:

Just import product and change necessary settings. No any edits required.

If you limit posts edit time, it's recommended to make merge time === edit time.

PS. Should work with 3.7.x too, but tested only with 3.7.4.

buileminh 02-04-2009 09:10 AM

Sound better than old one

Robru 02-04-2009 09:16 AM

Thanks for sharing this :)

Leo Brazil 02-04-2009 09:25 AM

Could you describe a little better how it deals with IMG and attachemnts ? e.g. Does it consider number of file on permissions or it the second post (the double one) has IMG or attachments merge are not made ?

Thanks for sharing.

Vitaly 02-04-2009 09:34 AM

Quote:

Originally Posted by Leo Brazil (Post 1734014)
Could you describe a little better how it deals with IMG and attachemnts ? e.g. Does it consider number of file on permissions or it the second post (the double one) has IMG or attachments merge are not made ?

Preventing equal post duplication is embedded into vB, and this feature is left intact. This mod goal is to merge DIFFERENT sequent posts of the same author.

Merged post = Old post text + separator(optional) + New post text.
Merged attachments = Old post attachments + New post attachments.

I'm not shure, that understang your question.

Leo Brazil 02-04-2009 09:38 AM

Quote:

Originally Posted by Vitaly (Post 1734024)
Merged post = Old post text + separator(optional) + New post text.
Merged attachments = Old post attachments + New post attachments.

I'm not shure, that understang your question.

I got your idea, specially on the second situation you mentioned. What happens for example if Old post has 3 attachements and New post has another 3 different ones but I have a 5 attachments set as a limit ? How about IMGs ?

RedHacker 02-04-2009 09:41 AM

If install this product and quick reply will be set automatic and saw one post or refresh and one post...?

Vitaly 02-04-2009 09:49 AM

Quote:

Originally Posted by RedHacker (Post 1734034)
If install this product and quick reply will be set automatic and saw one post or refresh and one post...?

If post is not merged, then AJAX will be used, with no full page reload.

If post is megred, then page will be refreshed via redirect. It's the same, as if you try to do quickpost not from the last thread page, you can check :)

That's acceptable tradeoff to have mod with no code edits and compatible with future vb releases. I hate mods, that require code edits. That's a big headache after each vb upgrade.

Vitaly 02-04-2009 09:58 AM

Quote:

Originally Posted by Leo Brazil (Post 1734029)
I got your idea, specially on the second situation you mentioned. What happens for example if Old post has 3 attachements and New post has another 3 different ones but I have a 5 attachments set as a limit ? How about IMGs ?

Attachments will be megred with no limit control (i suspect that's not a big deal, if you have global limit for user group :) ).

Then post is "reparsed". I'm not sure, but if IMG limit is checked in parcer, then result will be the same, as if user try to excceed IMG tag limit in first post. The same for smiles count limits. You'd better to check yourself.

lasto 02-04-2009 10:02 AM

thanks m8 i cant believe something like this is not built into vb as itshould be standard. Marked as installed

Forum Lover 02-04-2009 10:03 AM

Any tips how I can not make effected this to any thread opener on their threads?

Vitaly 02-04-2009 10:14 AM

Quote:

Originally Posted by Forum Lover (Post 1734045)
Any tips how I can not make effected this to any thread opener on their threads?

Sorry, I'm a bit limited in time to provide help with coding. Just do "what should be done" for my project, and share results with community.

projectego 02-04-2009 11:42 AM

Awesome! Thanks for sharing this. :)

redlabour 02-04-2009 11:48 AM

Tested it now for a couple of Hours - absolutely excellent - no Problems!

mad@Max 02-04-2009 12:00 PM

Thanks, but on 3.8 AJAX don't work:(

RedHacker 02-04-2009 12:11 PM

I dont saw before post and after time... :(

Vitaly 02-04-2009 12:14 PM

Quote:

Originally Posted by mad@Max (Post 1734138)
Thanks, but on 3.8 AJAX don't work:(

https://vborg.vbsupport.ru/showpost....37&postcount=8

It should NOT work, if merge happens. And works in other cases. Not a big deal.

redlabour 02-04-2009 12:18 PM

Quote:

Originally Posted by RedHacker (Post 1734145)
I dont saw before post and after time... :(

???

Quote:

Originally Posted by mad@Max (Post 1734138)
Thanks, but on 3.8 AJAX don't work:(

Don?t know what you mean. :confused:

Everything works perfect at me with 3.8.1.

RedHacker 02-04-2009 12:19 PM

I dont saw any message and time....

RedHacker 02-04-2009 12:26 PM

e.g

https://vborg.vbsupport.ru/showpost....postcount=1052

Vitaly 02-04-2009 12:32 PM

This will not be ever added into post text, because it's impossible to make a correct time look for different time zones. May be, "edited by" field can solve your problem. If not - then I'm sorry.

mad@Max 02-04-2009 12:34 PM

Quote:

Originally Posted by Vitaly (Post 1734150)
It should NOT work, if merge happens. And works in other cases. Not a big deal.

I disappoint. In my turn, i hate when the page is reloaded:)

RedHacker 02-04-2009 12:35 PM

I dont understand.... :(

mad@Max 02-04-2009 12:40 PM

Quote:

Originally Posted by Vitaly (Post 1734163)
This will not be ever added into post text, because it's impossible to make a correct time look for different time zones. May be, "edited by" field can solve your problem. If not - then I'm sorry.

How about: Added after xx time (sec., min., hour)

RedHacker 02-04-2009 12:41 PM

Edit message put "Double Post" and all its ok with time and excellent job Vitaly..!!!Thanks very much.....

Vitaly 02-04-2009 12:49 PM

Quote:

Originally Posted by mad@Max (Post 1734172)
How about: Added after xx time (sec., min., hour)

May be... At least, sounds reasonable.

Personally, I consider all those kind of separators and "edited by" - completely useless noise. But if I'll do future fixes for this mod, I'll try to add this.

Can't promiss, that it will happen very soon, because I have to polish another mods first. Migrated from IPB to vB in december 15 and still have a huge number of urgend things to do.

princeedward 02-04-2009 01:09 PM

seems to be working good to my vB 3.6.8 PL2 board...

:p:up:

Mark as Installed
Nominated
Rated Excellent


best regards...

vin86 02-04-2009 01:11 PM

i have problem with mod Smilies in Quick Reply. I show two couple of smiles. How i can resolve this problem?

ragtek 02-04-2009 01:14 PM

one little tip

you could also check in the "cache templates" plugin for THIS_SCRIPT and just cache it, if it's needed;)

Vitaly 02-04-2009 01:14 PM

Quote:

Originally Posted by vin86 (Post 1734202)
i have problem with mod Smilies in Quick Reply. I show two couple of smiles. How i can resolve this problem?

No ideas, what you mean. Please, provide detailed description of steps and (if possible) - screenshots.

Rene Kriest 02-04-2009 01:29 PM

Well done! Thank you for your addon.

Suggestion:
Could you pls include an option to disable this mod for specific forums? Sometime it is useful not to merge every new posting.

Vitaly 02-04-2009 01:31 PM

Quote:

Originally Posted by ragtek (Post 1734203)
one little tip

you could also check in the "cache templates" plugin for THIS_SCRIPT and just cache it, if it's needed;)

Thanks for notice. That's not critical, so i'll upload fix later. Don't like frequent changes :) .

Quote:

Originally Posted by Rene Kriest (Post 1734215)
Could you pls include an option to disable this mod for specific forums? Sometime it is useful not to merge every new posting.

May be later... can't promiss for sure. But there're hooks, that can be used by addons. For example, I have custom product "trade area" (too specific to publish here), ant it sets different merge time on some forums.

dannykilla 02-04-2009 02:00 PM

thanks

redlabour 02-04-2009 02:11 PM

Quote:

Originally Posted by Vitaly (Post 1734184)
Personally, I consider all those kind of separators and "edited by" - completely useless noise.

I agree with you. But it was a nice to have for everyone who wants it.

Quote:

Originally Posted by Vitaly (Post 1734184)
Migrated from IPB to vB in december 15 and still have a huge number of urgend things to do.

Nice to have you at the lovely vBulletin-Family. ;)

Marco van Herwaarden 02-04-2009 02:20 PM

Did you request permission from Xenon to use his work?

Slugger00001 02-04-2009 02:40 PM

woot last night , I was hopeing for a better version then the other one, my hopes have come true!

Vitaly 02-04-2009 02:41 PM

Quote:

Originally Posted by Marco van Herwaarden (Post 1734272)
Did you request permission from Xenon to use his work?

Are you joking? I've used this feature for ages at IPB. vB doesn't have it and doesn't had hight quality coded addons to solve this problem.

What permissions are you asking about? Links to Xenon's mod exists, because some things can't be done in another way, but his product is outdated and a bit useless. And nobody cared about proper solution for 2 years.

davidw 02-04-2009 03:01 PM

So the answer is no, you did not request permission to use his work?

Quote:

Originally Posted by Vitaly (Post 1734299)
What permissions are you asking about? Links to Xenon's mod exists, because some things can't be done in another way, but his product is outdated and a bit useless. And nobody cared about proper solution for 2 years.

For example, kind of like the comments and phrases in there that are identical to Xenon's mod?

If a mod is outdated, unless permission is given, it is not reason to just fix and release. When an author creates a piece of work, that author holds the copyright to that work unless given permission to allow someone else to use it, whether it be marked re-usable, or given verbally or written.

nexialys 02-04-2009 03:15 PM

hum, did you make the same assumptions when Paul M released his own version (used here!)...

Vitaly 02-04-2009 03:25 PM

Davidw,

My native language is Russian, and my English is not good enougth. If you think, that english letters and phrases are copyrighted, it's not a problem to change. I hope, anyone will help me.

I own project, linked in my profile. And I have full time hired programmers too. I'm not sure, that there any kind of "copyrighted work", that i need to use to solve my problems. I can't be hired for money and I'm able to share my hight quality work for free, without asking any gratices or benefits. Link to Xenon's mod was given to better explain, that this mod does.

If you think, that my publicathion violates some rules - remove it. That will be a headache of community, but not mine. My time is a bit expencive, to spend it for unclear copyright complains.


All times are GMT. The time now is 10:26 AM.

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.02107 seconds
  • Memory Usage 1,825KB
  • 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
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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