• MeRuud

    (@meruud)


    Hello all,

    I am working on a new site and I was wondering if somebody could guide me in the right direction.

    Basically the website will go about remixes of songs, an original song will be posted and it will allow users to reply to this post and submit a link with their own remix and other users can rate this on certain criteria.
    I was thinking about modifying the comment section but I want to keep it if possible, so I was wondering if there are any plugins that are doing this already or if there are plugins in this directions.

    So it will look like something like this:
    ————————————–

    (New Post)
    Title: Lucky Luke - Pump the beat up
    Description: bablabla
    Tag1 / Taxonomy: blablabal
    Tag2 / Taxonomy: etc..
    
    User submitted remixes:
    Title (link) | Quality Rating | Beat Rating | Average Rating |
    My remix! | 5 ↑↓ | 3 ↑↓ | 4 ↑↓ |
    Remix number two! | 2 ↑↓ | 8 ↑↓ | 5 ↑↓ |
    
    ------------ Submit your rremix! 
    
    Comments:
    Blablabla
    
    ------------ Submit your comment!

    ————————————–

    Hope this makes kinda sense.
    I did find the GD Star Rating and it looks great and will probably use it for the rating. I just have a difficult time integrating the “users ability to submit a link to a post”-part.

    So any tips / plugin / code hacks to allow users to submit a simple link to a post? (Ability for admin to add / remove would be great aswel).

    Thanks in advanced,
    Ruud

Viewing 1 replies (of 1 total)
  • Thread Starter MeRuud

    (@meruud)

    So I was thinking about adding the following to the page, so the user can submit a comment or a link by filling in the appropriate form.

    Not sure if this will work but I will try it out sometimes later today.

    I will add this to comments.php (submit form):

    <div style="clear:both"></div>
    <a name="add"></a>
    <h2 style="margin-top:30px;">Submit a Link</h2>
    
    <div class="formcontainer">
    	<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
    
    	<p><input type="text" name="author" id="author" value="" size="22" tabindex="1" />
    	<label for="author"><small>Link Title <?php if ($req) echo "(required)"; ?></small></label></p>
    
    	<input type="hidden" name="email" id="email" value="USER_LINK_SUBMISSION@SITE.com" size="22" tabindex="2" />
    
    	<p><input type="text" name="url" id="url" value="" size="22" tabindex="3" />
    	<label for="url"><small>Link URL</small></label></p>
    
    	<p><input type="text" name="comment" id="comment" value="" size="22" tabindex="3" />
    	<label for="url"><small>Link Description (Max 20 Words)</small></label></p>
    
    	<p><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment"  class="button" />
    	<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
    	</p>
    
    <?php do_action('comment_form', $post->ID); ?>
    </form>
    </div>
    <div style="clear:both"></div>

    And add this to comments.php (display them appropriate):

    <h2 style="margin-top:30px;">Previous User Submissions</h2>
    	<a href="#add" class="floated_link">Submit a Link</a>
    
    		<?php if ($comments) : ?>
    			<ol>
    			<?php foreach ($comments as $comment) : ?>
    			<?php if (get_comment_type() == "comment"){ ?>
    				<li id="comment-<?php comment_ID() ?>" >
    				<?php comment_author_link(); ?> <br />
    				<?php comment_text(); ?>
    				</li>
    			<?php } ?>
    			<?php endforeach; /* end for each comment */ ?>
    			</ol>
    		<?php endif; ?>

    Both come for a netplus tutorial to “hack” together a similar form. However they want to display one or the other, not both.

    Thanks in advanced,
    Ruud

Viewing 1 replies (of 1 total)

The topic ‘User added content rating’ is closed to new replies.