Announcement

Collapse
No announcement yet.

How can I add forum jump to my new vb page

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How can I add forum jump to my new vb page

    Hi all

    I created a new vb page, and I tried to put forum jump in it, but I couldn't

    any help???

    code of my page
    PHP Code:
    <?php
    // ####################### SET PHP ENVIRONMENT ###########################
    error_reporting(E_ALL & ~E_NOTICE);
    // #################### DEFINE IMPORTANT CONSTANTS #######################
    define('NO_REGISTER_GLOBALS'1);
    define('THIS_SCRIPT''rules'); // change this depending on your filename
    // ################### PRE-CACHE TEMPLATES AND DATA ######################
    // get special phrase groups
    $phrasegroups = array(
    );
    // get special data templates from the datastore
    $specialtemplates = array(
    );
    // pre-cache templates used by all actions
    $globaltemplates = array(
        
    'RULES',
    );
    // pre-cache templates used by specific actions
    $actiontemplates = array(
    );
    // ######################### REQUIRE BACK-END ############################
    require_once('./global.php');
    // #######################################################################
    // ######################## START MAIN SCRIPT ############################
    // #######################################################################
    $navbits = array();
    $navbits[$parent] = 'Forum Rules';
    $navbits construct_navbits($navbits);
    $frmjmpsel['rules'] = ' selected="selected" class="fjsel"';
    $forumjump construct_forum_jump();
    eval(
    '$navbar = "' fetch_template('navbar') . '";');
    eval(
    'print_output("' fetch_template('rules') . '");');
    ?>
    and this is rules template content
    HTML Code:
    $stylevar[htmldoctype]
    <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
    <head>
    <title>$vboptions[bbtitle] - Forum Rules</title>
    $headinclude
    </head>
    <body>
    $header
    $navbar
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <tr>
     <td class="tcat" align="center">Forum Rules</td>
    </tr>
    <tr>
     <td class="alt1">My Rules</td>
    </tr>
    </table>
    <br>
    <div align="left">
    $forumjump
    </div>
    <br>
    $footer
    </body>
    </html>
    Iam waiting your help

    by the way my vb version is 3.0.7
    One of highly customized vBCMS used for news site.
    www.manshor.net

  • #2
    http://www.vbulletin.org for file modifications. I belive you have to find and copy the code that generates the quick-jump-thing, like you have for the navbar.

    Comment


    • #3
      I think maybe here I can get ansewr too

      thank u TCM
      One of highly customized vBCMS used for news site.
      www.manshor.net

      Comment


      • #4
        You will not get an answer here if your request involves changing the PHP files, because that is not supported here. You do need to go to http://www.vbulletin.org for help with that.
        ~ Life isn't always fair, but you can be. ~

        Comment


        • #5
          ok thank u anyway cbiweb

          I posted my request there, I hope I'll get an ansewr soon
          One of highly customized vBCMS used for news site.
          www.manshor.net

          Comment


          • #6
            know body helped me at www.vbulletin.org !!
            One of highly customized vBCMS used for news site.
            www.manshor.net

            Comment

            widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
            Working...
            X