Forums On A Different Page

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Forums On A Different Page

    how do i display forums on a different page a nd hava a link to them someone post the code wml lavalair
    http://img235.imageshack.us/my.php?i...sc00464af9.jpg



    http://matthewdowd.bebo.com

    #2
    also how to add option to hide the shout box wml only
    http://img235.imageshack.us/my.php?i...sc00464af9.jpg



    http://matthewdowd.bebo.com

    Comment


      #3
      please i beg you persons mates please
      http://img235.imageshack.us/my.php?i...sc00464af9.jpg



      http://matthewdowd.bebo.com

      Comment


        #4
        everything ur askin for has already been posted in some other mod. search!

        Comment


          #5
          i told u already at inbox tht topic exsist but dnt knw whr it is..... search damn it.. i cnt searc 4 u... dnt even have an proper internet conection.....



          shoutbox.... why would u hide shoutbox???


          damn it matthew i told u already go here and u got no worries http://mobile.web.tr/signup.asp

          and stop inboxing me pls cuz it eats my freakin money.... im paying 4 us dollars for every freakin 5MB


          I CAN NOT CODE BUT I KNOW 2 USE FREAKING COPY AND PASTE!!!!!!!!!!!!!!!

          learn 2 read the script and copy and paste....

          i made tht way casino playing 4 plusses and alot of useful stuff....


          LMAO
          sigpiceeeeerrr....

          Comment


            #6
            sorry mate but ive already tried copy and pasting the cod into its own index and dont work and ive lookd for the ode please give code
            http://img235.imageshack.us/my.php?i...sc00464af9.jpg



            http://matthewdowd.bebo.com

            Comment


              #7
              Haw the f..k you are a big coder...and you need all the time help ?

              Comment


                #8
                plz give me the code i have trid verything pleas give code
                http://img235.imageshack.us/my.php?i...sc00464af9.jpg



                http://matthewdowd.bebo.com

                Comment


                  #9
                  plz give me the code i have trid verything pleas give code[/b]
                  do it the beginer way like u are take the forum code from main page and move it to a seperate page then just have a link to that page

                  Comment


                    #10
                    cheers mate but i tried that and gave mysql errors can you give me code please
                    http://img235.imageshack.us/my.php?i...sc00464af9.jpg



                    http://matthewdowd.bebo.com

                    Comment


                      #11
                      DO IT UR SELF MATT KEEP TRYING TILL YOU GET IT

                      Comment


                        #12
                        cheers i will man thanks for you help dont mean to be annoying is just im bored of wap lol cos i need free host im 15 cant afford 1
                        http://img235.imageshack.us/my.php?i...sc00464af9.jpg



                        http://matthewdowd.bebo.com

                        Comment


                          #13
                          dont no if this will work did it in 4 seconds u will need to EDIT this

                          <?php
                          /*
                          IrisBlaze wap forum
                          by Ra&#39;ed Shabana
                          */

                          header("Content-type: text/vnd.wap.wml");
                          header("Cache-Control: no-store, no-cache, must-revalidate");
                          echo("<?xml version=\"1.0\"?>");
                          echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"". " \"http://www.wapforum.org/DTD/wml_1.1.xml\">";
                          ?>
                          <wml>
                          <?php
                          include("config.php");
                          include("core.php");
                          connectdb();
                          $action = $_GET["action"];
                          $sid = $_GET["sid"];
                          $page = $_GET["page"];
                          $who = $_GET["who"];
                          $pmid = $_GET["pmid"];
                          if(islogged($sid)==false)
                          {
                          echo "<card id=\"main\" title=\"SITENAME HERE\">";
                          echo "<p align=\"center\">";
                          echo "You are not logged in
                          ";
                          echo "Or Your session has been expired

                          ";
                          echo "<a href=\"index.php\">Login</a>";
                          echo "</p>";
                          echo "</card>";
                          echo "</wml>";

                          exit();
                          }
                          $uid = getuid_sid($sid);
                          if(isbanned($uid))
                          {
                          echo "<card id=\"main\" title=\"SITENAME HERE\">";
                          echo "<p align=\"center\">";
                          echo "<img src=\"images/notok.gif\" alt=\"x\"/>
                          ";
                          echo "You are Banned
                          ";
                          $banto = mysql_fetch_array(mysql_query("SELECT timeto FROM ibwf_penalties WHERE uid=&#39;".$uid."&#39; AND penalty=&#39;1&#39;"));
                          $remain = $banto[0]- time();
                          $rmsg = gettimemsg($remain);
                          echo "Time to finish your penalty: $rmsg

                          ";
                          //echo "<a href=\"index.php\">Login</a>";
                          echo "</p>";
                          echo "</card>";
                          echo "</wml>";
                          exit();
                          }
                          echo " These Are Your Forums $nick";
                          $fcats = mysql_query("SELECT id, name FROM ibwf_fcats ORDER BY position, id");
                          $iml = "<img src=\"images/1.gif\" alt=\"*\"/>";
                          while($fcat=mysql_fetch_array($fcats))
                          {
                          $catlink = "<a href=\"index.php?action=viewcat&amp;sid=$sid&amp;c id=$fcat[0]\">$iml$fcat[1]</a>";
                          echo "
                          $catlink";
                          $forums = mysql_query("SELECT id, name FROM ibwf_forums WHERE cid=&#39;".$fcat[0]."&#39; AND clubid=&#39;0&#39; ORDER BY position, id, name");
                          if(getfview()==0)
                          {
                          echo "
                          ";
                          while($forum=mysql_fetch_array($forums))
                          {
                          if(canaccess(getuid_sid($sid),$forum[0]))
                          {

                          echo "<a href=\"index.php?action=viewfrm&amp;sid=$sid&amp;f id=$forum[0]\">$forum[1]</a>, ";
                          }
                          }
                          echo "
                          ";
                          }else if(getfview()==20)
                          {
                          echo "
                          Forums: <select name=\"fid\">";
                          while($forum=mysql_fetch_array($forums))
                          {
                          if(canaccess(getuid_sid($sid),$forum[0]))
                          {
                          $notp = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_topics WHERE fid=&#39;".$forum[0]."&#39;"));
                          echo "<option value=\"$forum[0]\">$forum[1]($notp[0])</option>";
                          }
                          }
                          echo "</select>";
                          echo "<anchor>[GO]";
                          echo "<go href=\"index.php\" method=\"get\">";
                          echo "<postfield name=\"action\" value=\"viewfrm\"/>";
                          echo "<postfield name=\"sid\" value=\"$sid\"/>";
                          echo "<postfield name=\"fid\" value=\"$(fid)\"/>";
                          echo "</go>";
                          echo "</anchor>";
                          }

                          }
                          echo "</small></p>";
                          echo "<p align=\"center\">";

                          echo "</p></card>";
                          }

                          ?>

                          </wml>
                          make a new file for that call it forums.php
                          then place this link on main page
                          echo "<a href=\"forums.php?sid=$sid\">fourms</a>
                          ";

                          Comment


                            #14
                            CHERS BRO ILL TRY IT
                            http://img235.imageshack.us/my.php?i...sc00464af9.jpg



                            http://matthewdowd.bebo.com

                            Comment


                              #15
                              i cant edit it to work
                              http://img235.imageshack.us/my.php?i...sc00464af9.jpg



                              http://matthewdowd.bebo.com

                              Comment

                              Working...
                              X