Search Results for 'forum'
-
AuthorSearch Results
-
May 29, 2009 at 2:48 am #46270
Burt Adsit
ParticipantLooks like that should work.
May 28, 2009 at 8:26 pm #46265In reply to: Featured Groups idea
Jeff Sayre
ParticipantI’m closing this thread. A solution to Skollie’s issue is provided in this thread.
May 28, 2009 at 8:22 pm #46264In reply to: Featured Groups Widget Problem
Jeff Sayre
ParticipantSkollie-
I just looked into this and found that Mike’s widget is using a deprecated function call
bp_group_permalinkThis changed somewhere down the road to BP v1.0. So, if you are comfortable with opening up a PHP file and making two easy changes, you can search for that function in his widget and replace the above call with
bp_get_group_permalinkIf you are not comfortable with doing this, then message Mike and give him the url for this forum thread, kindly begging him to fix his widget as quickly as possible or the world will end.
Actually, if you make the changes to the code yourself, it would also be nice of you to let Mike know that his widget needs a little TLC.
May 28, 2009 at 7:11 pm #46260In reply to: Featured Groups idea
skollie
Participantsorry, forgot it wasn`t a support question topic….will start my own forum thread…
May 28, 2009 at 5:42 pm #46246In reply to: Adding a “forums” button at the top of the page
jfcarter
ParticipantTo add Forums to the navigation menu, here’s a basic workaround:
Go to header.php and find the section where the rest of the navigation is (it should start with this code:
<ul id="nav">Add the code below (customized for your site) along with the other navigation links:
<li><a href="URL of FORUM LOCATION" title="Forums">Forums</a></li>This code needs to be between the
<ul>and
</ul>tags to work.
Also, remember that the navigation items are in a specific order, so put the link to the forums where you want them located. In other words, if you want the forums after the Home button, make space and put it there; if you want it after the Members button, make space and put it there. You can tell what each navigation does by the slug (e.g., BP_MEMBERS_SLUG is the Members button).
Hope this helps.
May 28, 2009 at 3:26 pm #46241Burt Adsit
ParticipantMissing widgets? Well, widgets aren’t really widgets until they get registered with:
wp_register_sidebar_widget( 'oci-wcm', __( 'Member Tags', 'oci-contents' ),
'oci_widget_cloud_members' );
wp_register_widget_control( 'oci-wcm', __( 'Member Tags', 'oci-contents' ),
'oci_widget_cloud_members_control' );Something like that. That’s for one of mine.
May 28, 2009 at 3:20 pm #46240Burt Adsit
ParticipantWhen you get the template loop working how you want it to, then you can wrap it in widget code to turn it into a widget. If that’s what you absolutely have to have is a widget.
May 28, 2009 at 3:19 pm #46239Windhamdavid
ParticipantBurt, thk u much.. I’m headed in that direction now, but that still doesn’t explain the missing widgets.
May 28, 2009 at 3:17 pm #46238Burt Adsit
ParticipantYa, custom loop for forums:
It doesn’ t look like Andy has documented this yet but there is a group forum loop just like other parts of bp have a loop. Look at bp_has_topics() in bp-forums-templatetags.php. It looks like I’d use that if I were you.
See: https://codex.buddypress.org/developer-docs/custom-buddypress-loops/ for examples using other bp_has_[something]() loops.
That might be the best way to go with this.
May 28, 2009 at 3:12 pm #46236Windhamdavid
Participantyou can see my struggle..
bless you.bp_forums_get_topics(args) – no errors.. but no output!
a custom loop for forums functions?
May 28, 2009 at 3:04 pm #46235Burt Adsit
ParticipantI think you are attempting to do this at too low a level. Try the loop functions for forums or bp_forums_get_topics(). There’s no need to code down at bare metal when all the work is done for you with the higher level functions and classes.
May 28, 2009 at 2:59 pm #46234Burt Adsit
ParticipantWell, the problem is that activating the regular bbpress live widget conflicts with the code already loaded. It’ll never work. You’ll have to figure out how to register the code that bp uses *as a widget*. I think it would be easier to just create a small template loop using the bp provided code. Or use the function bp_forums_get_topics( $forum_id = 0, $number = 0, $page = 1 ) that lives in bp-forums.php
May 28, 2009 at 2:56 pm #46233Windhamdavid
Participantso the functions in bbpress live return an array.. first hurdle down.
but there may be a little creature (bug) buried in the widget somewhere – https://bbpress.org/forums/topic/fail-to-make-bbpress-live-working#post-19692
May 28, 2009 at 2:35 pm #46232Windhamdavid
Participanti see that.. but I tore apart bp_forums_templatetags.php, bp_forums_bbpress_live.php… look at all the diffs.. tried to instantiate the globals, tried the old bbpress live template tags.. no widgets, php errors? I even messaged sam bauers to see if he knew what was up and haven’t heard back yet… I’m still working on it now.. so we’ll see if I can come up with anything.. It looks like they should work.. I’ve reset widgets on two local copies and a remote and I don’t see anything contrary on the trac. Does anyone have these widgets rolling?
May 28, 2009 at 2:25 pm #46231Burt Adsit
ParticipantYes, bp uses the bbpress live widget code.
May 28, 2009 at 1:20 pm #46228In reply to: latest forum topics widget
Kunal17
ParticipantWindhamdavid, it does not seem to be working for me either. Do let me know if you find a solution.
May 28, 2009 at 1:13 pm #46227In reply to: latest forum topics widget
Windhamdavid
Participanti’ve tried working with it using them as functions.. no luck.
May 28, 2009 at 9:49 am #46225In reply to: latest forum topics widget
Kunal17
ParticipantThanks again Burt. Just wondering, how I would get the forum id for all the group forums.
May 28, 2009 at 9:13 am #46223In reply to: latest forum topics widget
Burt Adsit
ParticipantNope. Can’t activate it. Well, maybe you can just register it and then use it. Hmmm. You might try that. Or just use bp’s :
function bp_forums_get_topics( $forum_id = 0, $number = 0, $page = 1 ) from bp-forums.php
It’s getting kinda fuzzy here. I gotta get some sleep.
May 28, 2009 at 9:11 am #46222In reply to: latest forum topics widget
Kunal17
ParticipantThanks Burt,
Ill try the plugin first since I don’t code that well. The bbpress_live_get_forums() function might be used in bpress but Ill see if the other one can be used to show latest topics.
May 28, 2009 at 9:02 am #46221In reply to: latest forum topics widget
Burt Adsit
ParticipantThere is also Sam’s bbPress Live widget which you could use: https://wordpress.org/extend/plugins/bbpress-live/
Hmmm. Well maybe that wouldn’t work. That widget is what bp uses to communicate with bbpress for group forums. Interesting.
May 28, 2009 at 8:49 am #46219In reply to: latest forum topics widget
Burt Adsit
ParticipantSee: https://codex.buddypress.org/developer-docs/custom-buddypress-loops/ for examples using other bp_has_[something]() loops.
May 28, 2009 at 8:48 am #46218In reply to: latest forum topics widget
Burt Adsit
ParticipantIt doesn’ t look like Andy has documented this yet but there is a group forum loop just like other parts of bp have a loop. Look at bp_has_topics() in bp-forums-templatetags.php. It looks like I’d use that if I were you.
May 28, 2009 at 7:22 am #46213In reply to: Keeping BP experience as simple as possible
nexusweb
ParticipantMight be worth reading this post… there are several suggestions from customization to removal and even making it into an aggregator…
May 28, 2009 at 6:48 am #46211John James Jacoby
KeymasterOnce we’ve got a “stable” bbPress 1.0, I’ve got a stable step by step integration process.

RC2 is looking pretty good so far so shan’t be long now!
-
AuthorSearch Results