Jump to content

TCH-Dick

Admins
  • Posts

    6,029
  • Joined

  • Last visited

Everything posted by TCH-Dick

  1. Sorry but we do not offer installation services. However, I did something that we do not do and have made the neccesary changes for you. I think you should look into the tutorials that we offer and read the manuals for the scripts you install for future reference as this is not something will be willing to perform again. You can now change your password without it affecting your scripts. If you still have these issues regardless of the changes I made then you will have to submit a ticket. Here are the changes I made so you can see what was done. 1. Created two new users and added them to there relevant database. If you are not sure how this is done please view this tutorial. http://help.totalchoicehosting.com/cpanel_...createmysql.htm 2. Located the config file for Gallery at /public_html/gallery/include/config.inc.php I then changed the following and saved the file. >$CONFIG['dbuser'] = '******'; // Your mysql username $CONFIG['dbpass'] = '*****'; // Your mysql password 3. Located the config file for vBulletin at /public_html/forum/includes/config.php then changed the following and saved the file. >// ****** DATABASE USERNAME & PASSWORD ****** // This is the username and password you use to access MySQL. // These must be obtained through your webhost. $dbusername = '******'; $dbpassword = '*****'; While that may look like a lot of work it took less than two minutes. The only optons that you will have in the future are to read the manual or pay someone to maintain these scripts. We do not offer support for 3rd party scripts I just did this to help get you on the right track.
  2. I own nothing but Nikon and I love my 35mm SLR but the size is a pain. Anyway my current digital is a CoolPix 4300 and recently got my mother a CoolPix 4600. They are not always as small as some but I really like the features. I can set it to Auto for point and shoot or Manual if I want to get fancy. One thing you might take into consideration is addons. I believe all of the CoolPix series (mine does) are threaded for and offer options such as wide angle, fisheye, and a converter for slides/negatives.
  3. >option varchar( 50 ) NOT NULL default '', OPTION is a reserved word, you will need to change the that to something else.
  4. I don't know what that is and don't care, but I want one.
  5. I was just kind of amazed, I didnt think it was something that occured often until I searched Google.
  6. http://www.chron.com/cs/CDA/ssistory.mpl/m...politan/3215966 After seeing this local story I decided to search Google News. If you want to see what I found try some of these searches. "golf cart" "golf cart death" "golf cart accident" "golf cart crash"
  7. I don't use Dada mail or any mailing list for that matter, as I find them to be an antiquated method of communication. However, my personal opinions aside, your question seems a little broad to me. Can you clarify what you are trying to do? I honestly don't understand why you would need to make it work with cPanel.
  8. This falls under much of the same issues as when you wanted to install Flash123. If you need to host something such as a video conference, then you will need to upgrade to a dedicated server.
  9. SFTP is a part of the SSH protocol and since we do not provide shell access you will not be able to use SFTP.
  10. Yes you need to change it to index.
  11. Are you not using individual accounts? It doesn't sound like it, and that is one of the many reasons/purposes to create accounts.
  12. Yoda was great, but I wasn't expecting the amount of screen time the gave R2.
  13. Well I just got back and it was excellent! I think R2D2 was my favorite part of the whole movie.
  14. It's possible but I don't of anything that someone has already created.
  15. Never hurts to try
  16. Ok, I looked through my notes and it will run after having some perl modules installed. I did not really use it so I can not say what affect it would have on a shared server enviroment.
  17. I did try it once but ran into alot of issues. I honestly don't remember what the problems where but I decided to not use it.
  18. I am closing this thread and you MUST take this issue up with the help desk. As Andy has informed you "we can not deal with it here", so there is no need in this to continue.
  19. No problem, I glad you got it to work.
  20. 1. It does not have a login. 2. Where ever you want. 3. yourtchsite.com/webmail Here is an edited version that provides a login and uses a config file. Just create a directory and drop these files in it. config.php ><?php // Admin Logon Details $accessname = ""; $accesspass = ""; // cPanel Logon Details $username = ""; $password = ""; // Domain details $domain = "blah.com"; $theme = "x";//eg "bluelagoon"; // Parameters to parse $eDomain = "blah.com"; $eQuota = "5"; // eg"10"; ?> index.php ><?php /* Create POP email accounts */ require_once("config.php"); //include('header.php'); if (!isset($PHP_AUTH_USER)) { header('WWW-Authenticate: Basic realm="Site Statistics"'); header('HTTP/1.0 401 Unauthorized'); echo 'Authorization Required.'; exit; } else if (isset($PHP_AUTH_USER)) { if (($PHP_AUTH_USER != $accessname) || ($PHP_AUTH_PW != $accesspass)) { header('WWW-Authenticate: Basic realm="Site Statistics"'); header('HTTP/1.0 401 Unauthorized'); echo 'Authorization Required.'; exit; } else { if (isset($delpop)) { print "Account deleted : ".$popuser."@".$eDomain; $postfields = "email=$popuser&domain=$eDomain"; $url = "http://$username:$password@$domain:2082/frontend/$theme/mail/realdelpop.html?$postfields"; //print "<hr>"; //print $url; // initialise Curl $popPost = curl_init(); curl_setopt($popPost, CURLOPT_URL, $url); // Set Curl Option: Username:Password curl_setopt($popPost, CURLOPT_POST, 1); // Set Curl Option: Collect result from script curl_setopt($popPost, CURLOPT_RETURNTRANSFER, 1); // Set Curl Option: Set timeout to 15 seconds curl_setopt($popPost, CURLOPT_TIMEOUT, 15); // Set Curl Option: Post data //curl_setopt($popPost, CURLOPT_POSTFIELDS, $postfields); // Execute Request, and store result in $tb_post $popPost_result = curl_exec ($popPost); // Close Curl curl_close ($popPost); $start = strpos($popPost_result, 'Account'); $end = strpos($popPost_result, 'Go'); $subset = substr($popPost_result, $start, $end+8-$start); print $substr; } if (isset($eEmail)) { $ePassword = $password2; // Put post fields variable together $postfields = "email=$eEmail&domain=$eDomain&password=$ePassword&quota=$eQuota"; // initialise Curl $popPost = curl_init(); // Set Curl Option: URL $url = "http://$username:$password@$domain:2082/frontend/$theme/mail/doaddpop.html?$postfields"; curl_setopt($popPost, CURLOPT_URL, $url); // Set Curl Option: Username:Password curl_setopt($popPost, CURLOPT_POST, 1); // Set Curl Option: Collect result from script curl_setopt($popPost, CURLOPT_RETURNTRANSFER, 1); // Set Curl Option: Set timeout to 15 seconds curl_setopt($popPost, CURLOPT_TIMEOUT, 15); // Set Curl Option: Post data //curl_setopt($popPost, CURLOPT_POSTFIELDS, $postfields); // Execute Request, and store result in $tb_post $popPost_result = curl_exec ($popPost); // Close Curl curl_close ($popPost); //output results $start = strpos($popPost_result, '<b>Account'); $end = strpos($popPost_result, 'created.'); $subset = substr($popPost_result, $start, $end+8-$start); $subset = str_replace('login ', "login<br>", $subset); //for neatness //$subset=str_replace("<!",'<-',$subset); //see the comments if (preg_match ('/Sorry/i', "$subset")) { print "<br><b> Sorry that account already exists.</b><br><br><br><br><br><br><br>"; //print ($subset); } elseif(preg_match ('/You must specify/i', "$subset")) { print "<br><b> You must specify a password.</b><br><br><br><br><br><br><br>"; } else { print ($subset); print "<br><br>You may now use <b>mail.$domain</b> as your POP3 setting in your mail client or access <b>WebMail</b> by selecting <a href=http://$domain/webmail>Here</a>. <center> <br><a href=javascript:history.go(-1)>Go Back</a> </center>"; } } else { ?> <form name="emailform" method="post" action="index.php"> <table border="0" cellspacing="1" align=center cellpadding="0"> <tr> <td>Prefered Email Address:</td> <td colspan="2"><input size=10 value="" name="eEmail" type="text"> @<?= $domain ?></td> </tr> <tr> <td>Password:</td> <td colspan="2"><input size=10 name="password1" value="" type="password"></td> </tr> <tr> <td>Retype Password:</td> <td colspan="2"><input size=10 name="password2" value="" type="password"></td> </tr> <tr> <td> </td> <td colspan="2"> </td> </tr> <tr> <td> </td> <td width="344"> <div align="center"> <input name="signupbtn" type="button" id="signupbtn" value="Signup" onClick="validateform()"> </div></td> <td width="163"> </td> </tr> </table> <script language="JavaScript1.2"> function validateform() { if (checkEmailAddress(document.emailform.eEmail)) { if(document.emailform.password1.value == document.emailform.password2.value) { document.emailform.submit(); } else { alert("The passwords you typed do not appear to match"); } } } function checkEmailAddress(field) { var good; //var goodEmail = field.value.match(/\b(^(\S+@).+((\.com)|(\.net)|(\.edu)|(\.mil)|(\.gov)|(\.org)|(\..{2,2}))$)\b/gi); var goodEmail = field.value; if(goodEmail != "") { //if (goodEmail){ good = true } else { alert('Please enter a valid e-mail address.') field.focus() field.select() good = false } return good; } </script> </form> <? } } } ?>
  21. I'm not sure what you are trying to accomplish, but a subdomain is just a directory. If you create a new directory in cPanel's File Manager of FTP then you can access it at tchhostedsite.com/sub. If you use cPanel to create a subdomain then it will create a directory you can access at sub.tchhostedsite.com. It also gives you the benefit of tracking stats and createing email addresses like you@sub.tchhostedsite.com. If you are wanting to create a seperate site with its own subdomain you will need to purchase another account or move to a reseller account. If you want to have 2 domains point to your main page the when can park it for you.
  22. All of those listed should be available. You need to change your zip path to /usr/bin/zip then try using FORCE.
  23. The will usually works, but it depends on the length of the lease that your ISP uses. I had to this problem the other day and found out my lease time is 24 hours. This lease will be tied to your MAC address so turning off your modem for a minute will not work. I'm lucky enough to have a router that allows you to change the MAC address. Most likely you will have need to make sure your modem is off when your current lease expires.
  24. Just open index.php and find the line >require_once("config.php"); and replace it with >require_once('/home/cpaneluser/safe/config.php')
×
×
  • Create New...