Title: [Plugin: Link Library] Link Acknowledgement Short code
Last modified: August 20, 2016

---

# [Plugin: Link Library] Link Acknowledgement Short code

 *  [allanit](https://wordpress.org/support/users/allanit/)
 * (@allanit)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-link-library-link-acknowledgement-short-code/)
 * Is there a Link Acknowledgement Short code or another way to show the submitter
   the information that they submitted.
 * [http://wordpress.org/extend/plugins/link-library/](http://wordpress.org/extend/plugins/link-library/)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Thread Starter [allanit](https://wordpress.org/support/users/allanit/)
 * (@allanit)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-link-library-link-acknowledgement-short-code/#post-2878350)
 * Again
 * no reply????
 *  [Darryl Erentzen](https://wordpress.org/support/users/erentzenco/)
 * (@erentzenco)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-link-library-link-acknowledgement-short-code/#post-2878358)
 * Dashboard->Link Library->General Moderation Options->Link Acknowledgement URL
 * hover over the description.
 * is this what you were looking for?
 *  Thread Starter [allanit](https://wordpress.org/support/users/allanit/)
 * (@allanit)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-link-library-link-acknowledgement-short-code/#post-2878359)
 * Hi erentzenco
 * Now that the other problem is fixed I can reply to this one.
 * When the short code [link-library-addlinkcustommsg] is put on the Link Acknowledgement
   URL page what you get is what was typed in at ‘New Link Message’ + ‘New Link 
   Moderation Label’ on the Library Settings page.
 * What I want is a way to put the information that the person filled in when making
   their link request as a conformation of what they filled in.
 * thanks
    AllanIT
 *  [Darryl Erentzen](https://wordpress.org/support/users/erentzenco/)
 * (@erentzenco)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-link-library-link-acknowledgement-short-code/#post-2878360)
 * Comment out lines 251 and 252 in “usersubmission.php”
 *     ```
       if ($valid == false && ($options['showcaptcha'] == true || $options['showcustomcaptcha'] == true))
       {
       ```
   
 * and line 300
 *     ```
       }
       ```
   
 * This will force the form variables to be passed in the query_string regardless
   of the status of the submission.
 * Then you can use a plugin like “Exec-PHP” ([http://bluesome.net/post/2005/08/18/50/](http://bluesome.net/post/2005/08/18/50/))
   to enable php in your admin posts/pages/widgets and output the data using
 *     ```
       echo '<p>Label: ' . $_GET['variablename'] . '</p>';
       ```
   
 * or a foreach loop or what-have-you.
 * You’re limited by the maximum length of a query string, but since it’s usually
   a few thousand characters (depends on server, browser, language) you’re probably
   safe there.
 * You may also want to add length checks to all incoming data to prevent buffer
   overrun attacks via this page.
 * The downside to this is that to preserve your changes you’ll have to edit “usersubmission.
   php” every time there’s an update to the plugin.
 *  [Darryl Erentzen](https://wordpress.org/support/users/erentzenco/)
 * (@erentzenco)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-link-library-link-acknowledgement-short-code/#post-2878361)
 * The above is a quick-and-dirty kludge.
 * The really elegant solution would be to make the variables available via a shortcode,
   but this isn’t an option I have time to explore right now.
 * Maybe Jack will get around to it at some point, since I think a lot of people
   would like to be able to do this.
 *  [Darryl Erentzen](https://wordpress.org/support/users/erentzenco/)
 * (@erentzenco)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-link-library-link-acknowledgement-short-code/#post-2878362)
 * lol if you DO want to put the variables into shortcodes because you don’t want
   to mess with buffer overflow issues, here’s how:
 *     ```
       //[foobar]
       function foobar_func( $atts ){
        return "foo and bar";
       }
       add_shortcode( 'foobar', 'foobar_func' );
       ```
   
 * This will create [foobar] shortcode that returns as: foo and bar.
 * I’m sure you get the idea. It’s pretty simple.
 * If you go this route, give your code to Jack so he can include it in the next
   update and you don’t have to worry about losing your work. 😉
 *  [Darryl Erentzen](https://wordpress.org/support/users/erentzenco/)
 * (@erentzenco)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-link-library-link-acknowledgement-short-code/#post-2878363)
 * oops duplicate post
 *  [Darryl Erentzen](https://wordpress.org/support/users/erentzenco/)
 * (@erentzenco)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-link-library-link-acknowledgement-short-code/#post-2878364)
 * LOL or shoot me $50 and I’ll do it for you 😉
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-link-library-link-acknowledgement-short-code/#post-2878365)
 * Or try [http://jobs.wordpress.net/](http://jobs.wordpress.net/)
    Topic now closed
   as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome#Offering_to_Pay)

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘[Plugin: Link Library] Link Acknowledgement Short code’ is closed to 
new replies.

 * ![](https://ps.w.org/link-library/assets/icon-256x256.jpg?rev=971117)
 * [Link Library](https://wordpress.org/plugins/link-library/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/link-library/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/link-library/)
 * [Active Topics](https://wordpress.org/support/plugin/link-library/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/link-library/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/link-library/reviews/)

## Tags

 * [link](https://wordpress.org/support/topic-tag/link/)
 * [Short Code](https://wordpress.org/support/topic-tag/short-code/)

 * 9 replies
 * 3 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-link-library-link-acknowledgement-short-code/#post-2878365)
 * Status: not resolved