vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Easy Postbit Switcher (https://vborg.vbsupport.ru/showthread.php?t=91620)

M.Smith 07-03-2005 10:00 PM

Easy Postbit Switcher
 
This plugin will make it possible for the user to switch between new and legacy postbits from showthread.php using the Display Modes menu.

This plugin requires the 'User Postbit Template Selection' plugin by WhSox21 to be installed. The plugin can be found here.

The plugin requires 2 template edits (both in the SHOWTHREAD template), 1 edit of WhSox21's plugin and 1 edit of the field created whilst installing WhSox21's plugin.

Thanks goes out to WhSox21 for letting me base this plugin from his.

Floris 07-04-2005 07:01 PM

Nice job Martin :)

Kirk Y 07-06-2005 03:27 PM

Great idea! (Installs)

marsauae.com 07-21-2005 07:58 PM

very nice :)
Installs

SouthernTn 07-22-2005 03:04 AM

niccccccccccccceee

Neutral Singh 07-26-2005 08:05 AM

** self-edited ** Its working fine now!! Thanks

trancetopia 08-01-2005 12:28 PM

Works a treat. Thanks.

bkaul 08-12-2005 04:00 AM

Looks great.

One thing to note: the /me and [you] Plugins can break this one, causing the default postbit to display regardless of the user's choice.

The Wise One 10-04-2005 12:04 AM

very nice. installed. one thing to note though...

Code:

        <!-- Postbit Selector -->
        <tr>
                <td class="thead">Postbit Selector<a name="goto_displaymodes"></a></td>
        </tr>
        <tr>
        <if condition="$vbulletin->userinfo['field5'] == 'Vertical Postbit'">
                <td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_linear.gif" alt="Switch to Horizontal (new) postbit" /> <a href="showthread.php?$session[sessionurl]postbit=Top&amp;t=$thread[threadid]$highlightwords">Use Horizontal (new) Postbit</a></td>
        <else />
                <td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_linear.gif" alt="Switch to Vertical (legacy) postbit" /> <a href="showthread.php?$session[sessionurl]postbit=Left&amp;t=$thread[threadid]$highlightwords">Use Vertical (Legacy) Postbit</a></td>
        </if>
        <!-- / Postbit Selector -->

your instructions seem to be missing a closing < /tr > tag just above / Postbit Selector in step one.

works good with 3.5.0

Sooner95 10-04-2005 01:13 AM

Thumbs up... thx1


All times are GMT. The time now is 11:00 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01695 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete