Skip to:
Content
Pages
Categories
Search
Top
Bottom

  • About
  • Plugins
  • Themes
  • Documentation
  • Blog
  • Support
  • Download

BuddyPress.org


  • Register
  • Lost Password
  • Log In

Loading Activities Template in Group Forums Page – ajax issues

  • Avatar of rcavezza
    rcavezza
    Member

    @rcavezza

    1 year ago

    Seems like the javascript isn’t being recognized – perhaps it’s the div containers the activities container is in?

    TLDR; I put a function that calls activities in group forum topics.php page. The activity stream displays but ajax for commenting doesn’t hide comments and doesn’t post comments to database.

    I can see why the comment post doesn’t connect to database – the wrong form post method is generated –

    Here’s the page results: http://ebook451.com/groups/mystery/forum/topic/the-diner-featured-story-1/?stories=1

    Function I am calling. I am calling this function on groups->single->forum->topic.php
    Function is defined in functions.php in theme file.
    `
    function bpchild_activity()
    {
    echo “

    Recent Activity on php bp_site_name()

    “; ?>

    <?php endif;
    }
    `

    Sample code from groups->single->forum->topic.php
    `

    `

Viewing 1 replies (of 1 total)
  • Avatar of rcavezza
    rcavezza
    Member

    @rcavezza

    1 year ago

    Update – changed function to include this simple activity stream on the page.

    `

    `

    Ajax still isn’t recognized.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.


Topic Info

  • In: How-to & Troubleshooting
  • 1 reply
  • 1 participant
  • Last reply from: rcavezza
  • Last activity: 1 year ago

Topic Tags

  • activities stream
  • group forum

Reply Search


See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS

Follow BuddyPress on Twitter • GPL • Contact Us • Terms of Service

Skip to toolbar
    • WordPress.org
      • About WordPress
      • Documentation
      • Support Forums
      • Feedback
      • Developer Trac
      • Developer Blog
    • bbPress.org
      • About bbPress
      • Documentation
      • Support Forums
      • Feedback
      • Developer Trac
      • Developer Blog
    • BuddyPress.org
      • About BuddyPress
      • Documentation
      • Support Forums
      • Feedback
      • Developer Trac
      • Developer Blog
  • BuddyPress.org
    • Log in
  • Anonymous
    • AnonymousNot Logged In
    • Register
    • Lost Password
    • Log In
Log Out