Announcement

Collapse
No announcement yet.

Automatically add styles to certain words in member posts?

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

  • Automatically add styles to certain words in member posts?

    We have certain words that are registered service marks and trademarks. In all our company material, in order to protect these marks, we must set these words of with either italic or bold text, or non-italic/non-bold if they're surrounded by italic / bold text. This is in addition to using the service mark / trademark symbols in the first instance of every page.

    We have the symbols taken care of because they're in our header and footer, but I was wondering if there was a way to automatically set certain words in member posts with italics or bold styling?

    Thanks in advance,
    Ken

  • #2
    Replacement Variables.

    http://www.vbulletin.com/docs/html/style_replacement

    Comment


    • #3
      So easy! Thanks for the quick reply!

      Comment


      • #4
        Maybe not...

        Can I replace phrases as well? (i.e. can replacement variables include
        spaces?) I need the single word, and some specific phrases that include
        that word to be separate variables:



        Example:

        I am a Feldenkrais practitioner

        becomes

        I am a Feldenkrais practitioner





        Example 2:


        I am a practitioner of the Feldenkrais method of somatic education.

        becomes

        I am a practitioner of the Feldenkrais Method of somatic education





        Sorry if these are stupid questions.

        Thanks,

        Ken

        Comment


        • #5
          I just tested this out witn 3.0.7 and the replacement variable does work with spaces.
          Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
          Change CKEditor Colors to Match Style (for 4.1.4 and above)

          Steve Machol Photography


          Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


          Comment

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