vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   Profile Enhancements - Pop-Up Warning Before Visiting Members Home Page. (https://vborg.vbsupport.ru/showthread.php?t=179590)

Thelonius Beck 05-17-2008 10:00 PM

Pop-Up Warning Before Visiting Members Home Page.
 
This Mod will show a Pop-up warning before your members Homepage links are visited. It now works in the Postbit/Postbit Legacy as well.

*Updated for 3.7.1 pl 1 - Postbit added-Text file added.








In the template memberinfo_block_contactinfo;

Find This Code;
PHP Code:

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



Replace that with this;

PHP Code:

<dd><a href="$prepared[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 visiting this members website.')" target="_blank" dir="ltr">$prepared[homepage]</a></dd

__________________________________________

In the template 'postbit' and/or 'postbit_legacy';

Find This Code;
PHP Code:

<a href="$post[homepage]"

Replace that with this;
PHP Code:

<a href="$post[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 visiting this members website.')" target="_blank" dir="ltr"

____________________________________



Attachment 80842

Attachment 82355

Barakat 05-18-2008 01:08 AM

installed ,,, nice idea

JadedSouls 05-18-2008 01:23 AM

I installed and tried it and it didn't work for me..

*uninstalling*

Icevirus 05-19-2008 09:48 AM

installed...nice

Smiry Kin's 05-19-2008 12:27 PM

I did it back in 2006..

https://vborg.vbsupport.ru/showthread.php?t=117868 =-/ everyone copied me!

BigDog56 05-19-2008 04:44 PM

Can't get it to work either.

Thelonius Beck 05-19-2008 08:13 PM

Quote:

Originally Posted by Smiry Kin's (Post 1524695)
I did it back in 2006..

https://vborg.vbsupport.ru/showthread.php?t=117868 =-/ everyone copied me!


Then my 'props' were misplaced. Like I said, I make no claim to the mod, I just upgraded it to 3.7 compatibility.
;)


NOTE: After reading your thread, I think maybe I should take the advise given there, and include a text file & incorporate phrases.

ShadowOne 05-20-2008 12:53 AM

Quote:

Originally Posted by BigDog56 (Post 1524901)
Can't get it to work either.

You have to replace this code
PHP Code:

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

works fine or me...thanks

JadedSouls 05-20-2008 01:32 AM

Quote:

Originally Posted by ShadowOne (Post 1525320)
You have to replace this code
PHP Code:

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

works fine or me...thanks

And I did that - still never worked..

Darkstarproject 05-22-2008 11:39 PM

Works fine for me. *Installed*

Vinyljunky 06-13-2008 12:27 PM

Thank you :up:

TheInsaneManiac 06-13-2008 10:03 PM

Is there a way to get this to work when you click someone's name in a post and click "visit users homepage" that it also pops up this message?

hsv z clubbie 06-14-2008 05:22 AM

The existing code doesn't exist in 3.7.1 PL1

BigDog56 06-14-2008 11:50 AM

Tried it again with TMS and still cannot get it to work. :(

Midnightfs 06-15-2008 07:39 AM

Works great thanks! Installed.

Thelonius Beck 06-15-2008 02:56 PM

<font color="Red">*Updated. </font>

Thelonius Beck 06-15-2008 04:29 PM

Quote:

Originally Posted by TheInsaneManiac (Post 1548761)
Is there a way to get this to work when you click someone's name in a post and click "visit users homepage" that it also pops up this message?

Done. Thanks for the great suggestion. :cool:

Thelonius Beck 06-15-2008 08:23 PM

Quote:

Originally Posted by JadedSouls (Post 1523029)
I installed and tried it and it didn't work for me..

*uninstalling*


Quote:

Originally Posted by BigDog56 (Post 1524901)
Can't get it to work either.

Check your Java settings in your browser, also check that you allow pop-up's from your site as this is in fact a pop-up.

Vinyljunky 06-16-2008 09:11 AM

Is there a way to get this to work when you click someone's name in a post and click "visit users homepage" that it also pops up this message?
Doesnt work for me either :confused:

The popup displays but pressing OK has no action.

Popups and Java are both correct

It works fine when clicking the homepage link in the users public profile

Any ideas?

Thanks

VinylJunky

Thelonius Beck 06-17-2008 12:19 AM

Hmmmm......


All times are GMT. The time now is 04:59 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.02056 seconds
  • Memory Usage 1,770KB
  • 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
  • (6)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (20)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete