newportcreativegroup
Forum Replies Created
-
Forum: Plugins
In reply to: [Query Posts] [Plugin: Query Posts] Show specific ID doesn't workSame problem, here’s the fix. It’s missing the argument for a single post in the widget-query-posts.php file. Open that up and add in the following at line 123, right before you see:
/* Begin display of widget
/*NCG edit */ if( $instance['post']) $args['p'] = $instance['post'];
Problem solved. Thanks for Justin for a ridiculously useful plugin. Just discovered it a couple of weeks ago and it makes me want to cry how many custom bits of code I set up on templates that I could have accomplished with widgets using this plugin. It’s flat out amazing!
Same problem here but possibly different cause. I had a WPMU site that I did the upgrade as per Otto’s tutorial. Everything worked fine. However, if I try to add WP_MULTSITE_ALLOW I still don’t get the Network tool displaying and if I try to access it by manually adding network.php to the URL I get an error: The Network creation panel is not for WordPress MU networks.
I have everything working with subdirectory install and mapped domains — about 10 sites running properly. But I’m forced to use remote login and redirect to the main site admin page or else I get that endless login loop where it just keeps refreshing the page. And if I use the 0.5.2 version of the Domain Mapping Plugin then I have the same problem as above, previews won’t work.
Going back to an earlier version of the plugin works but then previews display as being https://mainsite.com/sub-folder/?p=###&preview=true
Any idea where to start here outside of a full reinstall? Are there still MU specific files floating around on my install that are messing things up?
Thanks for any help anyone can provide.
I was just doing the same thing. Just a heads up that do_shortcode returns the output but DOESN’T display it. So you need to use:
<?php echo do_shortcode('[portfolio_gallery]');?>
Another tip that might come in useful. If you want to display portfolio galleries on pages or posts via template tags, try using a Custom Field. For example, add a custom field called Portfolio and for value put [portfolio_gallery].
On the page template, add the following :
$portfolio = get_post_meta($post->ID, 'Portfolio', 'true');
if($portfolio){
echo do_shortcode($portfolio);
}
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] Drag and Drop problemJust started having the same problem. Turns out the conflict was with TinyMCE Advanced. Which is very strange b/c that plugina and Nextgen Gallery have been happily co-existing for months now and I didn’t upgrade either recently. I’m going to do some debugging and figure out what’s going on and I’ll post back here what I find.
Forum: Plugins
In reply to: [Plugin: Profile Pic] Error with site, profile pic relatedI just got the same thing. The problem is if you don’t have any options checked off for what info. you’d like to make public. Go to line 419 and change the code to this:
// store form data if($_POST['profilepic_displayoptions']){ $raw_data = $_POST['profilepic_displayoptions']; $reversed_data = array(); foreach ($raw_data as $key => $val) { $reversed_data[$val] = $key; }}
That just checks to see if there are any profile pic display options (the if part) and if there are it processes them, if not it moves along. Solved the issue for me.
Great plug in. Cheers.
Thanks!! That’s exactly the issue I was having and it didn’t occur to me that the problem was with the data being saved. For anyone else with this problem, a few things I had to figure out from the above instructions.
1. The file you need to edit is wp-content –> plugins –> register-plus –> register-plus.php
2. The first block of code posted above comes at line 39. It initially reads
if($_GET['action'] == 'register') add_action( 'login_head', array($this, 'PassHead') );
Immediately after add
add_action ('user_register', array($this, 'SaveNewMember'));
3. The second block of code you can place at what is now line 83 — immediately after you see
//VERSION CONTROL if( $wp_version < 2.5 ) add_action('admin_notices', array($this, 'version_warning')); }
That’s it. Worked like a charm for me. Thanks again to extrakun for figuring this one out.