The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
What am i doing wrong?
Code:
<?php // ######################## SET PHP ENVIRONMENT ########################### error_reporting(E_ALL & ~E_NOTICE); @set_time_limit(0); // #################### PRE-CACHE TEMPLATES AND DATA ###################### $phrasegroups = array('style'); $specialtemplates = array('products'); // ########################## REQUIRE BACK-END ############################ require_once('./global.php'); require_once(DIR . '/includes/adminfunctions_template.php'); print_cp_header(); // ######################## CHECK ADMIN PERMISSIONS ####################### if (!can_administer('canadminstyles')) { print_cp_no_permission(); } if ($_REQUEST['do'] == 'forum') { $vbulletin->input->clean_array_gpc('r', array( 'pagenumber' => TYPE_UINT, )); $perpage = 100; if (!$vbulletin->GPC['pagenumber']) { $vbulletin->GPC['pagenumber'] = 1; } $start = ($vbulletin->GPC['pagenumber'] - 1) * $perpage; $headercell = array( $vbphrase['ID'], $vbphrase['Username'], $vbphrase['Amount'], $vbphrase['Name of Item'], $vbphrase['Status'] ); } print_cp_footer(); ?> http://i.imgur.com/44xIgHh.png Also the annoying footer keeps staying up everytime.. doesn't go bellow. |
#2
|
||||
|
||||
Cause you are not calling for any info from the database.
|
#3
|
|||
|
|||
|
#4
|
||||
|
||||
I would suggest looking at this mod I coded for DBTech, https://vborg.vbsupport.ru/showthread.php?t=298033
Look at the file dbtech_search_log in the admincp folder, that is a proper way to write the page. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|