Visitor Map

Forum rules
This forum is not for support requests.

Only post Modifications for Board3 Portal 1.0.x in this forum.
Locked

Topic author
dudenell
Active Member
Posts: 31
Joined: 19. December 2008 05:08
phpBB.com User: dudenell
Location: NY state
Contact:

Visitor Map

Post 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
Last edited by dudenell on 28. May 2009 05:15, edited 3 times in total.
User avatar

Kevin
Site Admin
Posts: 2989
Joined: 7. January 2006 20:11
phpBB.de User: Saint
phpBB.com User: Saint_hh
Location: Hamburg
Contact:

Re: Visitor Map

Post by Kevin »

Thank you for sharing, dudenell! :)
~~~ They say the definition of madness is doing the same thing and expecting a different result ~~~

Kein Support per PN / No support via PM!

zappa84
Active Member
Posts: 18
Joined: 14. May 2009 22:01
Contact:

Re: Visitor Map

Post by zappa84 »

great block... Just 1 question.. How do i set it to be invisible to NON-REGISTERED users?

thanks in advance.

Topic author
dudenell
Active Member
Posts: 31
Joined: 19. December 2008 05:08
phpBB.com User: dudenell
Location: NY state
Contact:

Re: Visitor Map

Post 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.

zappa84
Active Member
Posts: 18
Joined: 14. May 2009 22:01
Contact:

Re: Visitor Map

Post by zappa84 »

it worked. thanks

serpico
Active Member
Posts: 25
Joined: 21. October 2008 10:44

Re: Visitor Map

Post by serpico »

Working only with 1.03? I have 1.02

Topic author
dudenell
Active Member
Posts: 31
Joined: 19. December 2008 05:08
phpBB.com User: dudenell
Location: NY state
Contact:

Re: Visitor Map

Post 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 -->
Last edited by dudenell on 27. May 2009 07:56, edited 1 time in total.

serpico
Active Member
Posts: 25
Joined: 21. October 2008 10:44

Re: Visitor Map

Post by serpico »

Tnx :D

Topic author
dudenell
Active Member
Posts: 31
Joined: 19. December 2008 05:08
phpBB.com User: dudenell
Location: NY state
Contact:

Re: Visitor Map

Post 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

Topic author
dudenell
Active Member
Posts: 31
Joined: 19. December 2008 05:08
phpBB.com User: dudenell
Location: NY state
Contact:

Re: Visitor Map

Post by dudenell »

apparently the site is down... Ill look for something similar but I don't think anything will come of this :(
User avatar

Mike
Former Team Member
Posts: 1862
Joined: 3. July 2008 23:59
Location: Schwarzwald / FDS
Contact:

Re: Visitor Map

Post by Mike »

Have a look at this: http://www.revolvermaps.com/
I use it on my Board... ;)
kein Support per PN / Messenger
no Support via PM / Messenger

Nawid
Active Member
Posts: 12
Joined: 20. July 2009 20:57
phpBB.com User: Nawid

Re: Visitor Map

Post 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?
User avatar

Mike
Former Team Member
Posts: 1862
Joined: 3. July 2008 23:59
Location: Schwarzwald / FDS
Contact:

Re: Visitor Map

Post 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... ;)
kein Support per PN / Messenger
no Support via PM / Messenger

Nawid
Active Member
Posts: 12
Joined: 20. July 2009 20:57
phpBB.com User: Nawid

Re: Visitor Map

Post by Nawid »

you're completely right! :)

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

Return to “board3 Portal v1.0.x - Modifications”