vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Give Warning Before Visiting Members Home Page (https://vborg.vbsupport.ru/showthread.php?t=117868)

Smiry Kin's 06-06-2006 10:00 PM

Give Warning Before Visiting Members Home Page
 
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

DementedMindz 06-07-2006 04:42 AM

i personally have no use for it at this time but nice work..

Smiry Kin's 06-07-2006 04:49 AM

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 :)

DementedMindz 06-07-2006 04:54 AM

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..

Atakan KOC 06-07-2006 05:31 AM

Nice idea :) Thanks

Smiry Kin's 06-07-2006 05:34 AM

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

Boofo 06-07-2006 05:58 AM

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?

Smiry Kin's 06-07-2006 06:05 AM

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

Boofo 06-07-2006 06:08 AM

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. :p

Smiry Kin's 06-07-2006 06:13 AM

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. :p

i dont get what ya mean pharsing.. :(

gimme a lil guide on how to do it, n i sure will :P


All times are GMT. The time now is 02:43 AM.

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.01029 seconds
  • Memory Usage 1,738KB
  • 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_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete