Thread: Major Additions - VBGooglemap Member Edition
View Single Post
  #121  
Old 10-06-2006, 11:53 AM
LaCN LaCN is offline
 
Join Date: Feb 2005
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Falcon Capt
I inserted the $post[findme] in my legacy postbit and it works properly.

What I would like to do is have it display a small icon instead of a text link ("My location") in the postbit. I would like to have this icon be the "button" that is pushed to cause the map to come up and display that persons marker.
We had the same thing, we have those nice little icons for msn, aim, etc.. and wanted to add a nice image for map, instead of that text.

What to do:
go to ur forum-database.
Find in table phrases (or vb3_phrases, whatever u have) the record with the varname: vbgooglemapme_findme
If u found that record, edit the text from: My location to something like: <img src="images/globe.gif" border=0 title="My location" />
Save it and u're done there...

U'll notice nothing changed in the forum yet.. That's because that weird cashe or w/e isn't updated.
To update this, go in ur adminpanel to search phrases and search for <img src="images/globe.gif" border=0 title="My location" />
Then press the edit-button.
And after that click the save-button. (nothing changed, just press save)

From now on u'll see the image

PS, instead of image, u can use other html, like <button onclick=...>My location</button> if u want a button


If u can't access ur db, u can edit all ur html in teh postbit-template of course..




Quote:
Originally Posted by stonyarc
Make sure you upload the images to all your styles.

Also in the backend (admincp) you have to select what image is linked to what usergroup and if the usergroup should appear or not.
We also noticed, that when u add ur location, and use html, like <br /> it parses it all wrong, and u won't see ur icon on them map

:bunny:






Now we got the following problem
When u added urself it goes fine..
But when u want to edit ur location, the following things are missing/empty:
- The map to zoom in with is gone
- The BB-code text-fields are empty.

Anyone got a solution ?
I think it is in the vbgooglemapme_display_yourlocation template...
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01288 seconds
  • Memory Usage 1,769KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete