Image Comments add-on

Talk about the Nmaps.net website.

Moderators: Rose, Sunset

User avatar
Damn You're Fine
Posts: 384
Joined: 2008.09.19 (01:47)
NUMA Profile: http://nmaps.net/user/littleviking001
MBTI Type: INTP
Location: Southern California
Contact:

Postby LittleViking » 2009.01.18 (02:40)

This is a third party add-on for Numa that lets users comment on specific regions of any given map. Just open up the Image Comments section, drag a box, and enter your comment. The add-on is known not to work in Internet Explorer 7 and, being primarily Javascript, isn't guaranteed to work for your setup. If it doesn't work for you but you really want the feature, PM me and we can try to debug it. Anyone, regardless of browser and without installing anything, can view image comments on a map by going to therealn.com/numa_image_comments.php?map_id=123456
In action

Image

Installation:

There are a few different ways to install. First is a "bookmarklet". You create a new browser bookmark with the following code as the address, and click the bookmark anytime you're on a Numa map page to enable it. This method is the easiest to set up, but has the downside of needing to click the bookmark on each page. In many cases, this is the only option I know of.


Some browsers (read: Opera) let you set custom javascript for a site. Browser support like this will automatically enable the add-on for every map page you go to. If you're using Opera, save the following script to a folder on your computer. Then open an nmaps.net page, right-click, choose "Edit Site Preferences...", go to the Scripting tab, and select the folder the script is in.
image_comment.js
(1.33 KiB) Downloaded 214 times
Using the add-on:

After you click the bookmarklet, or just load the page if you have a browser-based user script, scroll to the Comments section of the map page. Next to the word Comments in the header should be a new link, "Image Comments." Click that to open the image comments section and view all the current comments. If you're logged into Numa, you can add your own comment by simply dragging a box and typing your message.


In the near future, I'll add a page that lists maps with image comments on them. (With so many maps on Numa, who knows what maps will and won't have comments on them?) Maybe someday, I'll try to make it play nice with IE. And finally, if this gets popular enough, maybe you'll see it as part of Numa by default.

Edit: Here's a preliminary listing of commented maps. Might become more integrated, or at least more styled, soon. http://therealn.com/ic_maps.php
Image
The last Metroid is in captivity. The galaxy is at peace...

User avatar
La historia me absolverá
La historia me absolverá
Posts: 2228
Joined: 2008.09.19 (14:27)
NUMA Profile: http://nmaps.net/user/maestro
MBTI Type: INTP
Location: Beijing
Contact:

Postby 乳头的早餐谷物 » 2009.01.18 (02:45)

I love you in a decidedly non-platonic way.
M E A T N E T 1 9 9 2

Image

User avatar
Yet Another Harshad
Posts: 464
Joined: 2008.09.26 (13:23)
NUMA Profile: http://nmaps.net/user/lord_day
MBTI Type: INTJ

Postby lord_day » 2009.01.18 (02:48)

maestro wrote:I love you in a decidedly non-platonic way.
I agree with her. <3
Image

User avatar
The 700 Club
Posts: 743
Joined: 2008.09.30 (07:37)
NUMA Profile: http://nmaps.net/user/jackass77
MBTI Type: ESFJ
Location: Australia

Postby jackass » 2009.01.18 (02:50)

Can somebody give me a simplified step by step tutorial on how to do this for Internet Explorer?>
[align=center]Image
Mine :: Techno :: Incluye :: GTM ::Skyline :: Riobe :: GTM 2[/align]

User avatar
La historia me absolverá
La historia me absolverá
Posts: 2228
Joined: 2008.09.19 (14:27)
NUMA Profile: http://nmaps.net/user/maestro
MBTI Type: INTP
Location: Beijing
Contact:

Postby 乳头的早餐谷物 » 2009.01.18 (02:50)

jackass wrote:Can somebody give me a simplified step by step tutorial on how to do this for Internet Explorer?>
"The add-on is known not to work in Internet Explorer 7"
M E A T N E T 1 9 9 2

Image

User avatar
The 700 Club
Posts: 743
Joined: 2008.09.30 (07:37)
NUMA Profile: http://nmaps.net/user/jackass77
MBTI Type: ESFJ
Location: Australia

Postby jackass » 2009.01.18 (02:52)

maestro wrote:
jackass wrote:Can somebody give me a simplified step by step tutorial on how to do this for Internet Explorer?>
"The add-on is known not to work in Internet Explorer 7"
How about chrome?
[align=center]Image
Mine :: Techno :: Incluye :: GTM ::Skyline :: Riobe :: GTM 2[/align]

User avatar
Depressing
Posts: 1989
Joined: 2008.09.28 (01:10)
NUMA Profile: http://nmaps.net/user/UniverseZero
Steam: www.steamcommunity.com/id/universezero/
MBTI Type: ENTJ
Location: The City of Sails, The Land of the Long White Cloud
Contact:

Postby Universezero » 2009.01.18 (03:05)

This doesn't work properly for me. I have Firefox 3, and I can add Image Comments and everything, but it won't save any comments I make.
Image

