![]() |
please take a look in the manual or do a search, everything is described very well on the board :)
|
I searched now a while, but I could not find the answer to
Quote:
|
:laugh: Doublepost test
edit :lick: :smoke: |
clicks install
|
Thanks alot :)
|
I earlier updated to vB 3.0.7 and just tried to redo this hack, now I'm getting any error.
Anyone else? "Parse error: parse error, unexpected $ in /includes/functions_newpost.php on line 1327" |
I am using the hack also now on my patched board. I just patched with misc.php ..
If you ever installed hacks on your board, ALWAYS test it first on a testboard and never on a life one ... |
I know, it does not really help you here
|
Works now, I just messed up the coding.
|
Could anybody explain how to install it on a 3.0.7?
|
Sounds naiv, but did you try it like on 3.0.6 ?
|
Apologies for stupidity, I had the older version :)
Yet it doesn't work for me, the code is there but no matter what posts aren't merged. |
I found this hack and installed it immediately. It's great, finally no more users posting doubleposts/tripleposts or even more in a row.
Yet I'm having a little(?) problem. If the post is made by the post reply button everything works fine but if post is made by quick reply (Standard Editor) page is loading endless and the "new post" doesn't appear. Could this perhaps be because of vB 3.0.7? As far as I remember there were some small changes in functions_newpost.php |
hmm, i have not looked at vb3.0.7 as for time reasons, but that would be wierd, as there shouldn't be a difference between QR posts and normal reply posts, both are calling build_new_post and thats where the changes are done.
When i have more time i'll look at it, but if you have further infos please tell me :) |
Working fine for me on 3.0.7.. ;)
|
Ok, tested today a little bit and found the problem
It's Opera (7.54 & JRE 1.5). IE and Firefox are working fine. Only Opera doesn't load the new page if poste is made by quick reply. |
very wierd...
|
I am going to be controvesial. This hack is great IF you have a pre-existing problem with people spamming their post counts up or bumping threads all the time.
If you DON'T have such a problem then don't install it unless/until you do. Quite a few people get quite annoyed if they have a legitimate reason for posting two seperate posts and many find it frustrating. |
well, that's the thing with every hack, just install it if you need it.
so why posting anything which should be wellknown to every admin? :) |
I don't even think Quick Reply button works in Opera (Unless you've REQUIRED the user to click the Quick Reply button)... I'd stick with Firefox. But yes, it is true that it doesn't work. Most people don't use Opera anyway... so I wouldn't worry about it.
|
Quick Reply without the hack works fine in Opera, posting this post also with Quick Reply.
I'm preferring Opera (don't like IE & FF very much), but you're right. Most users don't use Opera so this bug (most likely an Opera bug) perhaps won't ever be detected by any user. The hack really rocks so far. It prevented already a dozen Doubleposts. |
I've installed it on 3.0.7 and I seem to be getting the strangest of errors whereby posts are randomly changing. That is, person A makes a post, then a post from Person B in another thread replaces the text only of that post. Might be an unrelated fudge by MySQL but just thought I'd post in case.
|
sounds really wierd.
|
/me installs this hack
thanks xenon! |
thanks
|
Yeah it's still happening. Is anyone else getting this? 3.0.7 and so far this is the only hack installed. Is it possible that the hack is making amendments to the post table that aren't supported in 3.0.7?
|
I'd like to ask how could this be enabled for everybody, but disabled for just a few people who actually have a reason to post separate posts?
EDIT: ok I read a bit and did it myself |
very nice hack, i've seen it at sites and was looking for it,, Thank you
-LM |
1) is this hack Version 3.0.7 friendly?
2) if in the second post, the member exceeds images allowed, what happens? (answer found) 3) are admins and mods excluded from this? |
1) yes, as you can see on vb.org ;)
2) ;) 3) nope, but in this thread you can find the instructions to exclude them :) |
Quote:
|
I saw a similar hack on another forum software and when the user would add
additional text to a post... |
*user posted 2 minutes later
It would put something like that between them. Is it possible to do that with this hack also? |
post seperator can be whatever you want it to be, that's why i added that one into the option array :)
|
Yes I saw that, but im stuck on the time display thingy :P
I'm not much of a code so I guess I'm asking what code I would stick there to produce that :) If you could tell me that I would be one happy camper :D I just read that getting the times in there would require much modification I have a phpbb hack that does this and there code is HUGE in comparisson and many table queries where logs /records are created, obviously to manage or calculate times bewteen merges. anyways, if someone could show me how to get the users name into the line I would be happy. ex: *JohnBee has added shortly after... |
In your includes/functions_newpost.php, find the following:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
WOW!
Dude it works!:thumbsup: I needs a little formating but WOW! this is exactly like the phpBB hack except its 1000 lines shorter LMAO! One thing that I noticed is it posts a highly accurate time stamp :) like *User posted 1.222343424 mins later. it doesnt do it all the time but quite often. WHat kind of text formating can I apply to this, I didn't t see any html in the newpost.php anywheres so im assuming it uses something else, I noticed the /n is a cr equivalent or something, so I will research it, I want to make it smaller and dark blue... once again thank you for your great support everyone ;) |
Change:
PHP Code:
PHP Code:
|
Thank you MarcoH64
The fixed the .2122223332 problem, it seems of of round it off to the minute. is there a way to round it off to the min.second ? ex: *User has posted 1 minutes 42 seconds later or *User has posted 1.23 minutes later either or would work nicely :) |
Ok, change that line to:
PHP Code:
PHP Code:
|
All times are GMT. The time now is 01:37 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|