![]() |
![]() ![]() |
![]() |
Dukessa |
![]() ![]()
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! |
Myth Monk |
![]()
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']); |
Dukessa |
![]()
Post
#3
|
Newbie ![]() Group: Members Posts: 3 Joined: 4-December 08 Member No.: 636 ![]() |
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 ![]() THANK YOU !!!!! |
![]() ![]() |