User avatar
Damn You're Fine
Posts: 384
Joined: 2008.09.19 (01:47)
NUMA Profile: http://nmaps.net/user/littleviking001
MBTI Type: INTP
Location: Southern California
Contact:

Postby LittleViking » 2009.01.18 (03:08)

jackass wrote:How about chrome?
* Copy all of this data:
* Open the Bookmark Manager (Tools>Bookmark Manager, or Ctrl+Shift+B)
* Choose the folder to save this in. I'd say Bookmarks Toolbar for easy access.
* Right-click, Add page..., Name it something like "Numa Image Comments", URL is the code you just copied (paste it in).
* Click OK, close the Bookmark Manager.
* Open a Numa map page, say, this one: http://nmaps.net/149848
* If your Bookmarks bar isn't showing, press Ctrl+B to display it. Then click on the Numa Image Comments bookmark you just made.
* Now, scroll to the Comments section and click the new Image Comments link in the header. A commented picture of the map should open up. If you want to add your own comments, simply drag a box, type in your message, and press Enter.

@UniverseZero: Pressing Enter after you type a comment? If you can open the image comment section at all, then you're past the biggest hurdle.
Image
The last Metroid is in captivity. The galaxy is at peace...

User avatar
The 700 Club
Posts: 743
Joined: 2008.09.30 (07:37)
NUMA Profile: http://nmaps.net/user/jackass77
MBTI Type: ESFJ
Location: Australia

Postby jackass » 2009.01.18 (03:15)

Thanks its working now :)
[align=center]Image
Mine :: Techno :: Incluye :: GTM ::Skyline :: Riobe :: GTM 2[/align]

User avatar
Diagnosis Mohawk: Bahrain Cock Theory
Posts: 1405
Joined: 2008.09.23 (13:25)
NUMA Profile: http://nmaps.net/user/spawn_of_yanni
MBTI Type: ENFJ
Location: Pittsburgh

Postby Spawn of Yanni » 2009.01.18 (06:43)

Faaaaaaaaaaaaaaaaaantastic.

Question: Does this count as a "map with a new comment", at the top of the page? If not, it should.
Image
feline disrespect from behind

User avatar
RoboBarber
Posts: 365
Joined: 2008.09.26 (12:18)
NUMA Profile: http://nmaps.net/user/kiaora
MBTI Type: INFP

Postby mintnut » 2009.01.18 (13:43)

Wow...

User avatar
Yet Another Harshad
Posts: 451
Joined: 2008.10.07 (19:00)
NUMA Profile: http://nmaps.net/user/Naczz
Location: Where Fifa 2010 is being held, also where a trading post from uk to india was seup 300 yrs ago
Contact:

Postby NicNac14 » 2009.01.18 (14:08)

how about safari?
spoiler

I do Sigs... Want one? ImageI made this one..


^click^.

User avatar
RoboBarber
Posts: 365
Joined: 2008.09.26 (12:18)
NUMA Profile: http://nmaps.net/user/kiaora
MBTI Type: INFP

Postby mintnut » 2009.01.18 (16:12)

It works with safari.just load the code into the URL field/box and then drag it to the bookmarks bar

Global Mod
Global Mod
Posts: 1596
Joined: 2008.09.26 (13:10)
NUMA Profile: http://nmaps.net/user/gloomp
MBTI Type: INTP
Location: Troy, New York
Contact:

Postby unoriginal name » 2009.01.18 (16:18)

Oh God! Amazing! <3

User avatar
Odd
Posts: 1374
Joined: 2008.09.27 (14:03)
NUMA Profile: http://nmaps.net/user/pni
MBTI Type: ENFP
Location: Ottawa
Contact:

Postby Pixon » 2009.01.18 (16:40)

Best. Numa Add-On. Ever.
spoiler

Signatures supplied by the following: NicNac14, Tsukatu, aphex_n, Nphasis, pinkymyno1, UniverseZero, gloomp, sidke, 29403, AMomentLikeThis, Chase, Red Reamer, Izzy, MyCheezKilledYours, Techno, Donfuy juice, southpaw, IAMAMAZING, SkyRay, Skyline, Why_Me, jackass, Leaff, esay, Daikenkai, Kablamo_Boom, wumbla, Izzy, toasters, Octopod Squad, behappyy, notsteve, Shadowraith, GTM, Animator, kkstrong, TearsOfTheSaints, Spawn of Yanni, nnn, Furry Ant, ampburner, fawk. Thanks.
I have 72 signatures.

I accept signature donations.

User avatar
Yet Another Harshad
Posts: 451
Joined: 2008.10.07 (19:00)
NUMA Profile: http://nmaps.net/user/Naczz
Location: Where Fifa 2010 is being held, also where a trading post from uk to india was seup 300 yrs ago
Contact:

Postby NicNac14 » 2009.01.18 (16:54)

mintnut wrote:It works with safari.just load the code into the URL field/box and then drag it to the bookmarks bar
then what?...
spoiler

I do Sigs... Want one? ImageI made this one..


^click^.

User avatar
Plus (Size) Member
Posts: 56
Joined: 2008.10.09 (20:40)
NUMA Profile: http://nmaps.net/user/player_03

