Forum Replies Created
-
In reply to: Nginx Rewrite Rules for Pretty Permalinks
There must be someone who is using bbPress on Nginx or maybe Sam can share!
In reply to: Massbase.com – My ThemeLooking forward to it.
In reply to: bbPress overwriting a DB valuePretty weird! Instead of copy-paste from the browser, I copy-paste it from another integrated setup and it worked!
In reply to: bbPress overwriting a DB valueIntegration is pretty well. I have just lost access to bbPress admin panel and can’t get it back.
In reply to: bbPress overwriting a DB valueI am talking about the “Fix Admin Access” plugin and you probably are talking of something else.
In reply to: bbPress overwriting a DB valueI have already integrated bbPress 0.9.0.5 with WordPress 2.7.1 by using the same instructions but not it seems that its not working. Why the hell bbPress is overwriting the value in the db? Should I file a bug?
In reply to: bbPress overwriting a DB valueI tried integrating again and again got the same problem. Weird!
In reply to: bbPress overwriting a DB valueActually I need to do that because admin fix access doesn’t work when custom table prefixes are used. So I directly update the plugin work via Mysql.
And regarding the second quote, I have written over there that one needs to change the lines as per the table prefix being used.
I am using rocking_users and rocking_metadata only.
Are you having the problem just when you login from bbPress? What is your problem exactly? Not being able to delete topics & posts when you login from bbPress? Can you do that when you login from WordPress?
In reply to: Display latest posts on other pageUse this in header :
<?php
// URL location of your feed
$feedUrl = "http://feeds2.feedburner.com/ashfameblog?format=xml";
// Replace the above URL with yours
$feedContent = "";
// Fetch feed from URL
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, $feedUrl);
curl_setopt($curl, CURLOPT_TIMEOUT, 3);
curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_HEADER, false);
// FeedBurner requires a proper USER-AGENT...
curl_setopt($curl, CURL_HTTP_VERSION_1_1, true);
curl_setopt($curl, CURLOPT_ENCODING, "gzip, deflate");
curl_setopt($curl, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3");
$feedContent = curl_exec($curl);
curl_close($curl);
?>Use this to show :
<?php
$count=0;
// Did we get feed content?
if($feedContent && !empty($feedContent))
{
$feedXml = @simplexml_load_string($feedContent);
if($feedXml)
{
?>
<ul>
<?php foreach($feedXml->channel->item as $item): if($count==6) { break; } ?>
<li><a href="<?php echo $item->link; ?>"><?php echo $item->title; ?></a></li>
<?php $count++; endforeach; ?>
</ul>
<?php }} ?>Login and open their respective dashboards. You can see the version there in footer.
In reply to: bbPress overwriting a DB valueBUMP!
Man I know this can be real geeky but what if I want to know? Any pointers?
In reply to: How do I loop through EACH forum?Although I havn’t tested it but it should work:
<ul>
<?php
$count=0;
if ( $topics )
{
foreach ( $topics as $topic)
{
$doof = $topic->forum_id;
if ($doof=="1")
{
if($count<3)
$count++;
else
break;
?> <li><a href="<?php topic_link(); ?>"><?php topic_title(); ?></a> | <?php topic_page_links(); ?></li>
<?php } } } ?>
</ul>In reply to: retrieving topics from a specific categoryYou need to have the Forum ID for this. i am giving you a code snippet in the other thread. Just hang up for a few minutes.
We will continue discussion here in this thread : https://bbpress.org/forums/topic/how-do-i-loop-through-each-forum
In reply to: retrieving topics from a specific categoryI really don’t know how it could be done but you should be looking for a function with which you can return the current forum category, match it with something you want and then selectively display content as per it.
like :
for each topics
|
—-check category
|
—-if music then music list
—-else if code then code list
—-else if network then network list
Hope that helps.
In reply to: How do I loop through EACH forum?- Initialize a variable as zero.
- Increment it every time you display a topic (every iteration) if the value of variable is less than 3.
- As soon as it grows >3, breaks out of the loop.
In reply to: bbPress overwriting a DB valueWhere are the settings of “User role map” stored? I think I may have selected it to make WP admins to be a bbP member and it may be a bug?
Wait, is it that User role maps are just updated once when they are asked to do so? Hmm.. Makes sense! So where can be the problem?
Sam, you there?
In reply to: Missing Users after IntegrationDon’t you have a backup? Things are definately possible to resolve here but it would be simpler if you can restore backup and then integrate them. I havn’t tried integrating WP 2.7.1 with bbPRess rc 1 as it makes no sense to me doing that on a live site. WP 2.8 and bbPress 1 will have integration features that will work out of the box.
Consider integrating the stable releases of both WP & bbPress only. I have written a tutorial on this on my blog : http://blog.ashfame.com/2009/05/integrate-bbpress-forum-wordpress-setup/. Let me know if you need more help.
In reply to: Missing Users after IntegrationDon’t you have a backup? Things are definately possible to resolve here but it would be simpler if you can restore backup and then integrate them. I havn’t tried integrating WP 2.7.1 with bbPRess rc 1 as it makes no sense to me doing that on a live site. WP 2.8 and bbPress 1 will have integration features that will work out of the box.
Consider integrating the stable releases of both WP & bbPress only. I have written a tutorial on this on my blog : http://blog.ashfame.com/2009/05/integrate-bbpress-forum-wordpress-setup/. Let me know if you need more help.
In reply to: please help: I am locked out of bbpressIf you are using the stable release of bbPress (0.9.0.4), then my guide should be enough : http://blog.ashfame.com/2009/05/integrate-bbpress-forum-with-your-wordpress-setup/
Let me know if you need more help.
In reply to: I ve been locked out the admin moduleHappy to help. Also change the topic status to “resolved” once the problem is solved. Thanks
In reply to: Basic integration screencastAre you trying the stable release of both or the latest development ones?
In reply to: I ve been locked out the admin moduleYes, you need to login with a account which has rights to access admin panel to access it.
If you have lost it, then you can fix it in PhpMyAdmin, open table “wp_usermeta” or “bb_usermeta” or whatever your case may be. Change the value of “bb_capabilities” (as per your table prefix) to “a:1:{s:9:”keymaster”;b:1;}” of your user.
In reply to: integration bbpress and wpressBoth bbPress & WordPress can work alone
I am sorry. I found my problem. I developed the theme for alpha release and then I used it on stable 0.9.0.4 version. Mah bad!