View Full Version : End-User Options - Panic Button
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. But not to worry, you can now check out the new 3.8.x version of this hack which will work with v3.7.x, as well as with v3.6.12 (and maybe even earlier versions).
Please click Mark as Installed if you are using this hack.
vBulletin Version Compatibility
This hack can be used with both vBulletin v3.6.x and v3.7.x.
What Does This Hack Do?
Your own vBulletin Boss Key, is displayed in the postbit of each post, 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 panic.gif.
NOTE: Any Panic Button you see in a thread is tied to your profile, even if it is in someone else's postbit (to prove it, disable the Panic Button in the your UserCP)
This hack was created because of a requested here.
If your members report errors when clicking on the panic button, first thing to ensure is that they used the full url (including http://)when typing in the site their panic button will go to, ie http://www.google.com (will work) and not like this - www.google.com (will not work). The second thing to check for, is that the Panic Button - URL Jump box is not empty.
Installation Instructions
In attached .zip (includes instructions for postbit and postbit_legacy templates)
Version History
v1.0.5 - Tuesday 20th May 2008
-- Final Release
-- Changed: Clarified instructions even more
-- Fixed: Another typo
v1.0.4 - Friday 28th March 2008
-- Fixed: Another typo
v1.0.3 - Wednesday 26th March 2008
-- Fixed: Corrected template typo
v1.0.2 - Thursday 20th December 2007
-- Changed: Updated Instructions
v1.0.1 - Monday 1st October 2007
-- Fixed: Template edit
v1.0.0 - Thursday 13th September 2007
-- 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.
yoyoyoyo
09-13-2007, 05:13 AM
woohoo! thanks much! :D
bazzup
09-13-2007, 04:03 PM
What a fantastic idea I have no use for it but see how we grow and if there is a demand for it i will install
Triky
09-13-2007, 04:20 PM
Lol, pretty idea. :)
alfaowner
09-14-2007, 12:49 AM
my boss jump url was as follows?
http://www.websitename.com/forum/www.google.com how can I make it just www.google.com, somehow it is picking up onmy site web address in the jumo url.
Thanks
Jerlene
09-14-2007, 07:28 AM
lol I think this is a great MOD. Nice job.
PinkDaisy
09-15-2007, 11:40 AM
Installed!!
BartS
09-15-2007, 01:03 PM
my boss jump url was as follows?
http://www.websitename.com/forum/www.google.com how can I make it just www.google.com, somehow it is picking up onmy site web address in the jumo url.
Thanks
Make sure you use http://www.google.com (The http:// will tell the browser to go to an external website).
My"panic button" is Alt+F4.
FLMom
09-15-2007, 10:50 PM
Fantastic! I don't need it, but I am sure this will come in handy for a lot of people!
Liberation
09-23-2007, 12:22 PM
This is a great idea, the best in a long time.
Not needed as of yet, but i'll see. Thanks alot for this!
JadedSouls
09-23-2007, 04:38 PM
I tried it but it wouldn't work for me.. I'll try again another time..
Brandon Sheley
09-23-2007, 04:43 PM
sweet mod, I'll check it out :)
Greek76
09-23-2007, 06:07 PM
Haha sounds like a great mod but too bad I have no use for it.
Good idea!
Audentio
09-23-2007, 07:49 PM
lol that is a fantastic idea!
cjshirlaw
09-30-2007, 12:29 PM
In the .txt file it says
<!-- panic button by jdsinclair -->
<iif condition="$bbuserrinfo[field5] == On"><a href="$bbuserinfo[field6]"><img src="$stylevar[imgdir_misc]/panic.gif" border="0" alt="Boss Key" /></a></if>
<!-- end of panic button -->
Should there be two 'i's at the if statment?
This also is not working for me. I tried editing the iif ti if and the $bbuserrinfo to $bbuserinfo but it is still not working, anyone help?
Expat
09-30-2007, 03:07 PM
Interesting. I didn't notice the two "i"s, but my code looks identical to yours and it works fine for me on a 3.6.8 board.
<!-- panic button by jdsinclair -->
<iif condition="$bbuserrinfo[field19] == On"><a href="$bbuserinfo[field20]"><img src="$stylevar[imgdir_misc]/panic.gif" border="0" alt="Boss Key" /></a></if>
<!-- end of panic button -->
cjshirlaw
10-01-2007, 08:13 AM
Hmm, I will try re doing it, maybe I made a mistake in the profile fields bit.
Update: Version 1.0.1 - Corrected Typos noticed by cjshirlaw in template edit. You will only need to update if the template edit is giving you problems.
needaltuna
10-02-2007, 12:44 PM
This will be a perfect addition for my (adult) forum. Thanks for the superb mod.
schizophrenic_
10-05-2007, 08:28 PM
Wow :) Good job man thanks.
Alibass
10-06-2007, 06:47 PM
@jdsinclair
Nice hack mate, running 3.6.8 here and it works great. Thanks :) **Installed**
Alibass
10-18-2007, 09:47 PM
Doesn't work with vB Blogs :(
Doesn't work with vB Blogs :(
As I do not have vBlog at the moment, I can not make this work with it.
At some point in the future I be purchasing it, but for now it will go unsupported, so unfortunately unless someone with it allows me admin access to their installation to work out how to do it, then it will have to wait until I do have it.
richTV
10-28-2007, 11:36 PM
lmao
great idea!
Doesn't work with vB Blogs :(
I have managed to get access to someone's blog install to knock up an add-on hack to this hack for the blog now - Panic Button for vBulletin Blog
Enjoy :)
0tolerance
12-02-2007, 12:50 AM
this is an excellent mod, it will go well with my Private help forum.
Keep the mods comming.
mystic10
12-02-2007, 07:04 PM
i have done eveything still not working please guide...i even tried the two ii's i deleted the field and redid the field but no chance
gersforum@gmail
12-03-2007, 07:38 PM
Panic button don't show up!
i have done eveything still not working please guide...i even tried the two ii's i deleted the field and redid the field but no chance
Make sure that you upload panic.gif to the images\misc folder (if multiple styles, then upload to each misc folder)
If want me to take a look then feel free to PM me your site address, an temp admin user (with permissions for editing templates), also make sure that panic.gif is uploaded to each style's misc folder first, without doing these I cannot help you. I will look when I have time, and even if I have a look, I can not guarantee that I will be able to fix it, if your site is not in English (I only read/write in English), so it is up to you what you want to do.
Panic button don't show up!
Make sure that you upload panic.gif to the images\misc folder (if multiple styles, then upload to each misc folder)
You need to click Mark as Installed, and if want me to take a look then feel free to PM me your site address, an temp admin user (with permissions for editing templates), also make sure that panic.gif is uploaded to each style's misc folder first, without doing these I cannot help you. I will look when I have time, and even if I have a look, I can not guarantee that I will be able to fix it, if your site is not in English (I only read/write in English), so it is up to you what you want to do.
atlambros83
12-10-2007, 03:49 AM
lol this is a great idea....i'll probably come back and install this.
peterpigman
12-11-2007, 09:23 PM
I like the idea, I think a good addition to this would be to make it an choice to show the button in your options. Not everyone needs a panic button and more buttons are not always popular.
I like the idea, I think a good addition to this would be to make it an choice to show the button in your options. Not everyone needs a panic button and more buttons are not always popular.
It already does that out of the box, and if I remember rightly, I set it to be disabled by default. A member has to specifically enable this from his/her UserCP options.
silver surfer
12-18-2007, 04:55 PM
don't work 4 me. i did all like in the read me...i have the user fields in edit options...i enable it and give an url ( http://www.google.com )...i uploaded the gif to ALL skins ( well i use 3 and i uploaded it on all 3 misc folders )...nothing shows up.
any help ?
here is my postbit template :
$template_hook[postbit_start]
<table class="tborder" id="post$post[postid]" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead" $post[scrolltothis]>
<div class="normal" style="float:$stylevar[right]">
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a> </if>
<if condition="$show['reputationlink']">
<span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
<if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>
</if>
<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a> </if>
<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a> </if>
$post[iplogged]
<if condition="$show['inlinemod']">
<input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" />
</if>
</div>
<div class="normal">
<!-- status icon and date -->
<a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
<if condition="!$show['announcement']">
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
<else />
<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
</if>
$post[firstnewinsert]
<!-- / status icon and date -->
</div>
</td>
</tr>
<tr>
<td class="alt2" style="padding:0px">
<!-- user info -->
<table cellpadding="0" cellspacing="$stylevar[cellpadding]" border="0" width="100%">
<tr>
<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if>
<td nowrap="nowrap">
<div id="postmenu_$post[postid]">
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
$post[onlinestatus]
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
</div>
<!-- vbPlaza start -->
<if condition="$post['usertitle']"><div class="smallfont" <if condition="$post['titlestyle']">style="$post[titlestyle]"</if>>$post[usertitle]</div></if>
<!-- vbPlaza end -->
<if condition="$WWU002_ranktext"><div class="smallfont"><strong>$WWU002_ranktext</strong></div></if>
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
$template_hook[postbit_userinfo_left]
</td>
<td width="100%"> </td>
<td valign="top" nowrap="nowrap">
<div class="smallfont">$post[crowns]$post[champtext]<br /></div>
<div class="smallfont">
<if condition="$show['last_seen_online']"><div>$vbphrase[last_seen_online]: $post[lastseen_date] $post[lastseen_time]</div></if>
<!-- START POSTING FREQUENCY MOD -->
<div>Posting Frequency
<table border="0" cellpadding="0" cellspacing="0">
<tr onmouseover="this.title='$post[posts] posts ($post[postsperday] posts per day)'">
<td><img border="0" src="images/polls/bar-l.gif" width="4" height="17"></td>
<td width="100" background="images/polls/bar-bk.gif"><img border="0" src="images/polls/bar.gif" width="$post[frequency]" height="17"></td>
<td><img border="0" src="images/polls/bar-r.gif" width="4" height="17"></td>
</tr>
</table>
</div>
<!-- END POSTING FREQUENCY MOD -->
<if condition="isset($WWU002_activitylevel)">
<div>$vbphrase[WWU002_activity]: $WWU002_activitypercent%</div>
<div title="$WWU002_longevityinfo">$vbphrase[WWU002_longevity]: $WWU002_longevitypercent%</div>
<if condition="$WWU002_maxtodaylevel"><div title="$WWU002_todayinfo">$vbphrase[WWU002_activity_today]: $WWU002_todaylevel/$WWU002_maxtodaylevel</div></if>
</if>
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
<div>
$vbphrase[posts]: $post[posts]
<if condition="!empty($post[Flag])">
<div>
$vbphrase[my_Flag]: <img src="images/Flag/$post[Flag].gif" border="0" />
</div>
</if>
$dmemberinfo
<!-- vbPlaza start -->
<if condition="$show['pointsinpostbit']"><br />
$vbphrase[vbbux_points]: $post[points]<br />
$vbphrase[vbbux_bank]: $post[bank]<br />
<phrase 1="$vbphrase[vbbux_points]">$vbphrase[vbbux_total_points]</phrase>: $post[totalpoints]<br />
<a href="vbplaza.php?do=donate&userid=$post[userid]">$vbphrase[vbplaza_donate]</a><br />
</if>
<!-- vbPlaza end -->
</div>
$template_hook[postbit_userinfo_right_after_posts]
<if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
<if condition="$show['reputation']"><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><div><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
$template_hook[postbit_userinfo_right]
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
<!-- show awards -->
<if condition="$post[showuserawards]">
<fieldset><legend><a href="member.php?u=$post[userid]#award" title="$vbphrase[more_awards]">$vbphrase[award_showcase]</a></legend>
<div>
$post[userawards]
<br>
<a href="member.php?u=$post[userid]#award" title="$vbphrase[more_awards]">$vbphrase[total_awards]</a>: $post[num_awards]
</div>
</fieldset>
</if>
<!-- /show awards -->
<!-- vbPlaza start -->
<if condition="$post['giftsdisplay']"><div class="smallfont">$post[giftsdisplay]</div></if>
<if condition="$post['ribbonsdisplay']"><div class="smallfont">$post[ribbonsdisplay]</div></if>
<!-- vbPlaza end -->
</div>
</td>
</tr>
</table>
<!-- / user info -->
</td>
</tr>
<tr>
<td class="alt1" id="td_post_$post[postid]">
<!-- message, attachments, sig -->
$template_hook[postbit_messagearea_start]
<if condition="$show['messageicon'] OR $post['title']">
<!-- icon and title -->
<div class="smallfont">
<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']"><strong>$post[title]</strong></if>
</div>
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<!-- / icon and title -->
</if>
<!-- message -->
<div id="post_message_$post[postid]">$post[message]</div>
<!-- / message -->
<if condition="$show['attachments']">
<!-- attachments -->
<div style="padding:$stylevar[cellpadding]px">
<if condition="$show['thumbnailattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_thumbnails]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[thumbnailattachments]
</div>
</fieldset>
</if>
<if condition="$show['imageattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[imageattachments]
</div>
</fieldset>
</if>
<if condition="$show['imageattachmentlink']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[imageattachmentlinks]
</table>
</fieldset>
</if>
<if condition="$show['otherattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_files]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[otherattachments]
</table>
</fieldset>
</if>
<if condition="$show['moderatedattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attachments_pending_approval]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[moderatedattachments]
</table>
</fieldset>
</if>
</div>
<!-- / attachments -->
</if>
$template_hook[postbit_signature_start]
<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>
$template_hook[postbit_signature_end]
<if condition="$show['postedited']">
<!-- edit note -->
<div class="smallfont"> <hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<em>
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
<if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if>
</em>
</div>
<!-- / edit note -->
</if>
<div style="margin-top: 10px" align="$stylevar[right]">
<!-- controls -->
<!-- panic button by jdsinclair -->
<if condition="$bbuserinfo[field8] == On"><a href="$bbuserinfo[field9]"><img src="$stylevar[imgdir_misc]/panic.gif" border="0" alt="Boss Key" /></a></if>
<!-- end of panic button -->
<if condition="$post['editlink']">
<img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
</if>
<if condition="$post['forwardlink']">
<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
</if>
<if condition="$post['replylink']">
<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
</if>
<if condition="$show['multiquote_post']">
<a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>
</if>
<if condition="$show['quickreply'] AND !$show['threadedmode']">
<a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
</if>
<if condition="$show['moderated']">
<img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
</if>
<if condition="$show['deletedpost']">
<img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
</if>
<if condition="$show['redcard']">
<a href="infraction.php?$session[sessionurl]do=view&p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
<else />
<if condition="$show['yellowcard']">
<a href="infraction.php?$session[sessionurl]do=view&p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
</if>
</if>
$template_hook[postbit_controls]
<!-- / controls -->
</div>
<!-- message, attachments, sig -->
</td>
</tr>
</table>
$template_hook[postbit_end]
<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none;">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$post[username]</td>
</tr>
<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
</if>
<if condition="$show['pmlink']">
<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['emaillink']">
<tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['homepage']">
<tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
</if>
<if condition="$show['search']">
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td></tr>
</if>
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
</if>
$template_hook[postbit_user_popup]
</table>
</div>
<!-- / post $post[postid] popup menu -->
Rs06 Ant
12-18-2007, 05:32 PM
Same as above! Doesnt work for me either.
Support
I work full time and have limited time to provide free support for this free hack.
So members who have NOT clicked Mark as Installed will recieve NO support at all.
silver surfer
12-19-2007, 12:04 PM
Support
I work full time and have limited time to provide free support for this free hack.
So members who have NOT clicked Mark as Installed will recieve NO support at all.
erm...i CLICKED installed directly AFTER i installed it.
So if you can help to get this hack working it would be VERY nice of you :)
erm...i CLICKED installed directly AFTER i installed it.
So if you can help to get this hack working it would be VERY nice of you :)
Have you enabled it in your UserCP? Because it is set to be switched off for users to start with.
Your postbit template looks fine, it is in the correct place within the template. Are you using postbit legacy or just the normal postbit?
If you have done everything and rechecked the work, then I can not see what is wrong without taking a look at your site.
So, if want me to take a look then feel free to PM me your site address, an temp admin user (with admin permissions - Can Administer Users for editing User Profile Fields and Can Administer Styles for editing templates) without these I cannot help you. I will look when I have time, and even if I have a look, I can not guarantee that I will be able to fix it, if your site is not in English (I only read/write in English), so it is up to you what you want to do.
silver surfer
12-20-2007, 06:28 AM
Have you enabled it in your UserCP? Because it is set to be switched off for users to start with.
Your postbit template looks fine, it is in the correct place within the template. Are you using postbit legacy or just the normal postbit?
If you have done everything and rechecked the work, then I can not see what is wrong without taking a look at your site.
So, if want me to take a look then feel free to PM me your site address, an temp admin user (with admin permissions - Can Administer Users for editing User Profile Fields and Can Administer Styles for editing templates) without these I cannot help you. I will look when I have time, and even if I have a look, I can not guarantee that I will be able to fix it, if your site is not in English (I only read/write in English), so it is up to you what you want to do.
yes, i did all that. i created an admin account for you and pmed you the details.
THANK YOU VERY MUCH for trying to help me out.
silver surfer
12-20-2007, 06:52 AM
HEY...THANK YOU. It works now. what did i do wrong ???
HEY...THANK YOU. It works now. what did i do wrong ???
I PM'ed you about it.
But it was 2 things, not capitalising the Off and On options in one of the profile fields and secondly, you are using postbit_legacy, so the template edit needed it on there.
I have fixed up all 3 styles for you.
Have fun :)
silver surfer
12-20-2007, 06:55 AM
:)
Thank You !!!
Great Support !!!
:)
Thank You !!!
Great Support !!!
Not a problem at all, glad I could help you out :)
silver surfer
12-20-2007, 07:04 AM
lol...sorry...i pmed you about the new problem already...maybe u can help again, but it keeps my forum url in front of the www.google.com url and i get this error if i click the panic button :
The requested URL /www.google.com was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
weird...any idea ?
lol...sorry...i pmed you about the new problem already...maybe u can help again, but it keeps my forum url in front of the www.google.com url and i get this error if i click the panic button :
The requested URL /www.google.com was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
weird...any idea ?
You need to use the full url - http://www.google.com is good, www.google.com is not good (your site will think it is a local url).
I have replied to your PM with the solution.
silver surfer
12-20-2007, 07:10 AM
YES !!! THANK YOU, AGAIN !!!
Great work and support !
hehehe...LOVE it !!! ;)
YES !!! THANK YOU, AGAIN !!!
Great work and support !
hehehe...LOVE it !!! ;)
Well, providing support to you, showed me a couple of weaknesses in the instructions, so I am now updating the instructions and uploading them soon :)
Updated hack to v1.0.2
- added instructions for postbit_legacy
- added note about using full url and not partial one (will cause errors).
Note: silver surfer does not need to update to this version, as I already made the changes for him.
silver surfer
12-20-2007, 09:35 AM
Updated hack to v1.0.2
Note: silver surfer does not need to update to this version, as I already made the changes for him.
yes, you did. And you did very well !!!
Install this mod, guys...its really cool !!! :)
Cheers
ChaosBurnt
02-08-2008, 12:09 PM
Brilliant, installed, having trouble with the blog one if you get some time spare would you please refer to my reply in the blog thread for this mod of yours.
Great work, thanks.
red-dna
03-25-2008, 05:40 PM
Very cool mod,
but is an error in instruction
<!-- panic button by jdsinclair -->
<iif condition="$bbuserrinfo[field5] == On"><a href="$bbuserinfo[field6]">
i think the right is <if condition...
Very cool mod,
but is an error in instruction
<!-- panic button by jdsinclair -->
<iif condition="$bbuserrinfo[field5] == On"><a href="$bbuserinfo[field6]">
i think the right is <if condition...
You are correct, so I have updated the hack to v1.0.3 :)
The button is not showing for me.
dragginblazer
03-27-2008, 02:47 PM
Not showing for me either now.
EDIT: I changed the code back to
<iif condition="$bbuserrinfo[field5] == On"><a href="$bbuserinfo[field6]">
and it works fine
Not showing for me either now.
EDIT: I changed the code back to
<iif condition="$bbuserrinfo[field5] == On"><a href="$bbuserinfo[field6]">
and it works fine
Update to v1.0.4, I introduced a typo into the v1.0.3 instructions that was causing the problem.
The button is not showing for me.
mblb,
Thanks for allowing me to use your forum to fix the hack.
It is all working on your forum now, and it is the latest version v1.0.4, so you do not have to upgrade to the new version, although I would download the zip file for future reference.
You can now remove the temp admin account you PM'ed me :)
anoob
04-07-2008, 09:54 AM
I am having problems, and can not get this to work, can you help me please?
WoodPusher
04-07-2008, 05:34 PM
Installed, not showing on a 3.6.9 VB Forum.
I am having problems, and can not get this to work, can you help me please?
If you have done everything and rechecked the work, then I can not see what is wrong without taking a look at your site.
So, if want me to take a look then feel free to PM me your site address, an temp admin user (with admin permissions - Can Administer Users for editing User Profile Fields and Can Administer Styles for editing templates) without these I cannot help you. I will look when I have time, and even if I have a look, I can not guarantee that I will be able to fix it, if your site is not in English (I only read/write in English), so it is up to you what you want to do.
Installed, not showing on a 3.6.9 VB Forum.
If you have done everything and rechecked the work, then I can not see what is wrong without taking a look at your site.
So, if want me to take a look, firstly click Mark as Installed and after that you have done that, feel free to PM me your site address, an temp admin user (with admin permissions - Can Administer Users for editing User Profile Fields and Can Administer Styles for editing templates) without these I cannot help you. I will look when I have time, and even if I have a look, I can not guarantee that I will be able to fix it, if your site is not in English (I only read/write in English), so it is up to you what you want to do.
I am having problems, and can not get this to work, can you help me please?
I got your admin details and have had a look at your installation of this hack, and it works fine.
I could not find any problems at all, and did not have to make any alterations.
The hack works as advertised :)
Panic Button (TMS Compatible) for v3.7.x is now available here. :)
sweptwingnut
05-16-2008, 05:43 PM
Installed and working.
One area of possible correction for me regarding changing the fields.
You said that in
"Step 4:
******
In postbit (and/or postbit_legacy) template, find:
<if condition="$post['editlink']">
Above it, paste:
<!-- panic button v1.0.4 by Mosh Shigdar -->
<if condition="$bbuserinfo[field7] == On"><a href="$bbuserinfo[field8]"><img src="$stylevar[imgdir_misc]/panic.gif" border="0" alt="Boss Key" /></a></if>
<!-- end of panic button -->
NOTE: Replacing field5 with the Field ID from Step 2, and field6 with the Field ID from Step 3.
You are all done :)"
This confused me a bit trying to figure out where the heck field 5 and 6 were located. I figured out that you meant to say replace the code [field7] with the Field ID from Step 2 and [field8] with the Field ID from step 3 and it worked. In my case, the code now reads [field21] and [field22] respectively.
Hope that helps the next guy.
Installed and working.
One area of possible correction for me regarding changing the fields.
You said that in
"Step 4:
******
In postbit (and/or postbit_legacy) template, find:
<if condition="$post['editlink']">
Above it, paste:
<!-- panic button v1.0.4 by Mosh Shigdar -->
<if condition="$bbuserinfo[field7] == On"><a href="$bbuserinfo[field8]"><img src="$stylevar[imgdir_misc]/panic.gif" border="0" alt="Boss Key" /></a></if>
<!-- end of panic button -->
NOTE: Replacing field5 with the Field ID from Step 2, and field6 with the Field ID from Step 3.
You are all done :)"
This confused me a bit trying to figure out where the heck field 5 and 6 were located. I figured out that you meant to say replace the code [field7] with the Field ID from Step 2 and [field8] with the Field ID from step 3 and it worked. In my case, the code now reads [field21] and [field22] respectively.
Hope that helps the next guy.
You are correct, I actually amended the intructions in v1.0.4, from notes I took when fixing up mblb's installation, I acidentally left in the field IDs used with his installation in the instructions...... but that is now rectified
Update: v1.0.5
Fixed typos
Clarified the instructions even more
NOTE: If you have this installed and working, then no need to update at all !!!
Vinyljunky
05-23-2008, 01:37 PM
Hello,
I have this installed on VB3.7 postbit_legacy with TMS
It doesnt seem to be picking up the default value of http://www.google.com
It works fine if I enter it manually?
Ok Ive just realised that it doesnt use the default value for existing users. is there anyway around this?
Thanks
VinylJunky
Hello,
I have this installed on VB3.7 postbit_legacy with TMS
It doesnt seem to be picking up the default value of http://www.google.com
It works fine if I enter it manually?
Ok Ive just realised that it doesnt use the default value for existing users. is there anyway around this?
Thanks
VinylJunky
I can confirm that it does not display the default value (it should but it does not, don't know why), but it should work fine when members enter it manually when activating it in their profile.
Boofo
05-25-2008, 04:00 PM
I got it to display a default value but I had to do a conditional in the template to get it to do it.
I got it to display a default value but I had to do a conditional in the template to get it to do it.
Hey Bob,
Do you mind PMing me the code? If you don't, then will then add it to the main code :)
Boofo
05-25-2008, 08:56 PM
PM on the way. ;)
NOTE: 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. But not to worry, you can now check out the new 3.7.x version of this hack, as it also works with v3.6.10 (and maybe even earlier versions).
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.