Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Music Sharing Website PHP Help?

Music Sharing Website PHP Help?
Thread Tools
Professional Poster
Join Date: Apr 2002
Location: New York City
Status: Offline
Reply With Quote
Jan 31, 2003, 07:23 PM
 
I am creating a musician-centric web site with a few people. We have not put it online just yet, but the intention is to have the site be highly community oriented. As such we are using phpBB to do a discussion forum, but we also want to have a second part of the site (separate registrations etc.) That allows users to upload recordings of their music and share it with other users.

We want the following feature set:

? registered users can upload up to 5 music files (probably mp3s)
? registered users have a self-description
? users can search for songs or artists.
? the index page features a randomly selected 'featured artist' and displays the artist's self-description and a list of their music.
? also on that page will be a space for administrators to post messages to users of the site. (this would work like a topic thread more than a forum).
? non-registered users cannot get past the index page

Here is a very basic visualization of what I want it to eventually look like. I disconnected the links on this page, but please respect that the site is not yet open to the public and that we would like to have most of it stay under wraps until it is.

It seems as though it would be a pretty challenging mod, and I don't even know if phpBB is the right platform to build such a service on, but I thought I'd ask if it's feasible and if anyone is interested in helping out. Thanks in advance for any help!
     
Mac Elite
Join Date: Mar 2001
Location: England
Status: Offline
Reply With Quote
Feb 1, 2003, 07:19 AM
 
Why are you having separate registrations? It's the easiest thing in the world to hook onto PHPBB's user registration system, and it saves you writing your own as well (it handles all the cookies and security).

Look at http://www.scifiminds.net - the whole thing sits on top of PHPBB.

If you're interested, I'll post some code.


Amorya
What the nerd community most often fail to realize is that all features aren't equal. A well implemented and well integrated feature in a convenient interface is worth way more than the same feature implemented crappy, or accessed through a annoying interface.
     
Senior User
Join Date: Dec 2002
Status: Offline
Reply With Quote
Feb 2, 2003, 01:03 AM
 
Sounds a lot like netjuke, http://netjuke.sourceforge.net/
Just needs a bit of tweaking to meet your needs.
     
Axo1ot1  (op)
Professional Poster
Join Date: Apr 2002
Location: New York City
Status: Offline
Reply With Quote
Feb 2, 2003, 10:37 PM
 
right now it looks as though we will be trying to build the expo section with foing.

I'm definitely interested in the posting of code.

Anyone interested in helping out? I'm not really able to pay anyone cus I'm broke and this site isn't really geared toward making money...but it should be a fun and interesting challenge, and a cool thing to put on a resume Here are some omni graffle sketches of what we are trying to acheive. I think this foing mod is a good head start.
     
Mac Elite
Join Date: Mar 2001
Location: England
Status: Offline
Reply With Quote
Feb 3, 2003, 04:40 AM
 
Posting code... ok then

This is to link the site with PHPBB (for user name handling, etc).

At the top of every page should be

Code:
<? define('IN_PHPBB', true); $phpbb_root_path = 'bboard/'; include($phpbb_root_path . 'extension.inc'); include($phpbb_root_path . 'common.'.$phpEx); // // Start session management // $userdata = session_pagestart($user_ip, PAGE_INDEX); init_userprefs($userdata); // // End session management //
This has to be the very first thing on the page, no spaces before it or anything. Adjust $phpbb_root_path to whatever you like.

With this in place, you can get the username of the current logged in user at any time by looking at $userdata[username] or the user ID number with $userdata[user_id].

If you want to include the PHPBB header file at the top of every page (the bit with the logo and links), add this code immediately after the first bit:

Code:
// // Start output of page // $page_title = "Title"; include($phpbb_root_path . 'includes/page_header.'.$phpEx);
That can be useful if you modify the header to be what you want at the top of every page of your site. Check my site for an example of that.

Hope this helps,


Amorya
What the nerd community most often fail to realize is that all features aren't equal. A well implemented and well integrated feature in a convenient interface is worth way more than the same feature implemented crappy, or accessed through a annoying interface.
     
Mac Elite
Join Date: Mar 2001
Location: England
Status: Offline
Reply With Quote
Feb 3, 2003, 04:44 AM
 
Forgot to add: I don't want to commit myself to yet another project (too many as it is!), but I'm always around if you need help with specific things. Either post here or email me. I've done a lot of PHPBB integration before, so I might be able to help you out.

Amorya
What the nerd community most often fail to realize is that all features aren't equal. A well implemented and well integrated feature in a convenient interface is worth way more than the same feature implemented crappy, or accessed through a annoying interface.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 02:08 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2