PDA

View Full Version : Profile Enhancements - Pop-Up Warning Before Visiting Members Home Page.


Thelonius Beck
18 May 2008, 02:41
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;
<dd><a href="$prepared[homepage]" target="_blank">$prepared[homepage]</a></dd>

Replace that with this;
<dd><a href="$prepared[homepage]" onClick="return confirm('The link you are trying to access may not be a part of the $vboptions 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 [B]'postbit' and/or 'postbit_legacy';

Find This Code;
<a href="$post[homepage]"> Replace that with this;
<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">____________________________________



80842

82355

Barakat
18 May 2008, 03:08
installed ,,, nice idea

JadedSouls
18 May 2008, 03:23
I installed and tried it and it didn't work for me..

*uninstalling*

Icevirus
19 May 2008, 11:48
installed...nice

Smiry Kin's
19 May 2008, 14:27
I did it back in 2006..

http://www.vbulletin.org/forum/showthread.php?t=117868 =-/ everyone copied me!

BigDog56
19 May 2008, 18:44
Can't get it to work either.

Thelonius Beck
19 May 2008, 22:13
I did it back in 2006..

http://www.vbulletin.org/forum/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
20 May 2008, 02:53
Can't get it to work either.

You have to replace this code
<a href="$prepared[homepage]" target="_blank">$prepared[homepage]</a>

works fine or me...thanks

JadedSouls
20 May 2008, 03:32
You have to replace this code
<a href="$prepared[homepage]" target="_blank">$prepared[homepage]</a>works fine or me...thanks

And I did that - still never worked..

Darkstarproject
23 May 2008, 01:39
Works fine for me. *Installed*

Vinyljunky
13 Jun 2008, 14:27
Thank you :up:

TheInsaneManiac
14 Jun 2008, 00:03
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
14 Jun 2008, 07:22
The existing code doesn't exist in 3.7.1 PL1

BigDog56
14 Jun 2008, 13:50
Tried it again with TMS and still cannot get it to work. :(

Midnightfs
15 Jun 2008, 09:39
Works great thanks! Installed.

Thelonius Beck
15 Jun 2008, 16:56
*Updated.

Thelonius Beck
15 Jun 2008, 18:29
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
15 Jun 2008, 22:23
I installed and tried it and it didn't work for me..

*uninstalling*


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
16 Jun 2008, 11:11
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
17 Jun 2008, 02:19
Hmmmm......