vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   End-User Options - Panic Button - Postbit (https://vborg.vbsupport.ru/showthread.php?t=201130)

Mosh 01-08-2009 10:00 PM

Panic Button - Postbit
 
1 Attachment(s)
Please click Mark as Installed if you are using this hack.


What Does This Hack Do?[hr]hr[/hr]
This is an update to my 3.7.x version of this hack.

Do your members ever view your site from work when they should not be doing so? Will they get in to trouble if they do get caught by their boss? If the answer is yes to both questions, then this hack is for you.

This hack gives your members their own vBulletin Boss Key (i.e. Panic button), which is displayed at the bottom of the postbit in each post, so your members can quickly click themselves to the safety of legitimate url if the boss turns up, while your members 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. You can have a different button for each style, as long as each one is named 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.


Limitation with this hack[hr]hr[/hr]
People keep asking for usergroup permissions for this hack.

While this would easy to implement, what people fail to realise is that User Profile Fields are not controlled by usergroup permissions at all, and even if usergroup permissions were added to this hack, the User Profile Fields would still be viewable by members even if they do not have permissions to use them.

User Profile Fields are either viewable by all or viewable by none, this is how they were implemented in vBulletin by design, there is no in between with User Profile Fields.

So, I will not be adding usergroup permissions to this hack.


vBulletin Version Compatibility[hr]hr[/hr]
This hack can be used with vBulletin versions 3.6.0 - 3.8.8.

For the v4.0.x version of this hack - check here.



Hack Support/Feature Requests[hr]hr[/hr]
IMPORTANT: This hack is no longer supported.


Install/Uninstall Instructions[hr]hr[/hr]
The Panic Button Installation Instructions 3.8.xxx.pdf instructions file is included in attached .zip (includes instructions and pictures)


Version History[hr]hr[/hr]
v3.8.002 - Friday 27th March 2009
-- Fixed: Uncached Template
-- Added: Uninstall Instructions

v3.8.001 - Friday 9th January 2009
-- Initial Release


Thanks[hr]hr[/hr]
Thanks go out to Paul M who gave me permission to use some of his install code.


Show Your Appreciation [hr]hr[/hr]
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.

DawnsWebDesigns 01-09-2009 03:54 AM

Installed & working good...thanks. :)

shlomot 01-09-2009 07:33 AM

Thanks for the cool MOD and detailed instructions.

Works flawlessly with 3.8.0 Gold

VOTED 5 out of 5

vithorius 01-09-2009 05:06 PM

Excellent work!

Is it possible to give permission to us it just for some usergroups?

digicom 01-09-2009 09:08 PM

Excellent Installed:up:

Hostboard 01-09-2009 11:17 PM

CAn't seem to get this to display in my profile. I have a Post bit selector at position #5 and have tried 6 & 7, 8 & 9 even 20 & 21 but no luck. Any ideas?

Second vote for ability based on user group permissions.

Mosh 01-10-2009 03:43 AM

Quote:

Originally Posted by Hostboard (Post 1706852)
CAn't seem to get this to display in my profile. I have a Post bit selector at position #5 and have tried 6 & 7, 8 & 9 even 20 & 21 but no luck. Any ideas?

There are two circumstances that this will happen
  • Either you have not entered the correct user profile field numbers in vBulletin Options.
  • Or, you are using a custom style that has not been updated to include the correct template hook.
Quote:

Originally Posted by Hostboard (Post 1706852)
Second vote for ability based on user group permissions.

Read the below (now added to 1st post):
Quote:

Originally Posted by 1st Post
Limitation with this hack

People keep asking for usergroup permissions for this hack.

While this would easy to implement, what people fail to realise is that User Profile Fields are not controlled by usergroup permissions at all, and even if usergroup permissions were added to this hack, the User Profile Fields would still be viewable by members even if they do not have permissions to use them.

User Profile Fields are either viewable by all or viewable by none, this is how they were implemented in vBulletin by design, there is no in between with User Profile Fields.

So, I will not be adding usergroup permissions to this hack.


Black Tiger 01-15-2009 12:24 PM

I will change my "mark installed" from the 3.7.x version to this one.

But the description of this one has a bug.;)
Quote:

v3.8.001 - Friday 9th June 2009
-- Initial Release
We are not that far in 2009 yet.:D:D

Mosh 01-15-2009 07:40 PM

Quote:

Originally Posted by Black Tiger (Post 1713325)
I will change my "mark installed" from the 3.7.x version to this one.

But the description of this one has a bug.;)

We are not that far in 2009 yet.:D:D

