Go Back   vb.org Archive > Search Forums
FAQ Community Calendar Today's Posts Search

Showing results 1 to 4 of 4
Search took 0.00 seconds.
Search: Posts Made By: lambdacerro
Forum: vB3 Programming Discussions 12-18-2007, 10:53 PM
Replies: 11
Views: 1,874
Posted By lambdacerro
That's nice, but if you use shared hosting, the...

That's nice, but if you use shared hosting, the best is to use my code.

Btw, do you have any guide to make work that api?
Forum: vB3 Programming Discussions 12-17-2007, 03:30 AM
Replies: 11
Views: 1,874
Posted By lambdacerro
Ok, releasing the code and database: What...

Ok, releasing the code and database:

What you need:
A website (duh)
A IP To Country Database (included here)

So the script is like this:

<?php
// Check if the cookie exists
Forum: vB3 Programming Discussions 12-16-2007, 05:43 PM
Replies: 11
Views: 1,874
Posted By lambdacerro
My community is dedicated to only a region in the...

My community is dedicated to only a region in the world, and this would help me to redirect that people who is not part of my region and spend less bandwidth in my hosting.
Forum: vB3 Programming Discussions 12-16-2007, 04:00 PM
Replies: 11
Views: 1,874
Posted By lambdacerro
Country Restriction Script

Hello,

I've coded a PHP script that restricts the access in my forum to some countrys, it works with an IP to country database and a cookie so it checks every half an hour.

I want to know where...
Showing results 1 to 4 of 4

 
Forum Jump

All times are GMT. The time now is 04:22 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.01229 seconds
  • Memory Usage 1,900KB
  • 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)footer
  • (1)forumjump
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (2)navbar_link
  • (120)option
  • (1)post_thanks_navbar_search
  • (1)search_results
  • (4)search_results_postbit
  • (1)spacer_close
  • (1)spacer_open
  • (8)threadbit_pagelink 

Phrase Groups Available:
  • global
  • inlinemod
  • prefix
  • search
Included Files:
  • ./search.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_search.php
  • ./includes/functions_databuild.php
  • ./includes/functions_forumlist.php
  • ./includes/functions_misc.php
  • ./includes/functions_forumdisplay.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • search_before_process
  • search_start
  • search_results_start
  • search_results_query_posts
  • search_results_prebits
  • threadbit_process
  • search_results_postbit
  • forumjump
  • search_complete
  • navbits
  • navbits_complete