Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
this might cause performance degradation...
Comment | File | Size | Author |
---|---|---|---|
#17 | history_rec.admin_.inc_.txt | 5.07 KB | colinchan |
#17 | history_rec.module.txt | 8.08 KB | colinchan |
#7 | history_rec admin.txt | 5.55 KB | Ankit22 |
#5 | history_rec admin.txt | 5.41 KB | Ankit22 |
#2 | history_rec.admin_.txt | 4.13 KB | Ankit22 |
Comments
Comment #1
JoeMcGuire CreditAttribution: JoeMcGuire commentedI’ve added support for the accesslog table
If the statistics module is enabled site administrators can then choose between the history and accesslog table.
The advantages of the accesslog table
Comment #2
Ankit22 CreditAttribution: Ankit22 commentedI just want to know weather the way i have implemented this patch is correct or not?
thanks
Comment #3
JoeMcGuire CreditAttribution: JoeMcGuire commentedDoesn't appear to be. let me know if it's something I need to look at.
Comment #4
Ankit22 CreditAttribution: Ankit22 commentedCan you tell me how to fix it?
or whats the problem?
thanks
Comment #5
Ankit22 CreditAttribution: Ankit22 commentedI tried implementing it again...
can you have a look ...
thanks
Comment #6
JoeMcGuire CreditAttribution: JoeMcGuire commentedThat looks like a winner
Comment #7
Ankit22 CreditAttribution: Ankit22 commentedWhen i used this file mysite's /admin/settings/history_rec page went blank ... i guess some formatting trouble
Comment #8
Ankit22 CreditAttribution: Ankit22 commentedthat page is giving me a blank page ... can you tell me what are "-" signs in that file and
For example have a look at the following piece of code from ur patch
- function _history_rec_wrap_each(&$item) {
- $item = "'$item'";
+ switch(variable_get('history_rec_source', 'history')) {
+ case 'accesslog':
+ return history_rec_run_recommender_accesslog();
+ break;
+ default: // history table
+ return history_rec_run_recommender_history();
+ break;
}
+}
+
Now what does - means before that function
also
diff -upN ../old/history_rec/history_rec.module ./history_rec.module
--- ../old/history_rec/history_rec.module 2009-09-21 20:17:12.000000000 +0100
+++ ./history_rec.module 2010-04-22 14:47:32.000000000 +0100
@@ -111,11 +111,19 @@ function history_rec_run_recommender() {
if (empty($enabled_types)) {
return;
}
do the above mentioned piece of code needs to be added ...
thanks for quick response joeMcGuire
it would be gr8 help if you can explain anything from above mentioned queries.
Comment #9
danithaca CreditAttribution: danithaca commentedSorry guys. I'm pretty occupied with daily work these days. Will take a look on the patch when I've got time.
Comment #10
Ankit22 CreditAttribution: Ankit22 commentedI have been waiting for long ... still got no result :(
Comment #11
danithaca CreditAttribution: danithaca commented@Ankit22, JoeMcGuire: May I ask you to be co-maintainers of the module? I'll focus my attention on improving the RecAPI module and might not be able to work on this module soon. Thanks. (http://michiza.com/blog/roadmap-recommender-api-module-and-helper-modules).
Comment #12
jm.federico CreditAttribution: jm.federico commentedHi Guys
I'm co-maintaining this module now.
@Ankit22, read http://drupal.org/node/367392 for info about patches
@JoeMcGuire, are you using this module on a live site with your patch? Would like to know how it is working.
Cheers
Comment #13
Ankit22 CreditAttribution: Ankit22 commentedI would love to. I have sent you a mail regarding the same.
Comment #14
apadernoFYI, Ankit22 is now co-maintainer of this project.
Comment #15
danithaca CreditAttribution: danithaca commented@ JoeMcGuire: Thanks for your patch. I can add you as as co-maintainer if you like to.
@Ankit22: I have added you as co-maintainer for the module. If you want to commit your patch, please do so on the 6.x-1.x release.
I'll add accesslog as a feature for 7.x-1.x release. Make the status as "active" for that.
Comment #16
JoeMcGuire CreditAttribution: JoeMcGuire commentedHi Guys,
Sorry i wrote this patch for a project I'm not involved in any more. I'll let you know if I pick it up again but no plans to at the moment.
Comment #17
colinchan CreditAttribution: colinchan commentedBased on the patch submitted by JoeMcGuire, these are the updated files as applied to the 6.x-1.4 release, with a minor spelling tweak that was bothering me (changing "Aviod duplicate results" to "Avoid duplicate results"). From initial testing, it seems to work as expected.
Thanks Joe and Daniel!
Comment #18
danithaca CreditAttribution: danithaca commentedcreated a shadow issue for 7.x: #1250836: take "accesslog" as browsing history input (7.x)
Comment #19
danithaca CreditAttribution: danithaca commentedThis is feature is in the D7 release. D6 is not supported anymore. I'm closing the issue unless someone is willing to give it a shot.