Arrow Home arrow Forums
larger font smaller font default font Fixed screen resolution Auto adjust screen size

Joomlapolis Forums  


<< Start < Prev 1 2 3 4 5 6 7 8 9 10 Next > End >>
Re:Plugin - Last Profile Visitors
Date: 2006/01/03 08:05 By: saimen Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 8
graphgraph
wow! great - I love this plugin. It's working very smooth on my Joomla/CB website.

Thank you very much.
Click here to see the profile of this user 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
graphgraph
thanx

Post edited by: muirad, at: 2006/01/14 22:27
Click here to see the profile of this user 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
graphgraph
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
Click here to see the profile of this user 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: 640  
Admin

Posts: 472
graphgraph
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
Click here to see the profile of this user 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
graphgraph
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
Click here to see the profile of this user 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
graphgraph
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
Click here to see the profile of this user The administrator has disabled public write access.

<< Start < Prev 1 2 3 4 5 6 7 8 9 10 Next > End >>

Documentation

Documentation Subscription Service
(updated for CB 1.2 RC2)

What?

Why?

Where?

Just click here for answers!

Click here for a yearly subscription: subscribe now

Download Latest Release

The latest stable Community Builder Release is version 1.1 for Joomla 1.0 and Mambo.
You need to be a registered member of Joomlapolis to download.

The latest release candidate of Community Builder is version 1.2 RC3, native for Joomla 1.0, 1.5 and Mambo.
It is available as "thank you" to all CB documentation subscribers at this time.

CB Login