Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-18-2008, 08:30 PM
Hex_legend Hex_legend is offline
 
Join Date: May 2007
Posts: 750
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Username Problems

Help me guys.

I am trying to inherit a username on a header of the main page (index.php) which is NOTHING to do with the forums.
The forum directory is /forums/index.php

How would I use the following

Code:
$vbulletin->userinfo['username']
That would work if the forums were in the same directory, but they are not.

This code would go on www.domain.com

Whereas the forums are www.domain.com/forums
Reply With Quote
  #2  
Old 09-18-2008, 08:34 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I believe you need to include the global.php file from vb in order to use vb variables. See these articles on how to make a page that uses vb variables:
How to create your own vBulletin-powered page! (uses vB templates) or [How-To] vBulletin API Basics: Creating Custom Pages & Misc.
Reply With Quote
  #3  
Old 09-18-2008, 08:55 PM
Hex_legend Hex_legend is offline
 
Join Date: May 2007
Posts: 750
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am changing the header.php file which shows:

PHP Code:
<?php

// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);

// #################### DEFINE IMPORTANT CONSTANTS #######################
define('NO_REGISTER_GLOBALS'1);

// ################### 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(
    
);

// pre-cache templates used by specific actions
$actiontemplates = array(

);

// ######################### REQUIRE BACK-END ############################
require_once('http://www.thesocialrev.com/forum/global.php');

// #######################################################################
// ######################## START MAIN SCRIPT ############################
// #######################################################################



?> 



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>The Social Revolution</title>
<style type="text/css">
<!--
body {
    background-image: url(bmp/bkgd.jpg);
    background-attachment: fixed;
    background-repeat: repeat;
    background-color: #000000;
}
body,td,th {
    font-family: Arial, Helvetica, sans-serif;
    color: #FFFFFF;
}
.style1 {font-size: x-small}
.style2 {
    color: #000000;
    font-size: x-small;
}
.style3 {
    color: #000000;
    font-size: small;
    font-weight: bold;
}
.style4 {font-size: small}
-->
</style>
<script type="text/javascript">
<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>

