Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] buddypress template for members/%name%/activity/%id%

  • Avatar of security_man
    security_man
    Member

    @security_man

    where in the world is the template file for the page that is generated for individual activity entries. ie the page found at the following url for a normal buddypress/wordpress install:

    members/%name%/activity/%id%

    i know that it calls activity/entry.php but i cannot find the template that actually calls it, anyone know where to find it or at least an easier way to figure out what template controls what in buddypress?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Avatar of @ChrisClayton
    @ChrisClayton
    Participant

    @chrisclayton

    i believe your referring to: members/single/activity/permalink.php

    ” or at least an easier way to figure out what template controls what in buddypress?”
    When i’m trying to figure out where templates are located, if i’ve forgotten – i look at the url path first, if it’s at members/*something* i’ll look inside the /members/single directory and the component (in this case /members/single/activity), if it doesn’t seem to exist there, i turn to the secondary component directory (in this case /activity/) But… that’s just me.

    Avatar of security_man
    security_man
    Member

    @security_man

    outstanding, thanks!

    there is a plugin out there that tells you what template is being parsed, but it does not seem to work on buddypress. that would be a huge benefit for folks who are not as familiar with the buddy press system as others are… just sayin :)

    Avatar of @ChrisClayton
    @ChrisClayton
    Participant

    @chrisclayton

    “there is a plugin out there that tells you what template is being parsed”
    I’m assuming your talking about ‘Reveal templates’ or is their another one?

    “but it does not seem to work on buddypress.”
    Yeah, BuddyPress does templating really weirdly. BuddyPress never talks to WordPress’ template loading functions which is why most of thoes types of plugins don’t work. The plugin should work after ‘theme compatibility’ comes, http://buddypress.org/2012/04/the-default-theme/ :)

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.