![]() |
Yes it will.
|
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 ;) |
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']) |
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 :) |
Quote:
Quote:
|
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:
|
*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 ;)) |
Thanks for the confirmation Stefan.. :)
Quote:
Code:
$bbuserinfo['usergroupid'] != 6 Code:
can_moderate() |
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 ;)
|
Using can_moderate() doesn't work..
My double posts are getting merged. |
All times are GMT. The time now is 08:06 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|