Site of the Day

Aviva Strongest Directories

IndexU Tips & MODs

What's Up

Blog Calendar
May 2008
M T W T F S S
« Apr    
 1234
567891011
12131415161718
19202122232425
262728293031  

Blog Archives

Pagerank Statistics
PR 7
   
1 site(s)
PR 6
   
4 site(s)
PR 5
   
34 site(s)
PR 4
   
87 site(s)
PR 3
   
153 site(s)
PR 2
   
87 site(s)
PR 1
   
40 site(s)
PR 0
   
115 site(s)

Most Visit Mods

 Monday, April 21st, 2008

In IndexU, we already have a block that list the most visited links (Top 10). This mods is similar to the default IndexU has, but we include time period like : Most Visited This Week, Most Visited Last Week, Most Visited This Month, Most Visited in 10 Days, etc. We develop this mods based on suggestion by one of our member here, a very interesting idea.

Members can download this mods for FREE here (you’ll need to login first).

Here is the installation step :

  1. Unzip and upload the most-visit-mods.zip file to your IndexU folder.
  2. We need to create new table, you can use PHPMyAdmin or using IndexU Advanced Query Box (Admin Panel > Database > Query) in this regards.
    Run the following query :

    Content visible to member only. Please register and login first.

  3. Edit trackclick.php script.
    Change :

    Content visible to member only. Please register and login first.

    To :

    Content visible to member only. Please register and login first.

  4. Everything is ready now, you can the call the block anywhere within your template (Ex : header.html, footer.html).
    Here is some examples of block calls :
     

    • Show the most visited links in last 10 days :

      Content visible to member only. Please register and login first.

    • Show the most visited links this week :

      Content visible to member only. Please register and login first.

    • Show the most visited links this week only for new link that added in the last 100 days :

      Content visible to member only. Please register and login first.

    • Show the most visited links this month with excluded category ID 100, 150 :

      Content visible to member only. Please register and login first.

    • Show the most visited links this month in category ID 100, 150 only :

      Content visible to member only. Please register and login first.

    About the blocks parameter :

    • title : the block title
    • max_item : the number of link to show
    • days : number of days period
    • period : predefined period range (today, yesterday, thisweek, lastweek, thismonth, lastmonth)
    • exclude_category : category to exclude (category ID separated by spaces), this will affect to all it subcategories too
    • only_category : only show links from specific category (category ID separated by spaces), this will affect to all it subcategories too
    • link_age : only include links that added in certain days period

The mods is created based on kosmos template, so for other templates you might need to adjust it a little bit.

That's all.
Comments and feedbacks to improve this mods are welcome.

[24.04.08]
We added the 'only_category' parameter in mods based on our member suggestion.
If you already download the mods before this date, please re-download it again.

6 Responses to “Most Visit Mods”



  1. ANTONY Says:
    Content visible to member only. Please register and login first.

    under PHPMYADMIN
    I get a error when i want to view this table.
    I got no index has been created.
    Do you forgot something...PRIMARY KEY (`link_id`)
    Antony

  2. admin Says:

    The table is okay here.
    It does not need index or primary key since it is used for logs only.

  3. ANTONY Says:

    http://www.hotel-discount.com/hotelsvisits.html

    Nice job....

  4. admin Says:

    Ok, thanks.
    Seems you have put the mods on separate static page, nice one.

  5. ANTONY Says:

    Just a request for exclude_category
    Can you do something when we want to have only one cat ?
    Because i have 1500 cats so it will not be easy to have the stat for paris only.
    Antony

  6. admin Says:

    Ok, we have update the mods and added 'only_category' parameter for the blocks as your suggestion.
    Please re-download the mods again.

Leave a Reply