Jamroom Logo
User Support Forum
User Documentation and How To's:
The Amazing Awesomeness of the Aparna Module [Custom Forms]
gcuezy



Joined: 29 Jul 2009
Posts: 290

Posted: 11/02/11 00:03 
I want to make a custom field with which the user can upload a file (in this case an image) - to whatever directory you guys decided if this is already possible - and I can call that field to grab the URL.

The example would be the profile picture... ie


Code
[?] | Profile Banner [__________________] (Browse)


If you must know I'm doing a special background/banner thing [a'la facebook] behind the user profile image to take up some space for design purposes. I will have a default image but I would like an easy way for them to change it (as opposed to uploading an image into their photos and selecting it somehow)....

Any way this can be done?

Thanks.



Last edited by gcuezy on 11/02/11 16:04; edited 1 time in total
Back to top
Paul
Jamroom Team


Joined: 20 Aug 2003
Posts: 5039
Location: Nottingham, UK

Posted: 11/02/11 02:02 
Several custom fields are needed when uploading images to store image size, height, width, filename etc. so you'll really need a custom module to do this. Is the image upload to be part of the create/modify band/user?

If you don't mind the image upload being a separate control panel tab that users see, the Aparna module would do it.
hth
Pa


_________________
Paul Asher
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
gcuezy



Joined: 29 Jul 2009
Posts: 290

Posted: 11/02/11 11:10 
Did you figure out that streaming issue on Aparna (my mixtape idea)? I guess I'm gonna buy that d*mn thing here shortly because it seems like the end-all-be-all of modules.

I don't mind it being in a separate tab, that might make more logical sense.

Could I effectively replace the photo functionality in jamroom with it? For example, figure out how to disable to 'photos' section of the CP and have aparna create it's 'mini albums'? Would I be able to rank albums and images separately (and by each other)? Also, is this 12 upload max a limit of the module, system, or a random number you picked?

Back to top
Paul
Jamroom Team


Joined: 20 Aug 2003
Posts: 5039
Location: Nottingham, UK

Posted: 11/02/11 14:08 
So it was you who emailed this morning about the mixtape idea Wink Did you get my response?

The trick with the Aparna module is to leave the original install intact and unconfigured, then to use the built in cloning tool to replicate it as a 'BackgroundImage' module. You then configure that for one image.
Clone it again as a PhotoAlbum module, then configure it for as many photos per album you want (12 was an arbitary number I chose), then replace the JR photos with that module via the quota settings. Aparna comes with a sample PhotoAlbum configuration.
Once created, you also rank the cloned modules -

{jr_ranking mode="BackgroundImage" . . . }

{jr_ranking mode="PhotoAlbum" . . . }

Note that when multiple photos are part of an Aparna module, they are returned in the row template as an array, so to display them you'd need to set up a smarty {foreach . . . } in the template - fairly straightforward though
Very Happy
hth
Pa


_________________
Paul Asher
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
gcuezy



Joined: 29 Jul 2009
Posts: 290

