Please vb4 alternative template code

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • WassoufTunClub
    New Member
    • Jan 2010
    • 13
    • 4.0.0

    [Forum] Please vb4 alternative template code

    Please vb4 alternative template code
    from vb3 ---> vb4
    hook :global start

    PHP Code:
                require_once(DIR '/includes/class_xml.php');
                
    $xml_parser =& new vB_XML_Parser(false,DIR '/dimo/dimo.xml');
                
    $content $xml_parser->parse();
        
                
    $dimo_width      $content['bannerWidth'];
                
    $dimo_height     $content['bannerHeight'];
                
    $dimo_speed        $content['transitionSpeed'];    

            eval(
    '$dimo_var = "' fetch_template('dimo_slide) . '";'); 
  • Carnage-
    Senior Member
    • Jan 2005
    • 758
    • 3.8.x

    #2
    PHP Code:
                require_once(DIR '/includes/class_xml.php');
                
    $xml_parser =& new vB_XML_Parser(false,DIR '/dimo/dimo.xml');
                
    $content $xml_parser->parse();
        
                
    $dimo_width      $content['bannerWidth'];
                
    $dimo_height     $content['bannerHeight'];
                
    $dimo_speed        $content['transitionSpeed'];    

            eval(
    '$dimo_var = "' fetch_template('dimo_slide') . '";'); 
    I'm assuming you wanted that fixed? if so try the above.
    Some of my Mods:
    Advanced IP Ban Manager (vb3.6+ version) - Fine grained control over blocking trouble makers.
    Advanced IP Ban Manager (vb4 version) - Fine grained control over blocking trouble makers.
    Use Original thread for Comments - Uses the original thread for comments for any forum threads promoted to CMS articles.
    Custom Friendly Urls - Allows customisation of forum urls from the admin CP.

    Comment

    • WassoufTunClub
      New Member
      • Jan 2010
      • 13
      • 4.0.0

      #3
      i want to convert this code to vb4

      Comment

      • Lynne
        Former vBulletin Support
        • Oct 2004
        • 26255

        #4
        That best place to ask for help with this would be vbulletin.org, the modification site.

        Please don't PM or VM me for support - I only help out in the threads.
        vBulletin Manual & vBulletin 4.0 Code Documentation (API)
        Want help modifying your vbulletin forum? Head on over to vbulletin.org
        If I post CSS and you don't know where it goes, throw it into the additional.css template.

        W3Schools <- awesome site for html/css help

        Comment

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