I reinstalled the forum and the MOD and unfortunately I can see the same behavior I wrote about in point 1. It looks like the viewtopic map is replaced by viewforum map.leschek wrote:1. It seems that on my test forum don't work maps in topics. Well, they works, but shows the very same map markers and I'm not able to set map zoom - they use zoom setting from viewforum zoom. I also can't see attachments on viewtopic maps. I checked your forum and it looks OK, so I will try to reinstall the forum and MOD.
Code: Select all
Code: Select all
[directmap id={IDENTIFIER1}]{TEXT1}[/directmap]
the definition is
Code: Select all
<a href="#" onclick="popup('./geotopics.php?i=popup&'+'{IDENTIFIER1}'.substring(0,1) +'='+'{IDENTIFIER1}'.substring(1), 800, 600); return false;">{TEXT1}</a>
this is safe - because {TEXT1} allowing to insert anything is placed between HTML and {IDENTIFIER1} guarantees it cinstains "Characters from the latin alphabet (A-Z), numbers, hyphen and underscore" only
I have been following with precision your XML instructions. here is the page on the testing forum: http://dcs.dj/geotopics.phpas to prosilver related skin - propably you need to made some extra edits if your skin has its own overall_(footer|header).html simple_(footer|header).html files the edits must follow the installation instuctions for prosilver. see mod_install.xml file.
Code: Select all
[directmap id={IDENTIFIER1}]{TEXT1}[/directmap]
Code: Select all
<a href="#" onclick="javascript: var nd = document.createElement('div'); this.parentNode.insertBefore(nd, this); this.parentNode.removeChild(this);nd.innerHTML = '<iframe src="./geotopics.php?i=popup&'+'{IDENTIFIER1}'.substring(0,1) +'='+'{IDENTIFIER1}'.substring(1)+'" width="100%" height="400px" frameborder="0" mozallowfullscreen="" webkitallowfullscreen="" allowfullscreen="" seamless="true" sandbox="allow-same-origin allow-scripts allow-top-navigation allow-forms" name="non_ymsm_frame" marginwidth="0" marginheight="0" scrolling="no" ></iframe>'; return false;">{TEXT1}</a>