vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Thread drop-down menu problems? (https://vborg.vbsupport.ru/showthread.php?t=115771)

The Chief 05-16-2006 04:26 PM

Thread drop-down menu problems?
 
1 Attachment(s)
Hey all,

Does anyone have any problem with their thread drop-down menus ( Thread Tools, Search this Thread, etc. ) not appearing when you click on them?

When the thread is new, the javascript works for some reason, but after maybe a day or so, it just stops working, so I can't move threads, or even search in them as I when i click on them it doesn't work?

Why is this?

The Chief 05-17-2006 02:07 AM

can anybody help with this??

Marco van Herwaarden 05-17-2006 11:12 AM

First make sure the page is fully loaded before you try accessing the menu's.

If that doesn't solve it, you will need to provide a link to a thread showing this problem, so we can see the page source.

If needed provide a test login.

The Chief 05-17-2006 01:46 PM

Quote:

Originally Posted by MarcoH64
First make sure the page is fully loaded before you try accessing the menu's.

If that doesn't solve it, you will need to provide a link to a thread showing this problem, so we can see the page source.

If needed provide a test login.

Here is one thread that doesn't work, even if when it's fully loaded.

http://www.myetalk.com/forums/showthread.php?t=4090

Note: When I click on the little A (on the quick reply) on these threads it doesn't work too...

smacklan 05-17-2006 08:05 PM

do you have any custom rules in your css for this style?

The Chief 05-18-2006 02:42 AM

Quote:

Originally Posted by smacklan
do you have any custom rules in your css for this style?

Umm, custom rules I don't think so, but I have custom css yes??

Marco van Herwaarden 05-18-2006 09:02 AM

I also don't see so fast what is wrong, but the page source does look a bit messy to me.

A reason that it works on some pages and not on others, could be that some has a problematic signature, or an advertisement breaking the page.

You could start by disabling view signatures in your UserCP options, and see if that solves it. Then you can work from there.

Otherwise you could best take a working and a non-working page, and compair their sources. There must be some tag not properly closed or something like that.

The Chief 05-18-2006 03:41 PM

Quote:

Originally Posted by MarcoH64
I also don't see so fast what is wrong, but the page source does look a bit messy to me.

A reason that it works on some pages and not on others, could be that some has a problematic signature, or an advertisement breaking the page.

You could start by disabling view signatures in your UserCP options, and see if that solves it. Then you can work from there.

Otherwise you could best take a working and a non-working page, and compair their sources. There must be some tag not properly closed or something like that.

Thanks, I'll check that out :)

This is what I found, where I think the error is with zsCompare:

This is the working code:
Code:

</script> <script src="http://ad.displayadsmedia.com/getad.js"></script> </div> <table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px"> <tr valign="bottom"> <td class="smallfont"><a href="newthread.php?do=newthread&amp;f=8" rel="nofollow"><img src="images/buttons/newthread.gif" alt="Post New Thread" border="0" /></a>&nbsp; <a href="newreply.php?do=newreply&amp;noquote=1&amp;p=58610"> <img src="images/buttons/reply.gif" alt="Reply" border="0" /></a></td> </tr> </table> <table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center" style="border-bottom-width:0px"> <tr> <td class="tcat" width="100%"> <div class="smallfont"> <a href="#post58610"><img class="inlineimg" src="images/buttons/firstnew.gif" alt="View First Unread" border="0" /></a> <a href="#post58610"><strong>View First Unread</strong></a> &nbsp; </div> </td> <td class="vbmenu_control" id="threadtools" nowrap="nowrap"> <a href="/forums/showthread.php?p=58610&amp;nojs=1#goto_threadtools">Thread Tools</a> <script type="text/javascript"> vbmenu_register("threadtools"); </script> </td> <td class="vbmenu_control" id="threadsearch" nowrap="nowrap"> <a href="/forums/showthread.php?p=58610&amp;nojs=1#goto_threadsearch">Search this Thread</a> <script type="text/javascript"> vbmenu_register("threadsearch"); </script> </td> <td class="vbmenu_control" id="threadrating" nowrap="nowrap"> <a href="/forums/showthread.php?p=58610&amp;nojs=1#goto_threadrating">Rate Thread</a> <script type="text/javascript"> vbmenu_register("threadrating"); </script> </td> <td class="vbmenu_control" id="displaymodes" nowrap="nowrap"> <a href="/forums/showthread.php?p=58610&amp;nojs=1#goto_displaymodes">Display Modes</a> <script type="text/javascript"> vbmenu_register("displaymodes"); </script> </td> <td class="vbmenu_control" id="imod" align="center" title="Moderation"><script type="text/javascript"> vbmenu_register('imod'); </script></td> </tr> </table> <div class="vbmenu_popup" id="imod_menu" style="display:none" align="left"> <table cellpadding="4" cellspacing="1" border="0"> <tr><td class="thead">From This Page...</td></tr> <tr><td class="vbmenu_option" onclick="inlineMod.check_all(true)"><strong>Select</strong> All</td></tr> <tr><td class="vbmenu_option" onclick="inlineMod.check_all(false)" id="arse"><strong>Deselect</strong> All</td></tr> <tr><td class="vbmenu_option" onclick="inlineMod.check_all('invert')"><strong>Invert</strong> Selection</td></tr> <tr><td class="thead"><img src="clear.gif" alt="" width="1" height="1" /></td></tr> <tr><td class="vbmenu_option" onclick="inlineMod.check_all(true, 1)">Select <strong>Unapproved</strong> Posts</td></tr> <tr><td class="vbmenu_option" onclick="inlineMod.check_all(true, 2)">Select <strong>Deleted</strong> Posts</td></tr> <tr><td class="vbmenu_option" onclick="inlineMod.check_all(true, 4)">Select Posts with <strong>Attachments</strong></td></tr> <tr><td class="vbmenu_option" onclick="inlineMod.check_all(true, 8)">Select Posts from <strong>Guests</strong></td></tr> </table> </div> </div> </div> </div> <div id="posts"> <div align="center"> <div class="page" style="width:100%; text-align:left"> <div style="padding:0px 0px 0px 0px"> <div id="edit58610" style="padding:0px 0px 6px 0px"> <table class="tborder" id="post58610" cellpadding="6" cellspacing="1" border="0" width="100%" align="center"> <tr> <td class="thead"  id="currentPost"> <div class="normal" style="float:right"> &nbsp; #<a href="showpost.php?p=58610&amp;postcount=1" target="new" rel="nofollow" id="postcount58610" name="1"><strong>1</strong></a> &nbsp; <a href="reputation.php?p=58610" rel="nofollow"><img class="inlineimg" src="images/buttons/reputation.gif" alt="Add to badasscott's Reputation" border="0" /></a> &nbsp; <a href="report.php?p=58610" rel="nofollow"><img class="inlineimg" src="images/buttons/report.gif" alt="Report Bad Post" border="0" /></a> &nbsp; <a href="postings.php?do=getip&amp;p=58610"><img class="inlineimg" src="im
This is the NOT working code:
Code:

</script> <script src="http://ad.displayadsmedia.com/getad.js"></script> </div> <table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px"> <tr valign="bottom"> <td class="smallfont"><a href="newthread.php?do=newthread&amp;f=8" rel="nofollow"><img src="images/buttons/newthread.gif" alt="Post New Thread" border="0" /></a>&nbsp; <a href="newreply.php?do=newreply&amp;noquote=1&amp;p=56946"> <img src="images/buttons/reply.gif" alt="Reply" border="0" /></a></td> <td align="right"><div class="pagenav" align="right"> <table class="tborder" cellpadding="3" cellspacing="1" border="0"> <tr> <td class="vbmenu_control" style="font-weight:normal">Page 1 of 3</td> <td class="alt2"><span class="smallfont" title="Showing results 1 to 10 of 28"><strong>1</strong></span></td> <td class="alt1"><a class="smallfont" href="showthread.php?t=4090&amp;page=2" title="Show results 11 to 20 of 28">2</a></td><td class="alt1"><a class="smallfont" href="showthread.php?t=4090&amp;page=3"
If you need an admin account, please ask if you want to check it out closer, I would be forever graceful.. :D

Quote:

Originally Posted by The Chief
Thanks, I'll check that out :)

This is what I found, where I think the error is with zsCompare:

This is the working code:
Code:

</script> <script src="http://ad.displayadsmedia.com/getad.js"></script> </div> <table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px"> <tr valign="bottom"> <td class="smallfont"><a href="newthread.php?do=newthread&amp;f=8" rel="nofollow"><img src="images/buttons/newthread.gif" alt="Post New Thread" border="0" /></a>&nbsp; <a href="newreply.php?do=newreply&amp;noquote=1&amp;p=58610"> <img src="images/buttons/reply.gif" alt="Reply" border="0" /></a></td> </tr> </table> <table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center" style="border-bottom-width:0px"> <tr> <td class="tcat" width="100%"> <div class="smallfont"> <a href="#post58610"><img class="inlineimg" src="images/buttons/firstnew.gif" alt="View First Unread" border="0" /></a> <a href="#post58610"><strong>View First Unread</strong></a> &nbsp; </div> </td> <td class="vbmenu_control" id="threadtools" nowrap="nowrap"> <a href="/forums/showthread.php?p=58610&amp;nojs=1#goto_threadtools">Thread Tools</a> <script type="text/javascript"> vbmenu_register("threadtools"); </script> </td> <td class="vbmenu_control" id="threadsearch" nowrap="nowrap"> <a href="/forums/showthread.php?p=58610&amp;nojs=1#goto_threadsearch">Search this Thread</a> <script type="text/javascript"> vbmenu_register("threadsearch"); </script> </td> <td class="vbmenu_control" id="threadrating" nowrap="nowrap"> <a href="/forums/showthread.php?p=58610&amp;nojs=1#goto_threadrating">Rate Thread</a> <script type="text/javascript"> vbmenu_register("threadrating"); </script> </td> <td class="vbmenu_control" id="displaymodes" nowrap="nowrap"> <a href="/forums/showthread.php?p=58610&amp;nojs=1#goto_displaymodes">Display Modes</a> <script type="text/javascript"> vbmenu_register("displaymodes"); </script> </td> <td class="vbmenu_control" id="imod" align="center" title="Moderation"><script type="text/javascript"> vbmenu_register('imod'); </script></td> </tr> </table> <div class="vbmenu_popup" id="imod_menu" style="display:none" align="left"> <table cellpadding="4" cellspacing="1" border="0"> <tr><td class="thead">From This Page...</td></tr> <tr><td class="vbmenu_option" onclick="inlineMod.check_all(true)"><strong>Select</strong> All</td></tr> <tr><td class="vbmenu_option" onclick="inlineMod.check_all(false)" id="arse"><strong>Deselect</strong> All</td></tr> <tr><td class="vbmenu_option" onclick="inlineMod.check_all('invert')"><strong>Invert</strong> Selection</td></tr> <tr><td class="thead"><img src="clear.gif" alt="" width="1" height="1" /></td></tr> <tr><td class="vbmenu_option" onclick="inlineMod.check_all(true, 1)">Select <strong>Unapproved</strong> Posts</td></tr> <tr><td class="vbmenu_option" onclick="inlineMod.check_all(true, 2)">Select <strong>Deleted</strong> Posts</td></tr> <tr><td class="vbmenu_option" onclick="inlineMod.check_all(true, 4)">Select Posts with <strong>Attachments</strong></td></tr> <tr><td class="vbmenu_option" onclick="inlineMod.check_all(true, 8)">Select Posts from <strong>Guests</strong></td></tr> </table> </div> </div> </div> </div> <div id="posts"> <div align="center"> <div class="page" style="width:100%; text-align:left"> <div style="padding:0px 0px 0px 0px"> <div id="edit58610" style="padding:0px 0px 6px 0px"> <table class="tborder" id="post58610" cellpadding="6" cellspacing="1" border="0" width="100%" align="center"> <tr> <td class="thead"  id="currentPost"> <div class="normal" style="float:right"> &nbsp; #<a href="showpost.php?p=58610&amp;postcount=1" target="new" rel="nofollow" id="postcount58610" name="1"><strong>1</strong></a> &nbsp; <a href="reputation.php?p=58610" rel="nofollow"><img class="inlineimg" src="images/buttons/reputation.gif" alt="Add to badasscott's Reputation" border="0" /></a> &nbsp; <a href="report.php?p=58610" rel="nofollow"><img class="inlineimg" src="images/buttons/report.gif" alt="Report Bad Post" border="0" /></a> &nbsp; <a href="postings.php?do=getip&amp;p=58610"><img class="inlineimg" src="im
This is the NOT working code:
Code:

</script> <script src="http://ad.displayadsmedia.com/getad.js"></script> </div> <table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px"> <tr valign="bottom"> <td class="smallfont"><a href="newthread.php?do=newthread&amp;f=8" rel="nofollow"><img src="images/buttons/newthread.gif" alt="Post New Thread" border="0" /></a>&nbsp; <a href="newreply.php?do=newreply&amp;noquote=1&amp;p=56946"> <img src="images/buttons/reply.gif" alt="Reply" border="0" /></a></td> <td align="right"><div class="pagenav" align="right"> <table class="tborder" cellpadding="3" cellspacing="1" border="0"> <tr> <td class="vbmenu_control" style="font-weight:normal">Page 1 of 3</td> <td class="alt2"><span class="smallfont" title="Showing results 1 to 10 of 28"><strong>1</strong></span></td> <td class="alt1"><a class="smallfont" href="showthread.php?t=4090&amp;page=2" title="Show results 11 to 20 of 28">2</a></td><td class="alt1"><a class="smallfont" href="showthread.php?t=4090&amp;page=3"
If you need an admin account, please ask if you want to check it out closer, I would be forever graceful.. :D

can anybody help with the above

Chroder 05-19-2006 08:26 PM

Could you disable the output compressor so the code is more readable?

The Chief 05-22-2006 03:42 PM

Quote:

Originally Posted by Chroder
Could you disable the output compressor so the code is more readable?

Yes, thanks for your help, I will PM you to tell you when you can do it :)


All times are GMT. The time now is 08:31 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.01213 seconds
  • Memory Usage 1,797KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete