Jump to content

vrflyer

Members
  • Content Count

    32
  • Joined

  • Last visited

Everything posted by vrflyer

  1. 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 ?
  2. 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.
  3. ....and out of no where it's started working as of this morning - weird.
  4. 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>?
  5. Opened a ticket - see what they can fix, since it's getting very annoying....
  6. Yeah mine started doing this over the past 48hrs out of nowhere...
  7. 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
  8. Mine is out of random "slow" on most ocassions... MY CPanel often takes forever to load(also out of nowhere) ...
  9. I was going to say, I just singed up to a newer plan & this is awesome !!! Way to stay competitive !!!
  10. All grat ideas thanks ... Thumbs Up
  11. 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...
  12. Eh ? Excuse the mess, but my "main" DEV pc is down for the count .....
  13. My forum reads as: Mon Oct 27, 2003 1:36 pm right now ??? After Daylight savings time took effect .... Thanks... EDIT: Sorry Server #14
  14. My forum reads as: Mon Oct 27, 2003 1:36 pm right now ??? After Daylight savings time took effect .... Thanks...
  15. Best overall informative website based on a forum ? OK , where's my "puter" ?
  16. My "stats" have stopped working again ? Can someone look into please, pretty please, w/sugar on top
  17. 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.
  18. YES, If you add more lines into the configuration part. EX: SetEnvIfNoCase Referer "^http://mail.your-domain-name-here.com/" locally_linked=1
  19. 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 ?
  20. 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?
  21. Issue Fixed this morning !!! ... Thx TCH group !
  22. Server #14 (I believe), I have same problem ... Nothing updated since 4/3/03 ???
  23. 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
×
×
  • Create New...