How to change site name from 'Subsonic' on own server

Need help? Post your questions here.

Moderator: moderators

How to change site name from 'Subsonic' on own server

Postby Dave2592 » Sun May 22, 2016 8:24 pm

Hi guys, :)

I have Subsonic installed on my own Web-based server, with its own domain name.

I'm running Subsonic 6.0 on Ubuntu 14.04 Server on the Internet.

How do I change the site's name from 'Subsonic' on the login, home and other pages, and instead use my own 'vanity' name (such as 'MySite')?

Thanks in advance for any help. :)

Dave
Dave2592
 
Posts: 5
Joined: Sun May 22, 2016 8:16 pm

Re: How to change site name from 'Subsonic' on own server

Postby tmwsiy » Mon May 23, 2016 5:25 am

Not sure how the directories work on Ubuntu but on Windows I can go to install location (C: usually), Subsonic > Jetty > WebApp > Icons and then choose the theme.
Inside the theme folder, you can replace the default icons with icons of your choosing.
tmwsiy
 
Posts: 189
Joined: Tue Apr 06, 2010 6:26 pm

Re: How to change site name from 'Subsonic' on own server

Postby Dave2592 » Mon May 23, 2016 9:26 am

Hello, :)

Thanks for your reply. I successfully changed the logo and favicon, no problem.

I am actually trying to replace the text title 'Subsonic' (which displays beside the logo image) with my own title (such as 'MySite').

I'm running Subsonic 6.0 on Ubuntu 14.04 Server on the Internet, and I'm using the 'High Contrast (Inverted)' theme.

Dave
Dave2592
 
Posts: 5
Joined: Sun May 22, 2016 8:16 pm

Re: How to change site name from 'Subsonic' on own server

Postby tmwsiy » Mon May 23, 2016 7:43 pm

I think the text is just part of the logo. I can't recall if it is just the "logo" file or it is called "subsonic_logo".
I changed it successfully a long time ago and I did not have "Subsonic" on my web player at all.
This was one of the logos I used.

Image
tmwsiy
 
Posts: 189
Joined: Tue Apr 06, 2010 6:26 pm

How to change site name from 'Subsonic' on server [SOLVED]

Postby Dave2592 » Mon May 23, 2016 7:56 pm

Hi, :) I'm not sure, but this maybe a new feature in Subsonic 6.0.
Me, too, I don't remember having this problem with v5 or even the 6.0 beta, and yet I had hacked the theme the same way.
But, no, the 'Subversion' is text, not part of the logo graphic.
So, I'm still looking for a fix...
Anyone got any other suggestions per chance?

I am actually trying to replace the text title 'Subsonic' (which displays beside the logo image) with my own title (such as 'MySite').

I'm running Subsonic 6.0 on Ubuntu 14.04 Server on the Internet, and I'm using the 'High Contrast (Inverted)' theme.

Dave
Last edited by Dave2592 on Thu May 26, 2016 8:36 pm, edited 3 times in total.
Dave2592
 
Posts: 5
Joined: Sun May 22, 2016 8:16 pm

Re: How to change site name from 'Subsonic' on own server

Postby tmwsiy » Thu May 26, 2016 1:27 am

Dave,

I think you are right about there being a change with new version.
Sorry I could not help- hopefully someone chimes in.
tmwsiy
 
Posts: 189
Joined: Tue Apr 06, 2010 6:26 pm

Re: How to change site name from 'Subsonic' on own server

Postby G8DHE » Thu May 26, 2016 10:51 am

The text appears in this file;
Code: Select all
\subsonic\jetty\ef60a8\jsp\org\apache\jsp\WEB_002dINF\jsp\left_jsp.java
Geoff G8DHE
Version 6.0 Beta 2
G8DHE
 
Posts: 139
Joined: Sun Nov 04, 2012 4:56 pm

Re: How to change site name from 'Subsonic' on own server

Postby Dave2592 » Thu May 26, 2016 2:17 pm

Thanks for that tip. I found the file \subsonic\jetty\ef60a8\jsp\org\apache\jsp\WEB_002dINF\jsp\left_jsp.java OK and made the edit, for the page and the page title. (By the way, one also has to make the change for the login page, too.)

But the new site name does not show up, even after restarting the Subsonic process on the server.

I do believe that after making a change to a Java code file, I have to recompile it. Is that right?

If so, any tips about how I do that?

Anyway, the bottom line is that my 'vanity' site name is still not showing up.

What do I have to do to get it displaying?

Thanks in advance for any help.

Dave
Dave2592
 
Posts: 5
Joined: Sun May 22, 2016 8:16 pm

Re: How to change site name from 'Subsonic' on own server

Postby G8DHE » Thu May 26, 2016 8:20 pm

Well you could also edit the matching .class file rather than compile it!
Geoff G8DHE
Version 6.0 Beta 2
G8DHE
 
Posts: 139
Joined: Sun Nov 04, 2012 4:56 pm

Re: How to change site name from 'Subsonic' on own server

Postby Dave2592 » Thu May 26, 2016 8:33 pm

Hi, :D

You earned yourself a big, sloppy, wet kiss! :D

Lateral thinking pays, huh?

That worked. Edited the .class file, restarted the Subsonic process and my new site name is there.

Mind you, DEV(s), why can't that be in the settings? It would make life so much simpler.

Thanks, mate.

Dave
Dave2592
 
Posts: 5
Joined: Sun May 22, 2016 8:16 pm

Re: How to change site name from 'Subsonic' on own server

Postby SpudSong » Sat May 28, 2016 11:09 pm

To change the name that appears at the top of the web browser you can edit the "title" tag on line 3 in the head.jsp file. (...subsonic/jetty/####/webapp/WEB-INF/jsp/head.jsp)

Code: Select all
<title>Subsonic</title>


As was mentioned earlier in this post, to change the name that appears on the left side of the page, to the right of the logo, you can edit the "span" tag on line 58 in the left.jsp file. (...subsonic/jetty/####/webapp/WEB-INF/jsp/left.jsp)

Code: Select all
<span style="font-size:20px; font-weight:400; vertical-align:middle; padding-left:3px">Subsonic</span>
User avatar
SpudSong
 
Posts: 2
Joined: Fri Apr 09, 2010 12:43 am


Return to Help

Who is online

Users browsing this forum: No registered users and 20 guests