|
|
Re:Plugin - Last Profile Visitors
|
|
Date: 2006/01/03 08:05
|
By: saimen
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 8 |   | |
|
wow! great - I love this plugin. It's working very smooth on my Joomla/CB website.
Thank you very much.
|
|
The administrator has disabled public write access. |
|
|
|
Re:Plugin - Last Profile Visitors
|
|
Date: 2006/01/15 04:17
|
By: muirad
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 6 |   | |
|
thanx
Post edited by: muirad, at: 2006/01/14 22:27
|
|
The administrator has disabled public write access. |
|
|
|
A strange query in the lastviews plugin
|
|
Date: 2006/01/15 21:51
|
By: Viames
|
Status: User
|
|
|
Karma: 4  
|
|
Senior Joomlapolitan  | Posts: 63 |   | |
|
Hi Trail  Looking at the plugin code i found this query at lastviews.php row 72:
SELECT count(viewer_id) FROM #__comprofiler_views WHERE profile_id ='$user->id' AND viewer_id=0
but this query seems has no role in the plugin, altought it is executed for many times (0 to 10 should depends on # of last visits) in every plugin load. Anyway this query seems not required cuz views number is loaded directly from the first query (row 41-43). CB italian translation & testing translations on joomla.it homesite: Crotone on Web
|
|
The administrator has disabled public write access. |
|
|
|
Re:A strange query in the lastviews plugin
|
|
Date: 2006/01/16 00:25
|
By: trail
|
Status: Admin
|
|
|
Karma: 615  
|
|
Admin  | Posts: 473 |   | |
|
You are right that it should not be executed $listlimit number of times. But it serves the purpose of counting guest visits.
I have moved it out of the foreach loop so its just executed once. This should speed up the code, nice find, thanks 
v0.1.9beta is born 
Post edited by: Trail, at: 2006/01/15 18:26 DJ Trail. CB Co-Founder & Test-Lead. Plugins: My Age, Starsign Matchmaking Horoscope, My Visitor, My Highscores, My ProfileID, My Components: Import & Invite Karma Casino (Use Test / Test) My Modules: Many 
|
|
The administrator has disabled public write access. |
|
|
|
using sefRelToAbs() and alternate rows color
|
|
Date: 2006/01/29 18:31
|
By: Viames
|
Status: User
|
|
|
Karma: 4  
|
|
Senior Joomlapolitan  | Posts: 63 |   | |
|
well trail, i know you love when i found something to change or fix ... lol j/k 
1. Testing the SEF feature, i found that urls generated by lastviews plugin don't use the sefRelToAbs() function. So the line: ... <a href="index.php?option=com_comprofiler&task=userProfile&user=".$lastview->viewer_id.""> ... could be changed into: ... <a href="".sefRelToAbs("index.php?option=com_comprofiler&task=userProfile&user=".$lastview->viewer_id).""> ...
2. The list could use alternate row colors, like in all CB tabs and in whole joomla. It missed "sectiontableentry1", using just "sectiontableentry2" for odds and even rows.
Thank you trail! CB italian translation & testing translations on joomla.it homesite: Crotone on Web
|
|
The administrator has disabled public write access. |
|
|
|
Re:using sefRelToAbs() and alternate rows color
|
|
Date: 2006/02/02 14:52
|
By: pateta12
|
Status: User
|
|
|
Karma: 5  
|
|
Senior Joomlapolitan  | Posts: 61 |   | |
|
I just found about this plugin and think that is great.
Here is some Karma going your way Trail.

Post edited by: pateta12, at: 2006/02/02 08:52
|
|
The administrator has disabled public write access. |
|
|