Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Song name UNDER artist name
Dukessa
post Dec 4 2008, 01:45 AM
Post #1


Newbie
*

Group: Members
Posts: 3
Joined: 4-December 08
Member No.: 636



Hi,

I have tried for hours now to change the signature.php file but as I'm not a php expert, I'm really having troubles making it work.

I set %1 and %2 in the local config file, so that the plugin sends out to my website the artist name and song name separately.

Now, how do I change the php code so that the image has: first the artist name, and under that the song name ? ( instead that everything on one line?)

Thank you very much!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Myth Monk
post Dec 4 2008, 02:07 AM
Post #2


Newbie
*

Group: Members
Posts: 3
Joined: 4-December 08
Member No.: 637



I haven't tested this but it SHOULD work (I'm assuming you're using the example signature.php, otherwise you must post your code)

Find the line that looks like this:
CODE
$song = $SONG['title'];


change to this:
CODE
$song = str_replace(" - ", "\n", $SONG['title']);
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Dukessa
post Dec 4 2008, 03:05 PM
Post #3


Newbie
*

Group: Members
Posts: 3
Joined: 4-December 08
Member No.: 636



QUOTE(Myth Monk @ Dec 4 2008, 03:07 AM) *

I haven't tested this but it SHOULD work (I'm assuming you're using the example signature.php, otherwise you must post your code)

Find the line that looks like this:
CODE
$song = $SONG['title'];


change to this:
CODE
$song = str_replace(" - ", "\n", $SONG['title']);




It works biggrin.gif
THANK YOU !!!!!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members: