Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • durkk
    Participant

    @durkk

    If you use Magento how will you share sign ins with wordpress?


    durkk
    Participant

    @durkk

    Rolling a fatty and will have a browse mate with the demo account 😉

    One minor thing: you could use a plugin to hide the register menu item to logged in users.

    Overall great work if this was hacked by copy pastes :D!


    durkk
    Participant

    @durkk

    @danbp

    Let’s be honest here. Bbpress is designed to be ok with most themes.

    So yeah you are right, in absolute terms. A forum is just a grit. But if we go that route all of this is just 0 and 1’s. It’s not that productive to think like that imo 😉 Most people like to have something that looks better than ok for most themes.

    https://devpress.com/?attachment_id=6504 is a theme that is just a regular forum but completely fine tuned to the theme. This is a rarity. Sadly. Some perspective on why this is I guess… https://devpress.com/tickets/social-buddypress-theme/

    Standalone forums most of the time have themes, although indeed phpbb always looks very much like…phpbb 😀 BUT, it’s a standalone forum and therefore coherently themed throughout.


    durkk
    Participant

    @durkk

    A guide to theming a bbpress install might be good, but I have not found one yet. Right now there is mostly legacy related stuff popping up. Somehow most theme dev’s don’t do much with the styling the forums either.


    durkk
    Participant

    @durkk

    First and foremost, I am not a buddypress expert, rather someone that went through the same process you are going through now.

    The forum is not easy to customize without coding. There used to be themes for the standalone I believe but that’s all legacy stuff now. If you want to start ‘theming’ bbpress you’ll need to adjust the css to taste. Shortcodes won;t help you with this.

    The easiest solution is buying a theme that has extensive bbpress tweaks. Do a search on Themeforest for ‘bbpress’ and or ‘buddypress’. There’s only a view that did extensive tweaks to the forums tho.

    The IP address is only visible to Admins. As far as I am aware the @ mentions are based on the username, not the display name.


    durkk
    Participant

    @durkk

    Overall I like the way it looks. There are however a view things that stand out: When resizing the window you get overlays and the menu start the look weird. The category archives look a bit untidy with the tag spacing and amount of non content space. On protected pages the sidebar under the login aligns to the left.

    I really like the group and profile banner but the little sidebar looks a bit weird when logged out imo, perhaps there is more info when logged in?

    The sidebar also looks weird on private groups in chrome: http://cultivators-forum.com/groups/seedism/

    Overal looking great tho, nice example of how much you can do with theming BP.


    durkk
    Participant

    @durkk

    Heheh,

    You see the only coding experience I have is with music related software or game middleware. The creative process of pulling pages per user is very abstract to me 😀

    I do know my French classics…

    “Perhaps the world’s second worst crime is boredom. The first is being a bore.”
    -Jean Baudrillard

    Hoping not being guilty of the first but here goes:

    First I added a filter to bypass the members in the profile URL so I could use dynamic links via this plugin: Buddy Menu Buddy Links. Then I make a page with the username as parent and a child with the same title for all students (lessons). resulting in a workin url looking this mydomain.com/username/lessons.

    I made a CPT to keep the it more organized only and the pages index less cluttered.

    /**
     * Remove the slug from published post permalinks.
     */
    function custom_remove_cpt_slug( $post_link, $post, $leavename ) {
     
        if ( 'student' != $post->post_type || 'publish' != $post->post_status ) {
            return $post_link;
        }
     
        $post_link = str_replace( '/' . $post->post_type . '/', '/', $post_link );
     
        return $post_link;
    }
    add_filter( 'post_type_link', 'custom_remove_cpt_slug', 10, 3 );
    /**
     * Some hackery to have WordPress match postname to any of our public post types
     * All of our public post types can have /post-name/ as the slug, so they better be unique across all posts
     * Typically core only accounts for posts and pages where the slug is /post-name/
     */
    function custom_parse_request_tricksy( $query ) {
     
        // Only noop the main query
        if ( ! $query->is_main_query() )
            return;
     
        // Only noop our very specific rewrite rule match
        if ( 2 != count( $query->query ) || ! isset( $query->query['page'] ) ) {
            return;
        }
     
        // 'name' will be set if post permalinks are just post_name, otherwise the page rule will match
        if ( ! empty( $query->query['name'] ) ) {
            $query->set( 'post_type', array( 'post', 'student', 'page' ) );
        }
    }
    add_action( 'pre_get_posts', 'custom_parse_request_tricksy' );
    

    durkk
    Participant

    @durkk

    @danbp

    Are you trying to be sarcastic or philosophical?

    I appreciate this is a labor of love and there must be many people like me expecting a easy fix to problem that is not yours.

    I am new to buddypress like I clearly mentioned and was delighted to see you help out with snippets of code. But like anyone starting out with WP/BP a list of conditionals do not constitute an easier solution.

    Where a coder sees a list of options to achieve something, a lamen will see a list of meaningless out of context and poorly documented tags.

    I got my hopes up, but I guess I either have to learn BP whenever I have time (not likely) or keep on working with the crappy solution I have now. Word of advice from a buddypress n00b, don’t expect people to see the options you see when you link to a reference list.


    durkk
    Participant

    @durkk

    @danbp: Ok thanks, the snippet gave me the impression it was relative, not absolute. I am not a complete code n00b, but thanks for your concern.

    Let me see if I get this right; because I am still not sure how this enables me to feed unique content per user.

    Right now with your snippets I have a page template, a page with the template loaded and a link to that page in the buddypress user profile menu’s. How do I load content relevant to the logged in user on that page?

    That is kind off the whole objective of using the dynamic links

    There’s a plugin that can make profile tab links and even pages, so I guess I am not understanding what exactly is the idea behind you reasoning for being a simpler solution to my problem.


    durkk
    Participant

    @durkk

    @danbp

    Thanks again for all the help! You seem to be helping out a lot of people.

    Will this create a unique page for each visitor, or how do i link unique content per user? I tried what described above but I get a 404.


    durkk
    Participant

    @durkk

    @danbp

    Getting closer!

    So I made a custom post type via the CPT UI plugin. I then proceeded to remove the slug from the URL as suggested here: http://colorlabsproject.com/tutorials/remove-slugs-custom-post-type-url/

    I have buddypress installed and use a filter to have a profile link as follows: mydomain.com/username. This to be able users to use a dynamic link in a widget that leads them to a personal page.
    mydoamian.com/username/personalpage where username is dynamic to logged in user.

    This works perfectly with pages but not with the custom post type I made. Anyone got an idea what I am doing wrong here?


    durkk
    Participant

    @durkk

    In my limited experience Buddypress is fine.

    You might also look at the freemium plugin called Symposium or something like User Pro plugin on codecanyon: http://codecanyon.net/item/userpro-user-profiles-with-social-login/5958681 Which is a bit lighter and is designed a little less spartan/basic visually speaking.


    durkk
    Participant

    @durkk

    Ah yes, I see i wrote the name of the addon I bought too. But yes I have the main plugin too 🙂


    durkk
    Participant

    @durkk

    @danp: Yes, that’s the plugin indeed. I have the latest version.

    Thanks for the ideas! I have gone through those options and the whole website is pretty much one big WP manual in layout (knowledge base search type of thing) so that’s covered.

    The one 2 one tutoring is practically a video call, but I also share files and links and make a summary and assign homework that I want them to be able to review in their profile.

    So I guess the best way would be to somehow link a personal page to a profile. Any ideas on that?

    While googeling and writing this I have come up with the following:

    Use dynamic links to user profiles via and then give my students a restriction level via s2members or simalair and restrict acces that way. Just thinking out loud and still pondering how to link unique user ID’s to a page.

    http://edu.durkkooistra.com/ I have an open website, so the knowledge base is open to anyone, I just want to restrict one page per student to add the videos etc too.

Viewing 14 replies - 1 through 14 (of 14 total)
Skip to toolbar