Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-07-2014, 10:09 AM
jl255 jl255 is offline
 
Join Date: May 2007
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Multi-quote suddenly stopped working. How does multi-quote work?

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?...eply&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??
Reply With Quote
  #2  
Old 01-07-2014, 04:53 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #3  
Old 01-08-2014, 12:21 AM
jl255 jl255 is offline
 
Join Date: May 2007
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 01-08-2014, 02:57 AM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 01-08-2014, 05:23 AM
jl255 jl255 is offline
 
Join Date: May 2007
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TheLastSuperman View Post
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 [DATE]1389164416[/DATE] at [TIME]1389164416[/TIME] ---------------

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.
Reply With Quote
  #6  
Old 01-08-2014, 09:19 AM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Благодарность от:
TheLastSuperman
  #7  
Old 01-08-2014, 06:06 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jl255 View Post
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.
Reply With Quote
  #8  
Old 01-08-2014, 08:13 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
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.
Quote:
Originally Posted by Lynne View Post
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.

Code:
<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.
Reply With Quote
  #9  
Old 01-09-2014, 03:10 PM
squidsk's Avatar
squidsk squidsk is offline
 
Join Date: Nov 2010
Posts: 969
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #10  
Old 01-14-2014, 02:04 AM
jl255 jl255 is offline
 
Join Date: May 2007
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:22 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
  • Page Generation 0.05216 seconds
  • Memory Usage 2,262KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete