vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   is it possible ?? (https://vborg.vbsupport.ru/showthread.php?t=152066)

Mecho 07-12-2007 05:51 PM

is it possible ??
 
Hi ,

i want to know is there anyway that we can have a code that if someone comes for example from vb.com to my site see something and if someone comes from vb.org Doesnt !

is it possible ?

cyberphr 07-12-2007 06:44 PM

Yes, it would be done something like this...

PHP Code:

if ($_SERVER['HTTP_REFERER'] == "vbulletin.com")
{
   echo 
"something for vb.com referrals to see here";



Mecho 07-13-2007 09:21 AM

Thanks Cyber but would u plz tell me where i have to put that code ? and is it possible that u tell me what is the code if i want that for example vb.org's REFERER can not see something ..

Attilitus 07-13-2007 09:26 AM

Your running a warez site...

I can't imagine what content you would like to prevent vbulletin.org referrers from seeing </sarcasm>

I am usually not a snitch about these kinds of things... but you are just asking for it posting it out here in the open. Using vbulletin for Warez forums is a violation of your license agreement.

sunilvarma 07-13-2007 09:36 AM

Quote:

Originally Posted by Attilitus (Post 1289847)
I can't imagine what content you would like to prevent vbulletin.org referrers from seeing

maybe a nulled version of vB!! :sarcasm:

Attilitus 07-13-2007 09:37 AM

Oh no... that couldn't possibly be it. :)

By the way, $_SERVER['HTTP_REFERER'] will be empty if the person coming to your site simply refreshes the page... so it won't do you all that much good unless you add their IP address to the database and then continue to use that database entry to filter content.

Mecho 07-13-2007 09:55 AM

i just said For Example these sites ! i have popup in my site that when ppl comes from one site from my country i dont like that they see that popup ! it doesnt matter that they refresh and ... i dont want that they see that popup at the Start . so that would be great if u give me a code that if someone comes from that site doesn't see that popup .

thanks


All times are GMT. The time now is 07:02 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.00992 seconds
  • Memory Usage 1,721KB
  • 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
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete