Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • I believe this will insert the current user’s e-mail address in the form.

    [dynamictext email "CF7_get_current_user key='user_email'"]

    I have seen that it works. However, on the Mail tab, while it states you can use [email] as a mail-tag, the e-mail address is not displayed in the email that is sent.

    I may be missing something.

    • This reply was modified 3 years, 2 months ago by Lineone.

    Solved.

    Well Frank that did the trick.

    The relevant code is as follows:

    PHP
    $vid_content = do_shortcode( '[lyte id="' . $videoId . '" /]' );

    Javascript

    jQuery('a.vid-" . $i . "').click(function(e){
    	modal.open({content: '" . $vid_content . "'});
    	ly.te();
    	e.preventDefault();
    });

    Thanks Frank. Solved!

    Thanks Frank.

    I’ll give that a try and let you know how I get on.

    OK Boss. URL

    Yes. That is also present and looks correct.

    <script type="text/javascript">var bU='http://www.example.de/kk/wp-content/plugins/wp-youtube-lyte/lyte/';var mOs=navigator.userAgent.match(/(iphone|ipad|ipod|android)/i);style = document.createElement('style');style.type = 'text/css';rules = document.createTextNode(".lyte-wrapper-audio div, .lyte-wrapper div {margin:0px; overflow:hidden;} .lyte,.lyMe{position:relative;padding-bottom:56.25%;height:0;overflow:hidden;background-color:#777;} .fourthree .lyMe, .fourthree .lyte {padding-bottom:75%;} .lidget{margin-bottom:5px;} .lidget .lyte, .widget .lyMe {padding-bottom:0!important;height:100%!important;} .lyte-wrapper-audio .lyte{height:38px!important;overflow:hidden;padding:0!important} .lyMe iframe, .lyte iframe,.lyte .pL{position:absolute !important;top:0;left:0;width:100%;height:100%!important;background:no-repeat scroll center #000;background-size:cover;cursor:pointer} .tC{left:0;position:absolute;top:0;width:100%} .tC{background-image:linear-gradient(to bottom,rgba(0,0,0,0.6),rgba(0,0,0,0))} .tT{color:#FFF;font-family:Roboto,sans-serif;font-size:16px;height:auto;text-align:left;padding:5px 10px 50px 10px} .play{background:no-repeat scroll 0 0 transparent;width:88px;height:63px;position:absolute;left:43%;left:calc(50% - 44px);left:-webkit-calc(50% - 44px);top:38%;top:calc(50% - 31px);top:-webkit-calc(50% - 31px);} .widget .play {top:30%;top:calc(45% - 31px);top:-webkit-calc(45% - 31px);transform:scale(0.6);-webkit-transform:scale(0.6);-ms-transform:scale(0.6);} .lyte:hover .play{background-position:0 -65px;} .lyte-audio .pL{max-height:38px!important} .lyte-audio iframe{height:438px!important} .ctrl{background:repeat scroll 0 -220px rgba(0,0,0,0.3);width:100%;height:40px;bottom:0px;left:0;position:absolute;} .lyte-wrapper .ctrl{display:none}.Lctrl{background:no-repeat scroll 0 -137px transparent;width:158px;height:40px;bottom:0;left:0;position:absolute} .Rctrl{background:no-repeat scroll -42px -179px transparent;width:117px;height:40px;bottom:0;right:0;position:absolute;padding-right:10px;}.lyte-audio .play{display:none}.lyte-audio .ctrl{background-color:rgba(0,0,0,1)}.hidden{display:none}" );if(style.styleSheet) { style.styleSheet.cssText = rules.nodeValue;} else {style.appendChild(rules);}document.getElementsByTagName('head')[0].appendChild(style);</script>

    I don’t see any errors in the browser console.

    The .js file seems to be included:

    <script type="text/javascript" async src="http://www.example.de/kk/wp-content/plugins/wp-youtube-lyte/lyte/lyte-min.js?wyl_version=1.6.0"></script>

    Thanks for your help.

    Thanks Ankit,

    I found the answer in:

    /bbpress-multi-image-uploader/includes/hooks/topic-hooks.php

    Use: bbp_new_topic_post_extras when saving a new topic.

    Use: bbp_edit_topic_post_extras when saving a topic after editing.

    Thanks.

    I need to remove from non-Administrators i.e. Guest Bloggers (the distraction of seeing) links to add new call to Action, Leads etc. In the absence of another simple way to achieve this, am using CSS to hide the links in conjunction with a function created by AppThemes to check if a logged in user has the Administrator role.

    Yes. That seems to have done the trick.

    The (simplified) code in question is now:

    <?php
    $args = array(
    	'cat' => 13,
    	'posts_per_page' => 1,
    	'order' => 'DESC'
    );
    
    // The Query
    $the_query = new WP_Query( $args );
    remove_filter('posts_where', 'filter_where');
    
    // The Loop
    if ( $the_query->have_posts() ) { ?>
    	<ul>
    	<?php
    	while ( $the_query->have_posts() ) {
    	$the_query->the_post(); ?>
    	<li>
    		<a href="<?php echo get_the_permalink() ?>"><h3><?php echo get_the_title() ?></h3></a>
    		<?php echo lyte_parse(do_shortcode(get_the_content())) ?>
    	</li>
        <?php
    } ?>
    </ul>
    <?php
    } else {
    	// no posts found
    } 
    
    /* Restore original Post Data */
    wp_reset_postdata();
    ?>

    Many thanks Frank

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