stuboo
Forum Replies Created
-
Forum: Requests and Feedback
In reply to: [Plugin: Register Plus] Whitelisting email domainsIt sounds like the Restrict Registration plugin will do what you’re looking for.
Forum: Themes and Templates
In reply to: Multiple sites/themes using the same WP database?Actually, it was pretty easy DE. You just have to change your table prefixes in the wp-settings.php file like I mentioned above.
I’ve not yet tried using different categories for different sites but I know it will work. You’ll just have to force your templates from each of the sites to read only posts in specific categories.
Hope this helps.
RyanForum: Themes and Templates
In reply to: Multiple sites/themes using the same WP database?@moshu: Luckily, I’m not producing content for search engines. I’m producing it for clients – and it’s not for spamming purposes. Consider using wordpress for something like this – https://rrnewkirk.com/donorweb.html (this company writes content for multiple clients who, in turn, deliver it to their respective constituents). ??
I think I found the answer to my own question thanks to akbigdog’s comments above. I would like some confirmation though…
$wpdb->posts = $wpdb->prefix . 'posts';
should be changed to
$wpdb->posts = 'newprefix_' . 'posts';
in wp-settings.php for each individual wp install.
Is this correct?
Forum: Themes and Templates
In reply to: Multiple sites/themes using the same WP database?I’d like to do something similar, but instead of sharing users, I only want to share posts.
Ultimately, I want each site to have its own theme, options, users, etc. but I want all sites to share the same posts.
Thanks,
RyanForum: Themes and Templates
In reply to: query_posts not working since upgrade to 2.1Unfortunately, Adhesive wasn’t the problem for me. I didn’t even have it installed. I did deactivate all of my plugins in hopes that one of them was causing the problem, but that didn’t work either. The code I’m using is this (in the home.php file).
<?php
query_posts("cat=-13");
?>I’m starting to think that I need to try a fresh install of 2.1
Forum: Themes and Templates
In reply to: query_posts not working since upgrade to 2.1Thanks for the tip but, no dice.
Forum: Themes and Templates
In reply to: query_posts not working since upgrade to 2.1Doesn’t work for me either and I haven’t edited any core files. Looking forward to hearing a response on this one.
Forum: Fixing WordPress
In reply to: Help with multiple loopsbump
Forum: Fixing WordPress
In reply to: Forum integrationcarnold,
Did you get this figured out? It looks like the answer might be “sort of.” ??It also looks like with a bit of CSS tweaking, the forum could look exactly like you were hoping – if I understand you correctly.
Let me know. I’d be willing to play with the CSS a bit. I’m thinking of doing something similar with my site.
Best,
RyanForum: Plugins
In reply to: Need Help With Multi-Author Site and Author Photos (WILL PAY)Michael,
I’m certainly no php or wordpress genius but I’ll offer my initial thoughts.If you don’t need to be able to add authors dynamically, you could set up a swtich statment in the sidebar that prints the html for the photo depending on the userid.
I’m sure that with a bit of phpFu you could ask wordpress for the userid and then pull the photo from the db so this would work on the fly too – thus bypassing the wp engine altogether.
Hope this helps. There’s also a good chance that I’m just talking out of my arse.
Ryan
Forum: Fixing WordPress
In reply to: Custom sidebar conditionalsnevermind. in_category() did the trick.
Forum: Fixing WordPress
In reply to: Posts disappeared (db problem?)same thing happened to me after i installed lussumo vanilla forums. anything i can do to prevent this? why would this happen?
thanks!
Forum: Themes and Templates
In reply to: different single template depending on categoryThat looks smashing Kaf. I’ll give it a try tonight when I get home from my real job. ??
Forum: Fixing WordPress
In reply to: Format Text Output From $my_queryI mean in the body of the post itself.
Because it is a second loop that is pulling ‘post_content’ directly from the DB, it is not formatting the content. Where there is a line break in the DB, it is not printing a line break on my page.
Thanks!
Forum: Plugins
In reply to: WP plugin: Category ArchiveThis plugin works great. I reformatted it a bit to output my results in unordered lists.
Does anyone have an idea about how it might be modified so that it will ignore specific categories?
UPDATE
Answered my own question . . .
Just add ‘AND’ statements to the mysql query eliminating the cat_id you want to leave out of your list. In my case I added
[CODE]
AND cat_ID != 10
AND cat_ID != 11
[/CODE]to
[CODE]
$query = “SELECT cat_ID, cat_name, category_nicename, category_description, category_parent
FROM $tablecategories
WHERE cat_ID > 0
AND category_parent = $parent
***** ADD EXTRA STATEMENTS HERE *****
ORDER BY cat_name asc”;
[CODE]Hope this helps someone out there.