Music Page

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in here. No new MODs will be accepted into the MOD Database for phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.

Rating:

Excellent!
7
50%
Very Good
3
21%
Good
3
21%
Fair
0
No votes
Poor
1
7%
 
Total votes: 14

Marvi
Registered User
Posts: 210
Joined: Wed Jun 07, 2006 4:36 am

Post by Marvi »

I have 2question about this mod, first tell me how can I add more music I want to make the music page as a TopTen. And my second question is about the code, i don´t know if its a bug or what?

I add a song but it goes like this, why is like this? music.php?song=Singers name
subavlhpf
Registered User
Posts: 146
Joined: Thu Mar 16, 2006 11:46 pm
Location: Austin, TX, USA
Contact:

Post by subavlhpf »

SECOND: You may hae put in the song wrong.

Can you give me the code you inserted and context?

FIRST: Ill have to check, im on a new laptop right now so i dont have the files that i need to check with me
--John Runyon
"DimeCadmium"
Marvi
Registered User
Posts: 210
Joined: Wed Jun 07, 2006 4:36 am

Post by Marvi »

This is what the cadre looks like this:

Code: Select all

Author: Song 
Qader Eshpari: music.php?song=Gham miane dota chahsman 
Farhad Darya: music.php?song=Khanum gul jan 
Farhad Darya: music.php?song=Bya ay dil safar kunim 
Mariam Wafa: music.php?song=Man ba tu wafa namodam 
Hungama: music.php?song=Labhai sardam 
Iradj Kazemi: music.php?song=Tu rafti dar safar 
Maria Ayar: music.php?song=Rooze ki aamadi 
You see in every ech song is an extra music.php?song= that woulnd´t supposed to be that.

I do add songs in music.php is that wrong?
Marvi
Registered User
Posts: 210
Joined: Wed Jun 07, 2006 4:36 am

Post by Marvi »

I want also to add extra and more songs into that cadre, so what should I do?
subavlhpf
Registered User
Posts: 146
Joined: Thu Mar 16, 2006 11:46 pm
Location: Austin, TX, USA
Contact:

Post by subavlhpf »

Marvi wrote: This is what the cadre looks like this:

Code: Select all

Author: Song 
Qader Eshpari: music.php?song=Gham miane dota chahsman 
Farhad Darya: music.php?song=Khanum gul jan 
Farhad Darya: music.php?song=Bya ay dil safar kunim 
Mariam Wafa: music.php?song=Man ba tu wafa namodam 
Hungama: music.php?song=Labhai sardam 
Iradj Kazemi: music.php?song=Tu rafti dar safar 
Maria Ayar: music.php?song=Rooze ki aamadi 
You see in every ech song is an extra music.php?song= that woulnd´t supposed to be that.

I do add songs in music.php is that wrong?
Yes! You put them in wrong. Can i see the $songs array?

To add a song, you must add it to the $songs array (making sure to keep track of the proper format of $songs)... Then you need to add

Code: Select all

if ( $_GET['song'] == '<the VALUE of the array $songs>' ) { $embedcode = '<the embed code you got>'; }
i believe... still not sure about this. I would DEFINITELY recommend using the newer version if you run MySQL... http://www.phpbb.com/phpBB/viewtopic.ph ... 99#2261199

If you cannot download the MySQL version, post in that topic! PLEASE tell me if you can offer hosting for the downloads temporarily.
--John Runyon
"DimeCadmium"
Goucho
Registered User
Posts: 72
Joined: Tue Jan 03, 2006 4:02 pm

Post by Goucho »

thanx m8 this installed no problem and having music videos is ace thanx........... i need to know how to add to it tho???? Is it just admin that can add to it??

Simplest instructions plz cos me a noooooooooooby :)
subavlhpf
Registered User
Posts: 146
Joined: Thu Mar 16, 2006 11:46 pm
Location: Austin, TX, USA
Contact:

Post by subavlhpf »

Goucho wrote: thanx m8 this installed no problem and having music videos is ace thanx........... i need to know how to add to it tho???? Is it just admin that can add to it??

Simplest instructions plz cos me a noooooooooooby :)
Only admin can add songs.

You must edit the music.php file.

in the $songs array add (to the last line):

Code: Select all

,
'<NAME>' => '<LINK>'
Then add the following code at the very end (but before the ?> tag)

Code: Select all

if ($HTTP_GET_VARS['link'] == '<LINK>') {
  $embedcode = '<EMBED ...>';
}
Should work. Let me know if it doesnt... and if it doesnt, drop me an IM (from the info in my profile ;))
--John Runyon
"DimeCadmium"
subavlhpf
Registered User
Posts: 146
Joined: Thu Mar 16, 2006 11:46 pm
Location: Austin, TX, USA
Contact:

Post by subavlhpf »

Hi, if a MOD team member looks at this:

Could I get the author for this changed to "phpatavl"?
--John Runyon
"DimeCadmium"
experience66
Registered User
Posts: 33
Joined: Fri Sep 15, 2006 10:58 am

Post by experience66 »

How the hell do you install this?
subavlhpf
Registered User
Posts: 146
Joined: Thu Mar 16, 2006 11:46 pm
Location: Austin, TX, USA
Contact:

Post by subavlhpf »

erm. use easymod.
--John Runyon
"DimeCadmium"
experience66
Registered User
Posts: 33
Joined: Fri Sep 15, 2006 10:58 am

Post by experience66 »

ok i have got easy mod, now what do i do?
subavlhpf
Registered User
Posts: 146
Joined: Thu Mar 16, 2006 11:46 pm
Location: Austin, TX, USA
Contact:

Post by subavlhpf »

have you installed easymod? if not, see its own readme/install documentation. Not my hot spot.

Then, move this to <phpbb root>/admin/mods/music/ (all files in the zip), open your admin index and click on "Install MODs" (or alike), click on the button for this, and follow the steps.

Need more help, ask over at the easymod place, please...
--John Runyon
"DimeCadmium"
zeffer2896
Registered User
Posts: 50
Joined: Mon Mar 22, 2004 10:35 pm
Location: Atlanta - Georgia
Contact:

Post by zeffer2896 »

Hmm I just installed your mod and I like it, I even put it in my menu (ppl who know how to code can do this np <_< its so basic lol)

http://www.garbagewars.com/forums/

I havent install this SQL version yet, I'll do that soon if it's better.

Anyways I noticed a flaw in the mod, if you login to the forum and then go to the music page and then back to the forum your automatically logged out and you gotta relog.

Can this be fixed, if so how? Is this fixed in the SQL version or is this flaw still present?
www.garbagewars.com A web comic community.
zeffer2896
Registered User
Posts: 50
Joined: Mon Mar 22, 2004 10:35 pm
Location: Atlanta - Georgia
Contact:

Post by zeffer2896 »

Oh nevermind it doesnt seem to do that anymore.
www.garbagewars.com A web comic community.
subavlhpf
Registered User
Posts: 146
Joined: Thu Mar 16, 2006 11:46 pm
Location: Austin, TX, USA
Contact:

Post by subavlhpf »

zeffer2896 wrote: Anyways I noticed a flaw in the mod, if you login to the forum and then go to the music page and then back to the forum your automatically logged out and you gotta relog.

Can this be fixed, if so how? Is this fixed in the SQL version or is this flaw still present?
8O dunno what caused that... good that it seems to be gone, though...
--John Runyon
"DimeCadmium"
Post Reply

Return to “[2.0.x] MOD Database Releases”