Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 19,651 through 19,675 (of 31,073 total)
  • Author
    Search Results
  • #107356
    Virtuali
    Participant

    Well because that certain page could have a missing div error, or alignment issues…

    It could be some theme modifications that will need to do, custom themes take work on getting them to fit with buddypress. Will need to tinker with your CSS template to make sure the wrapper isn’t overlapping, or pushing anything down.

    #107336
    @mercime
    Participant

    Disclaimer: I don’t have copy of your premium theme so there might be other factors which will affect structure.

    In any case, to start off, open up the activity/index.php file you downloaded along with 13 other files in 6 different BP template pack folders and make following changes:

    At top of file, replace
    `

    `

    with

    `

     

    `

    Then at the bottom of that file, replace

    `


    `

    with

    `

     

     


    `

    You do this with the rest of the 13 BP template pack files then upload revisions to server.

    After this, you would need to adjust styling. Download Firebug add-on for Mozilla Firefox to help you out.

    #107330
    @mercime
    Participant

    @allivant I see you installed BP template pack. You will need to make adjustments to the HTML structure of the template pack files transferred over to your WP theme folder during the process. You need to download those folders and files to your computer, revise per your WP theme structure and upload revisions to theme folder in server.
    https://codex.buddypress.org/theme-development/wordpress-to-buddypress-theme/
    https://codex.buddypress.org/theme-development/bp-template-pack-walkthrough-level-easy-2/

    #107329
    Virtuali
    Participant

    Well depending on if your theme has the sidebar on the “right” or “left”, it should stay there unless the content is pushing it somewhere else.

    #107304
    Hugo Ashmore
    Participant

    Hmm logins should be the same here as on trac but there may be issues, we’ll put a shout out to @DJPaul @boonebgorges see if they can fix anything.

    Back to validating and well formed code; of course the one bug bear in all this is the nature of plugin coding which tends to throw a huge spanner in the works, well from a theming point of view, but can be equally frustrating when you activate a plugin to find you’ll need to spend half a day hacking it to output valid code.

    #107299
    aljuk
    Member

    @hnla – I second all of that. Using a Transitional DTD is about as appealing to me as switching to IE6, and repeated use of the same id in the loop is plain wrong and nasty. I’ve tried to log into trac to post there with the same credentials as I use for logging in here, but it doesn’t work.

    #107284
    Hugo Ashmore
    Participant

    This will not be helpful and to be honest I am not sure why that one table is repeatedly not installed correctly, but I would suggest it’s perhaps better not to go the separate BB install – unless of course you specifically wanted the standalone forum – and stick to the BP bundle as that does work, and normally without any hitch also very? shortly BBPress will be released as a plugin and that will integrate with BP and replace the present implementation of BBPress in BP

    Just so the thread is armed with as much detail as possible can you state the versions of everything you are running plus whether child themes in use etc.

    Interestingly on one of my many test installs on which I hadn’t set up forums, It’s failing to create any tables but not sure why that is at this minute and haven’t time right now to look in detail at what’s occurring but will come back to it later.

    #107261
    r-a-y
    Keymaster

    It’s not that straightforward because you’ll miss all the AJAX functionality from the bp-default theme; BP Template Pack just needs some lovin’.
    If you can’t wait for BP Template Pack, you could copy some of bp-default’s functions.php over to achieve the same thing.

    I’m also working on a plugin similar to BPTP, but I’m not putting a timeline on a release date.

    @mercime
    Participant

    === … relocating my .htaccess file to various locations throughout the /var/www/html hierarchy … I thought the BuddyPress installation instructions were pretty straightforward, but it seems to actually work in a whole different way from what is documented. ===

    BuddyPress installation is pretty straightforward when server configuration is stable and meets standard requirements https://codex.buddypress.org/getting-started/before-installing/
    which includes WordPress install already working with pretty permalinks at the very least https://codex.wordpress.org/Using_Permalinks#Using_.22Pretty.22_permalinks You should read this as it addresses the .htaccess file which is at the crux of the matter

    The .htaccess file for your WordPress installation should be where WP is installed.
    If WP in root, http://yoursite.com/ then .htaccess should be at http://yoursite.com/.htaccess.
    if WP in subdirectory, then .htaccess should be at http://yoursite.com/subdirectory/.htaccess.

    Strongly recommend you restart from scratch by deactivating BuddyPress and BP plugins, change theme to default twentyten theme, deleting .htaccess file wherever you placed it and dropping tables in DB. Reinstall WordPress and resolve pretty permalinks issues at https://wordpress.org/support/forum/how-to-and-troubleshooting before installing BuddyPress.

    Good luck.

    #107209
    stevieg
    Member

    @Virtuali Cheers. I’m fine with 3.1 – love that only file in my child show in edit:-) My concern is with using non-buddypress themes such as twentyten and adding BP to them. I initially used the Template Pack but it seems this is not being supported. I wanted to know if all I need to do in future – when I do this for another website – is to copy the folders from bp-default to my theme. Is it that straightforward?

    #107208

    After almost 8 hours of looking into every possible theme file and googling around, I found the markup responsible for activity comments – I thought I would share the info in case someone else will be looking for it in the future.

    Turns out it’s nowhere in the theme files, but in BuddyPress files in buddypress/bp-activity/bp-activity-templatetags.php file. The function `bp_activity_comments` is defined around line 633 and it has a comment that this solution is temporary:

    `/* TODO: The HTML in this function is temporary and will be moved to the template in a future version. */`

    It can be edited there, but I’m assuming it will be possible to do this in theme files in some future version.

    Phew.

    #107200
    Hugo Ashmore
    Participant

    I’m amazed, interest in validation ;)

    There are and have been ID errors for for ever and a day, I’ve mentioned them in the past and there’s probably a ticket lying around.
    The repeated use of an Id is a common error when writing things like loops and sticking an id within one trouble is mid tier coders tend not to look at frontend output much.

    Changing a DTD to get around validation errors is bad practice, new documents should always be written to a strict schema, this common use of Transitional is wrong but hey ho. What would make more sense especially given the use of attributes such as ‘roles’ (even though an XHTML spec and even though it’s actually only a working draft attribute) is a move to what is referred to as an HTML5 DTD or more accurately a DTD without a formal public identifier. TwentyTen has chosen to do this I would suggest BP can follow suite?

    Rob Watson
    Member

    Noting that it wants to go to `wp/members` rather than where the buddypress install and BP Compatibility configuration directions had me put that and its other folders (which was in `/wp/wp-content/themes/bp-default`), I copied all the bp-themes directories to where WordPress and the web server are looking for them… `/wp/members`.

    The URL that appears in the browser is http://098.765.43.210/members/admin/activity/

    That’s not exactly right, though, as the structure “admin/activity” isn’t even part of “members”. The error log reflects this (correctly) as:
    `[Tue Mar 08 14:48:36 2011] [error] [client 123.456.789.0] File does not exist: /data01/home/username/production/wp/members/admin`

    And so does the access log:
    `123.456.789.0 – – [08/Mar/2011:14:48:36 +0000] “GET /members/admin/activity/ HTTP/1.1” 404 301`

    So I truncate the URL in the address bar to be http://098.765.43.210/members and now I get a blank page. No source.

    The access log now says:
    `123.456.789.0 – – [08/Mar/2011:14:53:01 +0000] “GET /members/ HTTP/1.1” 200 -`

    But the error log now says:
    `[Tue Mar 08 14:53:01 2011] [error] [client 123.456.789.0] PHP Fatal error: Call to undefined function get_header() in /data01/home/username/production/wp/members/index.php on line 1`

    I’m soooo totally baffled by all of this. I thought the BuddyPress installation instructions were pretty straightforward, but it seems to actually work in a whole different way from what is documented.

    #107186
    aljuk
    Member

    @boonebgorges not at all, thanks for response boone. I will.

    I’ve just realised, through flushing cookies to check again, that these errors are thrown only for logged in users, and in a logged out state, several previous errors no longer get flagged (which is often the way when one thing is predominant in tripping up the validator). When I’m logged out, the output is entirely clean for Tranisitonal, and certainly tweakable for Strict.

    #107184
    Boone Gorges
    Keymaster

    I think you’re probably right that this should be a class rather than an id, but it needs a bit more of an audit (in particular, a sweep through the rest of the core code to ensure that changing it to a class selector wouldn’t break everything else). @aljuk, would you mind opening a ticket on trac.buddypress.org to that effect, using the same username/pw as you do on this site?

    #107181
    aljuk
    Member

    I’ve just tested on a brand new install of WP3.1 and BP1.2.8 of the box.

    In Transitional, the activity stream generates 3 validation errors for every update:

    `required attribute “rows” not specified`
    `required attribute “cols” not specified`
    `id=”_wpnonce_new_activity_comment” already defined`

    this is out of the box without any mods of any sort. the lack of attributes I can fix. Also, if I run in transitional then unwrapped input fields won’t get flagged, and although I’ve always worked in strict that’s fine. But what I have no way of getting around is the mass of :

    `id=”_wpnonce_new_activity_comment”`

    global.js (line 330) contains :

    `’_wpnonce_new_activity_comment’: jq(“input#_wpnonce_new_activity_comment”).val(),`

    I’m not that great with js, but I’m wondering if the use of an id relationship could be swapped for a class relationship? If it’s just for targetting, then surely there’s no need to use an id in place of a class.

    #107175
    Paul Wong-Gibbs
    Keymaster

    Those roles put in to trunk are for WAI ARIA landmark.

    #107170
    @mercime
    Participant

    bp-default is running XHTML 1.0 Transitional and therein lies the big difference.

    I’ve got my custom bp-default child theme (BP 1.2.8) passing validation, no errors. In addition, http://testbp.org, BuddyPress’ demo site using bp-default theme (BP 1.3 trunk) has only 2 errors on Activity Stream because of html5 element “role” which is not recognized in validator
    http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Ftestbp.org%2Factivity%2F

    #107168
    stevieg
    Member

    So whats the procedure then. If I want to use say twentyten as a theme parent, should I just copy the BP folders from bp-default (everyone is telling me the template pack is out of date)?

    #107165
    @mercime
    Participant

    === just want to find a good theme that i wont have to edit soo much. ===

    Check out http://www.arrastheme.com/forums/ for tips on how to make theme compatible with BuddyPress. Changes mainly on HTML and style.css. It’s not soooo much :-)

    #107160
    richard
    Participant

    an not everthing lines up. when the group widgets dose let you look at new old it just take you to group. just want to find a good theme that i wont have to edit soo much.

    #107148
    @mercime
    Participant

    1. Themes
    Current gallery/media plugins (free and paid) compatible with BuddyPress use the bp-default theme structure. So either you create a custom theme that’s a child theme of bp-default theme or be prepared to customize any other WP theme or custom BuddyPress theme to work with the gallery plugin’s.

    2. Image storage
    Images are physically stored in your server for some gallery plugins. Other BuddyPress-compatible gallery plugins require you to store your images in their servers and make you pay for extra storage.

    #107146
    pcwriter
    Participant

    @christophG

    You can do this with the s2member plugin. In the “API/Scripting” section, you’ll find some advanced conditionals that can be added in your theme templates, or included in a custom function. If you’re using s2member, you could try adding this to your theme’s functions.php file… should work anyway ;-)

    `function remove_member_profile_nav() {
    if (!current_user_can(‘access_s2member_level1’)) {
    bp_core_remove_nav_item( ‘profile’ );
    }
    }
    add_action( ‘bp_setup_nav’, ‘remove_member_profile_nav’, 15 );`

    #107138
    Rhdrmhdrvf
    Member

    Hey clinthorner! It’s all about CSS!

    I am using the Citizen Kane theme.
    So, for me, a few lines in the file: bp-default/members/single/profile/edit.php and inside Citizen Kanes custom.css did all the magic.
    Also, if you don’t do, use a browser with a built-in ‘inspector’ like Operas Dragonfly, or similar. It boosts up the solving of problems like this.

    I hope it helps!

    #107133
    Virtuali
    Participant

    Thats because you have a `max-width:` css applied somewhere in your bp-css, because the content is overlapping the sidebar, and it’s getting pushed down to the bottom.

    I can’t pinpoint exactly where it is, You, must go searching in your css and find it, and tinker to make it fit in your theme. :), otherwise, I would contact your freelancer to find it.

Viewing 25 results - 19,651 through 19,675 (of 31,073 total)
Skip to toolbar