Opps, fixed up :)

Nelly 01-19-2009 08:58 PM

Great mod :) installed.

imaroot 01-30-2009 09:51 AM

yea it's a great mod not installed but BOOKMARKED!

BigDog56 03-12-2009 07:16 PM

Very nice, thank you! Had members wanting something like this!

donwon 03-12-2009 08:49 PM

Awesome love it and installed! Working on 8.1.

Jasem 03-12-2009 09:25 PM

Good work, thank you......

Installed & working Very good :up:

DobieGillis? 03-12-2009 09:46 PM

works! Wonderful mod!

Keyser S?ze 03-14-2009 12:47 AM

i saw this when regin at another site, and i just had to come find it!! ;D very neat and handy idea, i have marked as installed and nominated for MOTM, good luck

Keyser S?ze 03-14-2009 03:36 PM

ok i installed this and followed the instructions, but when i uploaded the product i got this error

XML Error: not well-formed (invalid token) at Line 1

something to do with pl1?

Mosh 03-14-2009 08:26 PM

Quote:

Originally Posted by Keyser S?ze (Post 1767956)
ok i installed this and followed the instructions, but when i uploaded the product i got this error

XML Error: not well-formed (invalid token) at Line 1

something to do with pl1?

It sounds like something went wrong when you downloaded the zip file, try downloading it and extracting the files again. Let me know if the problem persists.

DobieGillis? 03-14-2009 09:58 PM

I still love this hack. good job, Mosh!

Keyser S?ze 03-14-2009 11:56 PM

Quote:

Originally Posted by Mosh (Post 1768204)
It sounds like something went wrong when you downloaded the zip file, try downloading it and extracting the files again. Let me know if the problem persists.

worked, thanks

it imported fine and everything seems to be working, i did steps 5 and 6 and when i go to my options in my userxp the input areas are there

but in bot postbit and legacy no panic button shows up, its just not there :(

id love to send u a link so u can try it urself

dekaybrown 03-15-2009 12:59 AM

I love the hack, but the PDF file prohibits cut and paste of details.

A simple text file would have been preferable.

OK call me lazy, sling rotten eggs at me......

I do love the hack!!!!

Keyser S?ze 03-15-2009 01:03 AM

1 Attachment(s)
i agree, but foxit pdf reader allowed me to save to a txt, then i just copy/pasted everything

ok here are some screenshots, and btw ice is me

i also attached the txt, i hope that is ok

Mosh 03-15-2009 01:17 AM

Quote:

Originally Posted by Keyser S?ze (Post 1768350)
worked, thanks

it imported fine and everything seems to be working, i did steps 5 and 6 and when i go to my options in my userxp the input areas are there

but in bot postbit and legacy no panic button shows up, its just not there :(

id love to send u a link so u can try it urself

[s]If you want me to take a look then feel free to PM me your site address, a temp admin user (with admin permissions - Can Administer Settings for editing options, Can Administer Styles for editing templates, Can Administer Language Settings for editing phrases and finally Can Administer Plugins for editing products and plugins), and ftp access details, without these I can not 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, so it is up to you what you want to do. You can revoke these after I have helped you out.[/s]

Keyser S?ze 03-15-2009 01:57 AM

thats cool but i got to go so tomorrow, thanks :)

Keyser S?ze 03-15-2009 04:59 PM

ok, i sent PM

Mosh 03-15-2009 08:17 PM

Quote:

Originally Posted by Keyser S?ze (Post 1768895)
ok, i sent PM

Can you send me the info I require to help you out via PM please. Without it I will not be able to help.

Mosh 03-15-2009 11:17 PM

Quote:

Originally Posted by Keyser S?ze (Post 1768895)
ok, i sent PM

All fixed up now. You can remove temp admin and ftp accounts now :)

You had two issues.

Firstly in step 2 you set the options to OFF ON, should have been Off On, this was the major reason the hack did not work.

Secondly, you did not upload panic.gif to one of your styles, which would have been the reason the button did not show if the hack was working.

Hope you members enjoy the hack :)

demoniavbh 03-15-2009 11:20 PM

Any differences between this and the previous version?
I have now 3.8 but with the previous mod, so I was wondering if there's anything to change or if it's just the same.

Mosh 03-15-2009 11:34 PM

Quote:

Originally Posted by demoniavbh (Post 1769168)
Any differences between this and the previous version?
I have now 3.8 but with the previous mod, so I was wondering if there's anything to change or if it's just the same.

It is pretty much the same, but any versions below v3.8.001 I will not be providing any support for. But if it is working for you, then there is probably no need to update it.

