Quantcast

Howto: Wordpress 2.7+ User Link Feed Submit Form and Widget

Wed, Apr 15, 2009

Tutorials, Wordpress

DiggThis
Delicious

wp-user-link-feed

In this article tripwire magazine provides a mini-tutorial on how to setup a User Link/News Feed solution in Wordpress 2.7+. I really think it is a nice feature as it gives a blog dynamic content and it it may actually drive traffic from bloggers looking for sources to get some easy and free traffic for their own site. You may also yourself find useful ressources by follwoing the links that your users submit.


Introduction

Adding a User Link/News Feed is currently quite popular and I have seen it many of the very popular Web Development and Desing Blogs i follow. Here is a few good examples that you can check out: Noupe Psdtuts+ Smashing Apps. Even though User Link/News Feeds are popular there doen’t seam to be an easy way to implement it in Wordpress. There is as far as I know currently no plugin or really good tutorials that binds all the elements together why I decided to share the details of the solution I have just added to tripwire magazine (make sure you try it out and post a link to a useful resource!). There are as usual more than one way of doing this. Some use the comments system in Wordpress while others use their own proprietary database. In the solution I cover in this tutorial User Submitted content will be added as new posts in Wordpress.

Step 1. Get the files.

Submitting content to Wordpress from the front end can be done in many ways but I think that one of the best and most flexible ways available is to use TDO Mini Forms. TDO is not exactly simpel to configure to start with but as start using it you will see that it gives you real power to make the Forms you want.

TDO Mini Forms: Download

Listing posts from one Category in a widget can also be done in countless ways. You should really use the plugin or approach you prefer here but in this tutorial I have decided to use the plugin Query Posts. I have made a few changes to the plugin presentation template to make it fit my needs. I’m not that proud of this part but….well you may find a better and more generic way yourself if you’re not into changing code to preserve compatibility with future releases of the plugin. If you do please share and post a comment.

Query Posts: Download

2. Install and activate both plugins.

This is not a tutorial on how to install plugins in general but it is very simple.

a. Upload the files under your wp-content/plugins directury

b. Log into Wordpress back-end and click the Plugins menu button. Find the 2 new plugins under Inactive Plugins and press Activate.

3. Create a Page and a Category to hold the Form

You may call the page whatever you want but I suggest calling it "Submit User Link". There’s no reason to publish the page yet but you need it as a placeholder. Describe at the top of the page if you have any rules for what resources will be approved.

Create a Wordpress Categoty that the posts will be put into per default. In this tutorial the Category is called User-News (user-news)

4. Basic Configuration

Activating TDO Mini Forms (TDOMF) will add a Options Menu at the bottom of your Wordpress Admin Menu.

Make sure you start with configuring TDOMF via the main TDOMF menu "Form Manager and Options" in the Wordpress Administration back-end. You must assign a user as the "Default Author". This user must not have rights to publish or edit posts, i.e. they should be of the subscriber role. The TDOMF options menu can automatically create a dummy user to set as the Default Author. This is the recommended approach.

With a Default user selected you’re actually done setting up the basics. You may consider enabling the Akismet Spam Protection at the bottom of the page.

5. Creating the Form

Press the “New Form” button. This will add a Form 2 button next to Form 1. I’m not sure why the names are Form 1,2,x and keep being this after naming the form but you may call it a “feature”.Once the form is created press the Form 2 button.This takes you to the main Form 2 configuration page.

  • Put in the Form Name “User Link Feed”.
  • Make sure that "Unregistered Users (i.e. everyone)" and "Users with rights to publish posts" can access the form. The check boxes for this can be found scrolling a bit down. Further down if you want to receive notifications enable it for Administrator.
  • Scroll further down and locate “Default Category” Select the category created in step 3.
  • Look for Enable Moderation and make sure it is checked.
  • To prevent your Wordpress from becoming spammed you should create a throttle rule.In the example here each IP address can only have 10 unapproved submissions per hour. Setup what you want here.

Finally if you like Ajax forms enable it. I’m using it and it really is a nice feature.

6. Setting up the Form Layout

Form Layouts in TDOMF is called widgets and thus should not be confused with Wordpress side bar widgets! To configure your widget press the Widget button.

