vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Dropdown errors with pagination... (https://vborg.vbsupport.ru/showthread.php?t=94930)

N8 08-23-2005 09:33 PM

Dropdown errors with pagination...
 
Page with pagination: http://zerogamers.com/showthread.php?t=3790
Without pagination: http://zerogamers.com/showthread.php?t=1496


On the pages where the thread splits into multiple pages, the

" Thread Tools . Search this Thread . Rate Thread . Display Modes "

menu doesn't work, however when the thread only takes up one page the dropdown boxes do work.

Anyone have any idea why this might be happening?
Is this just a glitch in vb3.0.5RC2, or did I screw something up :ermm:

Andreas 08-23-2005 09:38 PM

Error: fetch_object("pagenav_form") has no properties
Source: http://zerogamers.com/clientscript/vbulletin_global.js
Line: 1474

=> Check your SHOWTHREAD Template, it seems to be missing the Jump to Page Popup, which cause JavaScript initialization to fail.

N8 08-23-2005 09:42 PM

Awesome, thanks Kirby :D

Andreas 08-23-2005 09:43 PM

np, you're welcome :)

N8 08-23-2005 09:46 PM

Damn, that doesn't seem to have fixed it :(

Andreas 08-23-2005 09:50 PM

Still the same error ... and still there is no pagenav_form :)

N8 08-23-2005 09:53 PM

I restored the SHOWTHREAD and postbit_legacy templates to the originals.

What else do I have to do :/


The only solution I've found was taking the new "go to page" option in the PAGENAV template

Code:

        <if condition="$show['popups']"><td class="vbmenu_control" title="$address$address2"><a name="PageNav"></a></td></if>

Andreas 08-23-2005 10:02 PM

LOL, I thought it would be in SHOWTHREAD but it's in navbar

Code:

<!-- PAGENAV POPUP -->

        <div class="vbmenu_popup" id="pagenav_menu" style="display:none">
                <table cellpadding="4" cellspacing="1" border="0">
                <tr>
                        <td class="thead" nowrap="nowrap">$vbphrase[go_to_page]</td>
                </tr>
                <tr>
                        <td class="vbmenu_option" title="nohilite">
                        <form action="$vboptions[forumhome].php" method="get" onsubmit="return this.gotopage()" id="pagenav_form">
                                <input type="text" class="bginput" id="pagenav_itxt" style="font-size:11px" size="4" />
                                <input type="button" class="button" id="pagenav_ibtn" value="$vbphrase[go]" />
                        </form>
                        </td>
                </tr>
                </table>
        </div>

<!-- / PAGENAV POPUP -->


N8 08-23-2005 10:05 PM

Ahh, there we go :D

When I was moving my templates over from my old install (3.0.7) I just copied the Navbar over without checking if there was any new codes added in 3.5.0.


All times are GMT. The time now is 09:47 AM.

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.02292 seconds
  • Memory Usage 1,724KB
  • 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
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete