[Resolved] Share with your own domain

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

Moderator: moderators

Re: [Resolved] Share with your own domain

Postby SparkyRih » Fri Feb 24, 2012 2:59 pm

GreenTentacle wrote:do you have any log or screenshot ?


I'm sorry, I should've thought of that, I reversed everythign already : S
VMWare ESXi 5.5 > Ubuntu 16.04 > Subsonic 6.0 (Modded with PHP based registration feature)

Image
User avatar
SparkyRih
 
Posts: 216
Joined: Wed May 11, 2011 1:52 pm
Location: The Netherlands

Re: [Resolved] Share with your own domain

Postby HLFH » Fri Mar 02, 2012 3:56 pm

I think it's not ok for the last 4.6 final version ! Please update the fix ;) Because I have the same thing than before...
User avatar
HLFH
 
Posts: 3
Joined: Fri Mar 02, 2012 3:48 pm

Re: [Resolved] Share with your own domain

Postby HLFH » Fri Mar 02, 2012 4:22 pm

Hum downgrade to 4.6 beta 2 and now I can share on G+, Twitter, FB with my own domain ! Thanks a lot ! :roll: The official 4.6 (not beta, the final release) is not ok with your fix because the official dev fixed your fix, so... Please superman fix that :oops:

And I think there is now a fork of Subsonic : https://github.com/Mach5/supersonic because they don't want Open Source, they want Freedom... :mrgreen:
User avatar
HLFH
 
Posts: 3
Joined: Fri Mar 02, 2012 3:48 pm

Re: [Resolved] Share with your own domain

Postby GreenTentacle » Mon Mar 05, 2012 3:01 pm

The files in the first post are updated to 4.6final
User avatar
GreenTentacle
 
Posts: 18
Joined: Fri Aug 05, 2011 11:54 am

Re: [Resolved] Share with your own domain

Postby HLFH » Tue Mar 06, 2012 3:31 pm

Thanks 42 times Batman =)
User avatar
HLFH
 
Posts: 3
Joined: Fri Mar 02, 2012 3:48 pm

Re: [Resolved] Share with your own domain

Postby tycoonbob » Thu Mar 08, 2012 4:02 pm

