Forum Replies Created

Viewing 15 replies - 91 through 105 (of 703 total)
  • Thread Starter Phil

    (@owendevelopment)

    I got a snippet kinda making more sense:

    <?php
    	 global $current_user;
    	 get_currentuserinfo();
    
    	 $other_page = $current_user->user_login;
    	 if( is_page( $other_page ) ) {
    	 								           the_field('favourite_movie', $other_page);
     } ?>

    so I know I’m close, but still not pulling the data from the page.

    Thread Starter Phil

    (@owendevelopment)

    Hi TheHandOfCod for helping.

    1. Do you have any other suggestions for this?

    2. Hmm, not sure as that reference page also shows ways of using the ID, the actual page name and the slug, so all I need is to get the username into there… somehow.

    It’s actually on a Woocommerce Account template, and I’m trying to bring in some unique user content. Interested in your ACF solution of storing a page ID and linking to a user – how would that work?

    Phil

    (@owendevelopment)

    I’m getting the same issue. I can’t delete users nor plugins from the admin panel. Swapped themes and it works but ONLY on the default wordpress theme, I’ve tried 4 others from fresh and it removes all functionality from the delete buttons. Weird.

    Thread Starter Phil

    (@owendevelopment)

    It’s my explanation, sorry.

    What I mean is I have a Google Doc Spreadhseet (a workbook), but I have seperate sheets as tabs along the bottom, so within the same workbook (the same form), I have seperate sheets for each month and wondering if there’s a way to target a particular sheet.

    The plugin at the moment is pulling in all sheets from the spreadsheet as seperate links. I can kinda target each by adding &gid=2 on the end of the url but it that seems to choose the active sheets while still displaying all sheets.

    Does that make sense?

    Phil

    (@owendevelopment)

    Did you figure this out? Seems the developer isn’t around.

    Phil

    (@owendevelopment)

    I’m desperately trying to achieve the same thing.

    I not going to go down the iframe route as 1) My site is responsive and won’t like set iframe size and 2) I would rather no url of the originating site in the source.

    I’ve seen you can connect to the 2nd sites’ database using:

    $newdb = new wpdb($DB_USER, $DB_PASSWORD, $DB_NAME, $DB_HOST);
    $newdb->show_errors();

    Site A has the plugin running with a form capturing data

    Site B has the plugin running but I need the datatable on this site with data pulled in from the Site A Database.

    I know Gravity Forms has this ability with an extra add-on but I quite like CFDB so if there’s a way to do this using this plugin, it would be more favoured.

    Phil

    (@owendevelopment)

    You may be able to do this with some simple CSS. Do you have a link to the site so we can help?

    Phil

    (@owendevelopment)

    Sent you email 🙂

    Phil

    (@owendevelopment)

    Got it. Will fix now 🙂

    Phil

    (@owendevelopment)

    It looks like the theme is adding in White colour from the theme settings. This will override everything in style.css. If you can email me an admin login for your WP site and email it to phil(at)philowen.co, I will fix this for you (including the transparent image as well). 😀

    Phil

    Phil

    (@owendevelopment)

    OK, don’t worry, just swap the CSS you added for wrapper and change it to this instead:

    #wrapper {
    background: url("/wp-content/uploads/2013/06/oie_transparent.png") repeat;
    width: 1020px;
    }

    That should fix your layout problem and correct the path to your image. Looking at the image, it looks very transparent so may not look do what you want it to do. If you make this change though, I’ll see if I can help you out with that 🙂

    Phil

    (@owendevelopment)

    Most likely the theme developers need to update their code to allow for the new API requirements. You now need to set up an app under Twitter Developers and update settings in Twitter widgets.

    You can install another Twitter widget which accounts for these new changes and swap to that instead.

    Phil

    (@owendevelopment)

    There’s lots of ways to do this, some better/easier than others.

    For a quick fix, you can use code in the header.php like this:

    <script>
    //<![CDATA[
        //var mobile = (/iphone|ipad|ipod|android|blackberry|mini|windows\sce|palm/i.test(navigator.userAgent.toLowerCase()));
    	var mobile = (/iphone|ipad|ipod|android|sony|symbian|nokia|samsung|mobile|windows ce|epoc|opera mini|nitro|j2me|midp-|cldc-|netfront|mot|up.browser|up.link|audiovox|blackberry|ericsson|panasonic|philips|sanyo|sharp|sie-|portalmmm|blazer|avantgo|danger|palm|series60|palmsource|pocketpc|smartphone|rover|ipaq|au-mic|alcatel|ericy|vodafone|wap1|wap2|teleca|playstation|lge|lg-|htc|dream|webos|bolt|nintendo|blackberry|mini|windows\sce|palm/i.test(navigator.userAgent.toLowerCase()));
        var refUrl = document.referrer; // Get the URL where the user came from
        var prevUrl = refUrl.substr(7,41); // Create a substring after 'http://' and '.com'
            var mobileUrl = "mobilesiteurl.com"; 
    
            //document.location = "http://m.azharkamar.com";
    		if ((mobile) && !(prevUrl == mobileUrl)) {
    		document.location = "http://mobilesiteurl.com";
        }
     //]]>
    </script>

    You can grab code for this in any langauge here.

    Phil

    (@owendevelopment)

    No probs 🙂

    Phil

    (@owendevelopment)

    I take it you want to make the whole white container the transparent part, right?

    In your style.css, you’ll want to add in:

    #wrapper {
    background: url(images/transparentpng.png) repeat;
    }

    If you let me know where you uploaded the transparent image, I’ll give you more accurate instructions. 🙂

Viewing 15 replies - 91 through 105 (of 703 total)