vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Prevent Doubleposting (https://vborg.vbsupport.ru/showthread.php?t=96602)

furst 04-19-2008 01:14 AM

I'd like to have a hack like this one. Actually, it would be perfect if it was exactly like what vb.org has.

Jase2 04-19-2008 10:37 AM

I'm going to release something similar to what vb has for version 3.7 -- when I get time. :)

furst 04-19-2008 06:43 PM

Quote:

Originally Posted by Jase2 (Post 1494380)
I'm going to release something similar to what vb has for version 3.7 -- when I get time. :)

Wishlist:
  1. [s]threads should be bumped - sometimes I go back to a thread after a long while because I have something to add, but if I'm the last person to have posted in it, the automerge prevents the thread from being bumped to the top, so my addition goes unnoticed.[/s]
  2. [s]time limit after which posts do not get merged - this is just one of the possible solutions to the problem outlined in #1.[/s]
  3. no need for a page reload like we have in the current version. vb.org does this correctly.
  4. better time notation (like vb's).
  5. blogs, photo albums, visitor comments compatibility.
Not the most impressive wishlist, but I'll add to it if I think of anything else which would be useful in my opinion.

Paul M 04-19-2008 07:36 PM

This mod already does 1 & 2.

Thomas P 04-22-2008 05:33 AM

Nr. 3 is acceptable with the current hack as it uses AJAX to display, if the post will be merged.
Think about the # post link, which won't work...

I second Nr. 5 though

Paul M 04-22-2008 09:29 AM

To do no.3 (like vb.org and Cable Forum) requires files edits to the ajax javascript.

(Which also means you must use the non compressed versions, not the default compressed versions).

The time notation here uses custom bb tags, which require file edits to the appropriate class.

Alfa1 04-22-2008 11:22 AM

Could you please provide instructions for improved time notation?
Is there a way to have this hack process old posts as well?

furst 04-23-2008 03:47 AM

Quote:

Originally Posted by Thomas P (Post 1496341)
Nr. 3 is acceptable with the current hack as it uses AJAX

The current solution is okay, but the way vb.org does it is just a lot smoother. If there were to be a big update to this product, I would like for it to do things the way they're done on vb.org, superficially at least.

Destined2bGreat 04-25-2008 01:28 PM

I keep clicking the download button but nothing is happening it just shows the thing load at the bottom but nothing pops up

Phalynx 04-25-2008 11:21 PM

A working version for vB3.7 RC4 would be great.

Sworm 04-26-2008 12:35 PM

Quote:

Originally Posted by Phalynx (Post 1499391)
A working version for vB3.7 RC4 would be great.



For Admin bypass?
Is possible?

KURTZ 04-27-2008 06:56 PM

Quote:

Originally Posted by Jase2 (Post 1494380)
I'm going to release something similar to what vb has for version 3.7 -- when I get time. :)

you're 'da man' Jason :D

Quote:

Originally Posted by Sworm (Post 1499735)
For Admin bypass?
Is possible?

check the attached file .. ;)

Boofo 04-27-2008 07:00 PM

What have you added to it or changed in it?

redlabour 05-01-2008 12:59 PM

Is anyone able to start a real 3.7 Port?

Boofo 05-01-2008 01:03 PM

It works fine on 3.7.

Black Tiger 05-01-2008 01:44 PM

On my 3.7 gold it's working fine too.

KURTZ 05-01-2008 01:55 PM

Quote:

Originally Posted by Boofo (Post 1500888)
What have you added to it or changed in it?

PHP Code:

AND !in_array($vbulletin->userinfo['usergroupid'], array(5,6,7)) 


Boofo 05-01-2008 02:17 PM

Quote:

Originally Posted by KURTZ (Post 1504555)
PHP Code:

AND !in_array($vbulletin->userinfo['usergroupid'], array(5,6,7)) 


You can add that to the Additional Condition (experts only) setting instead.

dinodonk 05-03-2008 01:42 AM

Quote:

Originally Posted by bada_bing (Post 1492320)
Awe never mind got it thanks I used this

!in_array($threadinfo['forumid'], array(83,129)) AND !can_moderate()

I was missing the )

i think you should use "OR" ???

Black Tiger 05-03-2008 11:44 AM

I onlyl have !can_moderate in there, nothing else, is that wrong then?

What does this part do?:
Code:

!in_array($threadinfo['forumid'], array(83,129))

vithorius 05-05-2008 01:20 PM

Hi there! EXCELLENT MOD! :up:

How is this Mod working on 3.6.8? :confused:

And how about 3.7? :confused:


Thank you so very much! :up:

obmob 05-05-2008 03:02 PM

didn't worked in 3.6.8, at least not for me... never tried it in 3.7.
3.7 has some new spam features, but don't know if they deal with doubleposting.

Black Tiger 05-05-2008 03:40 PM

You must have done something wrong the, or some other mod/hack is conflicting with this one.
I tried this mod on 2 forums, 1 with 3.6.8, and later 3.6.9 and now 3.6.10 and it works fine.
The other forums is the 3.7.x from beta 3 to gold now, and working fine too.

