For Templates News & Updates follow us on Facebook

Community Forum

Welcome to our Gamer Templates Forum

Webspell anpassen, nur wie? o.

12 years 10 months ago #15 by Asu666
Webspell anpassen, nur wie? o. was created by Asu666
Hey Leute! :)

Ich hab mir ne neue Site gemacht (ma eben ne Stunde investiert) und wollte diese jetz an Webspell anpassen. Allerdings hab ich das Problem, dass die Site vom Xtream-Team-Clan atm Down ist und ich mir vorher nicht das Video bis zum ende angeguckt habe.

Wollte nun wissen, ob jemand so ein \"schönes\" Tutorial dafür hat oder mir das auf die schnell zeigen/machen könnte?

Mal zum angucken wie die Site denn aussieht. :D

Site: img376.imageshack.us/img376/9864/privatsitefz6.jpg

Menübutton Background:
img337.imageshack.us/img337/5319/button1ef3.jpg

MfG

Jinnai (schon bekannt :P :dry: )

Please Log in or Create an account to join the conversation.

12 years 10 months ago #16 by Gamer-Templates
Replied by Gamer-Templates on topic Webspell anpassen, nur wie? o.
Hallo Jinnai, folgendes sollte dir eigentlich genügen ;) :

Index

1. Requirements
2. Including basic required stuff
3. Including the main content area
4. Including the navigation
5. Including the login area
6. Including optional modules & more
7. Applying your template to the installed webspell


Content

1. Requirements

* a full working WebSpell installation (WebSpell install)

* a HTML web template

* some basic HTML knowledge, if you dont know anything about HTML stop here and continue there.

* a text editor to edit your template

* a FTP program to upload your files

2. Including basic required stuff


First you have to include some basic stuff like the mySQL access data file, the settings and the functions file in to the index file of your web template (name your index file index.php). To do this enter the following code just over the html tag in your index.php:

code:
<?
include(\"_mysql.php\");
include(\"_settings.php\");
include(\"_functions.php\");
?>


Now we are adding the variable for the page title which will be displayed at the top of your visitors browser window, put the following line between the title tags:

code:
<? echo PAGETITLE; ?>

Right after the closing title tag you have to insert these lines, first line is the stylesheet file for WebSpell, second line is for BBCode support on the WebSpell page:

code:
<link href=\"_stylesheet.css\" rel=\"stylesheet\" type=\"text/css\">
<script src=\"js/bbcode.js\" language=\"jscript\" type=\"text/javascript\"></script>


3. Including the main content area


Now you have to include the core content part of the WebSpell system, this is why we requested some basic HTML knowledge in the requirements cause every template is build different and you have to find the correct place for the following code yourself in your HTML code. Put it where the main content should belong in your template:

code:
<?
if(!isset($site)) $site=\"news\";
$invalide = array('/','/\/',':','.');
$site = str_replace($invalide,' ',$site);
if(!file_exists($site.\".php\")) $site = \"news\";
include($site.\".php\");
?>


4. Including the navigation

If you want to use the webSPELL's navigation file put the following line where your websites navigation schould belong:

code:
<? include(\"navigation.php\"); ?>

If you don't want to use this navigation file you have to link your menü buttons yourself in your index.php, you can see the links to each section in the original webSPELL index.php .

5. Including the login area

To enable your visitors and clan members to register and login at the page you have to place the login module at the desired place in your HTML template code:

code:
<? include(\"login.php\"); ?>

6. Including optional modules & more

With WebSpell you are able to display lots of useful information on your webpage, here are the include code lines to put them in your HTML template code:

Display the URL of your homepage:
code:
<? echo $hp_url ?>


Display your clans name:
code:
<? echo $myclanname ?>

Include the site search:
code:
<? include(\"quicksearch.php\"); ?>

Include the poll:
code:
<? include(\"poll.php\"); ?>

Show the picture of the moment:
code:
<? include(\"sc_potm.php\"); ?>

Show a random picture:
code:
<? include(\"sc_randompic.php\"); ?>

Show latest articles:
code:
<? include(\"sc_articles.php\"); ?>

Show latest downloads:
code:
<? include(\"sc_files.php\"); ?>

Show latest forum topics:
code:
<? include(\"latesttopics.php\"); ?>

Display partner buttons:
code:
<? include(\"partners.php\"); ?>

Show a scrolling text line:
code:
<? include(\"sc_scrolltext.php\"); ?>

Show advertising banner system (min. size: 468x60px):
code:
<? include(\"sc_bannerrotation.php\"); ?>

Show latest matches:
code:
<? include(\"sc_results.php\"); ?>

Show demos:
code:
<? include(\"sc_demos.php\"); ?>

Show top news:
code:
<? include(\"sc_topnews.php\"); ?>

Show latest news:
code:
<? include(\"sc_headlines.php\"); ?>

Display upcoming events:
code:
<? include(\"sc_upcoming.php\"); ?>

Include Shoutbox:
code:
<? include(\"shoutbox.php\"); ?>

Display page statistics:
code:
<? include(\"counter.php\"); ?>

7. Applying your template to the installed webspell


Now upload your own template files via FTP to the WebSpell root directory (dont forget the graphics!) and be happy with your fresh WebSpell adapted page!

THX to K3RMIT from webSPELL.org ;)


Ich hoffe es reicht eine Englische Version !!!

MfG

No support via e-mail!

Please Log in or Create an account to join the conversation.

12 years 10 months ago #17 by Asu666
Replied by Asu666 on topic Webspell anpassen, nur wie? o.
Sollte reichen, danke!

Wenn was ist, sag ich bescheit. :p

€DIT: Ok es gibt was, was ich nicht verstehe und zwar wo soll das hin:?

<?
if(!isset($site)) $site=\"news\";
$invalide = array('/','//',':','.');
$site = str_replace($invalide,' ',$site);
if(!file_exists($site.\".php\")) $site = \"news\";
include($site.\".php\");
?&gt;<br /><br />Post geändert von: Jinnai, am: 14/03/2007 20:26

Please Log in or Create an account to join the conversation.

12 years 10 months ago #18 by Gamer-Templates
Replied by Gamer-Templates on topic Webspell anpassen, nur wie? o.
Das ist der MAIN CONTENT also bei dir der LINKE Bereich ;)

MfG

No support via e-mail!

Please Log in or Create an account to join the conversation.

12 years 10 months ago #19 by Asu666
Replied by Asu666 on topic Webspell anpassen, nur wie? o.
komm grad voll nich hinterher. :ohmy: :(

Könntest du mir das schnell includen Ede? :( Hab versucht zuincluden (denke derbe falsch), hab fehler message \&quot;Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /usr/export/www/hosting/lwtclan/index.php on line 8\&quot;.

Please Log in or Create an account to join the conversation.