Announcement

Collapse
No announcement yet.

How replacement variable works?

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

  • How replacement variable works?

    Okie, same question i posted at vbt.com, doesn't seem ppl there could give me an answer.

    For example if i have a dir named img in forum /image directory, and i want to call images in that /images/img dir by my replacement variable, and i tried all
    $stylevar[imgdir_img]
    imgdir_img
    stylevar[imgdir_img]

    and neither of them worked. anyone have an idea what's wrong?

  • #2
    A replacement variable will replace any specific content posted in a message with alternate content. It is not intended for use with non-posted content, such as $stylevar.
    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


    • #3
      thanks for the response. i think i know how to get it worked now.

      Comment


      • #4
        I have a question on this. It is simular but I want to add a variable instead of replacing one.

        For example if I have a directory named SPONSOR in forum /image directory, and I want to call images from that. How do I make a so that I can use the following variable?

        $stylevar[imgdir_sponsor]

        Comment

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