new mod/hack: logging of frontend user activity
-
- Posts: 16
- Joined: Thu 15. Apr 2004, 11:47
- Location: Berlin, Germany
- Contact:
new mod/hack: logging of frontend user activity
I've created this one over the last few days - it's in... let's say alpha-stadium. How do you consider it?
Download here
The first and main feature of this mod is to implement a logging of frontend-user activity within phpwcms - or in other words: Giving answers to questions like: "What articles and categories are visited by the surfers?", "What browser is used more often than others?", "Which native language may my visitors have?".
Apart from that, the mod also includes a small administration menu into your frontend. You have to logon to the backend, and with this session open (not logging off) you can now visit your frontend (I've included a link to the index.php on the backend's startpage.).
On the upper left corner you'll now find ">>" if you move your mouse towards the left edge there will appear a menu with the entries "edit category" (only if not home), "edit article", "go to backend" and "logoff"... try it, it's handy!
BTW: Created under 1.1 RC2 2004-04-04 w/ patch 2004-04-12!!!
Download here
The first and main feature of this mod is to implement a logging of frontend-user activity within phpwcms - or in other words: Giving answers to questions like: "What articles and categories are visited by the surfers?", "What browser is used more often than others?", "Which native language may my visitors have?".
Apart from that, the mod also includes a small administration menu into your frontend. You have to logon to the backend, and with this session open (not logging off) you can now visit your frontend (I've included a link to the index.php on the backend's startpage.).
On the upper left corner you'll now find ">>" if you move your mouse towards the left edge there will appear a menu with the entries "edit category" (only if not home), "edit article", "go to backend" and "logoff"... try it, it's handy!
BTW: Created under 1.1 RC2 2004-04-04 w/ patch 2004-04-12!!!
Last edited by andreas12345 on Sat 24. Apr 2004, 15:36, edited 1 time in total.
I view this mod in as two seperate mods really: webstats and front/back end admin mode.
but also an interger displaying the number of non-logged on users viewing the current page too.
- There is a very nice webstats mod already that logs all this stuff.
- the fronrend in backend mode is a nice idea.
but also an interger displaying the number of non-logged on users viewing the current page too.
Re: new mod/hack: logging of frontend user activity
Hello Andreas,andreas12345 wrote:I've created this one over the last few days - it's in... let's say alpha-stadium. How do you consider it?
Download here
The first and main feature of this mod is to implement a logging of frontend-user activity within phpwcms - or in other words: Giving answers to questions like: "What articles and categories are visited by the surfers?", "What browser is used more often than others?", "Which native language may my visitors have?".
Apart from that, the mod also includes a small administration menu into your frontend. You have to logon to the backend, and with this session open (not logging off) you can now visit your frontend (I've included a link to the index.php on the backend's startpage.).
On the upper left corner you'll now find ">>" if you move your mouse towards the left edge there will appear a menu with the entries "edit category" (only if not home), "edit article", "go to backend" and "logoff"... try it, it's handy!
I tried to install mod_frontendlog....but I have a little question...
Code: Select all
case "modules": //modules
$wcsnav["modules"] = "<strong class="navtexta">".$wcsnav["modules"]."</strong>";
if($phpwcms["gt_mod"]) { //enabled/disable GT MOD
$subnav .= subnavtext($BL['be_subnav_graphicaltext_mod'], "phpwcms.php?do=modules&p=2", $p, "2", 0);
$subnav .= subnavtext($BL['be_subnav_frontendlog_mod'], "phpwcms.php?do=modules&p=9", $p, "9", 0); #mod_frontendlog
}
case "9": //frontendlog include_once "./include/inc_module/mod_frontendlog/main.inc.php";
My admin area on MODULES looks like this:
Graphical Text ->
Frontend Logging ->
But when I click Frontend Logging nothing happens ....
what did I do wrong?
thanks,
G.
another thing....
I figured out somehow....
Once it appeared on my INDEX....but that's all
after one refresh it dissapeared.
I tried to install it again from the start....
and it gives me an error in the MODULES menu when I click on Frontend Logging:
and I opened main.inc.php and the line 5 looks like this:
WHAT'S WRONG??????
Once it appeared on my INDEX....but that's all
after one refresh it dissapeared.
I tried to install it again from the start....
and it gives me an error in the MODULES menu when I click on Frontend Logging:
Code: Select all
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /www/htdocs/clan/include/inc_module/mod_frontendlog/main.inc.php on line 5
Code: Select all
if(mysql_num_rows($res)>0) {
-
- Posts: 16
- Joined: Thu 15. Apr 2004, 11:47
- Location: Berlin, Germany
- Contact:
That MySQL-error
Hi gfailure!
Did you run the sql-code with create table that came along in the package?! It's reason number one for these probs...
Regards... Andreas
Did you run the sql-code with create table that came along in the package?! It's reason number one for these probs...
Regards... Andreas
....
Finnaly Andreas,
yes I've ran all the SQL code...
the only problem is that all the PHPWCMS SQL structure is installed with the "re_" prefix...like re_phpwcms_users etc...
and I've ran your SQL as it was default...and I've tried to change every table variable in your code so it fits my isntallation.
I saw now that it is working but that >> thing appears only when I'm logged in as admin....
I still have that MySQL error in the MODULES section though
HOW CAN I INCLUDE A LOGIN SECTION TO ONE OF MY ARTICLES>....?
Whitch are the files that should be changed to modify BACKEND's look?
thanx,
G.
yes I've ran all the SQL code...
the only problem is that all the PHPWCMS SQL structure is installed with the "re_" prefix...like re_phpwcms_users etc...
and I've ran your SQL as it was default...and I've tried to change every table variable in your code so it fits my isntallation.
I saw now that it is working but that >> thing appears only when I'm logged in as admin....
I still have that MySQL error in the MODULES section though
HOW CAN I INCLUDE A LOGIN SECTION TO ONE OF MY ARTICLES>....?
Whitch are the files that should be changed to modify BACKEND's look?
thanx,
G.