First of all scroll to the bottom and set the Custom Field Widget to 3 and press save.

The make the following arrangement by dragging the field boxes from the area below the widget into it.

Configuration of the 3 custom fields and the content field can be seen here. Click on the images.

Add the following code to “Custom Fields 1″.

<?php
$LINKTITLE= get_post_meta($post_id, 'LINKTITLE', true);
if($LINKTITLE != false) {
   $link_title = $LINKTITLE;
} else {
   $link_title = '[No Link Title]';
}
 
?>
<p><a href="%%VALUE%%" target="_blank"><?php echo $link_title ?></a></p>

Add the following code to “Append to Post Content 1″.

<?php
/* Using value put into Custom Field 3 called  LINKTITLE to insert
custom title on post to make it stand out in the Wordpress Posts view. */
 
$link_title = get_post_meta($post_id, 'LINKTITLE', true);
 
if($link_title != false) {
   $post_title = '[User Link:'.$link_title.']';
} else {
   $post_title = '[no link title set]';
}
$postdata = array(
         "ID" => $post_id,
         "post_title" => $post_title);
      sanitize_post($postdata,&quot;db&quot;);
      wp_update_post($postdata);
?>

The Form is basically set up now. To make the last hacks you have to go into Form Hack Mode.
Press the Form Hack Button and a page that gives you access to all the code is loaded.
What to do here:
1. Search for “URL:” and remove it. (makes the form look better)
2. Search for “Email:” and remove it.
3. If you want ot get rid of the preview button as well you can just locate the button input html and delete it.

7. Add the form to the Submit User Link Page

Open the page you created in step 3 for editing. Insert this tag on the page as shown below (I can’t put in the code here as it will be turned into a form):

Visit the form page and try to submit a few User Links. NB! Depending on the configuration you decided on in step 5: If you’re logged in as an administrator on the Browser session your submissions will be published directly.

This is the end result at tripwire magazine.

8. Add the Sidebar widget

Showing the links that users have submitted somewhere is necessary. If the Query Posts plugin was activated earlier as described you should navigate to the Wordpress Widgets page.

Here you should Add a “Query Posts” widget to the sidebar and click edit. The configuration is simple but make sure you put in the id of the category you created in step 3 instead of 41.

Save the sidebar.

9. Changing the Query Posts plugin

Now to this is where it gets a bit ugly. I may have found a better way but I don’t have to use the plugin for other things at the moment.Open the following file for editing (on the server or locally….if locally you need to upload it afterwards):

/wp-content/plugins/query-posts/query-posts.php

To add the Add and RSS buttons insert the following line of code on line 180. Update the [...] as needed.

<div id="userLinkMenu"><a href="http://[your domain]/submit-user-link">
<img src="http://www.tripwiremagazine.com/wp-content/themes/[theme name]/images/[add image]" />Submit</a>
<a href="http://[your domain]/category/user-news/feed">
<img src="http://www.tripwiremagazine.com/wp-content/themes/[theme name]/images/[rss image]" />RSS</a></div>

You need some images if you want to use the code as it is. If you just want text links remove the img tag.

<div id="userLinkMenu"><a href="http://www.tripwiremagazine.com/submit-user-link"><img src="http://www.tripwiremagazine.com/wp-content/themes/freshnews/images/add.png" />Submit</a><a href="http://www.tripwiremagazine.com/user-links"><img src="http://www.tripwiremagazine.com/wp-content/themes/freshnews/images/link-page.png" />More Links</a><a href="http://www.tripwiremagazine.com/category/user-news/feed"><img src="http://www.tripwiremagazine.com/wp-content/themes/freshnews/images/ico-rss.gif" />RSS</a></div>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
 
<div <?php if ( function_exists( 'post_class' ) ) post_class(); else echo 'class="post"'; ?>>
 
