vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   vBulletin Blog - Panic Button for vBulletin Blog (https://vborg.vbsupport.ru/showthread.php?t=183671)

Mosh 06-26-2008 10:00 PM

Panic Button for vBulletin Blog
 
Hack Support

This hack is now discontinued - this means that while it will remain available for download and use, there will be no further updates, nor will support be provided as the thread is no longer monitored.

Please click Mark as Installed if you are using this hack.


vBulletin Version Compatibility

This hack can be used with v3.6.10 and v3.7.x. This has not been tested with earlier versions of v3.6.x, but should work.

This hack has only been tested with vBulletin Blog v1.0.5. I have not tested with it with vBulletin Blog v2.x.x (and will never be as this hack is no longer supported).



What Does This Hack Do?

Your own vBulletin Boss Key, is displayed each blog entry and blog comment, so you can quickly click yourself to the safety of legitimate url when the boss turns up, while you are at work.

I have created a custom button for this hack, you can use another button if you like, just remember to rename it blog_panic.gif. You can have a different button for each style, as long as each one is named blog_panic.gif.

NOTE 1:My Panic Button hack needs to be installed first for this hack to work (this is an add-on hack to that). It will also give you an overall panic/boss button solution.

NOTE 2: Any Panic Button you see in a blog entry or blog comment is tied to your profile, even if it is in someone else's blog entry or blog comment (to prove it, disable the Panic Button in the your UserCP)

NOTE 3: This is still a template hack (and it's parent hack is a product), due to the fact that there are no template hooks where I need them to be, and as a consequence manual template edits are required because I can not automate this hack.

This hack was created because of a comment here.


Installation Instructions

The Panic Button for vBulletin Blog Installation Instructions 3.7.xxx.pdf instructions file is included in attached .zip (includes visual instructions)

Uninstall Instructions
  1. Delete blog_panic.gif from your forum's images/misc/blog directory (if more than one style remember to delete it from all misc/blog directories).
  2. To undo the template edits.
    In the blog_comment, blog_entry_featured, blog_entry_without_userinfo, blog_entry_with_userinfo and blog_show_entry templates, find and delete:
    HTML Code:

    <!-- Panic Button for vBulletin Blog v3.7.00x. Copyright Mosh Shigdar 2008 -->
    <if condition="$show['panicbutton']"><a href="$show[panic_button_url]"><img
    src="$stylevar[imgdir_misc]/blog/blog_panic.gif " border="0" alt="Boss Key"
    />
    </a></if>
    <!-- end of Panic Button Hack -->



Version History

v3.7.002 - Thursday 24th July 2008
-- Final Release
-- Changed: Updated to keep in line with it's parent hack

v3.7.001 - Friday 27th June 2008
-- Initial Release


Show Your Appreciation

Although not required, if you have enjoyed the benefits of this hack, and would like show your appreciation for my efforts, then please feel free to click on the Support Developer link and donate any amount you feel is appropriate.

Hornstar 06-27-2008 06:43 AM

This is classic, however you should be working at work and not slacking! lol

Qwest 06-30-2008 05:34 PM

Get firefox and use tabbed browsing. Or just close the browser window....

Welcome to the 21st century.

Mosh 06-30-2008 10:17 PM

Come on guys, if you have nothing sensible to post to a thread, then please do not waste time doing so. This is a support thread, not a general chatter or opinion thread.

Mosh 07-24-2008 03:56 AM

Update: v3.7.002 - Thursday 24th July 2008
-- Changed: Updated to keep in line with it's parent hack

It is now a lot easier to install.

fourat 11-15-2008 10:51 AM

thank you very much .. installed and nominated
can you do this hack ?
https://vborg.vbsupport.ru/showthrea...46#post1666046

Mosh 01-09-2009 02:46 AM

This hack is now discontinued - this means that while it will remain available for download and use, there will be no further updates, nor will support be provided as the thread is no longer monitored.


All times are GMT. The time now is 09:19 AM.

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.01490 seconds
  • Memory Usage 1,732KB
  • 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_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete