Page 1 of 1

Visitor Map

Posted: 15. April 2009 01:21
by dudenell
Addon: Visitor map
Addon-Version: [REL] 1.1
Addon-Description:
Adds a visitor map to your portal
Addon-Requirements: board3 Portal v1.0.3 (to download)

Addon-Authors: Dudenell + basicstat.com
Addon-Download: Visitor Map

phpBB-Version: 3.0.X
phpBB-Styles: subsilver2
phpBB-Languages: English

Addon-Demo: http://test.rufclan.com/

This mod is for subsilver and is not terribly complicated, If someone knows how to make it for prosilver go ahead.


Open up the map.html file

Go to http://basicstat.com/maps/

Find 1239737203 in both places

Replace with your number generated from the link above
EX
<a href="http://basicstat.com/maps/map1239737203.php"><img src="http://basicstat.com/maps/500/1239737203.jpg" border="1" alt="Site visitors world map" /></a>/></a>

save the file and upload to /styles/subsilver/template/portal/block/

open
/styles/subsilver/template/portal/block/additional_block_center.html

find <!-- additional_blocks //-->

after add
<!-- INCLUDE portal/block/map.html -->

once installed go to the acp and Purge the cache

Re: Visitor Map

Posted: 15. April 2009 06:50
by Kevin
Thank you for sharing, dudenell! :)

Re: Visitor Map

Posted: 14. May 2009 22:41
by zappa84
great block... Just 1 question.. How do i set it to be invisible to NON-REGISTERED users?

thanks in advance.

Re: Visitor Map

Posted: 15. May 2009 00:27
by dudenell
open up map.html

at the start before any lines add
<!-- IF S_USER_LOGGED_IN -->

all the way at the end of the document add
<!-- ENDIF -->

that should make it so you cannot view it if you are not logged in.

Re: Visitor Map

Posted: 16. May 2009 00:43
by zappa84
it worked. thanks

Re: Visitor Map

Posted: 16. May 2009 11:06
by serpico
Working only with 1.03? I have 1.02

Re: Visitor Map

Posted: 18. May 2009 04:20
by dudenell
serpico wrote:Working only with 1.03? I have 1.02
download 1.0
http://rufclan.com/download/file.php?id=209
instead of opening
/styles/subsilver/template/portal/block/additional_block_center.html

you would open

/styles/subsilver/template/portal/portal_body.html

find:
<!-- IF S_DISPLAY_ONLINE_PORTAL_LIST and S_DISPLAY_ONLINE_LIST -->

add before
<!-- INCLUDE portal/block/map.html -->

Re: Visitor Map

Posted: 21. May 2009 23:36
by serpico
Tnx :D

Re: Visitor Map

Posted: 27. May 2009 07:59
by dudenell
updated to version 1.1
It will now work correctly with _block_config.html if you edit it

next version ill make for prosilver2
looking into making ACP control also

Re: Visitor Map

Posted: 11. June 2009 06:18
by dudenell
apparently the site is down... Ill look for something similar but I don't think anything will come of this :(

Re: Visitor Map

Posted: 11. June 2009 21:39
by Mike
Have a look at this: http://www.revolvermaps.com/
I use it on my Board... ;)

Re: Visitor Map

Posted: 20. July 2009 22:24
by Nawid
Mike wrote:Have a look at this: http://www.revolvermaps.com/
I use it on my Board... ;)
How did you do that? Will it work with prosilver?

Re: Visitor Map

Posted: 21. July 2009 12:15
by Mike
Yes, it will work with prosilver.
As first you have to generate a code for your Website there (just two lines)
After that you can make a new custom Block ( Knowledge Base: Adding Custom Blocks ) and paste in this code.

Thats all... ;)

Re: Visitor Map

Posted: 22. July 2009 01:34
by Nawid
you're completely right! :)

I'll install this later (at the moment it''s 1.33 AM >_< )