<?php if ( function_exists( 'get_the_image' ) && $thumbnail ) : ?>
  <?php get_the_image( array( 'custom_key' => array( 'Thumbnail', 'thumbnail' ), 'default_size' => 'thumbnail' ) ); ?>
  <?php endif; ?>
  <!-- comment this part out to leave out title in user link presentation
    <?php the_title( '<h2 class="post-title entry-title"><a href="' . get_permalink() . '" title="' . the_title_attribute( 'echo=0' ) . '" rel="bookmark">', '</a></h2>' ); ?>
    <p class="byline">
      <?php printf( __('<span class="text">By</span> %1$s <span class="text">on</span> %2$s', 'query-posts'), '<span class="author vcard"><a class="url fn n" href="' . get_author_posts_url( get_the_author_ID() ) . '" title="' . get_the_author() . '">' . get_the_author() . '</a></span>', '<abbr class="published" title="' . sprintf( get_the_time( __('l, F jS, Y, g:i a', 'query-posts') ) ) . '">' . sprintf( get_the_time( __('F j, Y', 'query-posts') ) ) . '</abbr>' ); ?>
      <?php edit_post_link( __('Edit', 'query-posts'), ' <span class="separator">|</span> <span class="edit">', '</span> ' ); ?>
    </p>
    -->
    <?php if ( $display == 'the_content' ) : ?>
 
    <div class="entry-content">
      <?php the_content( __('Continue reading', 'query-posts') . ' ' . the_title( '"', '"', false ) ); ?>
      <?php wp_link_pages( array( 'before' => '<p class="pages">' . __('Pages:', 'query-posts'), 'after' => '</p>' ) ); ?>
    </div>
 
    <?php else : ?>
 
    <div class="entry-summary">
      <?php the_excerpt(); ?>
    </div>
 
    <?php endif; ?>
    <!-- comment this part out to leave out post meta in user link presentation
    <p class="entry-meta">
      <span class="categories"><span class="text"><?php _e('Posted in', 'query-posts'); ?></span> <?php the_category( ', ' ); ?></span>
      <?php the_tags( '<span class="tags"> <span class="separator">|</span> <span class="text">' . __('Tagged', 'query-posts') . '</span> ', ', ', '</span>' ); ?>
      <?php if ( comments_open() ) : ?><span class="separator">|</span><?php endif; ?> <?php comments_popup_link( __('Leave a response', 'query-posts'), __('1 Response', 'query-posts'), __('% Responses', 'query-posts'), 'comments-link', false ); ?>
    </p>
    -->
  </div>
  <div style="border-bottom:1px solid #F1F1ED; padding-bottom:3px; padding-top:2px;"></div>
  <?php endwhile; endif; ?>
<?php endif;

In order to make the list of Link only show the post content containing the title og the link and the description and exclude fx. the realt title of the posts some lines of code in the file have to be either deleted or commented out. I recommend commenting them out so for. The blocks below start at around line 195.

Save the file and make sure it is updated on the server. Check how it looks. This is the sidebar at tripwire magazine:

10. Exclude the User News Category from Menus, front page and RSS feed.

I don’t think that You dont want the User Link menu and the User Link posts to appear on your front page or in your RSS feed. This part is really quite dependant on the theme you are using and how you set up your blog. I’m giving a few hints but don’t expect this part to be fully covered here.

1) The feed part is very simple if you’re using feedburner and the feedburner plugin that redirects all feed requests to feedburner.com. Just add ?cat=-[catid] to feed URL provided to feedburner

When it comes filtering what is shown on the to the frontpage or what Categoties that are shown in menus and widgets I will advise you to look for descriptions and tutorials that cover this as its main focus. There are manu good resource for this that you can use.

Please leave a comment if you find this tutorial useful or if you try it out and run into trouble!

Related posts

  1. Howto: Wordpress 2.7+ Most Popular Posts Widget In this article tripwire magazine provides a mini-tutorial on how...
  2. Build an Awesome Community News Feature for Your Wordpress Blog In this article tripwire magazine provides a detailed tutorial...
  3. Creating a Community Link Feed module in Joomla In this first article I give you detailed instructions on...
  4. 10+ jQuery Form Enhancement Plugins Easy user interaction and data collection is really a...
  5. Reviews of top 10 wordpress plugins Wordpress is one of the most popular and beloved...

Please subscribe to tripwire magazines rss feed

Please remember to share this post!

DiggThis
Delicious

