Quote from: bennyb at Oct 13, 2008, 05:07 PM
First is i want the ability to upload flash video (swf and flv) for each user. Anyone amended the snippet to allow this and also need the ability to upload more than one image?
My first thought is to use something other than WebLoginPE for this part. I know that MaxiGallery can be configured to allow individual webusers to manage their own galleries. What I don’t know is if it can handle swf & flv. For the sake of discussion, let’s assume that MaxiGallery (or some other snippet) can do this. Then, the only trick is to connect that client’s gallery with that client’s WebLoginPE profile. My though is to create a simple hyperlink in the client’s profile (again using a &customFields) that links to their ’gallery’. One of these sharp coders could probably figure out a neat way to auto-generate this link when the client signs up. If it’s permanantly attached to the client user account, it doesn’t even need to be included on the profile editing page (that way it can’t get accidentally messed up). However it would be displayed prominently on the client’s specific details page so that a regular user could just follow the link to the gallery.
Quote from: bennyb at Oct 13, 2008, 05:07 PM
Next question is it possible show random profiles
I’d bet that Ditto could be slightly modified to do this, but if not, it wouldn’t be to difficult to randomly pick a row from the webusers table (including picking from a particular webuser group if needed)
Quote from: bennyb at Oct 13, 2008, 05:07 PM
would it be easy enough to reference some of the fields in the database as one of the images that the business will be able to upload will be a promo advert and within the site there will be areas of the page which will randomly display business promo adverts.
Not sure about this one. All the fields in the database are text fields, so you can’t put an image directly directly there. But going back to the earlier ’gallery’ concept you could have a folder within the gallery specifically for advertisements. Then again, have a link to that as one of the fields that’s stored in the database.
Quote from: bennyb at Oct 13, 2008, 05:07 PM
Also not sure how i can allow end users to the site have an effect on what is displayed by the userlist. Would it be better to just to hard code a form that will add a query to the URL?
This is where you’ll have to get fancy and carefully consider how you want regular users to be able to create the selection (filter) criteria. Maybe drop-down lists or checkboxes in a custom snippet that will create specific selection info that can be used to dynamically create a &usersList WebLoginPE call, or perhaps insert the filtering conditions into a placeholder of a WebLoginPE call.
Quote from: bennyb at Oct 13, 2008, 05:07 PM
The final thing is i’ve not clue how this will be a possible to work with the rating thing.
I don’t have an answer to that, and I haven’t used any of the rating/ranking snippets. But a possibly useful thought occurred to me as I wrote some of the above.... &customFields are created when the webuser creates their account and they can contain whatever info you want. Just because a customField is associated with a particular webuser, doesn not mean that it needs to be editible (is that a word?) by that user. If a customField is not included on the profile page, it can’t be edited by the user. Perhaps one of those rating snippets can be configured to update a particular &customField in the database that is attached to the webuser. It could then be displayed on the &usersList page as a rating.
Hopefully, some of that makes sense