Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!

BuddyDev

Search

Replies

  • Participant
    Level: Master
    Posts: 485
    Venutius on in reply to: Trying to improve the Group home page #1668

    “Are you using my previous code to get the $forum_id before using the above snippet. If not, then that’s why It is happening.”

    I did have it before but I switched it to after and I still get a blank page

  • Participant
    Level: Master
    Posts: 485
    Venutius on in reply to: Trying to improve the Group home page #1666

    I revert back to the previous working code and I’m getting some odd behaviour on wider testing, it seems the topic list is showing all topics for all forums. Previously I only had one group with a forum and a couple of test topics, so the topic list showed correctly. However now that I’ve set up a second group with a forum and test topic I can see that I am seeing all topics for both forums in the forum topic list on the group homepage.

  • Participant
    Level: Master
    Posts: 485
    Venutius on in reply to: Trying to improve the Group home page #1664

    There must be an error in that code as I’m getting nothing displayed now, not even an error

  • Participant
    Level: Master
    Posts: 485
    Venutius on in reply to: Trying to improve the Group home page #1662

    Yes that works, I have my forum list followed by Activity, Now I need to change the formatting somehow to stop the two lists flowing into each other.

    One thing, some of my groups do not have a forum, will this cause an error in what we have created?

  • Participant
    Level: Master
    Posts: 485
    Venutius on in reply to: Trying to improve the Group home page #1657

    Ah, the loop-topics loop does not use bbp_has_topic

  • Participant
    Level: Master
    Posts: 485
    Venutius on in reply to: Trying to improve the Group home page #1655

    Hi Brajesh,

    I’ve put the content from loop-topics into the front.php file, it currently outputs the topic header info but yes we need to set up the forum id in order to get the topics displayed.

  • Participant
    Level: Master
    Posts: 485
    Venutius on in reply to: Trying to improve the Group home page #1594

    Hi Brajesh, I’ve tried a number of ways to get the forums working and none of my efforts have succeeded. I’ve installed, activates forums and set up topics in the group forums but that code still gives me the error. I’m running this on my test server so I only have BuddyPress and bbPress active. I even tried switching to a 2015 child but I get the same error. Do you think it’s a bug?

  • Participant
    Level: Master
    Posts: 485
    Venutius on in reply to: update to Mediapress from Bp Gallery , is possible ? #1593

    Hi Ib20, a few of us are waiting for this, Brajesh has said this is in the pipeline and should be delivered soon. I think he is waiting for Mediapress to settle down as it’s still in Beta.

  • Participant
    Level: Master
    Posts: 485
    Venutius on in reply to: Trying to improve the Group home page #1500

    No that’s not it, bbPress is enabled and I can view the Forums page for that group. I had this same error when I was trying to manually combine the forum and activity PHP files, it’s because prior to running the forums script BuddyPress is running another file that sets up these variable I think.

  • Participant
    Level: Master
    Posts: 485
    Venutius on in reply to: Trying to improve the Group home page #1498

    That sounds great!

    However, I tried you code and it seems the forum aspect causes an error:

    Fatal error: Call to undefined function bp_has_forum_topics() in /homepages/CanvaKalaTest/wp-content/themes/graphene-child/buddypress/forums/forums-loop.php on line 22

    When I remove the forum part of the code from front.php, the home displays the acivity stream for the group, but without the ability to add an activity update, which I would like to include for the home page.