Keyser S?ze 03-15-2009 11:58 PM

1 Attachment(s)
am i blind cuz i still dont see it

heres a screenshot

Mosh 03-16-2009 01:51 AM

Quote:

Originally Posted by Keyser S?ze (Post 1769200)
am i blind cuz i still dont see it

heres a screenshot

You will have to resend the details via PM, as it was working with the test account you sent me.

EDIT: Before doing that, can you select Edit Options from your UserCP, if Panic Button - ON/OFF Switch is not already set to On then select On, then just save the settings.

That should alter the Panic Button - ON/OFF Switch profile field column in the database from having ON (wrong value) to the correct value of On.

If that does not work (which I think it will), then do the above.

Keyser S?ze 03-16-2009 11:08 AM

yea that was the problem, sorry im retarded

Mosh 03-16-2009 08:05 PM

Quote:

Originally Posted by Keyser S?ze (Post 1769543)
yea that was the problem, sorry im retarded

You are not retarded at all, it took me a couple of hours before it occurred to me that was probably what the issue was. So, it was not all that obvious what the issue was.

Mosh 03-27-2009 06:59 AM

Update: v3.8.002 - Friday 27th March 2009
-- Fixed: Uncached Template
-- Added: Uninstall Instructions

BigSoccer Tech. 03-27-2009 08:07 PM

Triple checked everything. It won't show up when turned on. Does this conflict with the "blog this" button of vb blog?

www.bigsoccer.com

Mosh 03-28-2009 04:53 AM

Quote:

Originally Posted by BigSoccer Tech. (Post 1778527)
Does this conflict with the "blog this" button of vb blog?

This hack does not touch vBlog at all, just the postbit in a post, thread and private message.
Quote:

Originally Posted by BigSoccer Tech. (Post 1778527)
Triple checked everything. It won't show up when turned on.

Quote:

Originally Posted by 1st Post
Hack Support - snippet

I will not be providing any support at all to people who have not clicked Mark as Installed.


BigSoccer Tech. 03-28-2009 05:07 PM

Jeez, thought I clicked it. My bad. Clicked.

Waht's happenign is I have the right fieldIDs but it's not seeing 'em. I've checked the db and the right field id's are there, but hte template isn't getting the On/Off and URL values. I've also confirmed in the db that the values in my profile fields are On and http://www.google.com

Mosh 03-29-2009 06:05 AM

1 Attachment(s)
Quote:

Originally Posted by BigSoccer Tech. (Post 1779100)
Jeez, thought I clicked it. My bad. Clicked.

Waht's happenign is I have the right fieldIDs but it's not seeing 'em. I've checked the db and the right field id's are there, but hte template isn't getting the On/Off and URL values. I've also confirmed in the db that the values in my profile fields are On and http://www.google.com

Well have a look at the attached sreenshot, you will see that the Blog this Post icon is also there, so this hack does not conflict with it.

If you have followed the instructions to the letter (most of the time when I look a clients installations they have not done so, even when they say that they did), I will need to at your installation to help you further.

[s]If you want me to take a look then feel free to PM me your site address, a temp admin user (with admin permissions - Can Administer Settings for editing options, Can Administer Styles for editing templates, Can Administer Language Settings for editing phrases and finally Can Administer Plugins for editing products and plugins), and ftp access details, without these I can not 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, so it is up to you what you want to do. You can revoke these after I have helped you out.

This offer will be on the table for 7 days, after which time it will be revoked, and[/s] I will not be able to help you further.

Let me know what you decide.

BigSoccer Tech. 03-31-2009 03:34 AM

I can't give you FTP access for security reasons. If that rules this out, fine. I appreciate the offer tho.

For what it's worth, I've confirmed everything is there via phpmyadmin, even the correct capitalization for On and Off and if I edit your code to call the fieldID directly, instead of via variable, it still doesn't pull it for some reason.

Mosh 03-31-2009 05:38 AM

Quote:

Originally Posted by BigSoccer Tech. (Post 1780791)
I can't give you FTP access for security reasons. If that rules this out, fine. I appreciate the offer tho.

For what it's worth, I've confirmed everything is there via phpmyadmin, even the correct capitalization for On and Off and if I edit your code to call the fieldID directly, instead of via variable, it still doesn't pull it for some reason.

That is totally understandable, but as this hack is not rocket science to install and there is very little that can go wrong with it (apart from not following the instructions to the letter), if it is not working and you have done everything, without looking at your installation I can not help you any further.


All times are GMT. The time now is 03:59 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,838KB
  • 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
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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