×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Hotspots on profile page

Hotspots on profile page 14 years 1 month ago #10511

  • Jacek Bartusz
  • Jacek Bartusz's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
Hi,
when I add a new hotspot (logged in as normal user) it is not displayed in the "newest spots from..."-section in the "community builder hotspot plugin"-tab. Am I missing something here?

- CB Version 1.2.3
- Hotspots 1.0 beta

Hotspots on profile page 14 years 1 month ago #10512

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Online
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
I am astonished that this plugin worked for you. I just tested it and it was not working at all - it was giving a php error.
I've updated the plugin and you can find it here:
compojoom.com/downloads/downloads/hotspots/miscellaneous

However, it won't solve your problem :(
The problem is that no id is saved into the database when you add a hotspot from the frontend. To fix this - you will have to edit
components/com_hotspots/view/all/addspot.php
and add just after the
defined('_JEXEC') or die('Restricted access');

this code:
$user = & JFactory::getUser();

at the end it should look like this:
defined('_JEXEC') or die('Restricted access');
 
$user = & JFactory::getUser();

Now when you enter a new hotspot the cb plugin should show it.
This fix will be included in beta2
Cheers,
Daniel
  • Page:
  • 1
Time to create page: 0.180 seconds