PDA

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


Thelonius Beck
05-17-2008, 10:00 PM
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
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
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
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
05-20-2008, 01:32 AM
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
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
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
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
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......