After installing your mod, and setting my SS URL in network settings (https://<domain>:453), when I click share (FB, Twitter, or G+), it just gives me this:

Share
To share your music with someone you must first register your own subsonic.org address.
Please go to Settings > Network (administrative rights required).

I stopped my SS server, copied the files over, and restarted the server. Ideas? I'm running the latest stable 4.6 - March 5, 2012.

EDIT: Solved my own issue. Even with setting my own domain, I still have to check the box for "Access your server over the Internet using an easy-to-remember address." Even though I put in tyconbob.subsonic.org, it reports an error 403 Forbidden (since I'm actually running HTTPS on 453). Not the cleanest, but it works well!

Thanks!!
tycoonbob
 
Posts: 33
Joined: Mon Feb 06, 2012 2:49 pm

Re: [Resolved] Share with your own domain

Postby spookybathtub » Fri May 04, 2012 9:30 am

It's ridiculous that this isn't part of the stock installation. Thank you, GreenTentacle, for working on it.
spookybathtub
 
Posts: 110
Joined: Thu Oct 07, 2010 7:13 am

Re: [Resolved] Share with your own domain

Postby willieb » Sat Aug 11, 2012 7:20 am

I would like to do this on 4.7 beta 3. Will this work?

Kind of a no-brainer feature to me. I have my own domain that's ssl, with certificate and since it doesn't use my domain name, users get ssl warning.
willieb
 
Posts: 54
Joined: Fri Jul 27, 2012 3:03 pm

Re: [Resolved] Share with your own domain

Postby Drashna » Fri Aug 17, 2012 1:51 am

willieb wrote:I would like to do this on 4.7 beta 3. Will this work?

Kind of a no-brainer feature to me. I have my own domain that's ssl, with certificate and since it doesn't use my domain name, users get ssl warning.

Agrreed.

And GreenTentacle, would it be possible to list the version it's at on the github site? That way we know what version it is.
Drashna
 
Posts: 39
Joined: Fri Aug 05, 2011 9:20 pm

Re: [Resolved] Share with your own domain

Postby willieb » Mon Sep 03, 2012 5:31 pm

worrynaa wrote:How to join domain in windows XP and how to do domain controller? I need to learn join domain in windows xp and also domain controller. Is there a video link in youtube that can teach this tutorial completely?


A Windows Domain Controller is a totally different subject than this thread. But yes you can find all the tutorials you need on google or YouTube.
willieb
 
Posts: 54
Joined: Fri Jul 27, 2012 3:03 pm

Re: [Resolved] Share with your own domain

Postby GJ51 » Mon Sep 03, 2012 9:53 pm

worrynaa wrote:How to join domain in windows XP and how to do domain controller? I need to learn join domain in windows xp and also domain controller. Is there a video link in youtube that can teach this tutorial completely?


First let me admit that I'm a little slow. At 60 things just don't sink in as fast as they did when I was half as old as I am now.

With that out of the way, I still find your question a bit humorous after having spent about $200 on books and 3 years running a complex home network with 5 servers and 20 various computers, laptops. tablets, phones, etc. in a domain environment. About the best I can say is that we have a lot of the features working, and we actually understand some of them.

If you find that magic Youtube video you're looking for, be sure to post a link for me! :mrgreen:
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Re: [Resolved] Share with your own domain

Postby pir8radio » Sat Sep 22, 2012 2:06 am

i just did this for 4.7 at least you can do this until they fix the "mod" but this fix is more for people that already have custom jsp files.

viewtopic.php?f=3&t=10164#p46237
pir8radio
 
Posts: 79
Joined: Mon Apr 23, 2012 10:44 pm

Re: [Resolved] Share with your own domain

Postby willieb » Sat Sep 22, 2012 3:06 am

Awesome thanks, ill be trying it soon.
willieb
 
Posts: 54
Joined: Fri Jul 27, 2012 3:03 pm

Re: [Resolved] Share with your own domain

Postby Drashna » Mon Oct 15, 2012 7:29 am

WIll there be an update for version 4.7? As nice as that mod is... it's got way too much for me. I mainly just want the domain thing.
Drashna
 
Posts: 39
Joined: Fri Aug 05, 2011 9:20 pm

Re: [Resolved] Share with your own domain

Postby theG » Mon Jan 28, 2013 9:06 pm

I thought I'd post my fix wich should work with any version.
There are two files to modify wich are located in /subsonic/jetty/XXXX/webapp/WEB-INF/jsp/ where XXX should be a 4 digit number depending on the Subsonic version you are using.



First file: createShare.jsp
Copy these two lines under the <body.....> tag
<c:set var="newurlfix1" value="${model.playUrl}"/>
<c:set var="newurlfix2" value="${fn:replace(newurlfix1,'yoursubdomain.subsonic.com', 'yourdomain.com')}" />

Then replace every instance (after these two lines) of ${model.playUrl} in the file with ${newurlfix2}



Second file: shareSettings.jsp
Copy these two lines under the <body.....> tag
<c:set var="newurlfix1" value="${model.shareBaseUrl}"/>
<c:set var="newurlfix2" value="${fn:replace(newurlfix1,'yoursubdomain.subsonic.com', 'yourdomain.com')}" />

Then replace every instance (after these two lines, there should be only one instance) of ${model.shareBaseUrl} in the file with ${newurlfix2}

Done.

I haven't tester with the recent Subsonic versions since I'm still using an old one but this should work.
theG
 
Posts: 5
Joined: Fri Sep 14, 2012 7:42 pm

PreviousNext

Return to Mods, Apps and Clients

Who is online

Users browsing this forum: No registered users and 0 guests