Announcement

Collapse
No announcement yet.

horizontal and legacy vertical postbit

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

  • good2laugh
    replied
    Thanks will give that a go. Nice one

    Leave a comment:


  • Mark.B
    replied
    Create a custom user field as a single selection menu with the following options:

    Top
    Left

    Set the default as "Yes but no blank first option"

    Editable: yes
    Members list: no
    Private field: no

    When you have added it, make a note of the field number as you'll need it in a moment.


    Then create a plug in with the location cache_templates, with the following code (replacing xx with the number of your custom user field above):

    Code:
    if ($vbulletin->userinfo['fieldxx'] == 'Top')
    	{
    		$vbulletin->options['legacypostbit'] = 0;
    	}
    	else
    if ($vbulletin->userinfo['fieldxx'] == 'Left')
    	{
    		$vbulletin->options['legacypostbit'] = 1;
    	}

    Leave a comment:


  • good2laugh
    started a topic horizontal and legacy vertical postbit

    horizontal and legacy vertical postbit

    I'm using the horizontal layout on the postbit thingy....

    Is this is a once only choice in my settings.

    Wondering if it was possible to have the default syle as a horizontal postbit and an alternative style which used the Legacy (Vertical) Postbit Template - and if so how.

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