This website can use cookies to improve the user experience

This website can use cookies to improve the user experience and to provide certain services and functions to users. Cookies contain small amounts of information (such as login information and user preferences) and will be stored on your device.

Enable All Cookies Privacy Policy

template into layout


avatar
trackvlek 0
From: -
template into layout

heey in photoshop i made a whole new layout i wanted to use.
BUT: how do i integrate storyteller into it?

i notice that i can edit templates like colours etc but what about a whole new layout?

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


1 Re: template into layout
avatar
0
From: -
template into layout

my goodness, he never put it back did he? i hope you can do something about this Phillip
1 Re: template into layout
avatar
0
From: -
template into layout

After all the help Philipp has given you too... ;(
1 Re: template into layout
avatar
Administrator
1340
From: Vienna, Austria
template into layout

The "Powered by" notice is still not there ;(. Restore the notice until end of the week. The is my final warning.
1 Re: template into layout
avatar
Administrator
1340
From: Vienna, Austria
template into layout

Please restore the "Powered by" first. Thanks.
1 Re: template into layout
avatar
OP 0
From: -
template into layout

i Know wil be monday..
ehm phillip
when i upload the bbwrapper my vbulletin does strance everyone has my avater

when i search a user every ID shows mine etc..
what is wrong?


Code:


$bb_host = "sql01.hostingdiscounter.nl";
$bb_dbname = "battlez_nl";
$bb_dbuser = "battlez_nl";
$bb_dbpasswd = "xxxxxxx";
$bb_url = "/forums/";
$bb_panel = $bb_url."usercp.php";
$bb_whatsnew = $bb_url."search.php?do=getnew";
$bb_pms = $bb_url."private.php";
$bb_private = ""; // private forums. For example: 4,11 will exclude forum 4 & 11
$bb_prefix = "";
$bb_cookieprefix = "";
$bb_licenseno = "00000000"; // Your vBulletin license (not customer) number.
// You find this information in the vBulletin member
// area in the "Current Licenses" list
1 Re: template into layout
avatar
Administrator
1340
From: Vienna, Austria
template into layout

Most likely a white character issue with WordPad.

Btw please re-add now the "Powered by" notice back. This is part of the license agreement.
1 Re: template into layout
avatar
OP 0
From: -
template into layout

hmzz strance.. when i update with wordpad it wont work
No i tried with homesite and it;s working Grinning Face
dope Grinning Face

thx
1 Re: template into layout
avatar
Administrator
1340
From: Vienna, Austria
template into layout

Please try the old core.php again. Does it work?
1 Re: template into layout
avatar
OP 0
From: -
template into layout

still same problem..
1 Re: template into layout
avatar
Administrator
1340
From: Vienna, Austria
template into layout

Please try to reupload core.php in ascii
1 Re: template into layout
avatar
OP 0
From: -
template into layout

pfff why do i have always problems with this cms :S

thx 4 ya reply mit worked BUT now my cookies wont work :S
not on the site not on the admin.
i wil pm you my password.

thx,
1 Re: template into layout
avatar
Administrator
1340
From: Vienna, Austria
template into layout

Originally posted by trackvlek:
thx for ya reply, but ehm bouw those updates what after a year?

You can renew the access to updates for $28/year. However, this is only necessary if you like to run the latest version.

Originally posted by trackvlek:
but ehm.. how can disable these templates on the main? cuz now i got them AND on the main AND in the menu..

Open core.php in an editor and find:

echo GetTemplate("login_header_user");

Replace this line with:

//echo GetTemplate("login_header_user");

Find:

echo GetTemplate("login_header_anon");

and replace with:

//echo GetTemplate("login_header_user");
1 Re: template into layout
avatar
OP 0
From: -
template into layout

that login status is working Grinning Face thx man Grinning Face
but ehm.. how can disable these templates on the main? cuz now i got them AND on the main AND in the menu..
1 Re: template into layout
avatar
OP 0
From: -
template into layout

thx for ya reply, but ehm bouw those updates what after a year?
1 Re: template into layout
avatar
Administrator
1340
From: Vienna, Austria
template into layout

Originally posted by trackvlek:
U explained me the login_status thing i wanted to habe on the right! where u see LOGIN

I want USERNAME
PASSWORD

and as soon as they are logged in i want

my login_header_user template to be showed instead of on the main.
That doesnt worked the way u told me.

You need to add the code from post #774 (on the first page) to your site_footer template instead of site_header. Then you could use $login_status for the login status line

Originally posted by trackvlek:
and When i leave a subcatagory by reviews blank (no entry) my layout kills itself.

I will look into this later.

Originally posted by trackvlek:
i was realy thinking bout that. But $99 dollar a year is for me very expensive..

Actually, it's a lifetime license. Only updates are limited to 1 year.
1 Re: template into layout
avatar
OP 0
From: -
template into layout

i was realy thinking bout that.
But $99 dollar a year is for me very expensive.. its only a hobby 4 me not a job.. and im still student so Winking Face

but im considering to buy it, need to discuss it with my crew and members for a donation Winking Face

And all the others who got questions bout this cms can read this topic almost everything is answered Winking Face
1 Re: template into layout
avatar
0
From: -
template into layout

I hope you're going to buy this product after all this free support Winking Face
1 Re: template into layout
avatar
OP 0
From: -
template into layout

I fixed (after an hour) a lot of the bugs but.. still got some questions

U explained me the login_status thing i wanted to habe on the right! where u see LOGIN

I want USERNAME
PASSWORD

and as soon as they are logged in i want

my login_header_user template to be showed instead of on the main.
That doesnt worked the way u told me.


and When i leave a subcatagory by reviews blank (no entry) my layout kills itself..
1 Re: template into layout
avatar
OP 0
From: -
template into layout

I fixed that problem with the story BUT
my comments dont work

http://www.battlez.nl/story.php?id=3

can post a comment..
plz try
user
password
1 Re: template into layout
avatar
OP 0
From: -
template into layout

Also that $login status dunt work

i want on the right! u see LOGIN

I want USERNAME
PASSWORD

and as soon as they are logged in i want

my login_header_user template to be showed instead of on the main.


could u help me..
i know i ask a lot questions in once.. im sorry
1 Re: template into layout
avatar
OP 0
From: -
template into layout

also when i make a subcatagorie and i leave that one empty my footer wont be vissable..
1 Re: template into layout
avatar
OP 0
From: -
template into layout

Dear philip.
Why is story.php killing my design? i replaced al story related template files.. nothing worked.. got an idea

http://www.battlez.nl/story.php?id=3
1 Re: template into layout
avatar
OP 0
From: -
template into layout

wtf :S i installed my templated again and now its working.. strance thing..
1 Re: template into layout
avatar
OP 0
From: -
template into layout

when i install default templates everything is working.
when i put my own 2 templates in the cookies aren;'t cleared.. got an idea?
1 Re: template into layout
avatar
Administrator
1340
From: Vienna, Austria
template into layout

There was a small typo in your SQL code
1 Re: template into layout
avatar
OP 0
From: -
template into layout

what was wrong? so i know it for the next time.
1 Re: template into layout
avatar
Administrator
1340
From: Vienna, Austria
template into layout

Fixed.
1 Re: template into layout
avatar
OP 0
From: -
template into layout

its correctly...


 http://www.battlez.nl/cadmin

user
admin


plz check if u want :$ cuz im almost finished Grinning Face
1 Re: template into layout
avatar
Administrator
1340
From: Vienna, Austria
template into layout

There is most likely a white character (space) after $EST_TEMPLATE = <<<TEMPLATE and/or TEMPLATE; which cause the template not to load.

Wrong:
"$EST_TEMPLATE = <<<TEMPLATE "

Right:
"$EST_TEMPLATE = <<<TEMPLATE"

Wrong:
"TEMPLATE; "

Right:
"TEMPLATE;"
1 Re: template into layout
avatar
OP 0
From: -
template into layout

i tried this myself already...

doesnt work..  http://www.battlez.nl/index.php
1 Re: template into layout
avatar
Administrator
1340
From: Vienna, Austria
template into layout

The template should look like:

<?php

global $insert;

$last10forum = mysql_query("SELECT title, threadid, FROM_UNIXTIME(lastpost) as datum FROM thread WHERE (forumid != "14") AND (forumid != "15") ORDER BY datum DESC LIMIT 0,10");
while ($myrow = mysql_fetch_object($last10forum)) {
$forum_title = $myrow->title;
if (strlen($forum_title) > 24) {
$forum_title = substr($forum_title, 0, 21)."...";
}
$forum_html .= " <a href="https://www.contentteller.com/ http://www.battlez.nl/forums/showthread.php?threadid=$myrow->threadid">$forum_title</a><br>";
}

$member = mysql_query("SELECT * FROM user ORDER BY joindate DESC");
$membercount = mysql_num_rows($member);
$member = mysql_fetch_object($member);
$newmember = $member->username;
$memberid = $member->userid;
$totalposts = mysql_query("SELECT * FROM post WHERE visible=1");
$totalposts = mysql_num_rows($totalposts);
$totalthreads = mysql_query("SELECT * FROM thread");
$totalthreads = mysql_num_rows($totalthreads);

$EST_TEMPLATE = <<<TEMPLATE

<!-- Template site_footer -->

</td>
<td rowspan="4"background="images/index_14.gif" width="19" height="393" alt="" valign="top"></td>
<td background="images/index_15.gif" width="174" height="1" alt="" valign="top"></td>
<td background="images/index_16.gif" width="1" height="1" alt="" valign="top"></td>
</tr>
<tr>
<td colspan="2"background="images/index_17.gif" width="175" height="30" alt="" valign="top">Gebruikersnaam <br>
wachtwoord<br>
blahblah</td>
</tr>
<tr>
<td class="style1"rowspan="2"background="images/Back_nieuw.gif" width="174" height="362" alt="" valign="top"><p><img src="https://www.contentteller.com/images/menu_15.gif" width="174" height="50"><br>
<br>
<p>

$forum_html

</p>

<br><img src="https://www.contentteller.com/images/menu_18.gif"><br>
<strong> Niewste member:</strong><br>
<a href="https://www.contentteller.com/ http://www.battlez.nl/forums/member.php?userid=$memberid">$newmember</a><br><br>
<strong> Gebruikers:</strong> $membercount<br>
<strong> Threads:</strong> $totalthreads<br>
<strong> Posts:</strong> $totalposts<br></td>
<td background="images/index_19.gif" width="1" height="1" alt="" valign="top"></td>
</tr>
<tr>
<td background="images/index_20.gif" width="1" height="361" alt="" valign="top"></td>
</tr>
<tr>
<td background="images/index_21.gif" width="1" height="84" alt="" valign="top"></td>
<td colspan="5"background="images/index_22.gif" width="622" height="84" alt="" valign="top"></td>
</tr>
<tr>
<td colspan="6"background="images/index_23.gif" width="623" height="100" alt="" valign="top"></td>
</tr>
<tr>
<td background="images/spacer.gif" width="56" height="1" alt="" valign="top"></td>
<td background="images/spacer.gif" width="32" height="1" alt="" valign="top"></td>
<td background="images/spacer.gif" width="1" height="1" alt="" valign="top"></td>
<td background="images/spacer.gif" width="23" height="1" alt="" valign="top"></td>
<td background="images/spacer.gif" width="405" height="1" alt="" valign="top"></td>
<td background="images/spacer.gif" width="19" height="1" alt="" valign="top"></td>
<td background="images/spacer.gif" width="174" height="1" alt="" valign="top"></td>
<td background="images/spacer.gif" width="1" height="1" alt="" valign="top"></td>
<td background="images/spacer.gif" width="27" height="1" alt="" valign="top"></td>
<td background="images/spacer.gif" width="62" height="1" alt="" valign="top"></td>
</tr>
</center></table>
</body>
</html>
TEMPLATE;
?>
1 Re: template into layout
avatar
OP 0
From: -
template into layout

hmzz STrance thing
i deleted whole storyteller and installed it again and YEAH the cookies worked coorectly. Now i wanted to install the site footer again and it kills al the php :S
And exactly the same code worked before i reinstalled :S

code:
<?php
global $insert;
$EST_TEMPLATE = <<<TEMPLATE

<!-- Template site_footer -->

</td>
<td rowspan="4"background="images/index_14.gif" width="19" height="393" alt="" valign="top"></td>
<td background="images/index_15.gif" width="174" height="1" alt="" valign="top"></td>
<td background="images/index_16.gif" width="1" height="1" alt="" valign="top"></td>
</tr>
<tr>
<td colspan="2"background="images/index_17.gif" width="175" height="30" alt="" valign="top">Gebruikersnaam <br>
wachtwoord<br>
blahblah</td>
</tr>
<tr>
<td class="style1"rowspan="2"background="images/Back_nieuw.gif" width="174" height="362" alt="" valign="top"><p><img src="https://www.contentteller.com/images/menu_15.gif" width="174" height="50"><br>
<br>
<p>

<?
$last10forum = mysql_query("SELECT title, threadid, FROM_UNIXTIME(lastpost) as datum FROM thread WHERE (forumid != "14") AND (forumid != "15") ORDER BY datum DESC LIMIT 0,10");
while ($myrow = mysql_fetch_object($last10forum)) {
$forum_title = $myrow->title;
if (strlen($forum_title) > 24) {
$forum_title = substr($forum_title, 0, 21)."...";
}
echo("&nbsp;&nbsp;&nbsp;<a href="https://www.contentteller.com/ http://www.battlez.nl/forums/showthread.php?threadid=$myrow->threadid">$forum_title</a><br>");
}
?>

</p>

<?
$member = mysql_query("SELECT * FROM user ORDER BY joindate DESC");
$membercount = mysql_num_rows($member);
$member = mysql_fetch_object($member);
$newmember = $member->username;
$memberid = $member->userid;
$totalposts = mysql_query("SELECT * FROM post WHERE visible=1");
$totalposts = mysql_num_rows($totalposts);
$totalthreads = mysql_query("SELECT * FROM thread");
$totalthreads = mysql_num_rows($totalthreads);
?>
<br><img src="https://www.contentteller.com/images/menu_18.gif"><br>
<strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Niewste member:</strong><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://www.contentteller.com/ http://www.battlez.nl/forums/member.php?userid=<?echo$memberid?>"><?echo$newmember?></a><br><br>
<strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gebruikers:</strong>&nbsp;<?echo$membercount?><br>
<strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Threads:</strong>&nbsp;<?echo$totalthreads?><br>
<strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Posts:</strong>&nbsp;<?echo$totalposts?><br></td>
<td background="images/index_19.gif" width="1" height="1" alt="" valign="top"></td>
</tr>
<tr>
<td background="images/index_20.gif" width="1" height="361" alt="" valign="top"></td>
</tr>
<tr>
<td background="images/index_21.gif" width="1" height="84" alt="" valign="top"></td>
<td colspan="5"background="images/index_22.gif" width="622" height="84" alt="" valign="top"></td>
</tr>
<tr>
<td colspan="6"background="images/index_23.gif" width="623" height="100" alt="" valign="top"></td>
</tr>
<tr>
<td background="images/spacer.gif" width="56" height="1" alt="" valign="top"></td>
<td background="images/spacer.gif" width="32" height="1" alt="" valign="top"></td>
<td background="images/spacer.gif" width="1" height="1" alt="" valign="top"></td>
<td background="images/spacer.gif" width="23" height="1" alt="" valign="top"></td>
<td background="images/spacer.gif" width="405" height="1" alt="" valign="top"></td>
<td background="images/spacer.gif" width="19" height="1" alt="" valign="top"></td>
<td background="images/spacer.gif" width="174" height="1" alt="" valign="top"></td>
<td background="images/spacer.gif" width="1" height="1" alt="" valign="top"></td>
<td background="images/spacer.gif" width="27" height="1" alt="" valign="top"></td>
<td background="images/spacer.gif" width="62" height="1" alt="" valign="top"></td>
</tr>
</center></table>
</body>
</html>
TEMPLATE;
?>


What is hap;pinging man..:S
1 Re: template into layout
avatar
OP 0
From: -
template into layout

hey philip a long time ago u gave me a motification on the bbwraper file so the link to the private messsages wil be correctly what was it :$?
1 Re: template into layout
avatar
OP 0
From: -
template into layout

Originally posted by Philipp:
Originally posted by trackvlek:
1: my cookies dont work:S
You can not login?


I can login so when i logged in it saids Thx for logged in and i can see how much comments there are But at the buttom it says U need to login before you can post comments :S

Originally posted by trackvlek:
2:why is my design killing? see other post 4 url

There is a problem with your design and pages with larger text output. The design breaks as soon the text output on the left side is larger than the menu on the right side

Hmzz got an idee how to fix it cuz the buttom AND the top is moving.. never seen this before..
1 Re: template into layout
avatar
Administrator
1340
From: Vienna, Austria
template into layout

Originally posted by trackvlek:
1: my cookies dont work:S

You can not login?

Originally posted by trackvlek:
2:why is my design killing? see other post 4 url

There is a problem with your design and pages with larger text output. The design breaks as soon the text output on the left side is larger than the menu on the right side
1 Re: template into layout
avatar
OP 0
From: -
template into layout

it works Grinning Face:D:D
only 2 other problems

1: my cookies dont work:S
2:why is my design killing? see other post 4 url
1 Re: template into layout
avatar
Administrator
1340
From: Vienna, Austria
template into layout

Try adding dbconnect(); after global $insert;
1 Re: template into layout
avatar
OP 0
From: -
template into layout

HUH???

When i go to  http://www.battlez.nl/llogin.php
it works. But on all the other pages it dunt :S

and my cms ist saving cookies :S strance thing..

and why is storyteller killing my design? i Tested it 5 times only storyteller kils it :S

http://www.battlez.nl/story.php?id=12

Look at the right: LOGIN That field is way to large
1 Re: template into layout
avatar
OP 0
From: -
template into layout

i tried... dunt work.... Code:


<?php
global $insert;
$last5news = mysql_query("SELECT * FROM esselbach_st_stories ORDER BY story_time DESC LIMIT 0 , 5");
while ($myrow = mysql_fetch_object($last5news)) {
$date = substr($myrow->story_time, 0, 10);
$date = explode("-", $date);
$date = $date[2]."-".$date[1]."-".$date[0];
$bz_output .= " <strong><span class="style2">$date</span></strong> - <span class="style1"><a href="https://www.contentteller.com/ http://www.battlez.nl/story.php?id=$myrow->story_id">$myrow->story_title</a><br></span>";
}
$EST_TEMPLATE = <<<TEMPLATE
<!-- Template site_header -->
<?include("configsite.php")?>
<html>
<head>
<title>battlez_v4</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
.style1 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
}
.style2 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: FF0000;
}
-->
</style>
</head>
<BODY BGCOLOR=#D9C9A7 LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>
<center>
<table border="0" cellpadding="0" cellspacing="0" width="800px" bordercolorlight="#000000"
bordercolordark="#000000" height="14">
<tr>
<td rowspan="11"background="images/index_01.gif" width="56" height="800" alt="" valign="top"></td>
<td rowspan="11"background="images/index_02.gif" width="32" height="800" alt="" valign="top"></td>
<td colspan="5"background="images/index_03.gif" width="622" height="4" alt="" valign="top"></td>
<td colspan="2" rowspan="4"background="images/index_04.gif" width="28" height="200" alt="" valign="top"></td>
<td rowspan="11"background="images/index_05.gif" width="62" height="800" alt="" valign="top"></td>
</tr>
<tr>
<td width="622" height="32" colspan="5" valign="top" bgcolor="#FBEDD0" alt="">---Link--- ---Link--- ---Link--- ---Link--- ---Link--- ---Link--- ---Link--- ---Link--- ---Link--- ---Link--- ---Link--- ---Link--- ---Link--- ---Link--- ---Link--- ---Link--- ---Link--- ---Link--- </td>
</tr>
<tr>
<td colspan="5"background="images/index_07.gif" width="622" height="115" alt="" valign="top"></td>
</tr>
<tr>
<td colspan="5"background="images/index_08.gif" width="622" height="49" alt="" valign="top">
<p>
$bz_output
</p>
</td>
</tr>
<tr>
<td colspan="4"background="images/index_09.gif" width="448" height="23" alt="" valign="top"></td>
<td colspan="2"background="images/index_10.gif" width="175" height="23" alt="" valign="top"></td>
<td width="27" height="600" rowspan="7"background="images/index_11.gif" alt="" valign="top"></td>
</tr>
<tr>
<td colspan="2" rowspan="4"background="images/index_12.gif" width="24" height="393" alt="" valign="top"></td>
<td rowspan="4"background="images/index_13.gif" width="405" height="393" alt="" valign="top">
TEMPLATE;
?>
Show more

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.