vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   End-User Options - Panic Button (https://vborg.vbsupport.ru/showthread.php?t=157701)

Mosh 04-10-2008 09:54 PM

Quote:

Originally Posted by WoodPusher (Post 1485374)
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.

[s]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.[/s]

Mosh 04-11-2008 12:14 AM

Quote:

Originally Posted by anoob (Post 1485082)
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 :)

Mosh 05-07-2008 12:05 AM

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.

Mosh 05-20-2008 02:29 AM

Quote:

Originally Posted by sweptwingnut (Post 1521840)
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

Mosh 05-25-2008 01:54 PM

Quote:

Originally Posted by Vinyljunky (Post 1528968)
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.

Mosh 05-25-2008 08:38 PM

Quote:

Originally Posted by Boofo (Post 1531032)
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. ;)


All times are GMT. The time now is 05:19 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.02469 seconds
  • Memory Usage 1,745KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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