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)

Andyucs 10-22-2007 12:33 PM

Shame that could not be done for all external links

TheInsaneManiac 02-03-2008 08:13 AM

OF ALL the cool modifications in the template section I have chosen yours that is located on the 10th page lol. I have 8 templates and I don't just choose a modification I like, I think of stuff the members need. I have installed your modification on ALL 8 of my styles. This is the first template modification I have used. My members have been crazy lately and clicking other members links and blaming me for the content their links hold and some of them have just clicked the links without even looking at them. Now they can be reminded that not all of the links are safe. Thanks.


Quote:

Originally Posted by JadedSouls (Post 1365344)
I installed but for some reason the pop-up doesn't work for me..

My guess is javascript isn't enabled.


Quote:

Originally Posted by Andyucs (Post 1365854)
Shame that could not be done for all external links

It can. Just code the bbc to use that html

Thelonius Beck 05-17-2008 05:02 PM

OK, I thought it might be good to make this work for 3.7 as well (because it didn't).

Here is how to do it:

In the template 'memberinfo_block_contactinfo'

FIND THIS CODE:

PHP Code:

<a href="$prepared[homepage]target="_blank">$prepared[homepage]</a


REPLACE WITH:

PHP Code:

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

Great Mod BTW 713JunctionP, :D

TheInsaneManiac 06-24-2008 04:36 PM

Is there anyway to get this to work with the threads "Visit Users Homepage" from the drop down that appears when you click the users name in a post?

Thelonius Beck 06-24-2008 08:57 PM

Quote:

Originally Posted by TheInsaneManiac (Post 1557886)
Is there anyway to get this to work with the threads "Visit Users Homepage" from the drop down that appears when you click the users name in a post?

I've been working on that. It appears that there is a conflict with the two Javascripts being used together. :(


All times are GMT. The time now is 01:27 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.01093 seconds
  • Memory Usage 1,735KB
  • 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_php_printable
  • (3)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
  • (5)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