redlabour 05-05-2008 04:54 PM

Quote:

Originally Posted by Black Tiger (Post 1509400)
You must have done something wrong the, or some other mod/hack is conflicting with this one.
I tried this mod on 2 forums, 1 with 3.6.8, and later 3.6.9 and now 3.6.10 and it works fine.
The other forums is the 3.7.x from beta 3 to gold now, and working fine too.

Correct!

vithorius 05-06-2008 07:45 AM

Ok, it is working for me too on 3.6.8!

I use the MODDED version of this Mod that KURTZ posted on reply nr 895 as ADMINS are NOT affected by the Mod!


BUT...! (there is always a 'but'...!)


There is this MAIN problem for international users (I run a portuguese board)

One of the MOST IMPORTANT phrases on this Mod has no capabilities for translation inside vBulletin Phrasing system:

If you are running an international board (and you need to translate into your own language) just open the file:

"product-xenon_prevdoublepost.xml"

or

"product-xenon_prevdoublepost_modded.xml"

BEFORE you install this mod and TRANSLATE the following text (bolded) into your language:


------- original piece of code to TRANSLATE -------

$doublepost['message'] = $doublepost['pagetext'] . "\n\n[SIZE=\"1\"][COLOR=\"Silver\"]" . $vbulletin->userinfo['username'] . ' added ' . intval((TIMENOW - $doublepost['dateline'])/60) . ' Minutes and ' . ((TIMENOW - $doublepost['dateline']) % 60). ' Seconds later...' . $vbulletin->options['xen_dp_spacer'] . "[/color][/size]\n\n" . $post['message'];

------- /original piece of code to TRANSLATE -------


Hope it helps!

Hornstar 05-08-2008 08:59 AM

Just wondering if the way that vbulletin.org does it has been posted yet?

Black Tiger 05-12-2008 01:27 PM

Not to my knowledge, I would also like to know how it's done here at vb.org.:)
Meaning date and time rather then minutes and seconds.

Paul M 05-12-2008 03:28 PM

Quote:

Originally Posted by Black Tiger (Post 1517208)
Not to my knowledge, I would also like to know how it's done here at vb.org.:)
Meaning date and time rather then minutes and seconds.

See post #889

Boofo 05-12-2008 06:08 PM

Paul, did you know that it shows the unix timestamp in email notifications instead of the date and time?

Paul M 05-12-2008 06:41 PM

Actually yes I did, bbcodes dont get converted in emails, so you get the original timestamps. I believe there is a way to suppress them, but Ive never really looked into it - as its a minor irritation. :)

Black Tiger 05-12-2008 07:24 PM

Quote:

Originally Posted by Paul M
See post #889

Thanks Paul, I already found that one with a search, but the only thing in there is this:
Quote:

Originally Posted by Paul M
To do no.3 (like vb.org and Cable Forum) requires files edits to the ajax javascript.

And I don't have a clue how or where to do that, I'm not a coder and I don't understand javascript and only know little about php.
Could you give me a "find this" and "replace with this" explanation and the name of the file or template where to change things please?

geevest.com 05-13-2008 09:35 AM

its good.

Koushukei 05-16-2008 09:48 PM

When I installed this, it was not auto enabled. This could be why 3.7.0 gold users think it does not work. It does work. Be sure to check your Product Manager and manualyl enable it.

Zelda-King 05-20-2008 04:26 AM

Er, no. I've been using this since 3.5 and it doesn't seem to be doing it any more on 3.7 Gold. Not even if I disable then re-enable.

Update: Never mind. I tried redownloading, uninstalling and reinstalling. It works now but it's a bit strange until you refresh the page.

Black Tiger 05-20-2008 12:21 PM

Maybe another mod is conflicting with it some how Zelda-King?
I've got it running on 3.7 Gold and not one single problem.

@Paul (or anybody else): any docs about the timestamp change please? I'm a noob with php.

Zelda-King 05-20-2008 07:32 PM

Quote:

Maybe another mod is conflicting with it some how...
Possibly. I've tried it with all other products disabled nevertheless. At the end of the day it does the job. It just doesn't AJAX correctly for me any more.

mariocaz 05-21-2008 09:00 PM

Quote:

Originally Posted by Black Tiger (Post 1517563)
Thanks Paul, I already found that one with a search, but the only thing in there is this:

And I don't have a clue how or where to do that, I'm not a coder and I don't understand javascript and only know little about php.
Could you give me a "find this" and "replace with this" explanation and the name of the file or template where to change things please?

Paul Please also I need help in this, because really I want to have your great Mod like the one that is installed here in VBulletin.org

Please help us!!! :)

akee 05-22-2008 10:29 AM

hi!

i try it on 3.7.0, but doesn't work. does somebody fix it for 3.7.0? i need this hack.
thanks

Black Tiger 05-22-2008 10:40 AM

Akee: Did you check in your plugin manager if the hack is enabled?
I have it running on 3.7.0 without any fixes needed.

akee 05-22-2008 11:03 AM

yes, it is enabled, but i try it again...

i'm sorry. this work.

thanks


All times are GMT. The time now is 03:10 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.02736 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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