Jump to content

MikeJ

Members
  • Posts

    2,369
  • Joined

  • Last visited

Everything posted by MikeJ

  1. Use this script on your server: <?php phpinfo(); ?> Then look for "ZLib Support" in the output to see if it's enabled or not.
  2. Sorry, I missed your reply. Yes, that was cancelled. I was told by the TCH staff that their actual live testing with it activated for the entire server produced too much load, so the decision was made, at least for now, not to enable it server wide.
  3. In your weblog perferences, check your setting of "Number of days displayed". Your entry probably falls beyond that (and the rebuild is what caused it to refresh the front page display of entries, removing any outside of that range). Just increase the number of days displayed, rebuild, and you should be set. What to set it to depends on how frequently or infrequently you intend to update your blog.
  4. As for fantastico, we don't have that here. However, Invision Power Board (what this is) and phpBB forums are both available for one click installs without Fantastico being required. As for 4images, that you would have to install manually, but there's a good wealth of people here that can help you figure out any problems along the way.
  5. It's generally a bad idea to have spaces in your tables names, but I believe it can be done by using back ticks (`) in the query. >$result = mysql_query ("SELECT `column 1`, `column 2`, `column 3` FROM `table 1`, `table 2`, `table 3` WHERE id = '".$id.2"' AND id = '".$id.3."' AND id.3 = '".$1."' ORDER BY `column 1`"); You could give that a try.
  6. Btw, I should mention that if you are hosted on a shared hosting account and you post on a lot of high volume boards, this might not be the best tool for you to install. I've recieved close to 23,000 hits to it this month alone just from the TCH forums and I'm the only one with it in my sig.
  7. You can add text to the QUOTE tag. If you select the "quote" button, instead of the "reply" button, the forum does it for you. For example, the quote block above uses
  8. I wanted something a little more stable than OSI, and I wanted support for BitWise, so I wrote my own script. Plus it was a good excercise in learning PHP. Currently supports ICQ, AIM, Yahoo, and BitWise. Does not support MSN, may never support MSN because they don't provide any easy way of checking status (other than an MSN bot which is not the most reliable). I don't really use MSN either. The goal of this script was to be fast (for minimal effect for forum sigs and web pages)... so it caches the result for 2 minutes (so the change in state can take up to 2 minutes) and when it attempts to get the status from the offical servers, it will timeout after 5 seconds and deliver an offline status (instead of hanging). This is pretty much as polished as it's gonna be for awhile probably. I'm pretty new to PHP so I don't claim it to be quality code. This isn't quite plug and play either (requires phpCache and cURL). If anyone finds it useful or has suggestions for improvements, I wouldn't mind hearing from ya. <http://biggorilla.com/tools/imstatus.phps> ><?php /* Instant Messenger Status v1.0 - Allow use of custom status icons Copyright (C) 2004 Michael Jones - mike@biggorilla.com This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. <http://www.gnu.org/licenses/gpl.txt> ----- Requires phpCache <http://www.0x00.org/php/phpCache/> Comment out the line "ob_end_flush();" in phpCache.inc so that headers don't get sent prematurely (Line 249 in phpCache v1.4) Depending on your environment, you may also want to change CACHE_DIR. Requires PHP to have cURL support compiled in. Check your PHP configuration. <http://curl.haxx.se/> ----- Usage: http://******/imstatus.php?<imtype>=<user>&on=<url>&off=<url> Online and Offline images are optional (specify location for default images below) Aim status requires an aimon.txt and aimoff.txt with 01 and 00 with no newline (echo -n 01 > aimon.txt) for simplicity (I wanted to be able to cache a result). */ ini_set("display_errors","0"); // Set to 1 for debugging $imgurl = "http://******/images/imstatus/"; // Location of default images include("phpCache/phpCache.inc"); // Change to location of phpCache.inc file function get_status($url) { $res = curl_init(); curl_setopt($res, CURLOPT_URL, $url); curl_setopt($res, CURLOPT_HEADER, 0); curl_setopt($res, CURLOPT_TIMEOUT, 5); curl_setopt($res, CURLOPT_RETURNTRANSFER, 1); curl_setopt($res, CURLOPT_FOLLOWLOCATION, 1); return curl_exec($res); curl_close($res); } if ($yahoo) { if (!$on) $on = $imgurl."yahooonline.gif"; if (!$off) $off = $imgurl."yahoooffline.gif"; if (!($et=cache_all(120))) { $status = get_status("http://opi.yahoo.com/online?u=$yahoo&m=t&t=1"); cache_variable("status"); endcache(); } if ($status == "01") { header("Location: $on"); } else { header("Location: $off"); } } elseif ($aim) { if (!$on) $on = $imgurl."aimonline.gif"; if (!$off) $off = $imgurl."aimoffline.gif"; if (!($et=cache_all(120))) { $status = get_status("http://big.oscar.aol.com/$aim?on_url={$imgurl}aimon.txt&off_url={$imgurl}aimoff.txt"); cache_variable("status"); endcache(); } if ($status == "01") { header("Location: $on"); } else { header("Location: $off"); } } elseif ($icq) { if (!$on) $on = $imgurl."icqonline.gif"; if (!$off) $off = $imgurl."icqoffline.gif"; if (!($et=cache_all(120))) { $image = get_status("http://status.icq.com/online.gif?icq=$icq&img=5"); $status = crc32($image); cache_variable("status"); endcache(); } switch ($status) { case "-1418424622": // Online header("Location: $on"); break; default: // Offline or Error header("Location: $off"); } } elseif ($bitwise) { if (!$on) $on = $imgurl."bwonline.gif"; if (!$off) $off = $imgurl."bwoffline.gif"; if (!($et=cache_all(120))) { $image = get_status("http://www.bitwisecommunications.com/users/webBug.php?id=$bitwise"); $status = crc32($image); cache_variable("status"); endcache(); } // CRC values based on text-only Bitwise status icons (see your BW online preferences) switch ($status) { case "-1496083650": // Online case "-1796816539": // Away header("Location: $on"); break; default: // Offline or Error header("Location: $off"); } } ?>
  9. Some of it I think is yahoo itself. Since Online Status still has to connect to the IM providers to get the actual status, it is still problematic if the service is. My status icons are using a script I've been writing (experimenting with improving the responses) and I've noticed that the last several days Yahoo has been very inconsistant with responding to queries and thus had similar problems as the tchstatus service... one of the reasons I have now added status caching in my script ... if there's a 2 minute lag in what my status shows, that's worth it to have instant responses to displaying the images... in most cases... still have to work out a couple things, like the attempts to update the cache can still take some time if the respective IM service is not responding well).
  10. Just visiting their website made me cringe.
  11. You don't control your base reseller account in your WHM, because that's the account your WHM management is under. If you want your theme in that account changed, you will need to submit a help desk ticket.
  12. The theme variable should be the same as what shows up in your cPanel info as the theme selected. For the X theme, it should be simply "x". To double check, look in the URL. The path should show something like: /frontend/x/index.html ... the directory after frontend is what your theme variable needs to be set to.
  13. Yea, I'm pretty sure I know what is going on. If you PM me an IM contact, or IM me in a few hours (when I'm home and have more time to look into it), I should be able to help you figure it out if you haven't by then.
  14. Most likely RR has blocked individual servers or blocks of servers in the same IP range of TCH's based on past customers that may have broken their TOS by spamming. TCH has servers in multiple datacenters on multiple IP segments however, so that would explain why some might work and some might not while TCH attempts to get RR to remove all of TCH from their blacklists.
  15. Ahh, ok.... there are directories within the tree that shouldn't be accessible. Yea, it makes a lot more sense now. Yea, that should be possible to set it up that way, but I believe you'll need to submit a help desk ticket to have that link created since File Manager (or ftp for that matter) I'm pretty sure doesn't have the ability to create symbolic links. Try to be as descriptive as possible about what you need setup when you submit the ticket.
  16. It's not free, but a friend of mine I host uses Arles (http://www.digitaldutch.com/arles/ - $49 single user cost) if you want what appears to be a pretty user friendly program to create image galleries.
  17. They have to be accessible via public_html directory tree (or at least accessible to the webserver) to be executed/displayed through the webserver, so there's really no difference if they are actually there, or linked from there. About the only exception would be if all of the PHP scripts were used via includes in files that were in public_html. I honestly think they are probably asking for a level of complexity that will buy them no level of additional security unless there's some additional part of the request that isn't being stated. If the php scripts are in the public_html directory, people still cannot access them as source (they will be processed before ever being delivered via the webserver).
  18. Put the line "Options All -Indexes" in the .htaccess file in your public_html directory to disable indexes for your entire site, or put it in individual .htaccess files in their appropriate directories to turn it off for specific directory trees.
  19. The case above was definitely extenuating circumstances. He made the post asking for a dedicated server after posting a bunch of libel about TCH. Would you sell someone services after they posted false negative information about you? I don't speak for the staff of TCH, but as you are a customer of TCH, reselling/competing with them isn't really any problem, since you're still paying TCH for the services you are reselling.
  20. That is odd. Server34 HTTPS cpanel comes up fine for me. Since you are using your ISP's proxy server, I would still recommend inquring with them as well, especially since you state that it only happens when you are using their proxy server. They should be able to help troubleshoot the problem.
  21. HTTPS uses SSL (secure sockets layer) to encrypt the connection. HTTP = your username, password, and all transactions are sent between you and the server in plain text. If someone compromises a system on or near either end they could potentially capture that information. HTTPS = your username, password, and all transactions are sent between you and the server encrypted. Someone captures the data inbetween and it would just look like garbarge to them.
  22. Your ISP's proxy server is probably blocking port 2083. That error you are showing in your earlier post is not coming from the TCH server (it's probably coming from the ISP's proxy server). It looks like they block HTTPS to non-standard ports. Contact your ISP for assistance on that.
  23. It looks like you probably have $ftpmode set to passiveftp. Try changing that to ftp to enable Active FTP mode.
  24. Questions regarding items working (or not working) in specific accounts should go to the Help Desk.
  25. Just for clarification.... All the certificate does is validate that the host is who it claims to be. With an expired certificate, you lose that. Without a valid certificate, the connection is still secure in that it's still encrypted, you just don't have a way of validating who exactly you connected to opening up the possibility of someone redirecting connections to another server to hijack your entries. It basically works using a public and private key method. Your browser gets a public key from a certificate authority (such as versign, thawte, geotrust, etc...), and the web server you connect to has a private key installed on it. If the two correspond with each other, you have validated a connection and you won't get an error. The certificate is installed by the server admin, and has to be renewed periodically. If an error is popping up stating that the certificate is invalid or expired, then the certificate is either not installed correctly on the webserver, or has not been renewed. To correct this, you will have to deal with whomever manages the server for that website to get a new certificate installed (or the current one installed correctly).
×
×
  • Create New...