Status
Not open for further replies.

waterboy100

New member
Hi :)
First of all, im not sure if i filled the "Product Version" and "Browser" correctly, so let me know if i did something wrong with that.
Now for the problem, whenever i install this:
http://www.vbulletin.org/forum/showthread.php?t=231873&page=7&highlight=proxy
and do only the first step of it, which is replacing something in the class_core.php, all the shoutbox codes get messed up...
I searched for a solution but couldn't find any, and the writer of this code said to ask you (DBTech).

Thank you.
 
Product Version is the version of vBShout you're running.
Browser is your internet browsing software, like Internet Explorer or Firefox.

I've completed the step in the readme, and the shoutbox is fine :)

Unless you can be more specific about what exactly happens, there's nothing I can do.
 
OK, so this is what happens,
first i get this  sign up in the left corner (way up in forum about banner) (wrote this one cuz it might help you find out what's wrong),
also here is picture of shoutbox:
don't mind what is written in the shoutbox (that problem we were talking about is fixed..)
27xi2bc.jpg


so, there is that Error and also no lines, all is written in one line, and that Loading... is there all the time, after a while shoutbox kinda reboot of some kind for like half a second then get back to that state..

================================================
this is the code i replace:



// fetch client IP address
$registry->ipaddress = $this->fetch_ip();
define('IPADDRESS', $registry->ipaddress);

// attempt to fetch IP address from behind proxies - useful, but don't rely on it...
$registry->alt_ip = $this->fetch_alt_ip();
define('ALT_IP', $registry->alt_ip);




i replace it with:




// Paul M - Get ip addresses.
$registry->ipaddress = $this->fetch_ip();
$registry->alt_ip = $this->fetch_alt_ip();

// Check that alt_ip is valid address, reset to original if not.
if (preg_match("#\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}#", $registry->alt_ip, $iplist))
{
$registry->alt_ip = $iplist[0];
}
else
{
$registry->alt_ip = $registry->ipaddress;
}

// Set ip constants.
if ($registry->ipaddress == $registry->alt_ip)
{
define('PROXYIP','');
define('ALT_IP',$registry->alt_ip);
define('IPADDRESS',$registry->ipaddress);
}
else
{
define('ALT_IP',$registry->alt_ip);
define('IPADDRESS',$registry->alt_ip);
define('PROXYIP',$registry->ipaddress);
$registry->ipaddress = $registry->alt_ip;
}



==========================================

exactly like on the guide.. would appreciate all help possible thanks!

P.S \ also fixed the product version and browser



in product version, im using vBShout v5.1.0
 
Last edited:
I dunno what else to try then, in fairness my test board is 4.1.1 but it still doesn't happen to me...
 
Status
Not open for further replies.

Similar threads

Legacy vBShout

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
3,179
Customer rating
5.00 star(s) 1 ratings
Back
Top