Forum Replies Created

Viewing 8 replies - 16 through 23 (of 23 total)
  • Thread Starter netiad

    (@netiad)

    the shortcode will send the user_login via a post request using message_to, message_title, etc…

    It is up to the person using the shortcode to provide the user_login for the shortcode argument. On a page on my site where a user posted a page it would be get_the_author() that returns the user_login. It will depend on where they use the shortcode.

    That would be excellent. Thanks for the tip about WP HTTP, I’ll check that out.

    Thread Starter netiad

    (@netiad)

    I would create a shortcodes that people can use (the shortcode would be based on the curl code I posted):

    [front_end_pm_contact_button to=""]
    [front_end_pm_contact_button to="" subject=""]
    [front_end_pm_contact_button to="" subject="" body=""]
    [front_end_pm_contact_button to="" to_display="" subject="" body=""]

    If to_display is not provided the default is to use what was provided in the “to” field.

    someone could use it as such:
    [front_end_pm_contact_button to="<?php echo get_the_author(); ?>" to_display="<?php //a non username display name (for my case it would be the_title())?>"]

    Then for front-end-pm I would add a checkbox in the dashboard that would says something to the effect: “Disable New Message, Directory, and disable to field message inputbox for non admin” with the description “use shortcode front_end_pm_contact_button to allow people to send new messages.

    Then someone can use the shortcode to allow people to send messages on their site without anyone knowing what other peoples usernames are.

    Thread Starter netiad

    (@netiad)

    this is a piece of a security feature i’m going to add to front-end-pm that i’ll share with you if I can get the curl code above working that will make it so you can use front-end-pm without seeing peoples usernames. thanks!

    Thread Starter netiad

    (@netiad)

    that worked, thanks!

    Thread Starter netiad

    (@netiad)

    Okay, thanks. I’ll update the design to be more general and then I’ll send a link. I have a few things going on so I might not get to it till next week.

    Thread Starter netiad

    (@netiad)

    Yes, i know. This feature request is for an:

    It would be useful to have:

    Dashboard->Front End PM->Settings->Export to XML

    so that we can backup the custom css and other settings.

    Thread Starter netiad

    (@netiad)

    I want your function to return a string of the categories:

    category1, category2, category3

    all the same color.

    Basically instead of just returning the first category in the array you’d build a string with the categories separated by a comma.

    Thread Starter netiad

    (@netiad)

    awesome! this is just what I needed. I used your code and slightly modified it to this.

    <?php _te('By '); $values = get_post_custom_values("a"); echo $values[0]; ?>

    THANKS!!!

    I have another question. For my “Recent Posts” box I use this:

    <?php get_archives('postbypost',tiga_recentPostsCnt(),'custom','
    <li>','</li>
    '); ?>

    Now I have another Box called “Games”. Every time make a post that has “Play ….” in the title I would like my “Games” box to have “….” listed in it.

    example: I create a post with the title “Play Chess”. Then let’s say I make a post called “Play Asteroids”

    Now I would like my sidebar “Games” box to have

    ——–
    Games
    ——–
    Asteroids
    Chess

Viewing 8 replies - 16 through 23 (of 23 total)