Best of joomla gives you news, joomla templates, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
Welcome, Guest
Please Login or Register.    Lost Password?
Show from which country is post (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: Show from which country is post
#46992
Show from which country is post 5 Months, 3 Weeks ago  
Somebody know if is possible show to all users from which country posting are made?

I try to explain:
Ip address is visible only for administrators and this is very good , but how can i show to all users if somebody write from USA , italy or other country?
I have some people boast of they live in different country from they really write in forum but i cannot pubblish IP becasue of privacy ...

Thank you for all help you can give me..
tc001mt (User)
Junior Boarder
Posts: 32
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#47260
Re:Show from which country is post 5 Months, 3 Weeks ago  
maybe i found solution
forums.geobytes.com/viewtopic.php?t=19


i added it around line 279 of template/default/message.php
i have problem to print ip address.

i tried to subst '.$msg_ip_link.' with '.$msg_ip.' but it don't work

if i write manually ipaddres show city and country correctly

somebody can help me?
Thank you
tc001mt (User)
Junior Boarder
Posts: 32
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2008/03/18 04:29 By tc001mt.
 
The administrator has disabled public write access.  
#47694
[solved] Show from which country is post 5 Months, 2 Weeks ago  
Solved i modified components/com_fireboard/template/default/view.php

in attachment ready file version for 1.04

for manual hack you have to add ELSE to
if around line 990 after this
Code:

//Show admins the IP address of the user:

modifing
Code:

GeobytesIpAddress&geobyteslocation=$IpAddress 

in geobytes code in
Code:

GeobytesIpAddress&geobyteslocation=' . $fmessage->ip . '


remember :
this will show COUNTRY+CITY+IPADDRESS
sGeobytesCountry+", "+sGeobytesCity+", "+sGeobytesIpAddress

this will show COUNTRY+CITY
sGeobytesCountry+", "+sGeobytesCity

this will show only COUNTRY
sGeobytesCountry
File Attachment:
File Name: view-0dcb648321e80546d99868165669d59a.rar
File Size: 12006
tc001mt (User)
Junior Boarder
Posts: 32
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2008/03/25 03:21 By tc001mt.
 
The administrator has disabled public write access.  
#47723
Re:Show from which country is post 5 Months, 2 Weeks ago  
Anyone confirm this works? I'd like to sticky this if it does.
grumblemarc (User)
Platinum Boarder
Posts: 3557
graph
User Offline Click here to see the profile of this user
Gender: Male
Logged Logged
 
The administrator has disabled public write access.  
#48085
Re:Show from which country is post 5 Months, 1 Week ago  
you can check it working at www.belarus.it
tc001mt (User)
Junior Boarder
Posts: 32
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#48090
Re:Show from which country is post 5 Months, 1 Week ago  
Thanks but I want another from member to confirm it. It may work for you and not others.
grumblemarc (User)
Platinum Boarder
Posts: 3557
graph
User Offline Click here to see the profile of this user
Gender: Male
Logged Logged
 
The administrator has disabled public write access.  
Go to top
Powered by FireBoard - Creditsget the latest posts directly to your desktop