vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Integrated HTTP Errors (https://vborg.vbsupport.ru/showthread.php?t=287936)

liamwli 09-24-2012 03:32 PM

Quote:

Originally Posted by simonhind (Post 2368000)
anyone that doesnt have this working ensure you just add

Code:

RewriteEngine on
ErrorDocument 401 /errors.php?do=401
ErrorDocument 404 /errors.php?do=404
ErrorDocument 403 /errors.php?do=403
ErrorDocument 500 /errors.php?do=500

to .htaccess

that it

Which basically what the modified htaccess file is :)

I, however, do not know how to use it with nginx. I have only ever used nginx once :)

TheSupportForum 09-24-2012 04:57 PM

Quote:

Originally Posted by liamwli (Post 2368198)
Which basically what the modified htaccess file is :)

I, however, do not know how to use it with nginx. I have only ever used nginx once :)

Code:

error_page  401  =  /errors.php?do=401;
error_page  404  =  /errors.php?do=404;
error_page  403  =  /errors.php?do=403;
error_page  500  =  /errors.php?do=500;

for nginx

TheSupportForum 10-07-2012 10:53 AM

ok lets see the changed

Integrated-HTTP-Errors-1.2.zip

1) license field & check URL added ( not needed )
this is a simple URL redirect script for http errors

2) link to your website ( branded option )
i think we would not want to show something like this on a redirect script to be honest it doesnt make it look professional

this mod has not been updated at all accept for 1 extra field entry and a license check URL

so its not worth the download for me

liamwli 10-07-2012 10:56 AM

Quote:

Originally Posted by simonhind (Post 2371332)
ok lets see the changed

Integrated-HTTP-Errors-1.2.zip

1) license field & check URL added ( not needed )
this is a simple URL redirect script for http errors

2) link to your website ( branded option )
i think we would not want to show something like this on a redirect script to be honest it doesnt make it look professional

this mod has not been updated at all accept for 1 extra field entry and a license check URL

so its not worth the download for me

Which is why I said optional update.

TBH - It would have made sense to not send the update email, I know.

TheSupportForum 10-07-2012 11:00 AM

Quote:

Originally Posted by liamwli (Post 2371334)
Which is why I said optional update.

TBH - It would have made sense to not send the update email, I know.

the problem with this is your licence url it informing you of all who has installed it
rather than the other way round

this option need to be active only if they enter a key
otherwise it breaches many laws

1) your website URL does not work http://liamwli.co.uk/
2) you need to have a policy on your website that indicate that you collect IP addresses from customers who download your mods, and why you collect them, due to this being a paid option and the fact you use a remote file to get Users IP address

liamwli 10-07-2012 11:05 AM

Quote:

Originally Posted by simonhind (Post 2371335)
the problem with this is your licence url it informing you of all who has installed it
rather than the other way round

this option need to be active only if they enter a key
otherwise it breaches many laws

1) your website URL does not work http://liamwli.co.uk/
2) you need to have a policy on your website that indicate that you collect IP addresses from customers who download your mods, and why you collect them, due to this being a paid option and the fact you use a remote file to get Users IP address

It doesn't collect any IP addresses, actually.

If you really want to know how it works, check the extra plugin.

P.S

My URL does work

TheSupportForum 10-07-2012 11:08 AM

Quote:

Originally Posted by liamwli (Post 2371336)
It doesn't collect any IP addresses, actually.

If you really want to know how it works, check the extra plugin.

yes it does i know it does

the second you install your product it called this

Code:

$url = 'http://liamwli.co.uk/liccheck.php';
$fields = array(
            'key' => urlencode($vbulletin->options['liam_bfkey']),
            'url' => urlencode($_SERVER['HTTP_HOST']),
        );

your licence key file will display a callback and show the Domain and URL and the licence key, i know this coz i use the same technique

liamwli 10-07-2012 11:26 AM

Quote:

Originally Posted by simonhind (Post 2371339)
yes it does i know it does

the second you install your product it called this

Code:

$url = 'http://liamwli.co.uk/liccheck.php';
$fields = array(
            'key' => urlencode($vbulletin->options['liam_bfkey']),
            'url' => urlencode($_SERVER['HTTP_HOST']),
        );

your licence key file will display a callback and show the Domain and URL and the licence key, i know this coz i use the same technique

That code is only executed if the license key is set. If there is no key set, then that code isn't run.

TheSupportForum 10-07-2012 11:51 AM

Quote:

Originally Posted by liamwli (Post 2371342)
That code is only executed if the license key is set. If there is no key set, then that code isn't run.

in which case you still need to inform your customer by law that this information is held by you, it must be shown on your website policy, if not it breaches laws

Naijasite 10-16-2012 08:33 PM

Its not working with my vbseo .It still showing me my default Vbulletin error page. www.naijafinder.com

i add this to my .htacess file
RewriteEngine on
ErrorDocument 401 /errors.php?do=401
ErrorDocument 404 /errors.php?do=404
ErrorDocument 403 /errors.php?do=403
ErrorDocument 500 /errors.php?do=500

But still not working


All times are GMT. The time now is 03:06 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.01714 seconds
  • Memory Usage 1,749KB
  • 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
  • (4)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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