Title: Infobar template not working
Last modified: March 12, 2017

---

# Infobar template not working

 *  Resolved [rsjennings84](https://wordpress.org/support/users/rsjennings84/)
 * (@rsjennings84)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/infobar-template-not-working/)
 * When I put other variables in the infobar template they do not show up on the
   infobar. For example if i put {timestamp} – {lat},{lon} in the template I still
   get the default displaying in the infobar. I even changed the below code to this
   and it still showed in this format {displayname} – {lat},{lon} – {timestamp}
 *     ```
       var $user_meta_defaults = array(
       				'ts_infobar_template' => '{displayname} - {timestamp}'
       ```
   
    -  This topic was modified 9 years, 2 months ago by [rsjennings84](https://wordpress.org/support/users/rsjennings84/).

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Thread Starter [rsjennings84](https://wordpress.org/support/users/rsjennings84/)
 * (@rsjennings84)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/infobar-template-not-working/#post-8932948)
 * Well 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.
 *  Plugin Author [tinuzz](https://wordpress.org/support/users/tinuzz/)
 * (@tinuzz)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/infobar-template-not-working/#post-9308460)
 * A reply to this topic is hopelessly overdue, I’m sorry about that. The template
   of the infobar should be changeable on the user level, so I suspect there is 
   a bug somewhere. I will investigate, but I’m not sure when I will have time. 
   I’ll keep this open in the mean time.
 * Best regards,
    Martijn.
 *  Plugin Author [tinuzz](https://wordpress.org/support/users/tinuzz/)
 * (@tinuzz)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/infobar-template-not-working/#post-9616246)
 * Hi,
 * I finally had time to look into this, but I haven’t been able to reproduce the
   problem. Please note that the inforbar template that is used is the one from 
   the author of the page that’s showing the map. So this is independent of which
   tracks are being shown.
 * Every page has an author, and every author (user) has the ability to set the 
   infobar template for his/her own maps in the user profile.
 * Can you confirm that this is working for you the way it should? If there is still
   a problem, I’d like to hear about it!
 * Best regards,
    Martijn.
 *  Thread Starter [rsjennings84](https://wordpress.org/support/users/rsjennings84/)
 * (@rsjennings84)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/infobar-template-not-working/#post-9617093)
 * Ah 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.
 *  Plugin Author [tinuzz](https://wordpress.org/support/users/tinuzz/)
 * (@tinuzz)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/infobar-template-not-working/#post-9618464)
 * Just wondering… when you say “user based”, which user do you have in mind? How
   did you expect it to work? It seems I am missing something here 😉
 * I’m asking, because the only user involved in publishing maps with Trackserver
   is the author of the page.
 * Cheers,
    Martijn.
 *  Thread Starter [rsjennings84](https://wordpress.org/support/users/rsjennings84/)
 * (@rsjennings84)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/infobar-template-not-working/#post-9620898)
 * So if you take a look at our site [http://www.wxscoop.net/live](http://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.
 *  Plugin Author [tinuzz](https://wordpress.org/support/users/tinuzz/)
 * (@tinuzz)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/infobar-template-not-working/#post-9621956)
 * Ah, by “user based” you mean, that when the live map ‘follows’ one of the users,
   the infobar would use that specific user’s template. That way of thinking never
   occurred to me, but it isn’t far fetched. I like how you use the mouseover event
   instead of a click to start following the user.
 * Closing the isue now, thanks for the feedback!
 * Cheers,
    Martijn.
    -  This reply was modified 8 years, 6 months ago by [tinuzz](https://wordpress.org/support/users/tinuzz/).

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Infobar template not working’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/trackserver.svg)
 * [Trackserver](https://wordpress.org/plugins/trackserver/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/trackserver/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/trackserver/)
 * [Active Topics](https://wordpress.org/support/plugin/trackserver/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/trackserver/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/trackserver/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [tinuzz](https://wordpress.org/support/users/tinuzz/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/infobar-template-not-working/#post-9621956)
 * Status: resolved