Jim R
Forum Replies Created
-
Forum: Plugins
In reply to: [Simple Import Users] Call to undefined function add_user_to_blog()At the very least, you can go into your files on your server and delete the plugin. My site didn’t lock up, just showed the error on my Admin page.
Forum: Plugins
In reply to: [Simple Import Users] Call to undefined function add_user_to_blog()Did you get this one figured out? I’m having the same issue.
Forum: Plugins
In reply to: Database query issue, using WP user information…Should I be using a While of If loop?
Where are you intending for me to use this?
I’m hard coding this in the template PHP file that via an Include. Are you saying it would look like:
find_images_for_tags($wp_tagID, mode = “ASC”), and the number included would be regulated by the Dashboard?
How would I go about doing that? It would need to have a variable, like find_images_for_tags($nameFirst . ‘ ‘ . $nameLast)
Ok…not making much of it. I gave it a shot on my own before I checked it out. I know little about Joins, and I know little about mysql_fetch_assoc.
To start I have called the tag_id I’m working with this:
$wp_tagID = get_query_var(‘tag_id’);
$qImage = ‘SELECT * FROM wp_ngg_pictures AS np
LEFT JOIN wp_term_relationships AS tr ON np.pid = tr.object_id
LEFT JOIN wp_term_taxonomy_id AS tt ON tr.term_taxonomy_id = tt.term_taxonomy_id
LEFT JOIN wp_terms AS t ON tt.term_id = t.term_id
WHERE tt.taxonomy = ngg_tag
AND t.term_id = “$wp_tagID”
‘;$pImage = mysql_query($qImage);
while($images = mysql_fetch_assoc($pImage)) {echo $images;
}I’m getting this error:
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/jwrbloom/public_html/resources/wp-playerProfile.php on line 109
In my mind I’m trying to get all the information from the wp_ngg_pictures table.
From there I’m trying to match the pid with the object_id in the wp_terms_relationships table. (128,140,147)
I’m taking the term_taxonomy_id associated with those images (1200) and trying to match it with the term_id (517) in the wp_term_taxonomy table where the taxonomy = ngg_tags.
Then somehow, I’m trying to match the term_id to the tag_id I brought to the page in the very beginning.
Cool. I forgot to check the relationship table. I’ll take a look at it and hopefully make sense of it.
To clarify, I’m trying to add Tagged images to Post Archive pages, not Posts.
Forum: Plugins
In reply to: [WP Photo Album Plus] Unable to save settingsI’m having a similar issue. It’s a fresh install of WPPA+. I do also have NextGen installed at this point. Would there be a conflict there?
Forum: Fixing WordPress
In reply to: Pages turned into uncategorized Posts after DB reset…The good news is I had backed up my database last week, so I’m all good.
Forum: Fixing WordPress
In reply to: Pages turned into uncategorized Posts after DB reset…I think I can go in, find the Posts which are uncategorized and change their post_type to Page. I only have about 30+ of them to change.
This situation also inserted a ton of \’s into my database. I have to figure out how to remove those. There are hundreds of them.
Forum: Plugins
In reply to: [bbPress] Not getting how to add the forum to my menus…I’m using the most recent one on the WP Plugins site. I deleted the bbPress folder. Now I’m getting a link to an image.
Forum: Plugins
In reply to: [bbPress] Not getting how to add the forum to my menus…I tried the shortcode on a page with no luck. I posted the issue over at bbPress.org too. You’re my first response, so thank you.
https://hoosierhoopsreport.com/
It’s the bbPress link in the menu. As you can see I have a Forum link too. That’s for Simple:Press, but it’s currently deactivated so I can try this. Could I be having a conflict?
Forum: Networking WordPress
In reply to: Multi-site questions :: an actual network or bust…Alright, I’ll keep digging.
Forum: Networking WordPress
In reply to: Multi-site questions :: an actual network or bust…Now I’m not getting a Delete link on my plugin page.