Skip to Content Skip to Menu

🌟Discover the Joomla AI Plugin that wrote its own story! - CB Editor Assistant 1.1now for Joomla 3, 4 & 5!
✍️ 5-Day Free Trial, then 🎯 save up to 30% with our 🛍️ Intro Offer (First 50 users, ends Dec. 25th)
🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

Plugin - Last Profile Visitors

  • Viames
  • Viames
  • OFFLINE
  • Posts: 18
  • Thanks: 0
  • Karma: 6
18 years 11 months ago #2849 by Viames
Replied by Viames on topic Re:Plugin - Last Profile Visitors
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 :p

thank you!

Post edited by: viames, at: 2005/12/27 18:08

CB italian translation & testing
translations on joomla.it
homesites: Viames.it , Crotone on Web

Please Log in or Create an account to join the conversation.

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
18 years 11 months ago #2866 by nant
Replied by nant on topic Re:Plugin - Last Profile Visitors
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).

Please Log in or Create an account to join the conversation.

  • irgendwer
  • irgendwer
  • OFFLINE
  • Posts: 41
  • Thanks: 0
  • Karma: 2
18 years 11 months ago #2867 by irgendwer
Replied by irgendwer on topic Re:Plugin - Last Profile Visitors
Big thanks!
That helped.

South Korea's got Seoul

Please Log in or Create an account to join the conversation.

  • Viames
  • Viames
  • OFFLINE
  • Posts: 18
  • Thanks: 0
  • Karma: 6
18 years 11 months ago #2868 by Viames
Replied by Viames on topic Re:Plugin - Last Profile Visitors
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
homesites: Viames.it , Crotone on Web

Please Log in or Create an account to join the conversation.

  • trail
  • trail
  • OFFLINE
  • Posts: 232
  • Thanks: 21
  • Karma: 813
18 years 11 months ago #2869 by trail
Replied by trail on topic Re:Plugin - Last Profile Visitors
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 :)

Please Log in or Create an account to join the conversation.

  • rick
  • rick
  • OFFLINE
  • Posts: 68
  • Thanks: 0
  • Karma: 47
18 years 11 months ago #2905 by rick
Replied by rick on topic Re:Plugin - Last Profile Visitors
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

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum