Forum Replies Created

Viewing 6 replies - 76 through 81 (of 81 total)
  • Thread Starter trevorNanders

    (@trevornanders)

    Further:
    I’ve checked the database and the user_id’s are being stored correctly. I’ve changed the theme to see if there is a theme conflict but the ‘created by:’ remains empty except for threads by admin.

    I have also checked that there are no functions in the functions.php of my theme that might have been causing the problem. No joy there!

    Could it be a conflict with another plugin?
    I have Ultimate Member installed wondered if that might be the culprit?

    thanks in advance for advice and help ??

    hmmm, Uninstalled and reinstalled and now youtube embed works!

    thanks for getting this fixed for me ??

    Got another problem unrelated to shortcode / functions which I’ll post on another thread here.

    thanks again

    Thanks for the reply Liath.
    Alas, I can’t get it to work for me. No matter. I’ll either do without shortcodes function or try another forum plugin.

    Thanks for trying to help.

    Brilliant, Thanks. Although my forum is still outputting just the shortcode when I post a test youtube vid.

    I placed that function code into the functions.php of my theme. I’m assuming I add to the thread.php file something like:
    $post_content = apply_filters('youtube_shortcode', $post_content);

    which I’ve placed below this line in thread.php:
    $post_content = make_clickable(wpautop($wp_embed->autoembed(stripslashes($post->text))));

    alas, no luck so far.

    thanks

    I think I understand now how the hook works. it is to be added as a function to the functions.php file of my theme yes?

    Could you give me help on adding a shortcode function for, say embedding a Youtube video, please?

    I’ve tried hacking Liath’s pastebin function (above) but I’m not very good at coding and need to learn by example.

    hope you can help
    thanks

    Hi, Does the tweak above mean that all shortcode can be used in the forum? I have tried adding some shortcodes but it doesn’t work. I have the version that includes the tweak.
    thanks

Viewing 6 replies - 76 through 81 (of 81 total)