vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Miscellaneous Hacks - IPV6 Support in VB3 (https://vborg.vbsupport.ru/showthread.php?t=219711)

matrex722 05-31-2012 10:55 PM

installed 3.8.7
thanks

Chris8 05-30-2013 08:26 PM

So, what are the pros of doing this?

Zachery 05-31-2013 04:06 AM

For the record, vBulletin operates just fine with a server running ipv6.

AusPhotography 11-14-2013 08:23 AM

To fix this mod for vB 4.2 change the code as follows: (added %256 on 3 lines)
PHP Code:

function ipv6_to_ipv4($input) {
    
// Create a fake ipv4 address
    // that will "represent" the given
    // ipv6 address
    
$hash abs(crc32($input));
    if(
$hash 100000000$hash += 100000000;
    
$num1 intval(substr($hash03))%256;
    
$num2 intval(substr($hash33))%256;
    
$num3 intval(substr($hash63))%256;
    return 
"224." .$num1"." .$num2"." .$num3;



AusPhotography 11-16-2013 04:02 AM

WHM/cPanel 11.40.0.19 now supports IPv6

Here are some useful links...

Release notes
http://docs.cpanel.net/twiki/bin/vie...easeNotes#IPv6

Blog... (video how to)
http://blog.cpanel.net/ipv6-update/

Instructions...
http://docs.cpanel.net/twiki/bin/vie...ocs/EnableIpv6

I've setup to use IPv6 using WHM/cPanel 11.40.0.19 on a XEN Virtual server
http://www.ausphotography.net.au
IP 4/6 displays in page footer

TMM-TT 06-30-2014 09:52 AM

The actual problem seems to be a very simple variable in core - SESSION_HOST, at least for the "who's online"-part. Or are there more different methods that has to be changed also?

I have described the problem here: https://tornevall.net/forum/showthre...9-ipv6-support.


All times are GMT. The time now is 01:59 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.01057 seconds
  • Memory Usage 1,726KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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