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
  #2  
Old 06-07-2006, 04:42 AM
DementedMindz DementedMindz is offline
 
Join Date: Jan 2006
Posts: 1,474
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i personally have no use for it at this time but nice work..
Reply With Quote
  #3  
Old 06-07-2006, 04:49 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 DementedMindz
i personally have no use for it at this time but nice work..
was just thinking about it, so i decided to added it to my forum, thought others might want it also
Reply With Quote
  #4  
Old 06-07-2006, 04:54 AM
DementedMindz DementedMindz is offline
 
Join Date: Jan 2006
Posts: 1,474
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

im sure alot of members will have use for it i just cant use it right now as im redoing alot of things on my site..
Reply With Quote
  #5  
Old 06-07-2006, 05:31 AM
Atakan KOC's Avatar
Atakan KOC Atakan KOC is offline
 
Join Date: Feb 2006
Location: Istanbul
Posts: 710
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice idea Thanks
Reply With Quote
  #6  
Old 06-07-2006, 05:34 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 DementedMindz
im sure alot of members will have use for it i just cant use it right now as im redoing alot of things on my site..
oh, but its only a simple template edit. :P
Reply With Quote
  #7  
Old 06-07-2006, 05:58 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

2 things: 1 - Please post the instructions in a text file and 2 - Why don't you use phrases for this so it can be translated easily?
Reply With Quote
  #8  
Old 06-07-2006, 06:05 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
2 things: 1 - Please post the instructions in a text file and 2 - Why don't you use phrases for this so it can be translated easily?
1 why in post file? o.0 but ok

2 cos im a noob :P but i still do what i can to contribute to vb.org

3 install it ya bum :P
Reply With Quote
  #9  
Old 06-07-2006, 06:08 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
1 why in post file? o.0 but ok

2 cos im a noob :P but i still do what i can to contribute to vb.org

3 install it ya bum :P
1. The text file is for those that may have to install it again after an upgrade or template re-convert so they don't have to search the org for the code later on.

2. We appreciate your contributions here, sir.

3. Phrase it and put it in a text file and maybe this bum will install it.
Reply With Quote
  #10  
Old 06-07-2006, 06:13 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
1. The text file is for those that may have to install it again after an upgrade or template re-convert so they don't have to search the org for the code later on.

2. We appreciate your contributions here, sir.

3. Phrase it and put it in a text file and maybe this bum will install it.
i dont get what ya mean pharsing..

gimme a lil guide on how to do it, n i sure will :P
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 06:28 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05905 seconds
  • Memory Usage 2,295KB
  • Queries Executed 23 (?)
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
  • (6)bbcode_code
  • (5)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
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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