vrflyer
Members-
Posts
32 -
Joined
-
Last visited
Everything posted by vrflyer
-
I'll try to describe as best as I can what I need help with. When I google my site it shows up in two different ways, one being the normal "www.mysite.com", it may also show up as "www.mysite.com/~homefolder/". How can this be fixed ?
-
The only inconvenience as some may have already mentioned is the use of mild to heavy modded php based forums is like looking for a needle in a haystack dilemma. I still haven't resolved a couple of my forum issues, even via ticket support.
-
....and out of no where it's started working as of this morning - weird.
-
So after couple years of "it" running ok - now it will not work whe creating a THUMB of a pic from any linked URL. >// Start function getsize($url) { global $userdata; // Maximum width and height for inpost images leave one of them as 0 to keep the right dimensions. $iWidth = 200; $iHeight = 0; // JPEG Quality $quality = 85; $base = basename($url); $base_ext = substr($base, 0, -4); $id = $userdata['username'] . "_" . $base_ext; // broken_link $broken_link = $phpbb_root_path . "images/no_pic.jpg"; if(@!$size = getimagesize($url)) { return $broken_link; } $img_size = getimagesize($url); $real_width = $img_size[0]; $real_height = $img_size[1]; if($real_width > $iWidth OR $real_height > $iHeight) { // Find the height or width if 0 is the value. if($iHeight == 0) { $percent = $size[1] / $size[0] * 100; $iHeight = round($iWidth / 100 * $percent, 0); } if($iWidth == 0) { $percent = $size[0] / $size[1] * 100; $iWidth = round($iHeight / 100 * $percent, 0); } // Look up the extension of the image and use the right functions. $cut_url = strlen($url) - 3; $ext = substr($url, $cut_url); // .jpg if($ext == "jpg") { $im = imagecreatefromjpeg($url); $ow = imagesx( $im ); $oh = imagesy( $im ); $wscale = $iWidth / $ow; $hscale = $iHeight / $oh; $scale = ( $hscale < $wscale ? $hscale : $wscale ); $nw = round( $ow * $scale, 0 ); $nh = round( $oh * $scale, 0 ); $dstim = imagecreatetruecolor( $nw, $nh ); imagecopyresampled( $dstim, $im, 0, 0, 0, 0, $nw ,$nh ,$ow ,$oh ); imagejpeg( $dstim, $phpbb_root_path . "images/thumbs/" . $id . ".jpg", $quality); imagedestroy( $dstim ); $thumb = $id . ".jpg"; // .gif } elseif($ext == "gif") { $im = imagecreatefromgif($url); $ow = imagesx( $im ); $oh = imagesy( $im ); $wscale = $iWidth / $ow; $hscale = $iHeight / $oh; $scale = ( $hscale < $wscale ? $hscale : $wscale ); $nw = round( $ow * $scale, 0 ); $nh = round( $oh * $scale, 0 ); $dstim = imagecreatetruecolor( $nw, $nh ); imagecopyresampled( $dstim, $im, 0, 0, 0, 0, $nw ,$nh ,$ow ,$oh ); imagejpeg( $dstim, $phpbb_root_path . "images/thumbs/" . $id . ".gif"); imagedestroy( $dstim ); $thumb = $id . ".gif"; // .png } elseif($ext == "png") { $im = imagecreatefrompng($url); $ow = imagesx( $im ); $oh = imagesy( $im ); $wscale = $iWidth / $ow; $hscale = $iHeight / $oh; $scale = ( $hscale < $wscale ? $hscale : $wscale ); $nw = round( $ow * $scale, 0 ); $nh = round( $oh * $scale, 0 ); $dstim = imagecreatetruecolor( $nw, $nh ); imagecopyresampled( $dstim, $im, 0, 0, 0, 0, $nw ,$nh ,$ow ,$oh ); imagepng( $dstim, $phpbb_root_path . "images/thumbs/" . $id . ".png"); imagedestroy( $dstim ); $thumb = $id . ".png"; // Hvis det skulle være .php endelser! } elseif($ext == "php") { $iUrl = $lang['no_php']; return $iUrl; // Ellers kan billedet ikke virke! } else { return $broken_link; } } $iUrl = "[" . $phpbb_root_path . "images/thumbs/" . $thumb . "]" . $url; // Hvis billedet nu ikke er for stort! if($real_width < $iWidth && $real_height < $iHeight) { $iUrl = "[" . $url . "]" . $url; } return $iUrl; } Any ideas on your end>?
-
Opened a ticket - see what they can fix, since it's getting very annoying....
-
Yeah mine started doing this over the past 48hrs out of nowhere...
-
Anyone noticed www.phpbb.com along with other numerous sites got hit over the weekend due to this security hole.... Here's a good link also from an end user: http://www.chovy.com/2005/02/simiens-crew-...hey-did-it.html
-
Mine is out of random "slow" on most ocassions... MY CPanel often takes forever to load(also out of nowhere) ...
-
I was going to say, I just singed up to a newer plan & this is awesome !!! Way to stay competitive !!!
-
All grat ideas thanks ... Thumbs Up
-
Is there a better way to break down the "bandwith" ??? :Nerd: NOT Just (see below): I need to know what's affecting my bandwith all of the sudden .... Thx...
-
-
My forum reads as: Mon Oct 27, 2003 1:36 pm right now ??? After Daylight savings time took effect .... Thanks... EDIT: Sorry Server #14
-
My forum reads as: Mon Oct 27, 2003 1:36 pm right now ??? After Daylight savings time took effect .... Thanks...
-
Best overall informative website based on a forum ? OK , where's my "puter" ?
-
My "stats" have stopped working again ? Can someone look into please, pretty please, w/sugar on top
-
How Often Does Awstats Update?
vrflyer replied to RockNRollPig's topic in CPanel and Site Maintenance
Maybe I sniffed too much glue ? Can some one give me a sample of their path for a CronJob AWSTATS >>> Thx. I read the other threads allready, but didn't make sense to me. -
YES, If you add more lines into the configuration part. EX: SetEnvIfNoCase Referer "^http://mail.your-domain-name-here.com/" locally_linked=1
-
I found this, so far it works:
-
You are right... when I checked to see if I was gettin' "HIT".... I noticed my GIF's & JPG's are showing up on other sites .... I thought to myself isn't , Hot-Link suppossed to help out here ? Sometimes it works sometime it doesn't ? What gives ?
-
What the Heck ?
-
Bit confused on how to use this still.... If I type the web domain as http://www.yoursite.com , I get the re-direction to the "hot-link" protection PNG file. But if I type sam domain with a "/ " like this: http://www.yourstie.com/ , then it's ok ........ Am I using this wrong or should I use something else instead ? Ho can I prevent this?
-
Issue Fixed this morning !!! ... Thx TCH group !
-
Server #14 (I believe), I have same problem ... Nothing updated since 4/3/03 ???
-
In my CPanel I don't know why I get this for "CRON" Job link : Not Found: The server was not able to find the document (./frontend/bluelagoon/cron/simplecron.html) you requested. Please check the url and try again. You might also want to report this error to your webhost. -------------------------------------------------------------------------------- cpaneld/6.0 Server at www.cbushondas.com ........ Any Ideas, I would like to use my AWStats... as they appear "Not Updated". Thx
