The macros that control the comments are in trunk/apps/weblogger/web/WEB-INF/velocity/weblog.vm
The loops that go through the comments define #comment as the identifier so you should be able to do #comment.remoteHost -----Original Message----- From: Boris Milikič [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 17, 2008 3:53 AM To: [email protected] Subject: RE: Ipof comments In template. I can't find any macro to get it. Boris -----Original Message----- From: Java Web Development [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2008 9:39 PM To: [email protected] Subject: RE: Ipof comments There is an attribute in WeblogEntryComment for remoteHost. If you're running behind apache http server and you're not doing dns lookups, which is the default, remoteHost will be the ip address. So in many cases calling getRemoteHost() will give you the ip address. Where exactly are you trying to get the ip address?
