Announcement

Collapse
No announcement yet.

how to use postbit_legacy only in one style

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

  • simsim
    replied
    Originally posted by StarBuG View Post
    Wouldn't style dependend postbit a new feature for vB 3.7?

    Inside style settings an option to chose between postbit and postbit_legacy?
    You mean globally or per forum? There's a plug-in that works as a atyle switcher between postbit & postbit legacy. You then can use conditionals to customize it to your needs.

    http://www.vbulletin.com/forum/showthread.php?t=169124

    Leave a comment:


  • StarBuG
    replied
    Wouldn't style dependend postbit a new feature for vB 3.7?

    Inside style settings an option to chose between postbit and postbit_legacy?

    Leave a comment:


  • GTOOOOOH
    replied
    You could write an if statement based on StyleID inside the postbit. You would still have to copy the code in from the postbit_legacy, however the whole thing would be wrapped in an if/else statement.

    I have HEAVILY modded code so I can't post exactly, but here is an idea of what your postbit would look like:

    IF styleid=x (x being the style you want to show legacy)
    LEGACY CODE
    Else
    non-legacy code
    /IF

    Leave a comment:


  • Boxy
    replied
    Not that I now of, sorry Maybe someone else has an alternative suggestion.

    Leave a comment:


  • StarBuG
    replied
    Yes but besides that is there another way?

    Leave a comment:


  • Boxy
    replied
    You could copy the content of postbit_legacy into the postbit template for that style.

    Leave a comment:


  • StarBuG
    started a topic how to use postbit_legacy only in one style

    how to use postbit_legacy only in one style

    Hi

    Is there another way other then replace postbit with postbit_legacy content to show postbit_legacy on one style only?

    The vb setting for legacy is global and no option.

    please help

    Thx

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