Forum Topic

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

    Forum Topic

    can help me to change this code addonline(getuid_sid($sid),"Viewing Forum Topic",""); to user can know whre topic other user go now

    #2
    addonline(getuid_sid($sid)," viewin $cinfo[0] ",""); <=this topic ///// ///// ///// /////
    addonline(getuid_sid($sid)," viewin $fnm ",""); <=forum name !..
    ///// ///// ///// Not sure if is right!..

    Comment


      #3
      online pla c bro....

      Comment


        #4
        cant work

        Comment


          #5
          topic name
          Code:
          else if($action=="viewtpc")
          {
          $tid = $_GET["tid"];
          $tinfo = mysql_fetch_array(mysql_query("SELECT name, text, authorid, crdate, views, fid, pollid from ibwf_topics WHERE id=&#39;".$tid."&#39;"));
          $tnm = htmlspecialchars($tinfo[0]);
          addonline(getuid_sid($sid),"reads topic $tnm","");..................
          forum name
          Code:
          else if($action=="viewfrm")
          {
          $fid = $_GET["fid"];
          $finfo = mysql_fetch_array(mysql_query("SELECT name from ibwf_forums WHERE id=&#39;".$fid."&#39;"));
          $fnm = htmlspecialchars($finfo[0]);
          addonline(getuid_sid($sid),"browsing forum $fnm","");...................
          It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt.
          ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ !
          ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.
          キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

          Comment


            #6
            <div class='quotetop'>QUOTE (metulj @ Dec 11 2008, 05:33 PM) <{POST_SNAPBACK}></div>
            topic name
            Code:
            else if($action=="viewtpc")
            {
            $tid = $_GET["tid"];
            $tinfo = mysql_fetch_array(mysql_query("SELECT name, text, authorid, crdate, views, fid, pollid from ibwf_topics WHERE id=&#39;".$tid."&#39;"));
            $tnm = htmlspecialchars($tinfo[0]);
            addonline(getuid_sid($sid),"reads topic $tnm","");..................
            forum name
            Code:
            else if($action=="viewfrm")
            {
            $fid = $_GET["fid"];
            $finfo = mysql_fetch_array(mysql_query("SELECT name from ibwf_forums WHERE id=&#39;".$fid."&#39;"));
            $fnm = htmlspecialchars($finfo[0]);
            addonline(getuid_sid($sid),"browsing forum $fnm","");...................
            [/b]
            is work!!for viewtopic ..but error at view forum
            Parse error: syntax error, unexpected &#39;}&#39; in /home/xxxxx/public_html/index.php on line 3715

            Comment


              #7
              <div class='quotetop'>QUOTE (extreme @ Dec 11 2008, 06:24 PM) <{POST_SNAPBACK}></div>
              is work!!for viewtopic ..but error at view forum
              Parse error: syntax error, unexpected &#39;}&#39; in /home/xxxxx/public_html/index.php on line 3715[/b]
              error is kind a self explanatory....
              it is just a matter where and how
              you place posted code
              It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt.
              ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ !
              ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.
              キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

              Comment


                #8
                <div class='quotetop'>QUOTE (metulj @ Dec 11 2008, 06:33 PM) <{POST_SNAPBACK}></div>
                error is kind a self explanatory....
                it is just a matter where and how
                you place posted code [/b]
                //////////////////////////////////View Forum



                else if($action=="viewfrm")

                {



                $fid = $_GET["fid"];

                $view = $_GET["view"];

                if(!canaccess(getuid_sid($sid), $fid))

                {

                addonline(getuid_sid($sid)," viewin $fnm ","");



                im replace from old code ...can u show me ..thanx bro

                Comment


                  #9
                  Does the words copy and paste coders come to mind

                  if($something>2){
                  ////blah blah
                  }else if($something<0){
                  ///blah blah again
                  }else{
                  //dont blah blah
                  }

                  Opening and closing statements catch the drift?

                  Comment


                    #10
                    <div class='quotetop'>QUOTE (something else @ Dec 12 2008, 12:22 AM) <{POST_SNAPBACK}></div>
                    Does the words copy and paste coders come to mind

                    if($something>2){
                    ////blah blah
                    }else if($something<0){
                    ///blah blah again
                    }else{
                    //dont blah blah
                    }

                    thanx nOw work
                    Opening and closing statements catch the drift?[/b]

                    Comment

                    Working...
                    X