Posted: 11/02/11 14:13 
No I actually started a thread about my mixtape idea and aparna a little while ago... we have been emailing back and forth about a certain facebook-like-feature though (if you've thought of anything else shoot me an email).

So aparna seems like exactly what I need to do all the cool design-related stuff I want without having to learn how to code.

But if I wanted to use aparna exclusively for photo 'albums' and general photo uploads (not counting songs/albums/etc) then would it be possible to disable the photo section of the control panel in favor of linking to the 'photo albums' thing I create with aparna? EDIT: Maybe 'unlink' photos in the control panel menu... or disable access, would be a better way of saying it...

I'm asking because if I'm only ranking photos in the profile and skin from aparna, then them uploading photos with the original functionality would be useless (it wouldn't show up anywhere).

Back to top
Paul
Jamroom Team


Joined: 20 Aug 2003
Posts: 5039
Location: Nottingham, UK

Posted: 11/02/11 14:31 
So, someone else wants a mixtape module as well - Interesting Laughing

I'd forgot about your other thread about it, but recall that at the time, I got uploaded MP3s streaming, but not FLVs. There was an issue with video streaming I couldn't resolve, so gave up !!! But I guess I could release a new revision of Aparna with the MP3 streaming scripts only.

Yes - you can disable the Jamroom photos per quota, but bear in mind that if you do, any photos your users have already uploaded will become unavailable.
Cheers
Pa


_________________
Paul Asher
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
gcuezy



Joined: 29 Jul 2009
Posts: 290

Posted: 11/02/11 16:03 
One last related question...

I could potentially forgo using the youtubeplus module by creating an aparna 'thing' for videos using youtube, right? All I would have to do is have them drop in the youtube url, create some clever code to make it embed in the ranking template, and just add a title and description section; right?

Does each aparna-created-'thing' have the ability to have a comments section and rating as well? How is that handled?

I think I'm going to change the title of this thread.

Back to top
Paul
Jamroom Team


Joined: 20 Aug 2003
Posts: 5039
Location: Nottingham, UK

Posted: 11/02/11 16:29 
You could create an Aparna YouTube module but remember that the existing YouTube modules, including paYTSeamless, have checking in them to check for valid YT IDs etc. So there might be opportunities for your users to get things wrong and swamp you with support questions Wink

I think the Jamroom rate and comment scripts can work with third party modules, but I've never tried them.
However, my rate and comment modules (aka paRate and paCritique) have been tested with, and do work with Aparna 'things'.

Pa


_________________
Paul Asher
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
beazyboy



Joined: 01 May 2009
Posts: 617
Location: NastiNati

Posted: 12/09/11 20:18 
can this be used as a mass song upload mod... upload several songs and also edit several songs at the same time? if so that would be of interest to me


_________________
ServeMeBeats.com
Buy beats for sale online!
Back to top
gcuezy



Joined: 29 Jul 2009
Posts: 290

Posted: 12/10/11 11:06 
At beazyboy, I think it 'could' in theory but I don't think it would be the same as the core song mode (vault, different ranking, etc).

Another question for pasher - so here's another example...

I create a photo gallery which is a group of pictures as one 'thing.' I can then rank this gallery and allow comments on it. Can each individual image then be sorted through with comments and ratings and can each image be ranked seperately?

Back to top
Paul
Jamroom Team


Joined: 20 Aug 2003
Posts: 5039
Location: Nottingham, UK

Posted: 12/11/11 14:51 

beazyboy:
can this be used as a mass song upload mod... upload several songs and also edit several songs at the same time? if so that would be of interest to me


You can upload multiple song files with Aparna, but the way Aparna stores the files is not compatible with the standard JR player scripts, so they cannot be played. I did start development of 'Aparna player scripts' a few weeks ago but ran into some issues and have not got back to them since. Hopefully one day soon!!
Cheers
Pa


_________________
Paul Asher
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
Paul
Jamroom Team


Joined: 20 Aug 2003
Posts: 5039
Location: Nottingham, UK

Posted: 12/11/11 14:53 

gcuezy:
I create a photo gallery which is a group of pictures as one 'thing.' I can then rank this gallery and allow comments on it. Can each individual image then be sorted through with comments and ratings and can each image be ranked seperately?


No - you can only comment on 'Aparna Things', not individual elements of it.
Sorry
Pa


_________________
Paul Asher
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
Display posts from previous:   
User Support Forum
User Documentation and How To's

 
Solutions
• Social Media Platform
• Social Networking Software
• Musician Website Manager
• Community Builder
Products
• Jamroom Core
• Jamroom Addons
• Jamroom Modules
• Jamroom Marketplace
Support
• Support Forum
• Documentation
• Support Center
• Contact Support
Community
• Community Forum
• Member Sites
• Developers
Company
• About Us
• Contact Us
• Privacy Policy
©2003 - 2010 Talldude Networks, LLC.