The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||
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, attachments will be added to the old post as well.
This will be done until the old post is older than 1 hour (you can change this timespan yourself ![]() by changing $do_bump in the script, you can define wether the post's time will be altered or not. Enjoy, and don't forget to click install ![]() Notice: If you have installed the Proxy ip to real ip conversion or Proxy Detector v3.1 Hack, then you should probably take a look at this post. Show Your Support
|
Comments |
#92
|
||||
|
||||
![]()
Yes it will.
|
#93
|
||||
|
||||
![]()
That way, you have a multiple quote option included *ggg*
As mentioned in the description, this hack is for linear mode, threaded mode users, shouldn't use it. but as there are more problems when someone enables threaded mode on his board, then he will know if or not to install this hack ![]() |
#94
|
||||
|
||||
![]()
Thanks for the update Stefan..
![]() I had a couple of modifications applied to this hack that were mentioned earlier in this thread, and have re-applied them but just wanted to make sure that they have been done correctly. As I understand it, TIMENOW - 3600 now has 2 instances - so if I wanted to increase the time limit to 3 days, I'd replace BOTH instances of 3600, correct? Also, I don't want admin posts to be merged no matter what, so applying a similar mod to last time should be ok, right? I now have this line: Code:
if ($type != 'thread' AND $bbuserinfo['usergroupid'] != 6 AND $threadinfo['lastpost'] > TIMENOW - 172800 AND $threadinfo['lastposter'] == $post['postusername']) |
#95
|
||||
|
||||
![]()
I think you should use $bbuserinfo['permissions']['adminpermissions'] & CANCONTROLPANEL instead of checking for the usergroup, as admins could be in any usergroup
![]() I've also modified this so the time after which a post is considered a double post and if the post's timestamp should be modified are now settings in Message Posting & Editiong Options, so they can be changed easily ![]() |
#96
|
||||
|
||||
![]() Quote:
Quote:
![]() |
#97
|
||||
|
||||
![]() Quote:
PHP Code:
Quote:
Create two new settings (I called them dblpostthreshold and bumpdblpost) where you want them. The first one being an input (for the seconds, could also be minutes or hours - then you would have to add the appropriate multiplier to the code) and the second being a yesno option. Then replace PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
#98
|
||||
|
||||
![]()
*gg*
I'm always to lazy to create settings ![]() @OKnight: correct, both instances have to be changed. the other code is correct (at least if you just consider the main usergroup of admins ![]() |
#99
|
||||
|
||||
![]()
Thanks for the confirmation Stefan..
![]() Quote:
Code:
$bbuserinfo['usergroupid'] != 6 Code:
can_moderate() |
#100
|
||||
|
||||
![]()
Yup. Of yourse you can also just check the usergroup id - as long as you don't have admins, supermods oder mods in other usergroups then the standard groups
![]() |
#101
|
||||
|
||||
![]()
Using can_moderate() doesn't work..
My double posts are getting merged. |
#102
|
||||
|
||||
![]()
Hmm ... mine don't
![]() Could you post the exact if () you are using? |
#103
|
||||
|
||||
![]()
Here you go..
![]() Code:
if ($type != 'thread' AND can_moderate() AND $threadinfo['lastpost'] > TIMENOW - $vboptions['dblpostthreshold'] AND $threadinfo['lastposter'] == $post['postusername']) |
#104
|
||||
|
||||
![]()
Well, that's wrong
![]() You want the doublepost filter for all those who can not moderate, therefore it must be PHP Code:
|
#105
|
||||
|
||||
![]()
Whoops.!
![]() Hehe, thanks again Kirby. |
#106
|
||||
|
||||
![]()
Installed.
A life saver. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|