Search Results for 'code'
-
Search Results
-
I would like to know if someone can install and integrate BBpress with my WordPress site. I know that people install wordpress on non-commercial sites for free. My site is a blog for professionals, that I may ad some advertising just to pay for the site space. Can someone help me?
However I read (http://bbpress.org/forums/topic/1140?replies=28#post-7450 atomAstro wrote) that there were some problems with integrating it. Any suggestions? I don’t know much about php and the like. I know minimal html and most of that has been depracated (I assume).
I am good at following instructions though. As long as they are step by step
Topic: localizing plugins
Hi,
I’ve localized a plugin with
$ xgettext --keyword=__ --keyword=_e -j --from-code=UTF-8 -o plugin.pot *.php
I translated it all and made the .mo file from the .po
$ msgfmt plugin-it_IT.po -o plugin-it_IT.mo
Now, what I have to write in the plugin file? With this line the plugin outputs in english, instead of italian:
load_plugin_textdomain('onlinelist','my-plugins/');
Topic: WPAjax and responseText
Here’s the code:
var commodAjax = new WPAjax( false, 'post-'+postid );
commodAjax.options.parameters += '&action=rate_post&id=' + postid + '&rate=' + rate;
// Execute Order 66
commodAjax.request(commodAjax.url);
alert(commodAjax.responseText);Here’s the response:
undefined
According to FireBug, I am successfully sending postdata and getting a response of “1”. I’d like to take the response and make use of it, but it’s not working.
I’m writing an extension that allows post rating (user moderation) and this is the final hitch I’m running into. I want to make sure that if the request is not sucessful (ie, it returns 0 or -1) that the browser doesn’t continue executing stuff.
Sorry, it’s a bit borked, I’ll post more code if necessary.
If you have integrated your bbPress with WordPress, you must have at least once thought about the problem of your users having two separate interfaces for modifying their profile settings.
Furthermore, if your bbPress and WordPress both use a good deal of plugins, you end up with a situation where some settings (say, email notifications for new WordPress posts) have to be set on a WordPress profile page, whereas other settings (for example email notifications for new forum topics or replies) must be set through the bbPress interface. This will confuse your average user so much that they will simply not use any of your website’s fancy features at all.
It would therefore be good to have just one user profile page that would merge everything from the two together. Preferably, this should also be a page that could be displayed within the website template, so that it would really look like being part of the website, and not behind a completely different-looking interface as is the case with WordPress user pages. (Those also scare people.)
Would this be doable?
I am personally not much of a coder, so I don’t know all the details of what is going on when the WordPress and bbPress profile pages get served, and how various plugins get to modify that process by adding new fields and buttons on those pages.
I assume, however, that the most difficult thing for a “one profile page to rule them all” sort of an approach that I am thinking about here would be to keep track of additions to those profile pages. It should somehow be able to notice that some new bbPress or WordPress plugin has modified one of those user profile pages, and incorporate those changes to the merged profile page that is actually displayed to the end user.
I would love to hear some input from those of you who know more than I do about the behind-the-scenes activity when it comes to user profiles in bbPress and WordPress. What do you think, how difficult would a plugin like this be to code?