<body onload="MM_preloadImages('images/homeb_32.png','images/homeb_33.png','images/homeb_34.png','images/homeb_35.png','images/homeb_36.png','images/homeb_37.png','images/homeb_38.png','images/homeb_39.png','images/homeb_40.png','images/homeb_41.png','images/homeb_58.png','images/homeb_59.png','images/homeb_60.png','images/homeb_61.png','images/homeb_62.png','images/homeb_63.png','images/homeb_64.png','images/homeb_65.png','images/homeb_66.png','images/homeb_67.png','images/homeb_31.png','images/homeb_57.png')">
<table width="1006" height="801" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
  <tr>
    <td colspan="45"><img src="images/home_01.png" width="1006" height="9" alt="" /></td>
  </tr>
  <tr>
    <td colspan="4" rowspan="5"><img src="images/home_02.png" width="24" height="141" alt="" /></td>
    <td colspan="5" align="left" valign="top"><font size="-1">Welcome $vbulletin->userinfo['username'], Logout</font></td>
    <td rowspan="5"><img src="images/home_04.png" width="19" height="141" alt="" /></td>
    <td colspan="3" align="left" valign="top"><font size="-1">Inbox (12)</font></td>
    <td rowspan="5"><img src="images/home_06.png" width="20" height="141" alt="" /></td>
    <td colspan="3" align="left" valign="top"><img src="images/home_07.png" width="112" height="21" alt="" /></td>
    <td colspan="7" rowspan="5"><img src="images/home_08.png" width="209" height="141" alt="" /></td>
    <td colspan="4" align="left" valign="top"><img src="images/home_09.png" width="112" height="21" alt="" /></td>
    <td rowspan="2"><img src="images/home_10.png" width="8" height="61" alt="" /></td>
    <td colspan="4" align="left" valign="top"><a href="about.html"><img src="images/home_11.png" alt="" width="101" height="21" border="0" /></a></td>
    <td rowspan="2"><img src="images/home_12.png" width="8" height="61" alt="" /></td>
    <td colspan="3" align="left" valign="top"><a href="contact.html"><img src="images/home_13.png" alt="" width="83" height="21" border="0" /></a></td>
    <td rowspan="3"><img src="images/home_14.png" width="7" height="83" alt="" /></td>
    <td colspan="3" align="left" valign="top"><a href="contact.html"><img src="images/home_15.png" alt="" width="54" height="21" border="0" /></a></td>
    <td colspan="4" rowspan="7"><img src="images/home_16.png" width="23" height="162" alt="" /></td>
  </tr>
  <tr>
    <td colspan="5" rowspan="4"><img src="images/home_17.png" width="157" height="120" alt="" /></td>
    <td colspan="3" rowspan="4"><img src="images/home_18.png" width="69" height="120" alt="" /></td>
    <td colspan="3" rowspan="4"><img src="images/home_19.png" width="112" height="120" alt="" /></td>
    <td colspan="4"><img src="images/home_20.png" width="112" height="40" alt="" /></td>
    <td colspan="4"><img src="images/home_21.png" width="101" height="40" alt="" /></td>
    <td colspan="3"><img src="images/home_22.png" width="83" height="40" alt="" /></td>
    <td colspan="3" rowspan="2"><img src="images/home_23.png" width="54" height="62" alt="" /></td>
  </tr>
  <tr>
    <td colspan="3" rowspan="3"><img src="images/home_24.png" width="82" height="80" alt="" /></td>
    <td colspan="3" align="left" valign="top"><img src="images/home_25.png" width="66" height="22" alt="" /></td>
    <td colspan="3" align="left" valign="top"><img src="images/home_26.png" width="73" height="22" alt="" /></td>
    <td colspan="4" align="left" valign="top"><img src="images/home_27.png" width="91" height="22" alt="" /></td>
  </tr>
  <tr>
    <td colspan="14" align="left" valign="top"><img src="images/home_28.png" width="291" height="25" alt="" /></td>
  </tr>
  <tr>
    <td colspan="14"><img src="images/home_29.png" width="291" height="33" alt="" /></td>
  </tr>
  <tr>
    <td colspan="2" rowspan="5"><img src="images/home_30.png" width="4" height="49" alt="" /></td>
    <td colspan="4" align="left" valign="top"><a href="index.html"><img src="images/home_31.png" alt="" width="45" height="20" border="0" id="Image21" onmouseover="MM_swapImage('Image21','','images/homeb_31.png',1)" onmouseout="MM_swapImgRestore()" /></a></td>
    <td colspan="2" align="left" valign="top"><a href="01generalboard.html"><img src="images/home_32.png" alt="" width="85" height="20" border="0" id="Image1" onmouseover="MM_swapImage('Image1','','images/homeb_32.png',1)" onmouseout="MM_swapImgRestore()" /></a></td>
    <td colspan="4" align="left" valign="top"><a href="02systemconsolegames.html"><img src="images/home_33.png" alt="" width="128" height="20" border="0" id="Image2" onmouseover="MM_swapImage('Image2','','images/homeb_33.png',1)" onmouseout="MM_swapImgRestore()" /></a></td>
    <td colspan="4" align="left" valign="top"><a href="04polls.html"><img src="images/home_34.png" alt="" width="41" height="20" border="0" id="Image3" onmouseover="MM_swapImage('Image3','','images/homeb_34.png',1)" onmouseout="MM_swapImgRestore()" /></a></td>
    <td colspan="3" align="left" valign="top"><a href="05tournamentsevents.html"><img src="images/home_35.png" alt="" width="119" height="20" border="0" id="Image4" onmouseover="MM_swapImage('Image4','','images/homeb_35.png',1)" onmouseout="MM_swapImgRestore()" /></a></td>
    <td colspan="2" align="left" valign="top"><a href="06entertainment.html"><img src="images/homeb_36.png" alt="" width="81" height="20" border="0" id="Image5" onmouseover="MM_swapImage('Image5','','images/homeb_36.png',1)" onmouseout="MM_swapImgRestore()" /></a></td>
    <td colspan="2" align="left" valign="top"><a href="07sports.html"><img src="images/home_37.png" alt="" width="47" height="20" border="0" id="Image6" onmouseover="MM_swapImage('Image6','','images/homeb_37.png',1)" onmouseout="MM_swapImgRestore()" /></a></td>
    <td colspan="3" align="left" valign="top"><a href="08clanspartyup.html"><img src="images/home_38.png" alt="" width="92" height="20" border="0" id="Image7" onmouseover="MM_swapImage('Image7','','images/homeb_38.png',1)" onmouseout="MM_swapImgRestore()" /></a></td>
    <td colspan="6" align="left" valign="top"><a href="09guideswalkthroughs.html"><img src="images/home_39.png" alt="" width="129" height="20" border="0" id="Image8" onmouseover="MM_swapImage('Image8','','images/homeb_39.png',1)" onmouseout="MM_swapImgRestore()" /></a></td>
    <td colspan="4" align="left" valign="top"><a href="10gamesmovierevies.html"><img src="images/home_40.png" alt="" width="126" height="20" border="0" id="Image9" onmouseover="MM_swapImage('Image9','','images/homeb_40.png',1)" onmouseout="MM_swapImgRestore()" /></a></td>
    <td colspan="4" align="left" valign="top"><a href="11boardindex.html"><img src="images/home_41.png" alt="" width="76" height="20" border="0" id="Image10" onmouseover="MM_swapImage('Image10','','images/homeb_41.png',1)" onmouseout="MM_swapImgRestore()" /></a></td>
    <td rowspan="2"><img src="images/home_42.png" width="10" height="21" alt="" /></td>
  </tr>
  <tr>
    <td colspan="38"><img src="images/home_43.png" width="969" height="1" alt="" /></td>
  </tr>
  <tr>
    <td rowspan="3"><img src="images/home_44.png" width="5" height="28" alt="" /></td>
    <td colspan="39" align="left" valign="top" bgcolor="#92B4FF"><span class="style2"><img src="images/home_45.png" width="13" height="21" alt="" />Television | Music | Video's | Movies | Pictures | Comedy | Arts &amp; Crafts</span></td>
    <td colspan="3" rowspan="2"><img src="images/home_46.png" width="11" height="27" alt="" /></td>
  </tr>
  <tr>
    <td colspan="39"><img src="images/home_47.png" width="986" height="3" alt="" /></td>
  </tr>
  <tr>
    <td colspan="41" rowspan="2" align="left" valign="top" background="bmp/guns.jpg" bgcolor="#000000"><table width="100%" border="0" cellspacing="0" cellpadding="10">
      <tr>
        <td><img src="bmp/banner1.png" width="955" height="145" /></td>
      </tr>
      <tr>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="82%" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="10">
                  <tr>
                    <td valign="top">
