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: 2005/12/27 23:36 By: Viames Status: User  
Karma: 4  
Senior Joomlapolitan

Posts: 63
graphgraph
Hello Trail!
i was just trying this nice plugin, and i found that on lastviews.php, line 32:
FROM `mos_comprofiler_views` v, `mos_comprofiler` c, `mos_users` u
i had to change it into:
FROM #__comprofiler_views v, #__comprofiler c, #__users u
because my web site uses jos_ prefix on tables, so this fix was necessary to keep it working on my web site

thank you!

Post edited by: viames, at: 2005/12/27 18:08
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:Plugin - Last Profile Visitors
Date: 2005/12/28 01:55 By: nant Status: Admin  
Karma: 462  
Admin

Posts: 5981
graph
Nice catch Viames!

Replaced all mos_ to #__ and the plugin is now working on this site!

Trail - nice work!

Would love to have options to sort by date, hits, etc (like the joomlaboard plugin).
Nick A.
CB Core Team Member
Support CB Development and Get Detailed Documentation
Developer of Nant's Gallery plugin
CB Gallery Extensions Listing, Rate CB Gallery on Extensions Site
Developer of CB AutoWelcome Plugin
CB AutoWelcome Extensions Listing,Rate CB AutoWelcome on Extensions Site
People ignoring your call for help? Read this!
FAQ you
Joomlapolis Extensions Directory (new)- check it out!
Click here to see the profile of this user The administrator has disabled public write access.

Re:Plugin - Last Profile Visitors
Date: 2005/12/28 02:29 By: irgendwer Status: User  
Karma: 2  
Senior Joomlapolitan

Posts: 87
graphgraph
Big thanks!
That helped.
South Korea's got Seoul
Click here to see the profile of this user The administrator has disabled public write access.

Re:Plugin - Last Profile Visitors
Date: 2005/12/28 04:01 By: Viames Status: User  
Karma: 4  
Senior Joomlapolitan

Posts: 63
graphgraph
right!
i changed (but forgot to report in the post) also line 59 into:
$database->setQuery("SELECT count(viewer_id) FROM #__comprofiler_views WHERE profile_id ='$user->id' AND viewer_id=0");

cheers
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:Plugin - Last Profile Visitors
Date: 2005/12/28 04:19 By: trail Status: Admin  
Karma: 638  
Admin

Posts: 472
graphgraph
Lol.. simple bug that got in there during testing of the queries in phpmyadmin.. oops.. thanks for reporting, i will upload a new fixed file.. v0.1.2beta

Post edited by: Trail, at: 2005/12/27 22:41
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.

Re:Plugin - Last Profile Visitors
Date: 2005/12/29 06:25 By: rick Status: User  
Karma: 42  
Gold Joomlapolitan

Posts: 290
graphgraph
Trail,

Love the plugin and have contributed generously to the karma I have 2 problems and one suggestion. The problems:

1. The pictures that are supposed to be displayed are not working on my site. I notice that the link properties are going to www.mysite.com/images/comprofiler/mypic.jpg so it apears that the plugin is hardcoded to have the images directory in the root. My site set to where the pictures would work with the following link www.mysite.com/joomla/images/comprofiler/mypic.jpg as I have Joomla in a the folder called joomla in the root. Where do I need to go to fix this?

2. I like to show real names and not nicknames so I found that by changing 2 instances of username at lines 32 and 61 to name fixed that.

My sugestion is to add the previous Name issue as an option in the plugin.

Thanks,
Rick

Running:
Joomla! 1.0.7 Stable
Community Builder 1.0 rc2
SMF 1.1 RC2
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