Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...module suggestion please.module suggestion please.
Previous
 
Next
New Post
4/14/2007 10:39 AM
 

I am wanting to be able to do the following on my DNN site and would like ot know if someone could recomend a module or offer a suugestion on how it could be done.
I want to have a photo contest on my site and have thought of this work flow. 
A user who decides to enter the contest fills out a registration form which would in essence be a registration form to a "photo contibuting" role. On this registration form I would like the user to be able to upload their photo(s)

Thanks for the help

Mark Hollas

 
New Post
4/14/2007 1:50 PM
 

I think this won't work ... you are trying to allow the as yet unregistered user to exercise permissions they do not yet have.

First get the user registered and with a correct role, and when they log on with that role granted, then use a photo module that has workflow permissions. I believe Ventrian's Simple Gallery would have that kind of permissions/work flow.

You can create a security role which is public and let the user know how to use "Manage Services" to subscribe to that role.

This scenario requires four steps: 1) register 2) Manage Services to select role 3) log off and log back on to initialize new privileges 4) navigate to the photo module to upload images.

I beleve that you can combine the first three steps into one if you use a custom registration module such as that offered by UCanUse, though I have not use it myself.

Personally, I find step 3 above rather distasteful ... I think that whenever any user navigates away from "Manage Services"  that their permissions should be refreshed, rather than only at login. Those should be the two times that a user's permissions are renewed.


pmgerholdt
 
New Post
4/14/2007 1:55 PM
 

Perhaps though I misunderstood a bit - they are not necessarily first time registrants to the site, just wanting to join in the photo contest.

Then they need instructions just to go to "Manage Services" and subscribe to the role in question, log off and on, and then navigate to the photo module.

If you need for them to fill out a registration form for the contest first, then keep the role hidden, and set it up with an RSVP code, and email the user that code upon submission of the registration form.

This would involve yet another module such as Form Master, Enterprise Forms, or one of the many other modules which can build interactive forms for DNN and send email upon submission.


pmgerholdt
 
New Post
4/15/2007 6:04 AM
 
You might want look at:

http://php.resourceindex.com/Complete_Scripts/Images_and_Graphs/Image_Voting/

Do some web searches for things such as "Picture Voting Script", "Image Voting Script"

I know of no such module for DNN but that does not mean you cant do it. Most hosting companies have PHP on IIs servers so you can run PHP.

MANY however may NOT have mySQL hosting (some do, some do at additional expense) and many PHP scripts require mySQL.

There is a whole world of software out there in PERL and PHP that it seems DNN'rs often forget. MANY of these scripts will happily exist in the IFrame module. So, you take your PHP script, slap it into a generic HTML page, take the URL of said page and use that along with the iFrame Module.

You can control permissions at the page or module level within DNN so say an annonymous user cant get at the page due to DNN role being set to registered users only.

There are some positives and negatives in doing things this way.

Positives are in many cases you can offload work off DNN and do things that DNN modules (and or incompatibilities of modules vs DNN release) wont do or wont coexist with your current DNN install version.

Downside is that many a PHP module wants a login/password. For example, a picture gallery with user ratings will need to assign a userID and password more than likely so your users would need "sign up" into it. This is something I have been looking into. Joomla/Mambo CMS (which I have a good degree of comfort with) for some items such as PHPBB (probably the most popular forum software in existence) simply has a bridge between the two app's. I've been playing a little bit with bridging and DNN.

the mySQL requirement for many scripts can suck or be of benefit depending on really the application. For example, a high traffic site that lets say allows uploads/downloads of whatall, mp3's or a script archive is often best distributing the computing. You could for example slap that portion of the site out on a completely different unix host, interface to it in a DNN iFrame and its essentially transparent to the end user.

In a site we are creating we purchased a forms module that was a disaster yet it stated it would work with DNN 4.4.1. I started working on a forms module which I am still working at. But, the site needed something NOW. Since we already had Coffee Cup's Flash Forms we decided to use it. The forms are created as seperate HTML pages and put in iFrames and access to them controlled at the page/module level via DNN roles.

We then decided to even go a step further... We wanted the ability to show flash video's etc. Again, we already had Coffee Cup's Video Player. Its nice as it does not rquire a flash server etc and it streams. We gave it a go, works perfectly. Again, same thing. We put it in a seperate HTML page, encapsulate the page in a DNN iFrame and can control access to the page/iFrame via DNN roles.

DNN is an extrordinarily versitile framework. From alot of reading in the forums many folks seem to think they are limited to modules and they are not. There exists a whole universe of Perl and PHP code that works just fine and it can be an excellent way to offload work. You can buy say some linux hosting for dirt and offload work to it. This is exactly what we "plan" on doing with the video the site we are working on. A cheapo $5 a month linux server that will send the video files to CoffeeCup's Video Player which just sits again in an iFrame. Effectively it takes 99% of the work of feeding the video to the end user off DNN and the DNN server. If need be as the site grows its membership we can just get another cheapo linux host account and offload some more.
 
New Post
4/16/2007 7:04 PM
 

For uploading photos, forms etc. you can try http://components.init.si Module is not free, but you can try it unlimited times :-)

Primoz

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...module suggestion please.module suggestion please.


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out