Jump to content

gerkintrigg

Members
  • Posts

    830
  • Joined

  • Last visited

Everything posted by gerkintrigg

  1. Or you can use a "custom" field to pass variables. Potentially you can encode / decode / explode (lots of "odes" there, so don't get confused) your data to pass multiple fields through without it altering your main form.
  2. Thanks, I found a great explanation here: http://www.howtoplaza.com/how-to-use-custom-fonts-on-your-website-with-css
  3. Hi All, I noticed this site: http://silverorigins.com/jewellery/details/sterling_silver_triple_daisy_bangle_with_18k_gold_plate_detail which seems to be using a custom font. I wondered how I'd do something similar, because I need my site to look a little more elegant than it does at the moment. Can anyone shed some light on how to do this / any tutorials? Is this a CSS thing, or am I looking in the wrong direction?
  4. Hi, I wanted to start this thread to ask what kind of cool things do you / could you do with Cron? We use it to backup our database but that's boring! What else could we do? Examples: Letters from Santa sent on the first day of December Email Auto-Responder (save yourself the AWeber subscription fee) Any others?
  5. I'm confused! I can work out how to generate a standard buy now button: <form name="_xclick" action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_xclick"> <input type="hidden" name="business" value="<?php echo $r['paypal_address'];?>"> <input type="hidden" name="currency_code" value="GBP"> <input type="hidden" name="item_name" value="Truro.com Sale - <?php echo $r['page_title'];?>"> <input type="hidden" name="amount" value="<?php echo $r['price'];?>"> <input type="image" src="<?php echo $root;?>furniture/buy_now.jpg" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!" width="196" height="67"> </form> and even a subscription button, but what I want is the script to ping back to me with variables that I can use to activate a digital service. I want things like the member id, the product id, whether the payment was successful... you know, the usual junk. The documentation's confusing the hell out of me. Has anyone here done it, and if so is there something like a "dopey dude" guide to figuring it all out? I don't know why, but I find the whole Paypal programming platform totally impenetrable. Neil
  6. Hi Alex! Welcome. It will be, just make sure you contribute too. It's a great community.
  7. *lol* @ Adam. I'll check out JQuery. It's not like I'm a total numpty, but JavaScript isn't my strongest tool in the box. Sometimes it's necessary and whenever it is, I tend to cringe a little - depending on what's required. Most of the time I can bodge something together. Thanks guys.
  8. Oh brilliant. (That was sarcasm - I'm pants at Javascript)... Well I can make do with hacking it about. Any suggestions where to start looking? I've had a squizz at Dynamic drive, but nothing I really like much. Perhaps an Ajax script might be quite handy... Then I could load one image either side, us javascript to do an ajax load and smoothly transition in either direction. Does that sound theoretically possible?
  9. Have a look at http://www.truro.com. The homepage graphic can change depending on the image (below it) that you click. All well so-far using PHP. I want the arrows on the right and left to be able to scroll the images left and right. The rest of the functionality seems to be there, so I wondered whether I should use PHP or CSS? I don't really want to load all of the thumbnails in one go because eventually that'll take AGES! we already have 12, and it's only been online since this morning! Any advice would be welcome.
  10. Shame really but I can do the rest. Thanks guys.
  11. That's done it Jesi! Now all I need to work out is the damn curved corners. Urgh! IE really is rubbish.
  12. ah. Set it as a background image and leave the background (color) variable blank?
  13. gerkintrigg

    IE help

    give us a bit more info if you want help. Perhaps narrow the search down for us... Give us code from the style sheet instead of having us search for it.
  14. Yup, IE is pants. The hex code in that example is done because of Microsoft bodging the alpha channel. I heard that IE 8 doesn't support CSS 3 - which explains a lot. Did anyone work out how to make it look like Safari / Opera / Chrome / Rockmelt / Firefox.... Well... any of the others? Neil
  15. mmm 255 - That makes sense. I don't want to have to develop for IE, but it is still (sad to say) the most popular browser, so I have to.
  16. yeah, but how would we be able to offer a website that is hosted on an HTML-only server this kind of functionality?
  17. I wondered if there's a way to allow users to easily use our shopping cart functionality without allowing them unrestricted access to our database. I run http://www.truro.com - a free business listing website. The boss wants to allow customers to be able to add a shopping cart system to their own site using an easy-to-install code and I have no clue how to go about doing it - I love the way he throws stuff like this at me and expects me to work it out. ) Can anyone point me in a direction that might come close to answering it? I've thought of iframes and web forwarding, but I can see huge problems with all of the above. I suppose the issue will be allowing PHP/MySQL access from a server that might not have that kind of functionality.
  18. Hello, I have this page: http://www.truro.com which looks just as i want it to in Safari, Firefox, Chrome... even Rockmelt! (Hands up if you have heard of THAT one?) But... Internet explorer (our old friend) is displaying a ghastly white box. The corners aren't rounded and the background isn't faded. Can anyone here suggest what's going wrong? Here's my CSS: #homepage_logo { text-align:center; background:transparent; filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99FFFFFF,endColorstr=#99FFFFFF); zoom: 1; background: rgb(400, 400, 400); /* The Fallback */ background: rgba(400, 400, 400, 0.6); width:550px; margin:auto; border-radius:15px; -moz-border-radius: 15px; }
  19. so is that a PHP function or a Paypal one?
  20. Okay, how do I get started? )
  21. Perhaps I should have called this topic something different. Any suggestions?
  22. I want to be able to send variables to a PayPal script and for it to come back to my site once the user has subscribed so that I can parse the variable and activate their online services. I can't seem to find any way of doing this in their documentation, but it seems quite a fundamental omission. Anyone done it before, and if so, how?
  23. I sorted it by using "DISTINCT" but I'm curious... what's a UNION? I've heard of a join before.
  24. I seem to have a problem when outputting data from my site search. It used to work fine but it seems that I have a huge number of records in my database with the same information or (FAR more likely), I'm calling that data multiple times. Here's my code: $search_explode=$search; $my_search_explode=explode(' in ',$search); $biz_type=trim($my_search_explode[0],'s'); $town_to_search=$my_search_explode[1]; $q="SELECT `page_title`,`profile_name`,`page_id`,`content`,`active`,`small_logo`,`pages`.`member_id` as `pmid` FROM `types_of_pages`, `pages`,`profiles` WHERE `pages`.`profile`=`profiles`.`id` AND ((`page_title` LIKE '%".$search."%')OR(`content` LIKE '%".$search."%') OR (`profiles`.`type_of_biz`=`types_of_pages`.`id` && `types_of_pages`.`type_of_page`LIKE '$biz_type%' && `profiles`.`town` LIKE '$town_to_search')) AND `active`='y' ORDER BY `page_title`,`content` Group By ASC LIMIT $offset, $rowsperpage"; I'm not really sure where the problem is, so wondered if you guys might be able to help. If you want an example of what it does, visit http://www.truro.com and search for "tennis". Thanks, Neil
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.