Skip to:
Content
Pages
Categories
Search
Top
Bottom

BP Album Upload page php/css error

  • Avatar of sdconnection
    sdconnection
    Member

    @sdconnection

    There is a coding error on the upload page for the bp album plugin that is overlapping my current theme. I used firebug and found there is an issue with <body class="….. in the plugin. I need to remove the word class to fix the error. Where can I do this or which php page do I find this in?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Avatar of foxly
    foxly
    Participant

    @foxly

    @sdconnection

    That doesn’t inspire confidence in the theme you’re using …BP-Album is derived from the default BuddyPress theme set. So if your theme is having problems with BP-Album, it’s likely to have problems with other pages as well.

    To modify the template files that BP-Album uses, simply copy the contents of the bp-album/templates/album/ folder to your main template directory, then edit the copied files as needed.

    The copied files in your template directory will override the plugin’s default templates.

    ^F^

    Avatar of Mqlte
    Mqlte
    Participant

    @mqlte

    Hi,

    I’m having a similar issue. I moved the template files “album” in my theme directory and edited the single.php and picture.php for my template. It works fine so far, but how and where can I edit the upload-template? The upload-page seems to be broken and uses the structure of the default BuddyPress-Theme. (content -> padder -> sidebar -> footer).

    Regards

    Avatar of foxly
    foxly
    Participant

    @foxly

    @mqlte

    If you want to modify the site’s screens that much, you’ll need to edit the plugin’s source code. The functions that generate the HTML for the upload screens are located in “bpa.screens.php”

    ^F^

    Avatar of Mqlte
    Mqlte
    Participant

    @mqlte

    Thanks. On which line do I find the call for http://pastebin.com/Y5gABv7v ?
    I would like to replace these tags in the upload-screens with mine, but I can’t find the call for the template files in bpa.screens.php.

    Greetings

    EDIT: Edited by moderator (Paul Gibbs) to fix HTML.

    Avatar of foxly
    foxly
    Participant

    @foxly

    @mqlte

    It doesn’t call a template, it generates the HTML right in the PHP code. Its a bad way to do things and we’ve eliminated it in BP-Media 0.1.9, using almost 100 different templates to generate the plugin’s UI.

    However, for BP-Album 0.1.8.x you’ll have to modify the actual PHP source to change the structure of the upload page. Note that almost any reasonable change can be done just by overriding BP-Album’s CSS styles sheet.

    ^F^

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

You must be logged in to reply to this topic.