Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications

Reply
 
Thread Tools
Give Warning Before Visiting Members Home Page Details »»
Give Warning Before Visiting Members Home Page
Version: 1.00, by Smiry Kin's Smiry Kin's is offline
Developer Last Online: Nov 2021 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 06-06-2006 Last Update: 06-06-2006 Installs: 9
 
No support by the author.

Simple Really.. just a simple memberinfo edit.

POSTBIT:
FIND:
Code:
<a href="$post[homepage]">
REPLACE
Code:
<a href="$post[homepage]" onClick="confirm('The link you are trying to access is not apart of $vboptions[bbtitle]. It could direct you to something nasty! Click OK if you wish  to trust this member and visit there website anyway.')">
POSTBIT_LEGACY
FIND:
Code:
<a href="$post[homepage]">
REPLACE
Code:
<a href="$post[homepage]" onClick="confirm('The link you are trying to access is not apart of $vboptions[bbtitle]. It could direct you to something nasty! Click OK if you wish  to trust this member and visit there website anyway.')">
MEMBERINFO:
FIND:
Code:
<a href="$userinfo[homepage]" target="_blank" dir="ltr">$userinfo[homepage]</a>
REPLACE:
Code:
<a href="$userinfo[homepage]" onClick="confirm('The link you are trying to access is not apart of $vboptions[bbtitle]. It could direct you to something nasty! Click OK if you wish  to trust this member and visit there website anyway.')" target="_blank" dir="ltr">$userinfo[homepage]</a>
Note:If anyone can get it working in memberlist. please post!

Works in FireFox - Internet Explorer - others not tested

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 06-07-2006, 06:20 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Smiry Kin's
i dont get what ya mean pharsing..

gimme a lil guide on how to do it, n i sure will :P
You know how to add a phrase, right? (i.e. $vbphrase[boofo_is_god])
Reply With Quote
  #13  
Old 06-07-2006, 06:24 AM
Smiry Kin's's Avatar
Smiry Kin's Smiry Kin's is offline
 
Join Date: Dec 2005
Location: United Kingdom!
Posts: 954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo
You know how to add a phrase, right? (i.e. $vbphrase[boofo_is_god])
oh ye( i think) lol.. but why would that be any difference?.. o.0
Reply With Quote
  #14  
Old 06-07-2006, 06:27 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Smiry Kin's
oh ye( i think) lol.. but why would that be any difference?.. o.0
So it could be translated easily on other boards that don't use English as a default language or a board that has more than one language installed.
Reply With Quote
  #15  
Old 06-07-2006, 11:08 AM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice little feature to have! Thanks.
Reply With Quote
  #16  
Old 06-07-2006, 01:41 PM
utw-Mephisto utw-Mephisto is offline
 
Join Date: Jan 2005
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Boofo, I am quite a n00b too .. would it be correct to insert the phrase like that :

Code:
<a href="$userinfo[homepage]" onClick="alert('$vbphrase[referrer_1] $vboptions[bbtitle]. $vbphrase[referrer_2]')" target="_blank" dir="ltr">$userinfo[homepage]</a>
where

$vbphrase[referrer_1] is : The link you are trying to access is not apart of

and

$vbphrase[referrer_2] is : It could direct you to something nasty! Click OK if you wish to trust this member and visit there website anyway.

??
Reply With Quote
  #17  
Old 06-19-2006, 02:06 PM
Smiry Kin's's Avatar
Smiry Kin's Smiry Kin's is offline
 
Join Date: Dec 2005
Location: United Kingdom!
Posts: 954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by utw-Mephisto
Boofo, I am quite a n00b too .. would it be correct to insert the phrase like that :

Code:
<a href="$userinfo[homepage]" onClick="alert('$vbphrase[referrer_1] $vboptions[bbtitle]. $vbphrase[referrer_2]')" target="_blank" dir="ltr">$userinfo[homepage]</a>
where

$vbphrase[referrer_1] is : The link you are trying to access is not apart of

and

$vbphrase[referrer_2] is : It could direct you to something nasty! Click OK if you wish to trust this member and visit there website anyway.

??
Hmm im not sure if u can put a parse in a parse or it would be alot easier?...
Reply With Quote
  #18  
Old 06-19-2006, 05:19 PM
dilbert dilbert is offline
 
Join Date: Nov 2004
Location: Boston
Posts: 251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So there is a warning that the site might not be acceptable, and there is an OK button. Should there not also be a cancel button?
Reply With Quote
  #19  
Old 06-19-2006, 11:53 PM
Top Nurse Top Nurse is offline
 
Join Date: May 2006
Location: Long Beach, CA
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dilbert
So there is a warning that the site might not be acceptable, and there is an OK button. Should there not also be a cancel button?
I think the little red X in the top right of the screen is the cancel button.
Reply With Quote
  #20  
Old 06-20-2006, 01:31 AM
dilbert dilbert is offline
 
Join Date: Nov 2004
Location: Boston
Posts: 251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah I know that, but not eveyone would be able to figure it out.
Reply With Quote
  #21  
Old 06-20-2006, 02:45 AM
Smiry Kin's's Avatar
Smiry Kin's Smiry Kin's is offline
 
Join Date: Dec 2005
Location: United Kingdom!
Posts: 954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dilbert
So there is a warning that the site might not be acceptable, and there is an OK button. Should there not also be a cancel button?
Im sure most people would no.. infact im sure 99.99% of the people no... They no X is to cross off most things. heck why would they be on a forum is they didnt no how to close there web browser..?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:36 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.05063 seconds
  • Memory Usage 2,307KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (8)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete