danpkraus
Forum Replies Created
-
Hi Hector,
Just tried the new version 2.2.1 and still get the no data so far message. I reverted back to 2.1.6.Thanks
Hi Hector, I just updated to the newest version and now I get “Sorry, No data so far” in my stats admin page. Any idea why? Thanks
Cool Thanks! Any chance that I can filter based on post type as well? My site is a directory and it would be great to break it down by post type.
I am working on adding the functionality in for my site and will augment it for general use once I customize it out.
Did you need something in particular? I could help with a few small customizations to the plugin code if you need something quick.
OK, so I uninstalled and re-installed and it works perfectly. Thanx anyway 🙂
Forum: Fixing WordPress
In reply to: Custom Post Type display categories on edit screenYes I can. The issue is with the “View All Custom Types” page. “Categories” is shown with the Post Title, Date Published and Author, but no categories are listed. I can click on “Quick Edit” and then the categories the Custom Post Type has are shown.
There must be a simple bit of code I need to implement to get these to display in the back-end. Just not sure what it is. Seems a little strange that Custom Post Types don’t display default categories in the “View All Custom Types” screen. The Tags don’t show up either.
Hope that makes more sense.
Thanx,
DanielForum: Fixing WordPress
In reply to: Access non-WP tables in dbI decided to use Meta Boxes instead – easier to just use WordPress for this extra info 🙂
Thanx,
DanielForum: Fixing WordPress
In reply to: Access non-WP tables in dbSo I uploaded the new queries and they do not work using $wpdb->get_results.
I added tables to the WP database and it worked here at home on my localhost but not live. Why would that be?
Here is my code:
$row = $wpdb->get_results("SELECT my_rows_here FROM $wpdb->my_table WHERE co_name = '".$variable."'", ARRAY_A);but I always get an empty set – almost as if the query is not being made. Could it be my $variable? I’ve tried no quotes, quotes double quotes and everything else to get the $variable to take but nothing works. Any ideas?
Thanx,
DanielForum: Fixing WordPress
In reply to: Access non-WP tables in dbI noticed I had placed a “mysql close” at the end of several functions – I removed them and now everything seems to be working fine.
Thanx
Forum: Fixing WordPress
In reply to: Access non-WP tables in dbthese are non-wordpress tables. As in not installed by WordPress. I figured I couldn’t access tables not installed by wordpress so i tried something different…
I tried creating a new instance of $wpdb and using that to access a second database instead but it only worked sometimes, and now not at all. It’s just strange that no matter what I do I can’t seem to get at this other data.
I may just have to input all of it as met boxes or custom fields to get it to display for each post.
Any help or directon would be great.
Thanx,
Daniel