As it wont be needing any templates, we are just using raw html code for the header - I just need the vB Functions..

This code is causing errors - see here.

What do I do to resolve?
Reply With Quote
  #4  
Old 09-18-2008, 09:09 PM
Sawa Dee SohL Sawa Dee SohL is offline
 
Join Date: Aug 2008
Location: www.TheSocialRev.com
Posts: 277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

im interested in this too
Reply With Quote
  #5  
Old 09-18-2008, 09:19 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

require_once('http://www.thesocialrev.com/forum/global.php'); <-- bad idea, security hole!

require_once('./global.php'); or use the remote path, ie ...

require_once('/home/user/global.php');

If you insist on using the URL, then enable fopen in php.ini, again thats not a good idea, everyone should yell at u for that one lol
Reply With Quote
  #6  
Old 09-18-2008, 09:23 PM
Hex_legend Hex_legend is offline
 
Join Date: May 2007
Posts: 750
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way I can add that at the top of the html page to include it? or do I have to write a whole php page for it?

Also, would I add that to index.php or header.php? (the vB functions are being called in header.php) but Im not sure if it would be easier to put it in index.php
Reply With Quote
  #7  
Old 09-18-2008, 09:26 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

huh?

thats in your script now that you posted above, fix the URL, thats incorrect for the URL failed error on your page.
Reply With Quote
  #8  
Old 09-18-2008, 09:31 PM
Hex_legend Hex_legend is offline
 
Join Date: May 2007
Posts: 750
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm still getting an error:



