Announcement

Collapse
No announcement yet.

Style Name In postbit

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
    M1th
    Senior Member

  • M1th
    replied
    heh, thanks.

    Leave a comment:

  • Floris
    Senior Member

  • Floris
    replied
    Yep, I just saw.
    Use this instead

    HTML Code:
    Style:
    <if condition="$post[styleid] == '1'"><a href="showthread.php?t=$post[threadid]&styleid=$post[styleid]">Style One</a></if>
    <if condition="$post[styleid] == '2'"><a href="showthread.php?t=$post[threadid]&styleid=$post[styleid]">Style Two</a></if>
    <if condition="$post[styleid] == '3'"><a href="showthread.php?t=$post[threadid]&styleid=$post[styleid]">Style Three</a></if>
    I just tested this on vbnl, and works on beta6
    Floris
    Senior Member
    Last edited by Floris; Wed 17 Sep '03, 12:00pm.

    Leave a comment:

  • M1th
    Senior Member

  • M1th
    replied
    amykhar's suggestoin doesnt work. :/

    Leave a comment:

  • Floris
    Senior Member

  • Floris
    replied
    http://www.vbulletintemplates.com/mo...ead.php?t=3891




    Enjoy

    Leave a comment:

  • M1th
    Senior Member

  • M1th
    started a topic Style Name In postbit

    Style Name In postbit

    Greetings,

    I'm trying to use conditional to be able to show what style a member is using in postbit.

    Using this code:

    Code:
    <if condition="$post[styleid]==0"><a href="$vboptions[forumhome].php?$session[sessionurl]&styleid=$post[styleid]">Default Style</a></if>

    I get a link as such http://www.site.com/index.php?&styleid=11 in the postbit.


    I want to be able to go back to the same page after clicking on the style. The $session[sessionurl] should do the job here (I think) but It doesnt get parsed for some reason. :/

    Any help would be appreciated.
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X