PDA

View Full Version : help me integrate this site plz :(


Highlander
01-07-2003, 06:51 AM
I cant finish, i need an sample to make it finish .. mybe to someone its not so different and difficult like to me:

se the code:
<?
mysql_connect("xxx","xxx","xxx");
mysql_select_db("spieleplanet_org") or die ("Sorry, Datenbank momentan nicht verf?gbar");

$result = mysql_query("SELECT * FROM linkdatabase WHERE rubrik LIKE 'Audiobook' ORDER BY utime DESC LIMIT 10");
while ($row = mysql_fetch_row($result))
{
?>

this is the querie i want to get shown here, the file with this content ist namend "privacy.php", the template for this *php file is named "forumprivacy":

<?php
error_reporting(7);
require('/home/virtual/site30/fst/var/www/html/forum/global.php');
eval("dooutput(\"".gettemplate('forumprivacy')."\");");
?>

the template "forumprivacy got this content:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="no-cache">
<meta http-equiv="Expires" content="-1">
<meta http-equiv="Cache-Control" content="no-cache">
<!-- end no cache headers -->
<meta name="keywords" content="vbulletin,forum,bbs,discussion,jelsoft">
<meta name="description" content="$bbtitle is a discussion forum powered by vBulletin. To visit the forum, go to $bburl/ . To find out about vBulletin, go to http://www.vbulletin.com/ .">
<title>$bbtitle - powered by vBulletin</title>
$headinclude
</head>
<body>
$header

<!-- YOUR CONTENT GOES HERE -->

$footer
</body>
</html>

maybe someonbe knows how to make this run to be like a forum vb-site :( i tried now some days and tested out many little hacks here.. and my only wish is, to get this site (here (http://www.spieleplanet.org/forum/download/news.php?dominator=2) running, so it would be able to me if i could integrate it to be like a forum vb-site, to also get using some forum variables, like "$useronlin..", "$top_poster", .. latest threads to get shown on the site..

i now, some qould say now, why not using some portal system?

I tried every portal system here, but that are their own sites showing up and i need my special defined sites to show it up like forum sites, i could handle many thing with users and use also the cookies of the forum to get users registered and/or shown up if they are registered or ro make the forum more interresting to guests while i show in sideboxes the latest threads .. and much much much much more option i would like to use in this non vb site.. please help.. me.. to use this PHP sites on my homepage

thx

admin@spieleplanet.net