Announcement

Collapse
No announcement yet.

html question

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

  • html question

    Is there a way on enabling HTML JUST for one user ??

    Thank you

  • #2
    No.

    Comment


    • #3
      In functions.php, right before
      PHP Code:
      return bbcodeparse2($bbcode,$dohtml,$dobbimagecode,$dosmilies,$dobbcode); 
      add
      PHP Code:
      if ($bbuserinfo[userid] == X) {
        
      $dohtml 1;

      and change X to the user's ID.
      Chen Avinadav
      Better to remain silent and be thought a fool than to speak out and remove all doubt.

      גם אני מאוכזב מסיקור תחרות לתור מוטור של NRG הרשת ע"י מעריב

      Comment


      • #4
        Hmm, senior member knows more than mod

        anywayyy ....

        how do I see what ID a member is ?? I cant seem to find the information anywhere

        Comment


        • #5
          PHP Code:
          if ($bbuserinfo[username] == "XXXX") {
            
          $dohtml 1;

          Use that code instead. Replace XXXX with the username.

          And just to make things clear. I didn't see tubedogg's post before I posted mine.
          And trust, I don't know more than him.
          Chen Avinadav
          Better to remain silent and be thought a fool than to speak out and remove all doubt.

          גם אני מאוכזב מסיקור תחרות לתור מוטור של NRG הרשת ע"י מעריב

          Comment


          • #6
            lol

            ok

            anyway, that html thing didnt work for me When It out in the username instead of XXXX, it gave me 2 database errors

            I seem to be doing just like you said

            Comment


            • #7
              Originally posted by Cyrus
              Hmm, senior member knows more than mod
              My answer meant without hacking.

              You can find a user's userid by mousing over their "profile" link in any post. In the next version it will be listed on the page you get when you search for them in the Admin CP.

              Comment


              • #8
                The above code works great for me.
                What error are you getting?
                Chen Avinadav
                Better to remain silent and be thought a fool than to speak out and remove all doubt.

                גם אני מאוכזב מסיקור תחרות לתור מוטור של NRG הרשת ע"י מעריב

                Comment


                • #9
                  ok, great tube

                  thanks 4 the help

                  and before I answer your q fire, wil it SAY when i log in that html is ON ??

                  if not, then it is working

                  Comment


                  • #10
                    No, the forum rules at the bottom are pulled directly from the forum table, and does not consider which user is logged in.
                    Chen Avinadav
                    Better to remain silent and be thought a fool than to speak out and remove all doubt.

                    גם אני מאוכזב מסיקור תחרות לתור מוטור של NRG הרשת ע"י מעריב

                    Comment


                    • #11
                      great thanks, it should work then

                      Comment


                      • #12
                        You're welcome.

                        But... should?
                        Test it with your username.
                        Chen Avinadav
                        Better to remain silent and be thought a fool than to speak out and remove all doubt.

                        גם אני מאוכזב מסיקור תחרות לתור מוטור של NRG הרשת ע"י מעריב

                        Comment


                        • #13
                          ok, when I put in the username instead of XXXX then i get database errors. I ont know exactly what they are unless I put in the username now and do it all over again ( as I reverted it now) . If you really want, I can do that again.

                          and when It put in the id for the user, the usere logs in and pus in html but then it just comes out as html

                          what should i do ??

                          thanks

                          Comment


                          • #14
                            This is strange, both codes I gave you here work like charm on my board.

                            If you could copy and paste the errors you get here it would be lovely. And also, if the error tells you there is a parse error in line X, please tell what exactly is on line X.
                            Chen Avinadav
                            Better to remain silent and be thought a fool than to speak out and remove all doubt.

                            גם אני מאוכזב מסיקור תחרות לתור מוטור של NRG הרשת ע"י מעריב

                            Comment


                            • #15
                              right, gimem a few misn and ill do that

                              in the mean while, maybe youd like to klnow i use version 2.0.3 of vbulletin

                              its not because of that is it??

                              Comment

                              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                              Working...
                              X