Jump to content

Leaderboard

  1. Purple

    Purple

    Retired Staff


    • Points

      4

    • Posts

      352


  2. Tony

    Tony

    Administrator


    • Points

      2

    • Posts

      5,256


  3. Phun

    Phun

    Retired Staff


    • Points

      2

    • Posts

      1,119


  4. GWAVE

    GWAVE

    Apprentice


    • Points

      1

    • Posts

      75


Popular Content

Showing content with the highest reputation on 03/31/2013 in all areas

  1. In this tutorial I will show you how to add a hit counter to your IPB website. This will fit in with your current style and will appear at the bottom of your board index next to Total Posts, Total Members, Newest Member and Most Online. Example of how it looks: Download the text counter from the following link, then continue with the tutorial: https://dl.dropbox.com/u/92751728/text_counter.zip Configuring your hit counter 1. Extract the zip file. 2. Open "counter.php" in a text editor. 3. Go to line 36 to find the following configuration options and edit them to your needs: // SETUP YOUR COUNTER// Count unique visitors? 1 = YES, 0 = NO$count_unique = 0;// Number of hours a visitor is considered as "unique"$unique_hours = 24;// Minimum number of digits shown (zero-padding). Set to 0 to disable.$min_digits = 0; If you want it to track unique visitors like I did then change $count_unique to 1. You can then also lower the number of hours as visitor is considered as unique below that. Just edit it to your liking. 4. Now save the "counter.php" file and proceed to the next step below. Installing your hit counter 1. Go to the directory of your IPB install. 2. Create a new folder called "counter". Example: /public_html/counter 3. Upload all counter files and folders to the folder you just created. Placing your hit counter 1. Login to your ACP and go to Look & Feel > SKINNAME > Board Index > boardIndexTemplate 2. Find: <li class='clear' data-tooltip="{$stats['info']['most_time']}"><span class='value'>{$stats['info']['most_online']}</span>{$this->lang->words['online_at_once']}</li> Below that put: <li class='clear'><span class='value'><script language="Javascript" src="http://www.site.com/counter/counter.php?page=boardindex"><!--//--></script></span>Unique Visitors</li> 3. Change the URL in the code above to match your website URL. 4. Save. Note: You can change the text "Unique Visitors" to whatever you want. If you are not using unique hits in the config file then change it to something like "Total Hits" That's it, you're done! If you need any support with this then please just post below! Tutorial written by GWAVE. Credit for the text counter goes to PHPJunkYard.
    1 point
  2. I'm trying out something to make it show what your best answers are if you click the badge.. try it out!
    1 point
  3. Amazing post, could not have said it better myself.
    1 point
  4. That's because men bow to woman muaahhaha. GIRL POWER!
    1 point
  5. If my brother did that to me.. I would laugh and say "Hahaha, so cute, but no." <3
    1 point
  6. Just out of curiosity has anyone else experienced these errors?
    1 point
  7. Fixed the author's problem by way of PM (he hadn't closed out a tag properly). The question(s) in this support topic have been answered and the owner has been able to solve the problem. Because of this, the support topic has been closed and moved.If you have other questions, please open a new topic.
    1 point
  8. I wonder how many people know Channing Tatum likes guys too...
    1 point
This leaderboard is set to New York/GMT-05:00
×
×
  • Create New...