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)

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.

Mosh 10-01-2007 09:06 AM

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.


All times are GMT. The time now is 01:40 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.01042 seconds
  • Memory Usage 1,724KB
  • 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)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