Jump to content

JonnoTheDev

Staff Alumni
  • Posts

    3,584
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by JonnoTheDev

  1. One method I used was to take an existing script. Learn how it works. Pull it to pieces and try to modify the functionality. Years ago I installed the ecommerce script http://oscommerce.com (2.2). We had some clients running this who wanted custom functionality, so the only way was to learn and modify a test version. Try it yourself. Take the base system and try to add new things like multiple images, different shipping modules, change the layout, add a buy one get one free, add promotional codes that alter the price. The best way to learn is just to dive in at the deep end. Once you have the above sussed out, why not try to build your own version and improve on the areas you think need improving on.
  2. Yes. Related articles are best done with a token based query. When you submit an article write a script that finds word occurances and store the most common against that article. i.e If I write an article on golf then the words, 'golf', 'tee', 'fairway' are likely to have a high number of occurances. These are your tokens. If I submit another article on golf then that article will also realte to the same tokens if it has matching high word occurances. So your database: articles ===== articleId title body 1, Golf Article 1, This is the body containing the word golf. Golf is great. I love playing golf....... 1, Golf Article 2, Golf courses around the world. The best fairways. The fairways are very good on this golf course...... tokens ===== tokenId token 1, golf 2, fairways tokenToArticle ========== id tokenId articleId 1,1,1 2,1,2 3,2,2 So you can see that tokenId 1 (golf) is related to both articles. Use a full text engine such as sphinx to create an index from your database. This will perform very fast searches to pull out your related articles and also return search results from a text search box on the website. Using mysql to search text is very slow and returns poor results.
  3. If you have php installed as an apache module then you will have issues. Compile as CGI. http://docs.joomla.org/Should_PHP_run_as_a_CGI_script_or_as_an_Apache_module%3F#What_is_the_difference_between_CGI_and_apache_Module_Mode.3F
  4. I think they are annoying. I get calls weekly from companies offering video commentry for websites. It is expensive. http://www.mywebpresenters.com/
  5. Absolutely not. If you want to use open source technology then have a look at Sphinx or Lucene. They are full text search indexes. Just Google or search the forum, i've posted the links up many times.
  6. Something along these lines http://shwups.ch/en/home/? I know its in German but it looks powerful
  7. phpclasses.org
  8. You require the AJAX Search API from google to integrate with the maps API. Take a look at the following. http://www.google.com/uds/solutions/mapsearch/index.html
  9. You can fork processes. You could have a single cron job execute a script which executes 10 other scripts. http://www.phpfreaks.com/forums/index.php/topic,298489.msg1413457.html#msg1413457
  10. <?php $object = new classname(); $object->dostuff(); unset($object); ?>
  11. http://www.businessesforsale.com/
  12. Its possible that a crawler / spider could record a click on your site, follow the link, see that it is a 301 redirect and then decide to terminate itself before landing on the target website. They all work differently, they may not always follow right through to the target site. Really, you should identify bots / spiders / crawlers on your website an not record their action. A simple start as daniel has stated is to add a nofollow parameter to the link i.e <a href="link.php" rel="noindex,nofollow">Link Text</a> This should cause search engines to ignore the link
  13. Listen, dont bother. Most Internet professionals are spammers. SEO specialists are spammers. They litter the Internet with all kinds of crap to get links and boost their traffic. They send millions of emails to sell viagra or some kind of product. They make millions. Don't get frustrated as it is just the way it is. Spend your time improving security for future projects rather than on a childish prank. As soon as you get rid of 1 spammer another will appear. Just think yourself lucky that you are not dealing with DDOS attacks as I have had to in the past. A bit of spam email, join the club.
  14. Do not take AWSTATS figures as gospel. As Daniel stated there are all kinds of crawlers that can follow links. They may not always initiate your counter script, and weblog stats applications are each configured differently in the way they log traffic. OK, you say you have a counter that has 30 clicks and the target user has 10 logs of your website as a referer. Well lets say that 21 of those are a referer from the same search engine and only 9 are true human users, then the stats program may only log unique referers by IP, user-agent, etc so a total of 10 is displayed. Reading web server log files through stats programs like AWStats or Webalizer is about looking for trends to give you a rough idea of where your traffic comes from and the number of unique visitors you are getting. As I have said, each installation can be tweeked to ignore traffic from all kinds of sources, and display data differently.
  15. Record the IP addresses of the user using the contact form. Increment the count of the number of messages going through each IP. If there are high numbers for a particular IP then block it through .htaccess
  16. To fork a process <?php exec("php /path/to/file.php > /dev/null &"); ?>
  17. Ive fixed. Its OK.
  18. Not really a wizz on Excel but need a bit of help manipulating some data. I have a custom formatted cell that contains a datetime i.e 2009-11-04 13:01:50 However, when I attempt to reference in a formula it converts the formatting i.e =""&A2&"" Comes out as 40121.5429398148 Does anyone know how to retain the formatting?
  19. With remote desktop like vnc does you would see the remote user controlling the pc. Bit different from a twitcy mouse. Unplug the network cable from the pc or switch your router off. If the mouse pointer is still twitchy you know what the issue is. Simple.
  20. Is it wireless? Ive had that before. Change the batteries or its knackered.
  21. Sorry, but horrible! Black backgrounds especially with what looks like a windows desktop blackhole photoshop filter type graphic are a bad idea, especially for accessibility reasons, colourblindness, etc. Looks like a sci-fi template, not an obvious e-commerce site.
  22. James Bond is sat on your monitor. Just run a scan with any Internet Security software, Kaspersky, etc. Install Windows Defender from Microsoft and keep it upto date.
  23. Sounds like a pretty standard weekend.
  24. Yes. It is compared to what it used to be but not as bad as Denmark. It must have been about 6 years ago when I went on a training course in Copenhagen and I remember it being around £5 or more for a beer. God knows what its like now. It's the same in Norway. My parents have a place out in Spain and when I go all you see is Norwegians drunk because they can afford the beer.
×
×
  • 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.