rsjennings84
Forum Replies Created
-
Forum: Plugins
In reply to: [Trackserver] Infobar template not workingSo if you take a look at our site https://www.wxscoop.net/live, you can see I have multiple users on the map, and you can see I have modified the code a little to add a button for the users live YouTube feed. I fully understand what you are saying now that the info bar is set by the author of the page and not each individual user being able to change what they display in the info bar. I understand if they had a page of their own and created it and put their map on there, then they would be able to control what went on the info bar. But I like how you have it setup, because me as the admin of the page, I can now control what they display in the info bar, which I like.
Forum: Plugins
In reply to: [Trackserver] Infobar template not workingAh that makes perfect sense now. I didn’t know it was set by the creator of the page and not user based. Which I like better instead so I can have the control of what my users are displaying on my map. Thanks for digging into this for me and clarifying that it follows the create of the page and not the user.
Forum: Plugins
In reply to: [Trackserver] send location stop to worksI have had this issue as well. It looks to be due to the iOS 11 update. The app hasnt been updated in years, so not sure if the dev will update it or not.
Forum: Plugins
In reply to: [Trackserver] Responsive Map HeightThank you sir, I did a bit more digging and I had to use [tsmap height=100vh]
Forum: Plugins
In reply to: [Trackserver] any working iphone apps for live tracking?I can confirm that send location works with this plugin. We use it daily for our storm chasing application.
Forum: Plugins
In reply to: [Trackserver] Publish only one point: the current locationThis can already be achieved. The below is an example, the markers=e means it only shows the end marker and the opacity=0.0 means it will not show a track as it has an opacity of 0. I hope this fixes you up.
[tsmap user=user1,user2,live markers=e infobar=t opacity=0.0 zoom=4]
Forum: Plugins
In reply to: [Trackserver] Infobar template not workingWell after a week of painful looking around at the code I finally found out what was going on. I thought each user could adjust what they wanted to be seen on the infobar, but you have to change this value on the administrator level. When I tried to set this value on the user level it would not work, but when I set it in the admins profile it made the change. I am not sure if you intended this feature to be controlled on the user level or on the admin level, but i figured it would be on the user level since the data is stored in the users metadata table. But if it is only to be controlled on the admin level, you may close this out.
Forum: Plugins
In reply to: [Trackserver] Remove Marker After Certain Amount of TimeOk forgive me, I have been going at this in a fashion that I wasnt looking at all the details. I have found a place where I can set a user based variable and it is stored in the DB. I am going to use the website field that is under the users profile for wordpress. I dont know why I didnt think of that before, but I can have them put their youtube link in there.
What I need help with next is where to put it in the trackserver.php file and lastly where the onclick command is for clicking on the end markers. I have noticed that if you click on them when live is not on, it still centers on the marker, and when live is on and infobar=t the infobar comes up and centers when you click on the marker. So I would like it to still center.
Would this code be where I need to add the user_url data?
if ( $row['user_id'] ) { $metadata['userid'] = $row['user_id']; $metadata['userlogin'] = $this -> get_user_id( (int) $row['user_id'], 'user_login' ); $metadata['displayname'] = $this -> get_user_id( (int) $row['user_id'], 'display_name' );
Forum: Plugins
In reply to: [Trackserver] Remove Marker After Certain Amount of TimeSorry for the multiple posts, they were not showing when I posted.
So I have decided to use the existing info bar to display the content, as it is already there and just have to add my added variables.
To answer the adding of a YouTube field I need this to be on a user level and stored as a variable on the user level. Then in the infobar it will link to their YouTube live stream by click on Watch Live.
Forum: Plugins
In reply to: [Trackserver] Remove Marker After Certain Amount of TimeThat will work, thanks again for all your hard work. One other thing I need to work on is adding a couple of fields within the your profile menu and that would be one field for identifying the title of a user and the other would be the users youtube live link. I would then like to incorporate those fields for 1 filtering our which dots to see on a map, and 2 displaying a pop up on the map when you click on a dot. The pop up would contain the users name, title, and a link to their yourtube live. I have tried to modify the on(“click”) that you have utilized for the infobar, but cant get it to work. I think this feature would not only be useful for our application but others applications as well as a lot of people like to share these kinds of things today, like when they go on hikes or maybe if they are on a drive and show video from their drive. Just a thought for later releases.
- This reply was modified 8 years ago by rsjennings84.
Forum: Plugins
In reply to: [Trackserver] Remove Marker After Certain Amount of TimeThat will work, thanks again man for all your hard work. I have been doing some digging around and love your code. It is easy to follow and figure things out. The last thing I need to learn and figure out is the .on(‘click’) function. I have tried to manipulate what you have there for the infobar and make a popup instead when you click on the dots, just cant quite figure that out. Also I have been trying to work on adding a field in the your profile to add a youtube live link, so when you click on the users dot you would get a pop up which would give info such as name, title, and a live link where you can click on it and watch their youtube live feed. This may be useful for others as well with all the social media stuff going on, other users may want to share their hikes on a live stream. Just an idea and not sure how much it would take to implement, but Would be a great feature in the future
Forum: Plugins
In reply to: [Trackserver] Remove Marker After Certain Amount of TimeThat will work, thanks again man for all your hard work. I have been doing some digging around and love your code. It is easy to follow and figure things out. The last thing I need to learn and figure out is the .on(‘click’) function. I have tried to manipulate what you have there for the infobar and make a popup instead when you click on the dots, just cant quite figure that out. Also I have been trying to work on adding a field in the your profile to add a youtube live link, so when you click on the users dot you would get a pop up which would give info such as name, title, and a live link where you can click on it and watch their youtube live feed. This may be useful for others as well with all the social media stuff going on, other users may want to share their hikes on a live stream. Just an idea and not sure how much it would take to implement, but Would be a great feature in the future.
Forum: Plugins
In reply to: [Trackserver] No Tracks/Pop up when clicking userMartijn,
Thanks for the help on the layers, that worked great and if you want to check our site out to see what we are utilizing your wonderful plugin for it is wxscoop.net. I will open that other request for the FE in a few min.
VR,
ScottForum: Plugins
In reply to: [Trackserver] No Tracks/Pop up when clicking userFirst of all, awesome job on the latest release, I am digging the multiple users on the same map feature. I would like some help or see it as a FE in the future. I have been playing around with the latest version and I may be the only user that would want this, as I am using this plugin differently than what it was designed for. I understand this plugin was designed to show where you hiked or a path you took to get to a location and plot it on a map. I am using this as a GPS tracking for my storm chasing team. The FE would be to clear the markers off the map after the chaser stops broadcasting. So I could see the code being, “If marker last update time >15 min then remove marker”. This would not be a default setting but you would have to specify if you wanted this feature on or off by something in the shortcode like markertimeout=y.
The second thing I am running into is using more than 1 tile within the map. I can of course get my base of the google maps or open street maps, but like stated earlier we run a storm chasing website and would like to add a radar tile. Can you point me as how to input this in the code or add a field in the admin console to use multiple tiles? I have tried to modify this line of code but that doesn’t seem to work:
var map_layer0 = L.tileLayer(
trackserver_settings[’tile_url’],
{ attribution: trackserver_settings[‘attribution’], maxZoom: 18 }
L.tileLayer(‘https://maps.aerisapi.com/%5Bclient_id%5D_%5Bclient_key%5D/radar/{z}/{x}/{y}/current.png’, {
subdomains: ‘1234’,
attribution: ‘©AerisWeather’,
}).addTo(map);
);I have also tried to make a new variable and do the new tile layer in there and call it in the next line where you have var options = {center : center, zoom : zoom, layers: [map_layer0], messagebox: true } I added [map_layer1](which is what I called the other variable)
Forum: Plugins
In reply to: [Trackserver] No Tracks/Pop up when clicking userAwesome, that is great man. Thanks for your hard work on this project. Looking forward to the update and the more to come after that. This plugin will make our storm chasing site a success.