Jump to content

kajoiner

Members
  • Posts

    107
  • Joined

  • Last visited

Everything posted by kajoiner

  1. I changed it to look like this, but no help. I am trying to get all of the pages on the website to look like the home page. What I am trying to do is make the login pages for the members section and some other pages look like the home page. I do not know much outside of FrontPage and do not know how to combine the HTML and PHP so that the PHP will show inside the middle table of the template sheet.
  2. Can you check this and see what I am doing wrong. http://www.bsatroop98.org/amember/logint.php
  3. I want to alter a PHP file so that I can have it look like the rest of the site. I want to combine <html> <head> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>Boy Scouts Troop 98</title> <style> <!-- .page { background-color: #FFFFFF; color: #000000; } .tborder { background-color: #D1D1E1; color: #000000; border: 1px solid #0B198C; } td { font: 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; } .alt1 { background-color: #F5F5FF; color: #000000; } --> </style> </head> <body bgcolor="#728E40"> <div align="center"> <center> <table border="2" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="100%" bgcolor="#F3EEDF" bordercolor="#F3EEDF"> <tr> <td width="15%"> <img border="0" src="images/st_george.gif" width="190" height="144"></td> <td width="33%"> <p align="center"><font face="Algerian" size="6">Troop 98 - Dragon Slayers</font></p> <p align="center"><i><b>Do not meddle in the affairs of dragon slayers, <br> for you are crunchy and taste good with ketchup.</b></i></p> <p align="center"><b><i>Troop 98, Columbus GA</i></b></td> <td width="15%"> <img border="0" src="images/st_george.gif" width="190" height="144" align="right"></td> </tr> </table> <table border="2" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#F3EEDF" width="100%" bgcolor="#52662D" height="24"> <tr> <td width="100" align="center"> <p> <a href="index.htm" style="text-decoration: none; font-weight: 700"> <font color="#FFFFFF"> <a style="text-decoration: none; font-weight: 700" href="http://www.bsatroop98.org"> <font color="#FFFFFF">Home</font></a></font></a></p> </td> <td width="100" align="center"> <p><b> <a href="calendar/plans.cgi" style="text-decoration: none"> <font color="#FFFFFF">Calendar</font></a></b></p> </td> <td width="100" align="center"> <p> <a href="http://www.scoutboard.com/" style="text-decoration: none; font-weight: 700"> <font color="#FFFFFF">Forum</font></a></p> </td> <td width="100" align="center"> <p><b> <a href="games_and_links.htm" style="text-decoration: none"> <font color="#FFFFFF">Games </font> </a></b> </p> </td> <td width="100" align="center"> <p><b> <a href="library.htm" style="text-decoration: none"><font color="#FFFFFF">Links</font></a></b></p> </td> <td width="100" align="center"> <p><b> <a href="http://www.bsatroop98.org/guestbook" style="text-decoration: none"> <font color="#FFFFFF">Guest Book</font></a></b></p> </td> <td width="100" align="center"> <p> <a href="amember/index.php" style="text-decoration: none; font-weight: 700"> <font color="#FFFFFF">Members</font></a></p> </td> <td width="100" align="center"> <p> <a href="email_form.htm" style="text-decoration: none; font-weight: 700"> <font color="#FFFFFF">E-Mail</font></a></p> </td> </tr> </table> </center> </div> <div align="center"> <center> <table border="2" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#F3EEDF" width="100%" bgcolor="#F3EEDF"> <tr> <td width="95%" valign="top" bordercolor="#FFFFFF"> </td> </tr> </table> </center> </div> <table border="2" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="100%" bgcolor="#F3EEDF" height="10" bordercolor="#F3EEDF"> <tr> <td width="100%" height="10"> <p align="center" style="margin-top: 0; margin-bottom: 0"> <font face="Verdana" size="1">©2004 Troop 98 Columbus, GA</font></p> <p align="center" style="margin-top: 0; margin-bottom: 0"> <font face="Verdana" size="1"><a href="http://www.bsatroop98.org">Home</a> </font> <FONT face="Verdana" style="font-size: 8pt">| <a href="email_form.htm">E-Mail</a> | <a href="disclaimer.htm">Disclaimer</a></FONT></td> </tr> </table> </body> </html> with the PHP file <? /* * Members page, used to login. If user have only * one active subscription, redirect them to url * elsewhere, redirect to member.php page * * * Author: Alex Scott * Email: alex@cgi-central.net * Web: http://www.cgi-central.net * Details: Member display page * FileName $RCSfile: login.php,v $ * Release: 1.8 ($Revision: 1.3 $) * * Please direct bug reports,suggestions or feedback to the cgi-central forums. * http://www.cgi-central.net/forum/ * * aMember is free for both commercial and non-commercial use providing that the * copyright headers remain intact and the links remain on the html pages. * Re-distribution of this script without prior consent is strictly prohibited. * */ include('./config.inc.php'); $t = & new_smarty(); $_product_id = array('ONLY_LOGIN'); include($config['plugins_dir']['protect'] . '/php_include/check.inc.php'); $payments = & $db->get_user_payments(intval($HTTP_SESSION_VARS['_amember_id']), 1); usort($payments, 'rcmp_begin_date'); $now = date('Y-m-d'); $urls = array(); foreach ($payments as $k=>$v){ if (($v['expire_date'] >= $now) && ($v['begin_date'] <= $now)) { $p = get_product($v['product_id']); $url = $p->config['url']; if (strlen($url)){ $urls[] = $url; } } } if (count($urls) == 1){ $redirect = sprintf("http://%s:%s@%s%s", $_amember_user['login'], $_amember_user['pass'], $HTTP_SERVER_VARS['HTTP_HOST'], $urls[0]); } else { $redirect = $config['root_url'] . "/member.php"; } #print_r($urls); html_redirect("$redirect", 0, 'Redirect', "You'll be redirected into the protected area"); ?> Any help?
  4. I think it would be great to have, but I was hoping for a free solution. I cannot justify $100 for a nice to have for a boy scout troop. Do you know of any free versions that work well?
  5. Let us know if you find one you like. That would be a great feature to have.
  6. For those who like to cheat. Solution
  7. Completly unrelated to web hosting, but maybe somebody can help. My troop is needing to charter a bus to take us from Columbus, GA to Charlette, SC. Anybody know of a reliable but cheap way charter company that could help? All of the quotes that I have gotten are about $800 more than we were hoping to pay.
  8. If it busted a tensioner, it was just the serpentine belt, not a timing belt. You are in good shape with these repairs. The tensioner is a common failure. Think about it, that thing is constantly spinning whenever the car is running and it's job is to keep preasure on the belt. The constant use plus the pressure on the berrings cause them to go bad. Usually they will start making a noise before they go bad, but not always. Keep the car if that is the only problems you have had. This was a minor problem that just costed you $600 because one thing snowballed into a bigger problem. I will bet what happened is part of the tensioner pully came loose and flew around the inside of the hood hitting the fan. Just my $.02 worth. Sorry about the repair, but I will trade you. I just spent $1,600 on a transmission.
  9. For a $300 charge and over night stay, I am betting a timing belt. Is that correct?
  10. They plan to, it will just take 60-90 days for all existing customers to get it.
  11. I have a question I am hoping someone can help answer. I have taken over our Boy Scout Troop website and changed the name the domain from www.troop98.columbusga.net to www.bsatroop98.org. I did this to make it easier to find and remember, and because I moved it from a free site to TCH Rock Sign . I can understand why the old site still shows higher in the search engines than the new one since it was there for two years before I took it over. It is still there as a redirect site. What I cannot understand is why the new site does not show at all in a yahoo search. Because the old site still shows and old site was linked from many other sites and I have been able to get them to change to the new domain, chances are you will get there if you are looking, but why is Yahoo not finding the site. It has been up and running for a couple of months and all of the other top search sites are crawling it, except for Yahoo. I have not seen a single crawl from Yahoo! I was even able to get Yahoo to change to the new domain in thier listings under regional groups (not sure how to refer to it, but if you just did a search by clicking on the catagories from the home page instead of doing a search). What's up?
  12. I just left two big Thumbs Up for the two sites I have with you. Wish I could do more. Thanks for being there Bill Rock Sign That is the web site where I found TCH close to a year ago now.
  13. Personally I tried the SQL first, but the file they provide to create the tables is to large for phpadmin to process. The max file size is 2mb and the one provided by Hamweather is about 12mb in size. I started breaking it down into smaller files to process it and then decided it wasn't worth it and went with the flat files. I have had no problems with it, but I am not seeing a large usage on it. If you plan to have tons of viewers, you may want to go ahead and go with the SQL. Just a warning, I don't know how much space the SQL will take, but the flat file version takes about 10 meg of disk storage. Kevin
  14. Check out the one that I found and see if it will suit your needs. You can get it from the home site www.bsatroop98.org with frames or directly Here. It is free and was easy to set background colors to match the rest of the site.
  15. You can get upload lite and several others from Hotscripts.com. Do a search from there or click here.
  16. Setting up the FTP account will allow them to upload or downlaod files to that folder only. As an update to the tread that Bruce is referring to, I was able to get the upload feature working and I have set up an example for someone else at www.bsatroop98.org/upload/ where you can look at what I am using and test it if you want. The way I have this set up it uploads the files to a folder called pictures. You can see the files after they are uploaded at www.bsatroop98.org/upload/pictures/. This works well for my users who do not know how to use FTP or who work where a firewall prevents FTP use. You can edit the script to only allow certian file types and you can put a size limit on it. This script does not allow them to delete files, and it will send you an email whenever a file is uploaded. There are others that will allow you to delete from here as well. You can also set passwords on this so that it will require a log in to use. For example password protected upload area is where my users are allowed to upload files. Let me know if you need any help with it if you decide to use it. Kevin
  17. This just three days after I upgrade. How dare you! Great news. The service is awsome. Worth every penny plus more! Within five minutes of seeing the post I have already forwarded the information to several friends I have been trying to get moved over to TCH. Can't wait to see my sites move up. Rock Sign You rock Bill Rock Sign
  18. My wife sent this to me and I had to share. http://www.bsatroop98.org/temp/ Check out reptileattacks.asf. Make sure you are not drinking or eating when it starts to play. I am still cleaning my monitor! Don't worry, it's clean. Both morally and virus wise.
  19. My wife's site just excedded the bandwidth limit last month with one day left to go. I was notified repeadly throughout the last week that it was over the 80% level. That gave me plenty of time to upgrade because this is the third month that we topped 80%. Of course I didn't do anything until it actually was shut down , but was supprised that although I wasn't in a big hurry (it was only down for a day and it is a personal site, not a real business site), I received multiple emails from billing over the weekend to help get it upgraded. According to TCH, billing does not work over the weekend. Amazing support! Rock Sign I paid for the upgrade this morning. $1 more a month to virtually double bandwidth! Rock Sign
  20. Just a note on the email attachments, you can set up a pretty much edit proof file upload simular to the one I am using. I set up an example at http://www.bsatroop98.org/upload/. When you uload it you can link to the file at www.bsatroop98.org/upload/pictures/filenameyougaveit. You can also go to www.bsatroop98.org/upload/pictures/ and see a directory listing of all the files that have been uploaded. There are other simular scripts that would prove better for you I am sure, but I like this better than the large file attachments. You can also passwork protect directories to provide security.
  21. Not even that would work because % of visits that are coming from there are very low. It is not that big of a deal, I just have some trouble with a baby doll website being linked from a I AM A SPAMMER site. I guess it is just those morals kicking in. I will put them back in the box and not worry about it going forward. Thanks for the info.
  22. I am using Frontpage without any problems. The instructions with Frontpage work as long as the frontpage extensions are installed. Don't worry. My wife uses frontpage with TCH and if she can do it without problems, anyone can. Not to speak bad of my wife, but she is far from a computer expert. If you need help with Frontpage, let me know and I can help walk you through it.
  23. My wife is having an unusual problem in that she is getting her web site linked to some websites where we do not want the link posted. She hosts a website for some dolls that she makes and the name she has given her dolls are "Prissy May Dolls". In looking at the awstats, it appears that there are several I AM A SPAMMER sites that have added her site to there links page. There are several (about 50) click throughs from websites like x******* and n*******. Does it hurt her standing with search engines when she is listed on sites like these? Is there any way to prevent them from linking to her site? I don't think we want the link listed there regardless! I thankfully don't have this problem hosting a Boy Scout site, and this is the first month that I have noticed her having this problem. Note: Edited out site names. TCH-Bruce
  24. Does this mean that it should be working? I am not sure how to read this.
  25. Thanks Rob, but I saw that. I guess what I should have asked is how do I know if zlib is supported on my server. Since it does not reduce load times, should I assume that zlib is not supported?
×
×
  • Create New...