Show IP-Addresses in the "Status" Window?

Third-party modifications and add-ons, Apps and Clients

Moderator: moderators

Show IP-Addresses in the "Status" Window?

Postby kleiner_philip » Thu Jan 19, 2012 1:39 pm

Hi,

how can I get Subsonic to show me the IP-addresses of anyone streaming/uploading to my server? Also, is there any way people can "register" an account without me setting it up manually? Like when signing up to this forum with a username/password and email.

thanks
kleiner_philip
kleiner_philip
 
Posts: 3
Joined: Thu Jan 19, 2012 1:35 pm

Re: Show IP-Addresses in the "Status" Window?

Postby BKKKPewsey » Thu Jan 19, 2012 3:07 pm

Showing IP addresses of users logged in has been requested before but alas has not been forthcoming :(
With regard to the account registration - have a look on the mods page as I believe there is a mod there that may help.

I am moving this thread to feature requests where it may be noticed by Sindre :wink:
:mrgreen:
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: Show IP-Addresses in the "Status" Window?

Postby ytechie » Thu Jan 19, 2012 6:26 pm

I added the IP address of each player to the status window. But because of the way subsonic works, it is the first IP address used by the player since the last restart. Here is how to do it:

We are going to edit status.jsp. Here is the part of the file we are going to edit:

Code: Select all
<tr>
   <td class="ruleTableCell">${transferType}</td>
   <td class="ruleTableCell">${status.player}<br>${type}</td>
   <td class="ruleTableCell">${user}</td>
   <td class="ruleTableCell">${current}</td>
   <td class="ruleTableCell">${status.bytes}</td>
   <td class="ruleTableCell" width="${model.chartWidth}"><img width="${model.chartWidth}" height="${model.chartHeight}" src="${chartUrl}" alt=""></td>
</tr>


Add "${status.player.ipAddress}<br>" to the second row so it looks like this:

Code: Select all
<tr>
   <td class="ruleTableCell">${transferType}</td>
   <td class="ruleTableCell">${status.player}<br>${status.player.ipAddress}<br>${type}</td>
   <td class="ruleTableCell">${user}</td>
   <td class="ruleTableCell">${current}</td>
   <td class="ruleTableCell">${status.bytes}</td>
   <td class="ruleTableCell" width="${model.chartWidth}"><img width="${model.chartWidth}" height="${model.chartHeight}" src="${chartUrl}" alt=""></td>
</tr>


Hope this helps! :D
User avatar
ytechie
 
Posts: 547
Joined: Sun Dec 12, 2010 5:05 am
Location: Manhattan, New York

Re: Show IP-Addresses in the "Status" Window?

Postby ytechie » Thu Jan 19, 2012 6:36 pm

In regards to the registration engine, I think this might be what you're looking for:

viewtopic.php?f=8&t=6749
User avatar
ytechie
 
Posts: 547
Joined: Sun Dec 12, 2010 5:05 am
Location: Manhattan, New York


Return to Mods, Apps and Clients

Who is online

Users browsing this forum: No registered users and 2 guests