Quote

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

    Quote

    Quote somebody post....Can you help me with this code?

    #2
    what help u want?
    E107 Security Team Leader
    Proudly Support AccountLab Plus Billing Software

    Want your Apps to be Developed ??? mail us your requirement at info@csarlab.com
    ------------------

    Comment


      #3
      Originally posted by spiderwebs View Post
      what help u want?

      As this [QUOTE = only lavalair script ... that somebody quoted a member of the post

      Comment


        #4
        its already half set up in lava lol

        Comment


          #5
          its gb? lol what u want can u clearify or explain lol?
          E107 Security Team Leader
          Proudly Support AccountLab Plus Billing Software

          Want your Apps to be Developed ??? mail us your requirement at info@csarlab.com
          ------------------

          Comment


            #6
            For me not work

            Comment


              #7
              na it dont work like most things in lava ...need a little coding lol
              so many things started in lava but not finished ... kinda strange lol

              Comment


                #8
                I know! Unfortunately I never found my way to finish

                Comment


                  #9
                  spiderwap he mean if u post a msg in forum and im coming wona quote there will be option like


                  hello spiderwebs* [quote]


                  there will be option to quote that msg

                  Comment


                    #10
                    why dont you try coding it yourself?
                    its not hard to code :P
                    took me about 10-20 mins to get working
                    I would share but you will never learn anything if you dont try coding it yourself :P

                    Comment


                      #11
                      Originally posted by something else View Post
                      why dont you try coding it yourself?
                      its not hard to code :P
                      took me about 10-20 mins to get working
                      I would share but you will never learn anything if you dont try coding it yourself :P
                      Will help someone

                      Comment


                        #12
                        start coding it yourself and see how far you get :P
                        if u get stuck post it here and loads of us will help

                        Comment


                          #13
                          It took me around about 30 seconds to do this in skycity

                          Comment


                            #14
                            there must be sumthing like

                            Code:
                             $text = preg_replace("/\[quote\=(.*?)\](.*?)\[\/quote\]/is","<a href=\"index.php?action=post&amp;tid=$tid\">$2</a>",$text);
                            i dnt know exactly please help with the link in the quote option

                            Comment


                              #15
                              The code i was like:

                              core.php i added to the getbbcode method/function

                              Code:
                              $text=preg_replace("/\[quotetext\](.*?)\[\/quotetext\]/i","<div class=\"doquote\">\\1</div>", $text);
                              Replaced the $topicopt variable for replies in index.php viewtpc

                              Code:
                              $topt = "<a href=\"index.php?action=post&amp;sid=$sid&amp;tid=$tid&quid=$post[0]\">quote</a> <a href=\"index.php?action=pstopt&amp;sid=$sid&amp;pid=$post[0]&amp;page=$page&amp;fid=$tinfo[5]\">*</a>";
                              in index.php "post"

                              Code:
                              $quid = $_GET["quid"];
                              if(!empty($quid)){
                              $quidsql = mysql_fetch_array(mysql_query("SELECT text FROM ibwf_posts WHERE id='".$quid."'"));
                              $quidtxt = "[quotetext]".$quidsql[0]."[/quotetext]";
                              }
                              And

                              Code:
                              echo "Text:<input name=\"reptxt\" maxlength=\"500\" value=\"$quidtxt\"/><br/>";
                              Add this to your theme css files

                              div.doquote{
                              background-color:#f3f6e9;
                              font-style:italic;
                              color:#666666;
                              text-align:left;
                              border:1px solid #dfe7ad;padding:2px
                              }
                              Last edited by wap2k; 14.09.09, 20:55.

                              Comment

                              Working...
                              X