Announcement

Collapse
No announcement yet.

Replacement Variable help

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

  • Replacement Variable help

    I'm trying to create text links, and tried using the Replacement Variable feature.

    However, when i change "text" to "<a href link>text</a>" it also changes the reulting URL after a Search.

    What am I doing wrong?

  • #2
    What do you mean it "changes the reulting URL after a Search"? Can you give an example of what is happening and what you want to happen?

    Please don't PM or VM me for support - I only help out in the threads.
    vBulletin Manual & vBulletin 4.0 Code Documentation (API)
    Want help modifying your vbulletin forum? Head on over to vbulletin.org
    If I post CSS and you don't know where it goes, throw it into the additional.css template.

    W3Schools &lt;- awesome site for html/css help

    Comment


    • #3
      Replacement varibles are _very_ powerful and will modify _everything_.

      Comment


      • #4
        ok, figured it out. for some reason, quotes around the link in the A tag mess things up.

        I noticed... they change everything, including custom navbar links *lol*. Is there a better way to do custom text links within messages?

        Comment


        • #5
          Originally posted by grey_goose View Post
          I noticed... they change everything, including custom navbar links *lol*. Is there a better way to do custom text links within messages?
          I've posted the plugin code a few times over on vb.org to do this via a str_replace in a plugin. You can do a search over there to find it if you don't mind writing a plugin for it.

          Please don't PM or VM me for support - I only help out in the threads.
          vBulletin Manual & vBulletin 4.0 Code Documentation (API)
          Want help modifying your vbulletin forum? Head on over to vbulletin.org
          If I post CSS and you don't know where it goes, throw it into the additional.css template.

          W3Schools &lt;- awesome site for html/css help

          Comment

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