The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Firefox Quick Reply Problem
I recently added an ad banner in the postbit. The banner is set up to show up in the last post on the page being viewed.
If I use QR now with firefox, the page hangs after I sumbit the reply and it tries to load the banner as the whole page for some odd reason. In IE, it works just fine. The page shows and there is no ad in the last post unless you view thread again. If I use the regular reply button in firefox, it works as well. I am redirected to the page and the ad shows. I guess one fix would be for me to redirect members back to the forumdisplay page instead of their post - but I don't want to penalize people for a bug that seems to just affect firefox. Also, my most active members won't have the problem because they don't have ad banners on their pages. Any ideas on how I can fix this? Amy |
#2
|
||||
|
||||
Quote:
Satan |
#3
|
||||
|
||||
Quote:
Just kidding. |
#4
|
||||
|
||||
I use firefox
|
#5
|
||||
|
||||
Thinking out loud here. I wonder if giving the google span an id and then figuring out how to set that puppy to not show right after a QR ajax update would work?
|
#6
|
||||
|
||||
Fixed it. I doubt anybody else will have this problem, but if you do, there's an easy solution.
In the function function qr_do_ajax_post(), slap this at the top of the function: Code:
if (!is_ie) { window.location.reload(true); } |
#7
|
|||
|
|||
Hmm i think i actually have the same problem with ad-sense on a board i do. I have ad-sense after each first post, and i had also complaints about pages not loading after quick reply.
|
#8
|
||||
|
||||
Marco,
Scott gave me a better solution. If we make sure that $vbulletin->GPC['ajax'] is not true before we show the ad, it should be ok. |
#9
|
||||
|
||||
Quote:
Code:
<if condition="!$GLOBALS['FIRSTPOSTID'] && !$vbulletin->GPC['ajax']"> |
#10
|
||||
|
||||
It's a template conditional in the postbit template.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|