Submit Your Article Forum Rules

Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Need help with making a website

  1. #1
    Junior Member
    Join Date
    Apr 2008
    Posts
    4

    Red face Need help with making a website

    First, I know the very BASICS of web programming, having only completed a couple programming courses. I am looking to make a website that I'm about to describe and if this is in the wrong place, I apologize.

    I need a website that allows the user to sign in with an ID (which would have no password and be given to them through another source) and will take that ID and place it in a link. The completed link would then be added to a permanent list.

    The order of the list should be arranged on a point system. The users with the most points should be at the top of the list. Points would be obtained by clicking on the other links of users on the list. So each time a link is clicked, you get one point. It should also not provide any points if the link is any additional times besides the first click. It would be nice if it went to a page in a new window that said "Link already clicked."

    There would need to be also a statistic counter for the users so they can see how many points they have. The points would need to be reset everyday, either manually or automatically.

    There is a lot more I would add to the site, but this is the basic "bones" of the site I would want. Every website I have seen that uses this structure uses PHP.


    I'm not asking anyone to make me what I want, just if anyone could give me advice of what I need to do to build a site like this or point me in the right direction. Thanks in advance. -Dan

  2. #2
    Junior Member
    Join Date
    Apr 2008
    Posts
    4

    Re: Need help with making a website

    I forgot to mention that the list of links would need to be displayed on another page so that users will be able to click on them. The list would show the top 50 links first, then be able to be refreshed to show the next top 50 links that have not been clicked yet by the user.

    I know this is confusing so let me know if I can clarify anything for you.

  3. #3
    Senior Member Uncle Dog's Avatar
    Join Date
    Apr 2008
    Posts
    342

    Re: Need help with making a website

    Quote Originally Posted by dan13 View Post
    Every website I have seen that uses this structure uses PHP.
    and most probably a MySQL database. Can you PM me an address of one of these sites? I'm intrigued.

  4. #4
    Senior Member
    Join Date
    Jan 2008
    Posts
    125

    Re: Need help with making a website

    It sounds like you need a variation on social networking sites. There are tons of differing examples so I suggest that you browse the scripts at Hot Scripts :: The net's largest PHP, CGI, Perl, JavaScript and ASP script collection and resource web portal. Look in the php section and see if there is anything that comes close then modify that to suit your needs. There are commercial scripts and free scripts so use the freebies.

  5. #5
    Senior Member compusolver's Avatar
    Join Date
    Sep 2003
    Location
    Oklahoma & Washington
    Posts
    109

    Re: Need help with making a website

    Checkout Joomla! There are thousands of extensions - mostly FREE - that will do nearly everything you can imagine.

    Joomla is a content management system (also FREE) that enables users to build and run powerful websites, with no programming know-how required.

    It does help to have a hosting server setup for Joomla. There are a lot of them nowadays.


    - Hank Castello
    Database & Server-Side Programming / Consulting for Website Designers and Developers.
    Joomla / Drupal Web Hosting With REAL SUPPORT!
    - Hank Castello
    www.CompuSolver.com

  6. #6
    Junior Member
    Join Date
    Aug 2004
    Posts
    22

    Re: Need help with making a website

    PHP and MySQL or .NET and any database will work. I like .NET.
    My only concern is database size.

    I envision two tables.
    One with the list of clients including a client ID with all the information about the client, links etc.
    The second for visited links. It should contain two columns. The client ID doing the visiting and the Client ID that was visited.
    For each client table entry there is potentially a visited table entry for every client.
    The number of entries in the visited table is potentially the square of the client table entries.

    How many clients will you have and what is their usage?
    If you have 1,000 clients and each averages 10 visits to other clients the visited table would only contain 10,000 entries.
    However, if you have 1,000 clients and they all visit the other clients the visited table would contain 1,000,000 entries. The visited table grows exponentially.

    This type of link visitation scheme is susceptible to visitation automation. It wouldn’t be hard to write a program that visits every client.
    I suggest you put a link on the pages to be visited that isn’t easily recognizable by a bot and use that link as verification that the site was visited. You might even employ a timer to ensure people stay a minimum time.

    If you have any questions email me using bob@ and my URL

    Enjoy Bob

  7. #7
    Senior Member
    Join Date
    Dec 2007
    Posts
    526

    Re: Need help with making a website

    Write a mysql table with three fields...

    The login
    The id
    and the link counter...

    Make a form on a webpage... when someone logs in... put a new row of data in the database if one doesn't exist...

    Make an page which shows all the rows of data in the database...

    Whenever somebody clicks a link take them to a php page which updates the counter in the mysql database...

    Of course... You could spend the next 30 days looking for an open source product that you could download install and then hack away at for the rest of your known life trying to make it work...

  8. #8
    WebProWorld MVP incrediblehelp's Avatar
    Join Date
    Jan 2004
    Posts
    7,567

    Re: Need help with making a website


  9. #9
    Senior Member
    Join Date
    Aug 2004
    Posts
    233

    Re: Need help with making a website

    Just out of curiosity, what is enticing users to click these links?

    *

  10. #10
    Senior Member RichAtVNS's Avatar
    Join Date
    Jul 2003
    Posts
    144

    Thumbs up Re: Need help with making a website

    Ok now I get to use my 15 years as an independant systems designer, and Masters in compiler construction and the fact that I have programmed here... vs all these SEOs LOL

    ...

    This is about the easiest thing I have ever seen to program in ASP and using a central processor filter.

    1) An ODBC complient database
    2) Microsofts personal webserver
    3) and the most rudimentary knowledge of ASP

    are all you will need to implement them.

    Simply make an orthogonal database.
    1 table of the users (unique id is auto incremented on insertion)
    1 table of the daily views (pairs of user id that was viewed and user who viewed it)
    1 table of the details the user will be storing on thier own personal pages kept in a memo field.
    1 table of when was the last time the daily views table was cleared.
    1 session variable of your id after you login.

    Here's the pseudo code logic.
    one function called at the top of every user page (place in an include file).
    Every time a view goes on use the session variable and the page id
    you check the date time to see if the daily views table was last cleared over 24 hours ago.
    If it was clear the table and update the date time to 12:00 midnight (start of the day).
    After that check to see if the user already has viewed that page (has an entry pair in the daily views table., If not add it.

    Now you need 2 sql queries (if you use the wizards in access this is a canned query) to get a count of the records in your daily view table by ID of visitor and a second one for count of records by viewee's page.

    both can be called and displayed on separate asp pages from 3 lines of code.

    Need any more help just ring me up....


    THAT WAS FUN.... considering I used to charge $125 an hour when I consulted you just got a lot! LOL

    PS: Don't know asp this is one of the best online FREEEEEEEE tutorial books out there
    LearnAsp.com - ASP ASP.net Free Lessons

Page 1 of 2 12 LastLast

Similar Threads

  1. Making money from my website
    By Simon Young in forum Business Partnerships
    Replies: 6
    Last Post: 08-23-2008, 02:14 AM
  2. making website 100%
    By souvik das in forum Graphics & Design Discussion Forum
    Replies: 17
    Last Post: 07-24-2005, 01:14 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •