Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
Prevent Doubleposting Details »»
Prevent Doubleposting
Version: 1.0, by Xenon Xenon is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 09-19-2005 Last Update: 01-15-2007 Installs: 877
Uses Plugins
 
No support by the author.

When a User posts into a thread where he already has the lastpost, no new post will be added. The lastpost of him will be edited and the new text is put after his first message.
This will be done until the old post is older than 24 hours (you can change this timespan yourself)

Nothing more to say about that, it's the quite same as my vb3.0 version.

This Mod should run with 3.6 as well


** Please make sure you ENABLE this product after you install it - it is disabled by default. **

For vb 3.8 there are two alternative updates ;

https://vborg.vbsupport.ru/showthread.php?t=203705
https://vborg.vbsupport.ru/showthread.php?t=204177

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
inphoenix

Comments
  #382  
Old 03-23-2006, 01:07 PM
FROGGYJ FROGGYJ is offline
 
Join Date: Sep 2005
Posts: 153
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok I've attached a pic to make things easier. How do I edit the indicated field? Do you use numerical numbers? written text? etc....
Reply With Quote
  #383  
Old 03-23-2006, 07:57 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@nathan:

use:
PHP Code:
!in_array($vbulletin->userinfo['usergroupid'], array(5,6,7)) 
@Froggy: well you can enter any text/value in there, but the field is trimed so spaces or new line chars don'T work...
Reply With Quote
  #384  
Old 03-23-2006, 08:36 PM
FROGGYJ FROGGYJ is offline
 
Join Date: Sep 2005
Posts: 153
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Xenon

Honestly all I want to do is put spaces in between the posts when they are merged. My problem is when they get merged, they get crammed right together so you have a hard time reading it. Then you have to manually edit the post to correct it. oh and I re-uploaded the product and still there is no spacing in between the merged posts.
Reply With Quote
  #385  
Old 03-24-2006, 01:35 AM
Nathan2006's Avatar
Nathan2006 Nathan2006 is offline
 
Join Date: Feb 2006
Location: UK
Posts: 862
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Xenon
@nathan:

use:
PHP Code:
!in_array($vbulletin->userinfo['usergroupid'], array(5,6,7)) 
Thanks Xenon working great now

Thank you for your help
Reply With Quote
  #386  
Old 03-24-2006, 08:02 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Nathan: you're welcome

@Froggy: well the two spaces are entered automatically no matter about what you enter into the field, so if they are not entered into your posts, than it's another problem, which i don't really know how to fix....

you can see the default version here on vb.org which is working perfectly...

maybe another plugin or code hack is on a conflict here...
Reply With Quote
  #387  
Old 03-24-2006, 11:28 PM
hiiped hiiped is offline
 
Join Date: Jan 2006
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FROGGYJ
Xenon

Honestly all I want to do is put spaces in between the posts when they are merged. My problem is when they get merged, they get crammed right together so you have a hard time reading it. Then you have to manually edit the post to correct it. oh and I re-uploaded the product and still there is no spacing in between the merged posts.
In the admincontrolpanel >> vBulletin Options >> Doublepost Preventing

you'll find
Post Separator
Enter any message you want to appear between two posts.

in that box you can put

Code:
 <hr> <hr>
two lines will appear between posts

or enter some text saying like "post below was merged with post above"

you can even add an image by putting
Code:
 <br>  <img src="http://www.domainlink.com/imagename.gif"> <br>
In the box




__
Reply With Quote
  #388  
Old 03-25-2006, 03:25 PM
FROGGYJ FROGGYJ is offline
 
Join Date: Sep 2005
Posts: 153
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well I must have a problem because if I put your <hr> <hr> code this is the result.

post1<hr> <hr>post2

same if I put your image code it just shows up as

post1<br> <img src="http://www.domainlink.com/imagename.gif"> <br>post2 (of course I edited the filepath though).

I can't for the life of me get 2 spaces in between posts. I wonder would there be some way to create a BB code for blank spaces? then I could perhaps use that? I dunno I'm trying anything at this point.

and mine is located in vbulletin options >> message posting and editing options>

I assume you meant the same, but thought I would check incase the plugin isn't installing properly. I'm going to try uninstalling this time and then re-installing.
Reply With Quote
  #389  
Old 03-25-2006, 03:31 PM
FROGGYJ FROGGYJ is offline
 
Join Date: Sep 2005
Posts: 153
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh I see what happened......hrm weird. Could I have 2 different plugins installed? Cause I uninstalled the plugin and it was gone from vbulletin options >> message posting and editing options

however it was still there....now I find it under vbulletin options >> prevent doubleposting.

I use your code and ok it works now, but it looks like

post1
<hr> <hr>
post2

Is there anything I can enter to simply get blank lines?
Reply With Quote
  #390  
Old 03-25-2006, 03:33 PM
FROGGYJ FROGGYJ is offline
 
Join Date: Sep 2005
Posts: 153
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ahh I got it finally.....I just simply hit the enter key a few times and voila I got blank lines in between posts....so it's

post1

post2
Reply With Quote
  #391  
Old 03-26-2006, 10:30 AM
Xplorer4x4 Xplorer4x4 is offline
 
Join Date: Apr 2005
Posts: 938
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I want to exclude 4 forums and exempt Mods,S-Mods and Admins. I just wanted to confirm this code was right. It seems to work but just double checking. Great job getting this to be a plug in.

PHP Code:
!in_array($threadinfo['forumid'], array(42,44,36,65)) AND !in_array($vbulletin->userinfo['usergroupid'], array(5,6,7)) 
EDIT: On second thought, I also want to exempt people who can moderate. Would that be?

PHP Code:
!in_array($threadinfo['forumid'], array(42,44,36,65)) AND !in_array($vbulletin->userinfo['usergroupid'], array(5,6,7)) AND !can_moderate() 
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:15 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06047 seconds
  • Memory Usage 2,322KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (4)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete