Author Topic: [Mod] More Statistics for your visitors  (Read 200238 times)

0 Members and 1 Guest are viewing this topic.

Offline ccsakuweb

  • Sr. Member
  • ****
  • Posts: 498
  • Patri
    • View Profile
    • My Art
Re: [Mod] More Statistics for your visitors
« Reply #105 on: August 12, 2006, 11:53:38 AM »
the demo doesn´t run.. where could i see a demo plz?
:arrow: 4images Paid Mods: Links, Blog, Albums, Subdomains for users, Diferent templates for user profile, Related picture in details, Last pictures in details.
And the mod that you request me.   Demo: http://www.myart.es

A website dedicated to artist people who loves drawing, design, writing and more

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [Mod] More Statistics for your visitors
« Reply #106 on: August 12, 2006, 05:27:47 PM »
... e.g. here ...  :wink:
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline ccsakuweb

  • Sr. Member
  • ****
  • Posts: 498
  • Patri
    • View Profile
    • My Art
Re: [Mod] More Statistics for your visitors
« Reply #107 on: August 12, 2006, 05:59:53 PM »
ok!thanks a lot

your gallery is too nice ^^
:arrow: 4images Paid Mods: Links, Blog, Albums, Subdomains for users, Diferent templates for user profile, Related picture in details, Last pictures in details.
And the mod that you request me.   Demo: http://www.myart.es

A website dedicated to artist people who loves drawing, design, writing and more

Offline tansamalaja

  • Full Member
  • ***
  • Posts: 185
    • View Profile
Re: [Mod] More Statistics for your visitors
« Reply #108 on: August 24, 2006, 07:47:26 PM »
And how can we see total categories?

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [Mod] More Statistics for your visitors
« Reply #109 on: August 24, 2006, 07:58:15 PM »
@ tansamalaja

... all total categories on index ...  :wink:
... in stats.php use this ...
Code: [Select]
//-----------------------------------------------------
// --- All total categories -----
//----------------------------------------------------- 
  $sql = "SELECT COUNT(*) AS all_total_categories
          FROM ".CATEGORIES_TABLE;
  $row = $site_db->query_firstrow($sql);

  $all_total_categories = $row['all_total_categories'];
  $lang_all_total_categories = $lang['all_total_categories'];
 
  $site_template->register_vars("all_total_categories", $all_total_categories);
  $site_template->register_vars("lang_all_total_categories", $lang_all_total_categories);
  unset($all_total_categories);
  unset($lang_all_total_categories);

... in /lang/<your_lang>/main.php use this ...
Code: [Select]
$lang['all_total_categories'] = "All Categories :";

... now you can use in home.html this tags ...
Code: [Select]
{lang_all_total_categories} {all_total_categories}
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline tansamalaja

  • Full Member
  • ***
  • Posts: 185
    • View Profile
Re: [Mod] More Statistics for your visitors
« Reply #110 on: August 24, 2006, 09:17:14 PM »
@mawenzi

Offline tansamalaja

  • Full Member
  • ***
  • Posts: 185
    • View Profile
Re: [Mod] More Statistics for your visitors
« Reply #111 on: August 24, 2006, 10:25:44 PM »
Ich hätte gerne die Anzahl in Fettdruck, ich bekomme das nicht so recht hin (Stichwort Fehlermeldung)

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [Mod] More Statistics for your visitors
« Reply #112 on: August 24, 2006, 10:34:15 PM »
... try this simple solution ...  :wink:
Code: [Select]
{lang_all_total_categories} <b>{all_total_categories}</b>
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline tansamalaja

  • Full Member
  • ***
  • Posts: 185
    • View Profile
Re: [Mod] More Statistics for your visitors
« Reply #113 on: August 24, 2006, 10:40:16 PM »
That's a way too..

I've tried it in the stats.php and had no success...  :cry:

Offline macmaster_it

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: [Mod] More Statistics for your visitors
« Reply #114 on: August 25, 2006, 08:14:14 PM »
It's a nice MOD and work's fine.
Now I want to show how many times mi site is visited.
But I don't know how make it....
Help me please.

Thank's ron.

Offline HorrorCrafT

  • Full Member
  • ***
  • Posts: 106
    • View Profile
    • HYPOfun online
Re: [Mod] More Statistics for your visitors
« Reply #115 on: September 21, 2006, 09:58:01 AM »
nice stats info. thx! :D last question: how can i display "media directory: xxx MB" and "thumbnail directory: xxx MB" in home.html? thanks for help!!

Offline colorssky

  • Full Member
  • ***
  • Posts: 128
    • View Profile
    • http://www.nnjj.net
Re: [Mod] More Statistics for your visitors
« Reply #116 on: September 21, 2006, 04:29:40 PM »
is it working on Version: 1.7.3 ?

Offline haythamghareeb

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: [Mod] More Statistics for your visitors
« Reply #117 on: October 22, 2006, 02:18:29 AM »
People keep asking how and where to put the code into the HTML pages but NO one answers...How come? Why can't someone just say where to put the code?? :evil:

Offline haythamghareeb

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: [Mod] More Statistics for your visitors
« Reply #118 on: October 22, 2006, 02:43:55 AM »
Worked for me...after a while because I am no coder

Offline vuong184

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: [Mod] More Statistics for your visitors
« Reply #119 on: January 28, 2007, 09:43:07 AM »
Parse error: parse error, unexpected T_STRING in /home2/vuong184/public_html/gallery/includes/stats.php on line 2
http://emtoi.org/gallery/
Help me