Announcement

Collapse
No announcement yet.

How do i add (text) in code tag

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

  • How do i add (text) in code tag

    Hello
    How do i add my own text after [code ] tag in templates ?
    Last edited by pr0team.net; Sun 24 Sep '06, 3:39am.

  • #2
    Edit this template:

    Admin CP -> Styles & Templates -> Style Manager -> « » -> BB Code Layout Templates -> bbcode_code

    Comment


    • #3
      Ehh this not work :/

      Comment


      • #4
        It works fine for me.
        What version of vBulletin are you using?
        Best Regards
        Colin Frei

        Please don't contact me per PM.

        Comment


        • #5
          3.6.1

          Comment


          • #6
            First I recommend reuploading all the default vBulletin non-image files in ASCII mode, overwriting your current files. Also, turn off plugins globally in your vBulletin Options. Does it work then?

            If not, add a new Style and select 'No Parent Style'. This will force it to use the default templates. Switch to this Style, adjust the bbcode_code template, and see if it works.
            Best Regards
            Colin Frei

            Please don't contact me per PM.

            Comment


            • #7
              Originally posted by pr0team.net View Post
              Hello
              How do i add my own text after [code ] tag in templates ?
              Originally posted by pr0team.net View Post
              Ehh this not work :/
              I don't understand what you mean. You can't use [code] in templates, only in forum posts. Can you tell us what you are trying to accomplish?

              Comment


              • #8
                Originally posted by pr0team.net View Post
                Ehh this not work :/
                Test it on a new post. Old posts might be cached.

                Comment


                • #9
                  acha, ok - how to "Recache posts ?"

                  Comment


                  • #10
                    You can rebuild the postcache in your
                    AdminCP -> Maintenance -> Update Counters
                    Best Regards
                    Colin Frei

                    Please don't contact me per PM.

                    Comment


                    • #11
                      Last question
                      i can add my own text in :
                      [ code ]
                      user code ... alblablabla
                      my own text ...
                      user code blablablal
                      [ / code ]

                      Comment


                      • #12
                        I really am not understanding what you are trying to do. The whole point of [code] is to display pre-formatted text such as programming code.

                        You want to block out part of what the users are posting? Or put some kind of banner ad or other advertisement?

                        Comment

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