64 Comments For This Post

  1. Television Spy Says:

    I could see this becoming a digg like plugin for wordpress.

  2. Joker Says:

    Thank you! I would now go on this blog every day!
    Have a nice day
    Joker

  3. Forex Robots Says:

    Great Post .Im wondering why i cant subscribe to your feed??ThanksLogan Daily

  4. tdh2007 Says:

    i like your blog good

  5. cc0105 Says:

    i like your blog good

  6. Izabella Says:

    Thank you! I would now go on this blog every day!

  7. webkatalog Says:

    Good informations, keep up the good work.

  8. webkatalog Says:

    Were did you get your blog design?

  9. tripwiremag Says:

    Regarding Theme used…Take a look here: http://www.tripwiremagazine.com/design/news/welcome-tripwire-magazine-20.html

  10. Briedgery Says:

    great domain name for blog like this)))
    ————————
    sponsor: http://xabul.ru/

  11. oldviolin Says:

    It’s raining here so I decided to stay home today and do some blogging. So while reading a few blogs I came across yours. I’ll reply in full later, just want to say I enjoyed reading your posts…

  12. tripwiremag Says:

    oldviolin,
    Thanks for your very positive feedback. I certainly hope to see you back here on tripwire magazine!

  13. blog hosting Says:

    blog hosting [url=http://wordpress.com]blog hosting[/url] blog hosting [url= http://wordpress.com ] blog hosting [/url]

  14. car insurance quote Says:

    Good piece.

  15. Crulvab Says:

    hm.. bookmarked

  16. xaer8 Says:

    Hey. Is it possible for user/visitor to submit their own post including picture and enabling them to select their post category? If possible, i wish to make a news website where user/visitor can submit their own post. Or maybe an advertisement based website where they could buy and sell like this http://www2.mudah.my/ai/form/0?ca=8_s . Even better than that, after they submit the post, it will require moderation before being approved and posted.
    It will be very helpful if you can tell me how to do this. Thanks in advance!

  17. tripwiremag Says:

    TDO Mini Forms is a highly configurable component and I’m sure that you can set it up to allow users to write news and upload images to be attached to posts. I couldn’t find a toturial or example showing how it’s done so I may consider trying it out soon and writing up the instructions in a post…

    www2.mudah.my can’t be accessed outside Malaysia so I can’t see how it works.

  18. Crulvab Says:

    now I’ll stay tuned..

  19. Eiríkur Jónsson Says:

    Thank you for a great tutorial.
    In image custom1.jpg you have a code in the textbox “<?php
    $LINKTITLE=get_post_meta($post_id,
    ‘LINKTITLE’, true);
    if($LINKTITLE !=false) {…

    I can’t find the full code to put in there. Am I missing something here? Any help would be appreciated.

  20. tripwiremag Says:

    Sure. Code is just below the image in the code box just below the text: Add the following code to “Append to Post Content 1?.

  21. Marc Says:

    Thank you for the Tutorial. I followed it step by step, but I have the problem that in the sidebar widget the title with the link on it is not showing. I only get the Description text as in the “content field”.

    Somehow your php code in the “append to post content” does not work.

    Further, the code in the first picture where you show the settings for the URL has some code in it which is not fully visible. Is this the problem?

    Highly appreciate your help on this!!!

  22. tripwiremag Says:

    Hi Marc

    Thanks for your comment. I’m sorry it didn’t work for you right away! I have added more code and hope it helps you to get through the tutorial with a working solution. If not let me know and I’ll try to help you again.

    Regards
    Lars

  23. Guga Says:

    Hello
    I want to use this User Link solution. I followed all the steps but i\’ve a problems with the Link Title Url. I submit the Link URL but in the preview and after submission…i always have [No Link Title] instead.
    Any solution for this?
    Best regards

  24. tripwiremag Says:

    @Guga Im having some trouble myself. Not sure if upgrades for some plugins resulted in a conflict. My problem is not the same as yours though. I would suggest that you go very carefully through the steps setting up the form fields (6. Setting up the Form Layout). “Custom Fields 1 and .“Append to Post Content 1? are both very important as one of them hold the title and the other wirtes it to the post. I have also uploaded the form hack content taken from the form I’m using. Get it here.
    Let me know if it does not fix your problem.

  25. Janes Mathews Says:

    Fantastic Post, Thanks for your nice information, keep it up!

    Jane

  26. tripwiremag Says:

    @Janes: Fantastic feedback thanks! And I will ;) )

  27. Marc Says:

    Hi there,

    My User Link is still not working. Your code of your hack is not working eather. I get:

    23-06-09(14:22:36)

    Test 3

    Test 3

    When I delete the content tag in the post-query.php then only test 3 as title and Test 3 as content. How can I style the title in your form? I want it to be bold as well and with no line-break to the content

  28. Joe Says:

    Hi,

    Do you know how to make the textarea (placed on content widget of tdomf) have minimum length? Such as user must have minimum 150 chars before they can submit the form.

    Thanks

  29. wakacje Says:

    Hi, this is ok – wordpres plus submit rss input – thanks!

  30. sedFEIS Says:

    You have deleted your form hack.txt which you’ve posted in an previously comment.

  31. tripwiremag Says:

    Sorry, form code available again here

  32. h1brd Says:

    Great info, I’ll use this as a base for my blog’s user link feed, thanks for sharing :)

  33. Roland Says:

    @Guga: I also had the same problem like you did with the ‘[No link title]‘ message.

    I solved it by removing the code from the first Custom Field and put this one in the third.

    [code]

    <a href="" target="_blank">%%VALUE%%

    [/code]

    Hope this helps

  34. Roland Says:

    Sorry the Code didnt come out right:

    <a href="” target=”_blank”>%%VALUE%%

  35. John Says:

    This is my first visit. I just want to comment that your site very useful. I will often visit your site.

  36. tripwiremag Says:

    @john, thanks and hope to see you back soon

  37. David Says:

    I’m trying to get it to work… but I’m running into a few problems.
    The first being it the TDO forms has been updated so alot of the screens look different.

    secondly I can’t get the form to even look right.. just about given up on it all really..

    nice tutorial though..

  38. RealRE Says:

    okay, lets begin with some questions and problem here, after query posts plugin placed in sidebar my post page title change into category name which input to the form before how to fix it?. Can you show me which code to edit for show only link and desciption in sidebar? Query post in my sidebar shows “author”, “posted in >”, and “response” link. thats not simple as yours. my last question is how to add user link in page like you here : http://www.tripwiremagazine.com/user-links

    i like your post .. thank you

  39. ProWebGuru Says:

    Hi,
    Your tutorial is good but somehow i am not getting the output correct.
    When the form is submitted , date is inserted as title in database.
    I dont know how it is happening ….
    And even the code you gave for modifying the plugin is somehow not working,
    may be the plugin is updated.

    Please help me.

  40. Ali Says:

    this is good, l must try soon because would be nice

  41. Franco Says:

    Cool tutorial, but I need a little help, the current theme I`m using is not widget ready, can anyone help me to add de querypost widget manually?.
    Thanks again!

  42. tripwiremag Says:

    @Franco: If your not using a theme with widget support I guess you have to jump directly into the code and one idea I would investigate is selecting the rows you need from the database as described here.
    http://www.tripwiremagazine.com/2009/07/essential-wordpress-hacks-to-boost-your-blog.html

    Just have to change the sql to something like this:
    SELECT *
    FROM wp_posts as wpost
    INNER JOIN wp_term_relationships ON wpost.ID = wp_term_relationships.object_id
    INNER JOIN wp_term_taxonomy ON wp_term_relationships.term_taxonomy_id = wp_term_taxonomy.term_taxonomy_id
    AND wp_term_taxonomy.taxonomy = ‘category’
    WHERE wp_term_taxonomy.term_id IN ( 41 )
    AND post_status = ‘publish’
    ORDER BY wpost.post_date DESC
    LIMIT 0,10

    Where 41 in “WHERE wp_term_taxonomy.term_id IN ( 41 )” is the categoty id used for user links.

  43. Franco Says:

    Hi guys, awesome tutorial!!!. I need some help, if I add the query post widget to my sidebar, the theme “breaks down”, aparently because it is not widget ready, can anyone help me to add it manually?? or link me to a tutorial??
    Thanks!!

  44. Franco Says:

    thaks, sorry for the double comment,please delete, thanks again!

  45. Franco Says:

    Hi there, man is a bit difficult for me, I don`t know wich hack to follow from the link you gave me. Thanks again.

  46. tripwiremag Says:

    @Franco: No problem. Try adding the code below to your sidebar.php (or whatever it is called). I tested it and it works on my test site.

      < ?php
      global $wpdb;
      $result = $wpdb->get_results(“SELECT *
      FROM wp_posts as wpost
      INNER JOIN wp_term_relationships ON wpost.ID = wp_term_relationships.object_id
      INNER JOIN wp_term_taxonomy ON wp_term_relationships.term_taxonomy_id = wp_term_taxonomy.term_taxonomy_id
      AND wp_term_taxonomy.taxonomy = ‘category’
      WHERE wp_term_taxonomy.term_id IN ( 41 )
      AND post_status = ‘publish’
      ORDER BY wpost.post_date DESC
      LIMIT 0,10″ );
      foreach ($result as $post) {
      setup_postdata($post);
      $postid = $post->ID;
      $title = $post->post_title;
      $post_content = $post->post_content;

      ?>

    • < ?php echo $post_content ?>
    • < ?php } ?>

  47. Franco Says:

    WOW!! Thanks so much for your help!!!, it`s working now, just a couple of things. The only thing left to do is tweak it a little bit. Thanks again

  48. Franco Says:

    Yeap, me again, sorry to disturb you again, but is there any way that I can style the post title within the above code, It`s the only thing left to do, hope it helps someone esle too, thanck you very much!!!!

  49. tripwiremag Says:

    @Franco: You’re welcome, happy that we fixed it ;) I think the only way to style the title is by setting this up in the TDO form. This is because the post title contains [user link:] to make it stand out inside Wordpress. In this post http://www.tripwiremagazine.com/2009/04/howto-wordpress-27-user-link-feed-submit-form-and-widget.html you need to look for step 6 and find the text:
    “Add the following code to “Custom Fields 1?. ” Just below that is the code you put into the form to add title to the post content. Hope this will work.

  50. Franco Says:

    HI!!, me again, thanks for the help. I`ve tried to add style to ““. But It didn`t work, still I`m very happy to had the user links in the site, all thanks yo tou, again thenk you very much

  51. Franco Says:

    in previous comment the code is missing, its p style: —->

  52. Franco Says:

    in previous comment the code is missing, its p style: —->, Again thanks, maybe in the future this could help someone else!

  53. Franco Says:

    Hi, me again, sorry to bother you again, but I have discovered that with the code you gave me to add in my sidebar.php, de submitted links, are ordered in a desc way (older at the top, I`ve changed DESC to ASC, but nothing happened, and I`ve even erased it, and nothing happened either) and the links in the side bar, don`t refresh, the first 10 links only get shown. Well, hope ypu have the time to helpme, and I really apreciatte all you did.

  54. tripwiremag Says:

    @Franco: Here’s your SQL that should work. The problem and reason why the order by did not have any effect was the ' around post_date in the order by clause.
    SELECT *
    FROM wp_posts as wpost
    INNER JOIN wp_term_relationships ON wpost.ID = wp_term_relationships.object_id
    INNER JOIN wp_term_taxonomy ON wp_term_relationships.term_taxonomy_id = wp_term_taxonomy.term_taxonomy_id
    AND wp_term_taxonomy.taxonomy = 'category'
    WHERE wp_term_taxonomy.term_id IN ( 41 )
    AND post_status = 'publish'
    ORDER BY wpost.post_date DESC
    LIMIT 0,10

  55. Franco Says:

    Hello, sorry taht took me that long to check back. I have traied to change this code:

    FROM wp_posts as wpost
    INNER JOIN wp_term_relationships ON wpost.ID = wp_term_relationships.object_id
    INNER JOIN wp_term_taxonomy ON wp_term_relationships.term_taxonomy_id = wp_term_taxonomy.term_taxonomy_id
    AND wp_term_taxonomy.taxonomy = ‘category’
    WHERE wp_term_taxonomy.term_id IN ( 41 )
    AND post_status = ‘publish’
    ORDER BY wpost.post_date DESC
    LIMIT 0,10? );

    for this one:
    SELECT *
    FROM wp_posts as wpost
    INNER JOIN wp_term_relationships ON wpost.ID = wp_term_relationships.object_id
    INNER JOIN wp_term_taxonomy ON wp_term_relationships.term_taxonomy_id = wp_term_taxonomy.term_taxonomy_id
    AND wp_term_taxonomy.taxonomy = ‘category’
    WHERE wp_term_taxonomy.term_id IN ( 41 )
    AND post_status = ‘publish’
    ORDER BY wpost.post_date DESC
    LIMIT 0,10

    Leaving exactly everything else the same way, but I always get a syntax error, unexpected T_STRING
    I think, most likely that I have made a mistake changing the code (obviously I`m not a php expert). So again thanks and apologies for the troubles!

  56. Franco Says:

    Guys? any help? I`m so close I`can taste it! (all thanks to you). I need the last push, please

  57. tripwiremag Says:

    @Franco, sorry I didn’t see your comment as it did approve itself (because your a regular user of the commments section). Anyway le have a look. What are you trying to achieve? The two sections of code you have added to the comment seams to uncomplete or wrong. First one is missing the “SELECT” and is having a “?” just after LIMIT 0, 10 instead of “. Tell me what you need and I’ll change it.

  58. Franco Says:

    Hi!!, thanks for the fast answer, the first code i pasted in previous comment, is part of the code you gave me in an earlier comment, and the second part of the code is the new one, i`m very ignorant when it comes to php, so what i need to do it`s to change the old code starting from *SELECT? I`ll give it another try!. Thanks

  59. Franco Says:

    Done Deal!!!!, It works just perfect!!!, Thanks for Everything!!!

  60. Shurandy Thode Says:

    Nice guide. How did you manage to make the “user-links” page with all the links listed on there?

  61. sriganesh Says:

    iam not getting the links ony the path and it showing as a new post when someone sumitt the link. i like to show the user links in the submit page | help in this plz the whole day i wasted in try out this :D could nt get it :(

  62. Wow Flickr Says:

    Great hack, I’ll using this for my new site: http://wowflickr.com
    Thank you!

  63. web design staffordshire Says:

    Brilliant tutorial. Thanks for the in depth description. Thanks.

  64. Lars V Says:

    @web design staffordshire, your welcome, let me know if you have any questions!

22 Trackbacks For This Post

  1. Howto: Wordpress 2.7+ User Link Feed Submit Form and Widget | Webmaster Tools Says:

    [...] View original here: Howto: Wordpress 2.7+ User Link Feed Submit Form and Widget [...]

  2. Posts about Wordpress Widgets as of April 15, 2009 Wordpress Theme | Free Quality Wordpress Themes @ List-Your-Blog.com Says:

    [...] in the week and learn how to post You tube Videos into your widgets, sidebars, posts, and pages Howto: Wordpress 2.7+ User Link Feed Submit Form and Widget – tripwiremagazine.com 04/15/2009 In this article tripwire magazine provides a mini-tutorial on how [...]

  3. Howto: Wordpress 2.7+ User Link Feed Submit Form and Widget Says:

    [...] Visit Source. [...]

  4. Howto: Wordpress 2.7+ User Link Feed Submit Form and Widget … Says:

    [...] Go here to read the rest: Howto: Wordpress 2.7+ User Link Feed Submit Form and Widget … [...]

  5. popurls.com // popular today Says:

    popurls.com // popular today…

    story has entered the popular today section on popurls.com…

  6. Howto: Wordpress 2.7+ User Link Feed Submit Form and Widget | News Inventory Says:

    [...] source [...]

  7. Howto: Wordpress 2.7+ User Link Feed Submit Form and Widget | Feed Reader Says:

    [...] Visit Source. [...]

  8. Howto: Wordpress 2.7+ User Link Feed Submit Form and Widget … | The Hoover Says:

    [...] the original:  Howto: Wordpress 2.7+ User Link Feed Submit Form and Widget … Related Posts:Howto: Wordpress 2.7+ Most Popular Posts | tripwire magazineBuild A WordPress 2.8 [...]

  9. Posts about Theme as of April 16, 2009 · Fee Premium Themes Wordpress Says:

    [...] strong class=keywordthemes/strong’ and you’ll find them. Now some of them might look Howto: Wordpress 2.7+ User Link Feed Submit Form and Widget – tripwiremagazine.com 04/15/2009 In this article tripwire magazine provides a mini-tutorial on how [...]

  10. Wordpress UK » Howto: bWordpress/b 2.7+ User Link Feed Submit Form and Widget b…/b Says:

    [...] more here: Howto: bWordpress/b 2.7+ User Link Feed Submit Form and Widget b…/b This entry was posted on Wednesday, April 15th, 2009 and is filed under Wordpress News. You can [...]

  11. CSS Brigit | Howto: Wordpress 2.7+ User Link Feed Submit Form and Widget Says:

    Howto: Wordpress 2.7+ User Link Feed Submit Form and Widget…

    In this article tripwire magazine provides a mini-tutorial on how to setup a User Link/News Feed solution in Wordpress 2.7+(works in 2.8.x too). I really think it is a nice feature as it gives a blog dynamic content

  12. Howto: Wordpress 2.7 User Link Feed Submit Form and Widget | tripwire magazine Says:

    [...] link: Howto: Wordpress 2.7 User Link Feed Submit Form and Widget | tripwire magazine Comments0 Leave a Reply Click here to cancel [...]

  13. 5 Ways to Create User Link Feed(Community News) on Your Blog | wpbized Says:

    [...] News) solution in Wordpress 2.7+ using TDO Mini Forms and Query Posts wordpress plugins:Howto: Wordpress 2.7+ User Link Feed Submit Form and Widget 3. Use the Links module inside Wordpress to create a User Link Feed(Community News) section in [...]

  14. 9 WordPress Hacks to Encourage User Interactivity « > Design Adept > Creative design & development Says:

    [...] The process of adding a news section is more involved than just copying and pasting some code, so I will not be providing code for this one, but Tripwire Magazine published a post a few months ago that will lead you through the process. See How to: WordPress 2.7+ User Link Feed Submit Form and Widget. [...]

  15. links for 2009-08-25 | Digital Rehab Says:

    [...] Howto: Wordpress 2.7+ User Link Feed Submit Form and Widget | tripwire magazine (tags: wordpress tutorial form community links php) [...]

  16. 9 WordPress Hacks to Encourage User Interactivity | huibit05.com Says:

    [...] The process of adding a news section is more involved than just copying and pasting some code, so I will not be providing code for this one, but Tripwire Magazine published a post a few months ago that will lead you through the process. See How to: WordPress 2.7+ User Link Feed Submit Form and Widget. [...]

  17. WordPress Hacks to Encourage User Interactivity | Cosmos Blog -- Internet News,Life,Culture,Polices,Resource,Make Money Says:

    [...] The process of adding a news section is more involved than just copying and pasting some code, so I will not be providing code for this one, but Tripwire Magazine published a post a few months ago that will lead you through the process. See How to: WordPress 2.7+ User Link Feed Submit Form and Widget. [...]

  18. Links salvos de setembro 29, 2009 até setembro 30, 2009 « Thiago Moreira Says:

    [...] Howto: Wordpress 2.7+ User Link Feed Submit Form and Widget | tripwire magazine – In this article tripwire magazine provides a mini-tutorial on how to setup a User Link/News Feed solution in Wordpress 2.7+. I really think it is a nice feature as it gives a blog dynamic content and it it may actually drive traffic from bloggers looking for sources to get some easy and free traffic for their own site. You may also yourself find useful ressources by follwoing the links that your users submit. [...]

  19. 4??????User Link Feed/Community News??? | ??? | ????????? ????????? Says:

    [...] 2???wordpress??TDO Mini Forms and Query Posts ?Howto: Wordpress 2.7+ User Link Feed Submit Form and Widget [...]

  20. Wordpress 2.7+ User Link Feed Submit Form and Widget | reADactor Says:

    [...] Read more on source… Published on: November 9th [...]

  21. Build an Awesome Community News Feature for Your Wordpress Blog | Programming Blog Says:

    [...] submitted. The solution provided have been tested and works with Wordpress 2.7 to 2.8.6. This is a follow-up on a previous article taking TDO Mini Forms changes into account. I have also decided to add new options and taking [...]

  22. WordPress Hacks to Encourage User Interactivity | Mobi99.com BLOG Says:

    [...] The process of adding a news section is more involved than just copying and pasting some code, so I will not be providing code for this one, but Tripwire Magazine published a post a few months ago that will lead you through the process. See How to: WordPress 2.7+ User Link Feed Submit Form and Widget. [...]

Leave a Reply