Warning: require_once(/home/content/s/k/u/skullzrus/html/includes/init.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/s/k/u/skullzrus/html/forum/global.php on line 20

Fatal error: require_once() [function.require]: Failed opening required '/home/content/s/k/u/skullzrus/html/includes/init.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/s/k/u/skullzrus/html/forum/global.php on line 20


I don't want to create a template, which is why Im not following the "vbulletin powered page guide". I just want to enable $username in the header of my html site.

This is why I'm asking if there is a way to include global.php on my html page, which is:

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>The Social Revolution</title>
<style type="text/css">
<!--
body {
    background-image: url(bmp/bkgd.jpg);
    background-attachment: fixed;
    background-repeat: repeat;
    background-color: #000000;
}
body,td,th {
    font-family: Arial, Helvetica, sans-serif;
    color: #FFFFFF;
}
.style1 {font-size: x-small}
.style2 {
    color: #000000;
    font-size: x-small;
}
.style3 {
    color: #000000;
    font-size: small;
    font-weight: bold;
}
.style4 {font-size: small}
-->
</style>
<script type="text/javascript">
<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>

<body onload="MM_preloadImages('images/homeb_32.png','images/homeb_33.png','images/homeb_34.png','images/homeb_35.png','images/homeb_36.png','images/homeb_37.png','images/homeb_38.png','images/homeb_39.png','images/homeb_40.png','images/homeb_41.png','images/homeb_58.png','images/homeb_59.png','images/homeb_60.png','images/homeb_61.png','images/homeb_62.png','images/homeb_63.png','images/homeb_64.png','images/homeb_65.png','images/homeb_66.png','images/homeb_67.png','images/homeb_31.png','images/homeb_57.png')">
<table width="1006" height="801" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
  <tr>
    <td colspan="45"><img src="images/home_01.png" width="1006" height="9" alt="" /></td>
  </tr>
  <tr>
    <td colspan="4" rowspan="5"><img src="images/home_02.png" width="24" height="141" alt="" /></td>
    <td colspan="5" align="left" valign="top"><font size="-1">Welcome $vbulletin->userinfo['username'], Logout</font></td>
    <td rowspan="5"><img src="images/home_04.png" width="19" height="141" alt="" /></td>
    <td colspan="3" align="left" valign="top"><font size="-1">Inbox (12)</font></td>
    <td rowspan="5"><img src="images/home_06.png" width="20" height="141" alt="" /></td>
    <td colspan="3" align="left" valign="top"><img src="images/home_07.png" width="112" height="21" alt="" /></td>
    <td colspan="7" rowspan="5"><img src="images/home_08.png" width="209" height="141" alt="" /></td>
    <td colspan="4" align="left" valign="top"><img src="images/home_09.png" width="112" height="21" alt="" /></td>
    <td rowspan="2"><img src="images/home_10.png" width="8" height="61" alt="" /></td>
    <td colspan="4" align="left" valign="top"><a href="about.html"><img src="images/home_11.png" alt="" width="101" height="21" border="0" /></a></td>
    <td rowspan="2"><img src="images/home_12.png" width="8" height="61" alt="" /></td>
    <td colspan="3" align="left" valign="top"><a href="contact.html"><img src="images/home_13.png" alt="" width="83" height="21" border="0" /></a></td>
    <td rowspan="3"><img src="images/home_14.png" width="7" height="83" alt="" /></td>
    <td colspan="3" align="left" valign="top"><a href="contact.html"><img src="images/home_15.png" alt="" width="54" height="21" border="0" /></a></td>
    <td colspan="4" rowspan="7"><img src="images/home_16.png" width="23" height="162" alt="" /></td>
  </tr>
  <tr>
    <td colspan="5" rowspan="4"><img src="images/home_17.png" width="157" height="120" alt="" /></td>
    <td colspan="3" rowspan="4"><img src="images/home_18.png" width="69" height="120" alt="" /></td>
    <td colspan="3" rowspan="4"><img src="images/home_19.png" width="112" height="120" alt="" /></td>
    <td colspan="4"><img src="images/home_20.png" width="112" height="40" alt="" /></td>
    <td colspan="4"><img src="images/home_21.png" width="101" height="40" alt="" /></td>
    <td colspan="3"><img src="images/home_22.png" width="83" height="40" alt="" /></td>
    <td colspan="3" rowspan="2"><img src="images/home_23.png" width="54" height="62" alt="" /></td>
  </tr>
  <tr>
    <td colspan="3" rowspan="3"><img src="images/home_24.png" width="82" height="80" alt="" /></td>
    <td colspan="3" align="left" valign="top"><img src="images/home_25.png" width="66" height="22" alt="" /></td>
    <td colspan="3" align="left" valign="top"><img src="images/home_26.png" width="73" height="22" alt="" /></td>
    <td colspan="4" align="left" valign="top"><img src="images/home_27.png" width="91" height="22" alt="" /></td>
  </tr>
  <tr>
    <td colspan="14" align="left" valign="top"><img src="images/home_28.png" width="291" height="25" alt="" /></td>
  </tr>
  <tr>
    <td colspan="14"><img src="images/home_29.png" width="291" height="33" alt="" /></td>
  </tr>
  <tr>
    <td colspan="2" rowspan="5"><img src="images/home_30.png" width="4" height="49" alt="" /></td>
    <td colspan="4" align="left" valign="top"><a href="index.html"><img src="images/home_31.png" alt="" width="45" height="20" border="0" id="Image21" onmouseover="MM_swapImage('Image21','','images/homeb_31.png',1)" onmouseout="MM_swapImgRestore()" /></a></td>
    <td colspan="2" align="left" valign="top"><a href="01generalboard.html"><img src="images/home_32.png" alt="" width="85" height="20" border="0" id="Image1" onmouseover="MM_swapImage('Image1','','images/homeb_32.png',1)" onmouseout="MM_swapImgRestore()" /></a></td>
    <td colspan="4" align="left" valign="top"><a href="02systemconsolegames.html"><img src="images/home_33.png" alt="" width="128" height="20" border="0" id="Image2" onmouseover="MM_swapImage('Image2','','images/homeb_33.png',1)" onmouseout="MM_swapImgRestore()" /></a></td>
    <td colspan="4" align="left" valign="top"><a href="04polls.html"><img src="images/home_34.png" alt="" width="41" height="20" border="0" id="Image3" onmouseover="MM_swapImage('Image3','','images/homeb_34.png',1)" onmouseout="MM_swapImgRestore()" /></a></td>
    <td colspan="3" align="left" valign="top"><a href="05tournamentsevents.html"><img src="images/home_35.png" alt="" width="119" height="20" border="0" id="Image4" onmouseover="MM_swapImage('Image4','','images/homeb_35.png',1)" onmouseout="MM_swapImgRestore()" /></a></td>
    <td colspan="2" align="left" valign="top"><a href="06entertainment.html"><img src="images/homeb_36.png" alt="" width="81" height="20" border="0" id="Image5" onmouseover="MM_swapImage('Image5','','images/homeb_36.png',1)" onmouseout="MM_swapImgRestore()" /></a></td>
    <td colspan="2" align="left" valign="top"><a href="07sports.html"><img src="images/home_37.png" alt="" width="47" height="20" border="0" id="Image6" onmouseover="MM_swapImage('Image6','','images/homeb_37.png',1)" onmouseout="MM_swapImgRestore()" /></a></td>
    <td colspan="3" align="left" valign="top"><a href="08clanspartyup.html"><img src="images/home_38.png" alt="" width="92" height="20" border="0" id="Image7" onmouseover="MM_swapImage('Image7','','images/homeb_38.png',1)" onmouseout="MM_swapImgRestore()" /></a></td>
    <td colspan="6" align="left" valign="top"><a href="09guideswalkthroughs.html"><img src="images/home_39.png" alt="" width="129" height="20" border="0" id="Image8" onmouseover="MM_swapImage('Image8','','images/homeb_39.png',1)" onmouseout="MM_swapImgRestore()" /></a></td>
    <td colspan="4" align="left" valign="top"><a href="10gamesmovierevies.html"><img src="images/home_40.png" alt="" width="126" height="20" border="0" id="Image9" onmouseover="MM_swapImage('Image9','','images/homeb_40.png',1)" onmouseout="MM_swapImgRestore()" /></a></td>
    <td colspan="4" align="left" valign="top"><a href="11boardindex.html"><img src="images/home_41.png" alt="" width="76" height="20" border="0" id="Image10" onmouseover="MM_swapImage('Image10','','images/homeb_41.png',1)" onmouseout="MM_swapImgRestore()" /></a></td>
    <td rowspan="2"><img src="images/home_42.png" width="10" height="21" alt="" /></td>
  </tr>
  <tr>
    <td colspan="38"><img src="images/home_43.png" width="969" height="1" alt="" /></td>
  </tr>
  <tr>
    <td rowspan="3"><img src="images/home_44.png" width="5" height="28" alt="" /></td>
    <td colspan="39" align="left" valign="top" bgcolor="#92B4FF"><span class="style2"><img src="images/home_45.png" width="13" height="21" alt="" />Television | Music | Video's | Movies | Pictures | Comedy | Arts &amp; Crafts</span></td>
    <td colspan="3" rowspan="2"><img src="images/home_46.png" width="11" height="27" alt="" /></td>
  </tr>
  <tr>
    <td colspan="39"><img src="images/home_47.png" width="986" height="3" alt="" /></td>
  </tr>
  <tr>
    <td colspan="41" rowspan="2" align="left" valign="top" background="bmp/guns.jpg" bgcolor="#000000"><table width="100%" border="0" cellspacing="0" cellpadding="10">
      <tr>
        <td><img src="bmp/banner1.png" width="955" height="145" /></td>
      </tr>
      <tr>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="82%" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="10">
                  <tr>
                    <td valign="top">
Reply With Quote
  #9  
Old 09-21-2008, 02:51 PM
Hex_legend Hex_legend is offline
 
Join Date: May 2007
Posts: 750
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please can someone help with this? It's been a few days now and still nothing.

The site is www.thesocialrev.com

The forums are www.thesocialrev.com/forum
Reply With Quote
  #10  
Old 09-21-2008, 02:59 PM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can't post php inside of html like that.

You need to wrap the vBulletin variable in php tags HTML <? vbulletin-> userid code ?> Back to HTML
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:09 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.06788 seconds
  • Memory Usage 2,327KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete