• » webSPELL.org - Free Content Management System
  • Language switch: English German
  • login



    » lost password?   » register now
  • About webSPELL

    webSPELL is a free Content Management System which was especially developed for the needs of esport related communities. Since a short while we are also offering an optimized and enhanced webSPELL version for the special requirements of non-profit organisations. The purpose of both systems is to offer a professional and free opportunity to create and administrate your own website in an easy and optimized way.

    » Learn more about webSPELL     » Download webSPELL now!
  • Advertisement

    Follow us

  • Sort:     printview
    Author
    Message
    webSPELL newbie
    3 Posts
    02.08.2012, 08:38 email offline quote 

    Ok so i manged to get my forum to go full width with
    Code:
    1.
    2.
    3.
    4.
    5.
    6.
    7.
    8.
    9.
    10.
    11.
    1.
    2.
    3.
    4.
    5.
         
    <? if($site=="forum" or $site=="forum_topic") { ?>
    <!-- HTML Code if Page == Forum -->
    <? } else { ?>
    <!-- HTML Code for the rest -->
    <? } ?>


    But when i click o the topic to reply it goes back to the main forum section here is my full index file.

    Code:
    1.
    2.
    3.
    4.
    5.
    6.
    7.
    8.
    9.
    10.
    11.
    12.
    13.
    14.
    15.
    16.
    17.
    18.
    19.
    20.
    21.
    22.
    23.
    24.
    25.
    26.
    27.
    28.
    29.
    30.
    31.
    32.
    33.
    34.
    35.
    36.
    37.
    38.
    39.
    40.
    41.
    42.
    43.
    44.
    45.
    46.
    47.
    48.
    49.
    50.
    51.
    52.
    53.
    54.
    55.
    56.
    57.
    58.
    59.
    60.
    61.
    62.
    63.
    64.
    65.
    66.
    67.
    68.
    69.
    70.
    71.
    72.
    73.
    74.
    75.
    76.
    77.
    78.
    79.
    80.
    81.
    82.
    83.
    84.
    85.
    86.
    87.
    88.
    89.
    90.
    91.
    92.
    93.
    94.
    95.
    96.
    97.
    98.
    99.
    100.
    101.
    102.
    103.
    104.
    105.
    106.
    107.
    108.
    109.
    110.
    111.
    112.
    113.
    114.
    115.
    116.
    117.
    118.
    119.
    120.
    121.
    122.
    123.
    124.
    125.
    126.
    127.
    128.
    129.
    130.
    131.
    132.
    133.
    134.
    135.
    136.
    137.
    138.
    139.
    140.
    141.
    142.
    143.
    144.
    145.
    146.
    147.
    148.
    149.
    150.
    151.
    152.
    153.
    154.
    155.
    156.
    157.
    158.
    <?php
    // important data include
    include("_mysql.php");
    include("_settings.php");
    include("_functions.php");

    $_language->read_module('index');
    $index_language = $_language->module;
    // end important data include
    ?>
    <!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" />
    <meta name="description" content="" />
    <meta name="author" content="" />
    <meta name="keywords" content="" />
    <title><?php echo PAGETITLE; ?> - </title>
    <link href="style/style.css" rel="stylesheet" type="text/css" />
    <link href="style/navigation.css" rel="stylesheet" type="text/css" />
    <link href="_stylesheet.css" rel="stylesheet" type="text/css" />
    <link href="tmp/rss.xml" rel="alternate" type="application/rss+xml" title="<?php echo getinput($myclanname); ?> - RSS Feed" />
    <script src="js/bbcode.js" language="jscript" type="text/javascript"></script>
    <script src="js/navigation.js" type="text/javascript"></script>
    <script src="js/poll.js" type="text/javascript"></script>
    <script src="js/jquery1.7.2.min.js" type="text/javascript"></script>
    <script src="js/jpreload.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(document).ready(function(){
         $.preload(
            'Bilder/infoover.jpg',
                'Bilder/mediaover.jpg',
              'Bilder/commover.jpg',
              'Bilder/clanover.jpg'

         );

    });
    </script>
    </head>
    <body>
    <?php
    if ($site == "forum" OR $site == "forum_topic") {
    ?>
    <center>
    <div id="wrapper">
            <div id="header">
                  <div id="login">
                      <?php include("login.php"); ?>
                   </div>
              </div>
              <div id="unavi"></div>
              <div id="navi">
                  <ul>
                   <li id="lnavi"></li>
                   <li><?php include("navigation.php"); ?></li>
                   <li id="suche">
                     <div id="suchep"><?php include("quicksearch.php"); ?></div>
                   </li>
                   </ul>
              </div>
              <div id="scroll">
                   <div id="lauftext"><?php include(""); ?></div>
              </div>
    <div id="forum">
         <?php include("forum.php"); ?>
                   </div>
              <div id="contenta">
    <?php
    }
    else {
    ?>
    <center>
    <div id="wrapper">
            <div id="header">
                  <div id="login">
                      <?php include("login.php"); ?>
                   </div>
              </div>
              <div id="unavi"></div>
              <div id="navi">
                  <ul>
                   <li id="lnavi"></li>
                   <li><?php include("navigation.php"); ?></li>
                   <li id="suche">
                     <div id="suchep"><?php include("quicksearch.php"); ?></div>
                   </li>
                   </ul>
              </div>
              <div id="scroll">
                   <div id="lauftext"><?php include(""); ?></div>
              </div>
              <div id="uscroll">
                  <div id="lnewsbg">
                       <div id="lnewsp">
                        <?php include("sc_headlines.php"); ?>
                        </div>
                   </div>
                   <div id="lforumbg">
                   <div id="forump">
                       <?php include("latesttopics.php"); ?>
                   </div>
                   </div>
                   <div id="video">
                    <div id="videop"> <?php include("sc_videos.php"); ?></div>
                   </div>
              </div>
              <div id="contenta">
              <div id="contentl">
                 <div id="webspell">
                   <?php
                             if(!isset($site)) $site="news";
                             $invalide = array('\\','/','/\/',':','.');
                             $site = str_replace($invalide,' ',$site);
                             if(!file_exists($site.".php")) $site = "news";
                             include($site.".php");
                             ?>
                   </div>
              </div>
              <div id="contentr">
                  <div id="matchc"></div>
                   <div id="matchsa">
                         <div class="showall"><a href="index.php?site=clanwars">SHOW ALL MATCHES</a></div>
                   </div>
                   <div id="matchbg">
                       <div class="matches"><?php include("sc_results.php"); ?></div>
                   </div>
                   <div id="random"></div>
                   <div id="randombg">
                       <div id="randomp">
                           <?php include("sc_potm.php"); ?>
                        </div>
                   </div>
                   <div id="votingh"></div>
                   <div id="votingbg">
                   <div id="votingp"><?php include("poll.php"); ?></div>
                   </div>
                   <div id="votingf">
                   <div class="showallv"><a href="index.php?site=polls">SHOW POLL ARCHIVE</a></div>
                   </div>
              </div>
    <?php
    }
    ?>
              <div id="footer">
                  <div id="footerp">
                   <div style="margin-left:360px; margin-right:40px;">
                   <div onmouseover="document.getElementById('lang_switch_dropdown').style.display = 'block'" onmouseout="document.getElementById('lang_switch_dropdown').style.display = 'none'">
                             <div style="width:140px; margin-left:0px; height:32px; margin-top:-23px; cursor:pointer;"></div>
                             <div id="lang_switch_dropdown" style="height:284px; text-align:left;"><?php include("sc_language.php"); ?></div>
                   </div>
                   </div>

              </div>
              </div>
    </div>
    </body>
    </html>


    so i got it to work but i cant open any of the topics when i click on them it just goes to the main section of the forum i would apreciate it if someone could help thanks in advance.

    website: nvictus-gaming.org
    version: 4.2.3
    Administrator
    Member of webSPELL e.V.
    3068 Posts
    02.08.2012, 11:54 offline quote 

    Your website appears to be down...
    webSPELL newbie
    38 Posts
    02.08.2012, 12:29 email offline quote 

    Code:
    1.
    <?php if ($site == 'forum' && $site != 'forum_topic') { ?>
    webSPELL newbie
    3 Posts
    02.08.2012, 20:56 email offline quote 

    Pascalmh wrote:

    Your website appears to be down...


    Code:
    1.
    www.invictus-gaming.org
    missed out the i sorry

    eXo2k1 wrote:

    Code:
    1.
    <?php if ($site == 'forum' && $site != 'forum_topic') { ?>


    that shows up a blank page and not my index when i edit it like that
    Administrator
    Member of webSPELL e.V.
    3068 Posts
    02.08.2012, 22:44 offline quote 

    The trick is to "hide" the stuff you don't want to show and not to build two have two diffrent codes for site=forum and site!=forum.

    read more Should work if show this code

    When you are not at the forum.
    webSPELL newbie
    3 Posts
    03.08.2012, 00:20 email offline quote 

    Can you explain a bit more in detail and show me example of how i would build two? i tried to put that after else {
    ?> and it didnt work it shifted everything left.
    Sort:     printview


    To start or to reply to a topic you have to be registered and logged in!

    register now
    login
  • » Support

    » Topics
    25.05.2013 - 23:52 - 472 Replies
    » Wettscript 2.1 for 4.2.3a...
    Wettscript 2.1 for 4.2.3a - Betscript
    Last post: Amokossi
    Board: DE - Fertige Skripte
    25.05.2013 - 23:52
    25.05.2013 - 22:46 - 0 Replies
    » Clanwar News!
    Clanwar News!
    Last post: Maverico
    Board: DE - Anfragen
    25.05.2013 - 22:46
    25.05.2013 - 19:01 - 1 Replies
    » Error 1146
    Error 1146
    Last post: Argu
    Board: EN - Technical support
    25.05.2013 - 19:01
    25.05.2013 - 17:51 - 0 Replies
    » Gewinnspiel
    Gewinnspiel
    Last post: Dynamic-Webmedia
    Board: DE - Aus aller Welt
    25.05.2013 - 17:51
    25.05.2013 - 12:35 - 1 Replies
    » Need coder for a design!
    Need coder for a design!
    Last post: wantedJK-
    Board: EN - General
    25.05.2013 - 12:35
    25.05.2013 - 03:18 - 0 Replies
    » ScooterFreakz.com - Motor...
    ScooterFreakz.com - Motorroller Community
    Last post: Tuner77
    Board: DE - Showroom
    25.05.2013 - 03:18
    25.05.2013 - 00:46 - 8 Replies
    » Ändern der Größe php
    Ändern der Größe php
    Last post: andy5116
    Board: DE - Allgemeiner Support
    25.05.2013 - 00:46
    24.05.2013 - 23:39 - 33 Replies
    » [B]Userrank Addon
    [B]Userrank Addon
    Last post: Swordfish3000
    Board: DE - Erweiterungen
    24.05.2013 - 23:39
    24.05.2013 - 15:12 - 19 Replies
    » forum anzeige erweitern
    forum anzeige erweitern
    Last post: Swordfish3000
    Board: DE - Allgemeiner Support
    24.05.2013 - 15:12
    24.05.2013 - 12:03 - 1 Replies
    » Verkaufe prof. Clandesign
    Verkaufe prof. Clandesign
    Last post: Vith3r
    Board: DE - Biete
    24.05.2013 - 12:03
    24.05.2013 - 12:02 - 6 Replies
    » [S] Team/Clan Logos (Upda...
    [S] Team/Clan Logos (Update: 2 new Logos)
    Last post: a--w
    Board: EN - Offers
    24.05.2013 - 12:02
    24.05.2013 - 02:41 - 17 Replies
    » High Quality Website
    High Quality Website
    Last post: Dansjostedt
    Board: EN - Offers
    24.05.2013 - 02:41
    24.05.2013 - 02:24 - 5 Replies
    » [SELL] Gaming Website
    [SELL] Gaming Website
    Last post: hornyst
    Board: EN - Offers
    24.05.2013 - 02:24
    23.05.2013 - 22:37 - 2 Replies
    » Bilder Breite im Forum an...
    Bilder Breite im Forum anpassen
    Last post: nappel.ger
    Board: DE - Vorschläge
    23.05.2013 - 22:37
    23.05.2013 - 15:35 - 6 Replies
    » I cannot upload template ...
    I cannot upload template to my cms .
    Last post: bazic
    Board: EN - General
    23.05.2013 - 15:35
    23.05.2013 - 14:50 - 3 Replies
    » Kalendar-Box
    Kalendar-Box
    Last post: kassor
    Board: DE - Anfragen
    23.05.2013 - 14:50
    23.05.2013 - 10:14 - 12 Replies
    » Mein Forum
    Mein Forum
    Last post: Lordy4007
    Board: DE - Fragen zur Seite
    23.05.2013 - 10:14
    22.05.2013 - 23:06 - 9 Replies
    » When the update?
    When the update?
    Last post: kola60
    Board: EN - General
    22.05.2013 - 23:06
    22.05.2013 - 22:21 - 2 Replies
    » Website For SALE! CODED
    Website For SALE! CODED
    Last post: Osamakillz
    Board: EN - General
    22.05.2013 - 22:21
    22.05.2013 - 21:43 - 3 Replies
    » Slider Links Bitte um Hil...
    Slider Links Bitte um Hilfe
    Last post: bazic
    Board: DE - Allgemein
    22.05.2013 - 21:43
    » Partners
    Bilderkiste.org Image Hosting
    k3rmit.org
    PascalMh.de


    » Blog
    28.03.2013 - derchris
    » Those damn spammers