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)
-   -   Profile Enhancements - Pop-Up Warning Before Visiting Member's Homepage (https://vborg.vbsupport.ru/showthread.php?t=150471)

713JunctionP 06-22-2007 10:00 PM

Pop-Up Warning Before Visiting Member's Homepage
 
This mod will more than likely work in other versions of vB but was only coded and tested on vBulletin 3.6.4 and 3.6.7

If you're concerned about liability and want to make it known that you do not take responsibility for a user visiting another member's website on your forums, you can perform this simple little template modification. It's a nice little add-on and can really help you in the long run. :)

Installation:

1) Open your MEMBERINFO template and...

FIND THIS CODE:
Code:

<a href="$userinfo[homepage]" target="_blank" dir="ltr">$userinfo[homepage]</a>

REPLACE WITH:
Code:

<!-- Pop-Up Warning Before Visiting Member's Homepage by 713JunctionP -->
<a href="$userinfo[homepage]" onClick="return confirm('The link you are trying to access may not be a part of the $vboptions[bbtitle] network.  Click OK if you wish  to trust this member and visit their website anyway.  Otherwise, click CANCEL to halt visitng this members website.')" target="_blank" dir="ltr">$userinfo[homepage]</a>
<!-- / Pop-Up Warning Before Visiting Member's Homepage by 713JunctionP -->

*NOTE: If anyone can get this working in the postbit, postbit_legacy and memberlist templates, please post up.
I will add it to this mod and give credit where credit is due. Thanks!


This mod works in Firefox and Internet Explorer. Others have not yet been tested.

You are free to use this mod however you'd like, but please keep the copyright/credit phrase intact in the code. That's all I ask. :up:

PLEASE REMEMBER TO CLICK INSTALLED IF YOU USE THIS MOD!

713JunctionP 06-23-2007 06:59 PM

First Post Reserved!

rjmjr69 06-23-2007 11:50 PM

Sweet Idea. Has been done a few times but I like this one short code

rasp187 06-24-2007 12:40 AM

Nice idea. Installed.

PoetJA-1975 06-24-2007 03:29 AM

Wow - shortcode looks very nice - Thanx for the sharing.

Jacquii.

713JunctionP 06-24-2007 06:09 PM

Quote:

Originally Posted by rjmjr69 (Post 1274984)
Sweet Idea. Has been done a few times but I like this one short code

Yeah, and the reason why I released this version of it was because the "other" warning system hack did not give you a "Cancel" option. This, on the other hand, does. Plus, it needed to sound a wee bit more professional. :up:

Quote:

Originally Posted by PoetJA-1975 (Post 1275084)
Wow - shortcode looks very nice - Thanx for the sharing.

Jacquii.


thank you. you guys should click "installed." :D

Triky 06-25-2007 04:24 PM

Nice idea!

713JunctionP 07-04-2007 02:37 PM

yeah, it really does kinda relieve some of the "stress" and "liability" from users trying to blame the site admins/owner of forums (depending on how big a website is, it could happen).

JadedSouls 10-21-2007 07:23 PM

I installed but for some reason the pop-up doesn't work for me..

bazzup 10-21-2007 09:35 PM

really good i may have a use for this as we get busier


All times are GMT. The time now is 02:39 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.01081 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)bbcode_code_printable
  • (2)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
  • (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