aggregate double-posts double-loads pages hides favicon
3 posters
Page 1 of 1
aggregate double-posts double-loads pages hides favicon
Technical Details
Forum version : #phpBB2
Position : Founder
Concerned browser(s) : Mozilla Firefox
Screenshot of problem : http://i.imgbox.com/AepmUT54.png
Who the problem concerns : All members
When the problem appeared : After applying a new script to aggregate double posts.
Forum link : www.gunetwork.org
Description of problem
HelloSo I've used the "Aggregate Double Posts" script from here:
https://help.forumotion.com/t136448-phpbb-aggregate-double-posts
Unfortunately, every page on my site now is double-loaded. This also has the nasty side-effect of hiding my custom favicon into the default one.
Bothers me that this happens on Firefox and not on Chrome.
I know I have two quick fixes - use Chrome or remove the double-post script.
I just wanted to report the bug and hope for a third solution from one of the many great scripters here like Twisted and Ange.
Last edited by DVAted on October 26th 2015, 8:27 pm; edited 1 time in total
Re: aggregate double-posts double-loads pages hides favicon
Hi @DVAted,
It looks like the script reassigns the location hash so your browser focuses on the correct post ( or edit ) after the posts have been combined. You can try replacing the script with the one below if you like :
It looks like the script reassigns the location hash so your browser focuses on the correct post ( or edit ) after the posts have been combined. You can try replacing the script with the one below if you like :
- Code:
$(function() {
var c = "", a, d = 0, b = 0;
$("tr.post").each(function() {
var e = $("> td:first span.name", this).text();
e != c ? (d++, b++, a = $(this), b % 2 != d % 2 && $("> td", a).add($("> td", a.next())).toggleClass("row1 row2"), c = e) : (b++, $(a).find("div.signature_div").remove(), $("> td:last", a).append($("> td:last > table ", this).addClass("doublepost").attr("id", $(this).attr("id").replace(/^p([0-9]+)$/, "$1"))), $(this).next().remove(), $(this).remove())
});
});
Re: aggregate double-posts double-loads pages hides favicon
Thank you! That fixed it! I'm so happy to have it fixed
Now, I would have a few more things I need some help with. Do I make individual topics for them, or do I make one master-topics for all my troubles?
The real question to all of this is:
Do I make individual topics for these issues, or a master topic?
Many thanks, Ange, you're a legend!
Here's a topic where I've name-dropped you quite a few times:
http://www.gunetwork.org/t8056-halloween-site-improvements
Thank you for everything
Now, I would have a few more things I need some help with. Do I make individual topics for them, or do I make one master-topics for all my troubles?
- They involve (but aren't limited to):
Having a short .mp3 file uploaded to some type of host which gives me a direct link so I can use it as a Chatbox notification sound. I've spent about 3 hours today trying to figure out how to get a compatible direct link to my own mp3 file from a hosting site. Mediafire, 4shared, pocosong, everything failed. They give me either links to their own player, or to the download, never to the direct .mp3 file. So I can't replace
https://illiweb.com/fa/fdf/zelda.mono.mp3
with anything that I want. I tried finding out how to upload to illiweb but couldn't figure it out. Alternatively, do you have a catalog of alternative notification sounds on illiweb?
Also, I'd need a way to deny access to members below 30 posts on the chatbox and an auto-login script as well. I've scouted a few on previous topics here which other people have made, but they were either for phpbb3, for 3rd party chatboxes, or simply did not work.
Lastly, I had two great scripts for my forums:
1. allowing any staff-made edit to another user's post to be auto-logged by PM to that user.
2. denying members the chance to double-post by hiding the "reply" button and neutralizing the "quick reply" box if theirs was the last post made in the topic. It was very effective, cut double-posting down to 90% (the only slips were internet hiccups/accidental identical double posts. but not more intentional consecutive posting)
They were quite effective!
The problem there is that a few months ago they both stopped working and/or glitched out, and the man who's scripted them went off the grid and can't help anymore.
I disabled them, but I'd dearly like to have them back, in working form. I may copy/paste our source for overview with detailed description of the glitching/bugs.
The real question to all of this is:
Do I make individual topics for these issues, or a master topic?
Many thanks, Ange, you're a legend!
Here's a topic where I've name-dropped you quite a few times:
http://www.gunetwork.org/t8056-halloween-site-improvements
Thank you for everything
Re: aggregate double-posts double-loads pages hides favicon
@DVAted no problem and thanks. ^^ Yes, it would be a good idea to create separate topics for multiple problems. It keeps things organized and easier to find via searching.
Re: aggregate double-posts double-loads pages hides favicon
Topic solved and archived
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Similar topics
» phpbb : Aggregate double posts
» Double Posts
» Automerge Double Posts
» CSS image for double-posts not correctly positioned
» Error messages when posting and double posts
» Double Posts
» Automerge Double Posts
» CSS image for double-posts not correctly positioned
» Error messages when posting and double posts
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum