PDA

View Full Version : Multi-quote suddenly stopped working. How does multi-quote work?


jl255
01-07-2014, 10:09 AM
How does it work? Not in terms of functionality but programming? Cause I just realized my multi-quote mysteriously have stopped working.

And I looked at the command for the multiquote button and the normal quote button and found that they are exactly the same. So how does multi-quote work?

http://forums.xxxx.com/newreply.php?do=newreply&p=4971328

I've tried reverting the postbit_legacy template to a few older versions but none worked. I've also tried disabling all plugins but still nothing.

Any ideas?? :(

Lynne
01-07-2014, 04:53 PM
Create a new style with no parent:

Styles & Templates > Style Manager > Add New Style
Parent Style: No Parent Style
Title: Default vBulletin
Allow User Selection: Yes
Save

Then browse the site using that totally default vbulletin style - do you still have the same problem?

jl255
01-08-2014, 12:21 AM
yes it works with vb default style. So it is a style problem and i've tried restoring postbit_legacy from 1yr ago and it still doesn't work. apart from postbit_legacy (which is what i'm using instead of postbit), are there other templates that might cause this?

but the strange thing is, it works for some people and doesn't for others. i've members telling me that it works for them and others who say it doesn't work. and it also doesn't work for me.

TheLastSuperman
01-08-2014, 02:57 AM
Hmm are you customizing usertitles in the usergroup manager using <span> tags? If so make sure they are all closed i.e. <span style="color:#FF0000;"> </span> and that att of them have the quotes and are correct html etc etc.

^ That's the only thing that comes to mind for me, some sort of broken code snippet or something not allowing the multi-quote to function properly intermittently for some, I dunno not 100% sure but a thought.

jl255
01-08-2014, 05:23 AM
Hmm are you customizing usertitles in the usergroup manager using <span> tags? If so make sure they are all closed i.e. <span style="color:#FF0000;"> </span> and that att of them have the quotes and are correct html etc etc.

^ That's the only thing that comes to mind for me, some sort of broken code snippet or something not allowing the multi-quote to function properly intermittently for some, I dunno not 100% sure but a thought.

tks appreciate it. will check it but we havn't made any changes to the usertitles or even the templates in a long time. the only changes made were to insert different ad codes.

apart from postbit_legacy, are there any other templates that might be causing this?

also tried the children styles under the main style and they all don't work. do themes and style programming any impact on multi-quote?

--------------- Added 1389164416 at 1389164416 ---------------

think i may have found the culprit. it is an ad code:

<script language="JavaScript" src="http://a.xxxxxx.com/servlet/ajrotator/417340/0/vj?z=xxxxxx2&dim=280733&pid=0dfe3241-7fb5-40fc-8724-dd2476b98ff7&asid=4f4f6d5f-2fea-4775-ada5-c10f7ff3e9ce"></script><noscript><a href="http://a.xxxxxxx.com/servlet/ajrotator/417340/0/cc?z=xxxxxx2&pid=0dfe3241-7fb5-40fc-8724-dd2476b98ff7&asid=4f4f6d5f-2fea-4775-ada5-c10f7ff3e9ce"><img src="http://a.xxxxxxx.com/servlet/ajrotator/417340/0/vc?z=xxxxxx2&dim=280733&pid=0dfe3241-7fb5-40fc-8724-dd2476b98ff7&asid=4f4f6d5f-2fea-4775-ada5-c10f7ff3e9ce&abr=$imginiframe" width="300" height="250" border="0"></a></noscript>

see anything wrong with this code? the ad displays fine. but when i remove this code, multi-quote works.

kh99
01-08-2014, 09:19 AM
I don't see anything wrong just glancing at it, but it could be that the javascript in that ad file is conflicting with the vb multiquote code, or maybe the ad code is causing a js error. If you can open a browser error console then load he page you might be able to see any errors.

Lynne
01-08-2014, 06:06 PM
yes it works with vb default style. So it is a style problem and i've tried restoring postbit_legacy from 1yr ago and it still doesn't work. apart from postbit_legacy (which is what i'm using instead of postbit), are there other templates that might cause this?

It is very unlikely it is the postbit/postbit_legacy template. Most likely it is the header, headinclude, or footer templates.

TheLastSuperman
01-08-2014, 08:13 PM
I don't see anything wrong just glancing at it, but it could be that the javascript in that ad file is conflicting with the vb multiquote code, or maybe the ad code is causing a js error. If you can open a browser error console then load he page you might be able to see any errors.

It is very unlikely it is the postbit/postbit_legacy template. Most likely it is the header, headinclude, or footer templates.

I bet you both are right, I bet it's the ad code showing in one of the templates Lynne mentioned and the .js within that ad code is messing up multi-quote.

Ok jl255, simply disable that Ad via the ad manager and see what happens! If the ad code was not added via the ad manager and inserted directly into a template then wrap it with vb:comment code to hide i.e.

<vb:comment><script language="JavaScript" src="http://a.xxxxxx.com/servlet/ajrotator/417340/0/vj?z=xxxxxx2&dim=280733&pid=0dfe3241-7fb5-40fc-8724-dd2476b98ff7&asid=4f4f6d5f-2fea-4775-ada5-c10f7ff3e9ce"></script><noscript><a href="http://a.xxxxxxx.com/servlet/ajrotator/417340/0/cc?z=xxxxxx2&pid=0dfe3241-7fb5-40fc-8724-dd2476b98ff7&asid=4f4f6d5f-2fea-4775-ada5-c10f7ff3e9ce"><img src="http://a.xxxxxxx.com/servlet/ajrotator/417340/0/vc?z=xxxxxx2&dim=280733&pid=0dfe3241-7fb5-40fc-8724-dd2476b98ff7&asid=4f4f6d5f-2fea-4775-ada5-c10f7ff3e9ce&abr=$imginiframe" width="300" height="250" border="0"></a></noscript></vb:comment>

Now check to see (with ad disabled or ad code commented out) if the multi-quote now works, if it does then you know it's the ad itself, if not then check the templates Lynne mentioned again to try and locate the culprit.

squidsk
01-09-2014, 03:10 PM
Validate the page @ http://validator.w3.org/ and see if it returns any errors, that might help you figure out the problem. I've noticed over the years that if the page doesn't validate all kinds of weird behaviour can occur.

jl255
01-14-2014, 02:04 AM
err, think i've already mentioned that if i removed the code, multi-quote works. But there is no way i can get the networks to change their ad codes. So i don't know what to do now.

Lynne
01-15-2014, 03:56 AM
My guess is that you have entered incorrect html for the ads then.