![]() |
double merging, you mean like it duplicated what you were merging into the post and put it twice?
|
exactly
i found it a bit funny ^^ |
Hmm, well I installed this on my test forum last night, and yes, it has (had) two problems ;
1. The post dateline is not updated on a merge, so it doesn't get seen as unread. 2. The one everyone complains about - no ajax refresh (unless you alter the time stamp, then you get two versions of the same post). So, since I wanted this on our forum I have fixed both locally - this is what I have done. 1. To fix the timestamp ; Find ; PHP Code:
PHP Code:
Find ; PHP Code:
PHP Code:
|
Paul, then how will you know when the first post was written? ;)
|
You won't (unless perhaps you add it into the seperator). I don't really care as we only use a 1 hour limit for double posts anyway. If it bothers you then simply don't do step 1 - your choice. :)
|
does this script work on version 3.5.1?
before your hack i tried on 3.5 and it's ok but it doesn't seem to be working for 3.5.1... or maybe it's just me... |
Quote:
|
Quote:
|
Quote:
Is there potential for problems? |
Quote:
|
Quote:
Quote:
|
Quote:
The 'fix' is really just a workaround to bypass ajax rather than a proper fix using ajax. |
Quote:
PHP Code:
|
I don't believe so.
The line probably should't be with the other set_info lines, that just happens to be where I stuck it. :) |
Quote:
|
So Paul, this should fix the AJAX issue that we all are having, right?
|
@Paul: the first thing is not a problem, it's designed that way ;)
the change of the dateline was optional in the 3.0 version, but not in the original version, as it allows bumping... |
Quote:
@Aftermath - Yes, it gets round it. |
Quote:
|
Yes.
|
Thank you Paul for the update. I will try this out now. :)
|
Coolio. I will definitely try this out tonight.
|
Quote:
After using this, I can't post any new thread. Submit new thread, it just pops up a blank page. |
Quote:
FYI, It works for me, on two 3.5.1 systems, and no one else seems to have a problem ..... |
nm.. learned it in the readme :D
great hack |
@ Paul M:
When I add PHP Code:
Quote:
3.5.1 |
Quote:
|
Sorry just edited my post. Running 3.5.1. I haven't updated my profile in awhile, lol.
|
Quote:
|
Quote:
http://ut2004.titaninternet.co.uk/vb...con_woohoo.gif |
|
Quote:
A big thank you for your help in getting my problem solved! If everyone got the same problem, just do step 2, ignore step 1 ;) |
hi people,
Can't get this to work i always get this error Quote:
|
For those interested, here is an experimental Plugin.
|
Quote:
|
Quote:
Code:
Database error in vBulletin 3.5.1: |
Hmm, I can't reproduce such problems on my board.
But I think the SQL error is releated to thread/forum subscriptions, as the Datamanager won't return the postid. Edit: Reproduced. Actually, the database error causes the double merge: The QR AJAX JS gets the database error and attempts a repost. |
Yep - it works - not quite as I (persoanally) want it to, but it does work. :)
I've added the dateline update on a double post (maybe that should be an option). The main thing I dislike is that it doesn't reload the post automatically - you have to click on the QR 'error' message (there seems to be redirect code in it, not sure why it's not called - a bug maybe ?). |
Quote:
|
The redirect Code is called, the JS XML Handler catches it, detects the "error" message and displays it.
Unfortunately, there is no way to automatically reload the page - JS won't be executed and a meta refresh can only occur in the head-section of a HTML document. An alternative would be to generate a postbit and display it, but then you would have the post displayed 2 times: The post that was already there and the merged post as a new post. Replacing the existing post via AJAX ist not possible without changes to the JS files. |
All times are GMT. The time now is 09:15 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:
|