The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Doublepost = Not counted in user's post count Details »» | |||||||||||||||||||||||||||
Doublepost = Not counted in user's post count
Developer Last Online: Oct 2005
We all know that sometimes there is a need to post a couple times in a row, whether it be multiple attachments, posting updates, etc. This hack will make it so that the double/triple/whatever post is not added to the user's post count, but still shown and updated in the forum and thread count. I kow at some boards there is a lot of competition in post counts, and although doubleposting is not looked highly upon in most forums, this would ensure that the user isn't getting any benefit out of it. Plus people could use it for bumping topics, etc, etc, etc. This hack will also make it so if that doublepost is deleted, it will not subtract from the user's postcount. Since it was never added in the first place, it shouldn't be a problem .
--------------------------------------------------------------------- NOTE: I did use (with permission) the query and if statement from Xenon's Prevent Doubleposting hack. --------------------------------------------------------------------- This is a simple hack which only involves 2 file edits (editpost.php and newreply.php). And it does work with the QRB =P. If you have any questions, etc, post them here. DOESN'T WORK. Show Your Support
|
Comments |
#22
|
||||
|
||||
from a quick delete hack i think? ^^
yes replace both |
#23
|
||||
|
||||
I think that is the hack. Now, that leaves the newreply code.
|
#24
|
||||
|
||||
Xenon, do I need to add the following to the code that you gave me the other day to turn off Double Posting Prevention for this in the editpost, too?
Code:
!$stopdoublepost || |
#25
|
|||
|
|||
Xenon to me any post after another is double posting doesn't matter about the dateline to me... but thats just my opinion...
okay here's another scenario... Run the query :: PHP Code:
find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
g-force2k2 |
#26
|
||||
|
||||
O_O....
I had no idea I was so far off >_<... |
#27
|
||||
|
||||
boofo: yes i think you have to add this
g-force: what about two posts but every post has an attachment in it? that's why i have so much if-clauses but without attachments it'll work perfect, so at my forums i could use this code |
#28
|
||||
|
||||
ok, I will need to add what now? I am confused. I need to add the stopdoublepost to the editpost lines (both of them)? And what about newreply.php? Which code do I need to add there? And it will take care of attachment problems? Sorry to sound so stupid on this one but I want to make SURE I have it right. (After all, we both know what happens when I mess up...i.e. the time thing yesterday?)
|
#29
|
||||
|
||||
add the stopdoublepost everywhere...
no the modification from g-force won't take care of attachments... or let's say also two posts just with different attachments are called doublepost for him, so yes it'll work |
#30
|
||||
|
||||
Ok, so is there a way around the attachment issue in Double posting? Maybe have it so it won't allow attachments when it double posts or something? Should I use his code for the newreply then or do we still need anything in the newreply file?
|
#31
|
||||
|
||||
I tried g-force's thing and when I submit a rpely in the qrb is says something about an uncdefined funtion iif(), but then when I refresh or go back and do it again it works...
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|