Welcome, Guest
Please Login or Register.    Lost Password?

Joomla User ID not captured
(1 viewing) (1) Guest
Go to bottom
Post Reply
Post New Topic
Page: 12
TOPIC: Joomla User ID not captured
#554
Joomla User ID not captured 10 Months, 1 Week ago  
Hi

when someone (user) including myself (superadmin) submits a hotspot only the user name is captured and not the Joomla User ID. Hence my Hotspots tab in the profile shows nothing. I can add the user id manually but I guess that was not the idea of this wonderful extension which is great by the way. Just need to figure out how to enable user id capture.

Any idea? Many thank
L
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
elliotts
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#571
Re:Joomla User ID not captured 10 Months ago  
Hi,

hmm this should not happen. Normally the user id is also written into the db, when you are logged in. At least this always worked for me.

Please have a look at you database in jos_hotspots_marker and look for the field "autoruserid". This should not be empty if you are logged in and add hotspots in the frontend.

In the backend the userid is not saved (only if you enter one in the field). This is intended, so you can costumize it.

Best regards,

Yves
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
yves-hoppe
lunajoom Staff
Administrator
Posts: 260
graph
User Offline Click here to see the profile of this user
ICQ#: 145751252 Gender: Male yves-hoppe Lunajoom hoppe@asklepiad.de Location: Munich, Germany
Reply Quote
When you send me something through the PM system, please provide a link to your problem in the forum!
 
#735
Re:Joomla User ID not captured 8 Months ago  
I have the same problem (version 0.9.4beta). I have looked in the DB, autoruserid is empty and the hotspot was submitted from frontend

Thanks,

Peter
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
peterdam
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#736
Re:Joomla User ID not captured 8 Months ago  
I have looked at the sourcecode generated on the add hotspot page. The form-field value of autor userid is empty:

Code:

<input type="hidden" name="autoruserid" value="" />


This code seems to be generated from views/all/tmpl/addhotspot.php, line 223:

Code:

<input type="hidden" name="autoruserid" value="<?php echo $user->id; ?>" /> 


So somehow the user->id var is empty. This should help locate/solve the problem.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
peterdam
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#748
Re:Joomla User ID not captured 7 Months, 2 Weeks ago  
I checked views/all/tmpl/addhotspot.php, line 223
and the code is:

Code:

<input type="hidden" name="autoruserid" value="<?php echo $user->id; ?>" /> 



But hotspot still not get the user id.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
Jenny

Reply Quote
 
#837
Re:Joomla User ID not captured 4 Months, 3 Weeks ago  
I found the right code.

views/all/tmpl/addhotspot.php, line 221 on version 0.9.4

Code:


<input type="hidden" name="autoruserid" value="<?php $user =& JFactory::getUser(); echo $user->get('id') ;  ?>" />

Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
Afftar

Reply Quote
 
#838
Re:Joomla User ID not captured 4 Months, 3 Weeks ago  
Here is the picture

Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
afftar
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#848
Re:Joomla User ID not captured 4 Months, 1 Week ago  
When i add a new hot spot while i am logged in. It does not show up on my community builder profile. What do i need to change?
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
Joe

Reply Quote
 
#849
Re:Joomla User ID not captured 4 Months, 1 Week ago  
Hi...

I dont know why, because i'm not a programmer.

But it will show up just in case if you are adding the spot from frontend and the autoapproval is turned on.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
afftar
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#850
Re:Joomla User ID not captured 4 Months, 1 Week ago  
It looks like all the auto settings are correct. I don't see it capturing the joomla id when i look on the back end. The hot spots show up fine on the main map. They are not showing up on the community builder map.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
joe

Reply Quote
 
Go to top
Post Reply
Post New Topic
Page: 12
Moderators: yves-hoppe, extrem-pc

Newsletter

Name:
Email:

Donate to lunajoom Team