Postby player_03 » 2009.01.18 (20:27)

Very cool. I think I'll start using this now.

I'm considering downloading GreaseMonkey to run it automatically, but I'm worried that the extensions I already have are slowing Firefox.
Tsukatu wrote:Now, making sure Caps Lock is ON, make sure that Caps Lock is on. Now that Caps Lock is actually on, check again to make sure that Caps Lock is on. Now press the P button. To play, make sure that Caps Lock is on.
Nmaps.net
!Reality

My achievements
My N video

User avatar
Damn You're Fine
Posts: 384
Joined: 2008.09.19 (01:47)
NUMA Profile: http://nmaps.net/user/littleviking001
MBTI Type: INTP
Location: Southern California
Contact:

Postby LittleViking » 2009.01.18 (20:53)

player_03 wrote:I'm considering downloading GreaseMonkey to run it automatically, but I'm worried that the extensions I already have are slowing Firefox.
I actually tried installing it with Greasemonkey and couldn't get it to work. I'm assuming GM has some kind of proprietary functions I don't know about (its own version of window.onload is my guess). But let me know if it works for you, and I'll look more into Greasemonkey in the future.

I also came across a bug where the Image Comments link doesn't display if a map has no text comments (because there's no Comments box at all then), so I'll fix that soon. Also planning on adding a count of a map's image comments in the browse view, next to the existing count of regular comments.
Image
The last Metroid is in captivity. The galaxy is at peace...

User avatar
Jedi Pimp
Posts: 676
Joined: 2008.09.27 (23:41)
NUMA Profile: http://nmaps.net/user/Erik-Player :://[[];lg
MBTI Type: ISFP
Location: Round Rock, Texas

Postby Erik-Player » 2009.01.18 (21:01)

Nice job! This is awesome. :)
Image
are any of my friends still here

User avatar
Subterranean Engineer
Posts: 1694
Joined: 2008.09.26 (16:15)
NUMA Profile: http://nmaps.net/user/Izzy
MBTI Type: INTP

Postby Izzy » 2009.01.18 (21:46)

This doesn't seem to work in FF3. :/
Image
Derived from ksktorngsig!
I don't think the universe has infinite material though, unless God makes DLC packs. - SkyPanda

User avatar
Damn You're Fine
Posts: 384
Joined: 2008.09.19 (01:47)
NUMA Profile: http://nmaps.net/user/littleviking001
MBTI Type: INTP
Location: Southern California
Contact:

Postby LittleViking » 2009.01.18 (22:01)

Definitely works in my Firefox 3. I'll post another step-by-step to see if it helps. It's possible it won't work for you - Javascript is pretty touchy - but we can try to figure it out first.

Firefox 3
* Copy all of this data:
* Open the Bookmark Library (Bookmarks>Organize Bookmarks..., or Ctrl+Shift+B)
* Choose the folder to save this in. I'd say Bookmarks Toolbar for easy access.
* Right-click, New bookmark..., Name it something like "Numa Image Comments", URL is the code you just copied (paste it in).
* Click OK, close the Bookmark Library.
* Open a Numa map page, say, this one: http://nmaps.net/149848
* If your Bookmarks bar isn't showing, go to View>Toolbars>Booksmarks Toolbar to show it. Then click on the Numa Image Comments bookmark you just made.
* Now, scroll to the Comments section and click the new Image Comments link in the header. A commented picture of the map should open up. If you want to add your own comments, simply drag a box, type in your message, and press Enter.
Image
The last Metroid is in captivity. The galaxy is at peace...

User avatar
Albany, New York
Posts: 526
Joined: 2008.09.26 (05:41)
NUMA Profile: http://nmaps.net/user/cucumber_boy
Steam: www.steamcommunity.com/id/
MBTI Type: ESTP
Location: Southern California, USA
Contact:

Postby kkstrong » 2009.01.18 (23:15)

amazing idea, I would love to see this integrated.
~~Download Modmaster: My NReality Mod Helping App~~
spoiler

~~Quotes~~
golfkid - "I beat kk on his map, and he got me within 6 seconds, then I did it again and he beat me in 12 seconds."

blue_tetris - "kkstrong was nothing, alot of people stood in his way, and he just fought against adversity, he learned he lived, and he was admin at nmaps.net for a while. He is a great mapper, and ya know, thats why he is on the short list for the mod pick."

Pheidi -" Despite a mapper's best efforts, highscorers will always find a way to defy his intentions."


Raigan and the Horse-Woman
Raigan and the Horse-Woman
Posts: 182
Joined: 2008.09.27 (02:14)
NUMA Profile: www.nmaps.net/user/sidke
Steam: www.steamcommunity.com/id/shagdish
Location: ⑨ 
Contact:

Postby sidke » 2009.01.19 (09:04)

I went ahead and modified it so that it appears even on maps without comments.
Installation is still the same way, and it doesn't interfere at all with LV's original code (regarding maps /with/ comments).

spoiler

辻菜摘が好きじゃー ヽ(´ー`)ノ sig by peking duck



Who is online

Users browsing this forum: No registered users and 11 guests