Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 21,201 through 21,225 (of 64,534 total)
  • Author
    Search Results
  • #144552
    Robin W
    Moderator

    and to answer Nino’s Q

    If you’re into coding, then yes

    the widgets code is held in

    bbpress/includes/common/widegets.php

    you could customise these and create them as new custom widgets

    For instance the topics widget starts on line 669, and line 811 does bbp_topic_permalink( $topic_id )

    You could add an if statement to create two different outputs logged in vs not logged in and alter not logged in to topic title.

    Not something I have time to do, but would be fun if you have the time

    #144545

    In reply to: Latest Topics

    Robin W
    Moderator

    As my mother said “I WANT – doesn’t get” – please ask nicely 🙂

    bbPress is written by volunteers and supported by volunteers, you get it for free !

    If a feature is requested enough, then the writers (who do this in their spare time and are not paid) will add it.

    If someone already knows how to do this, they will post in due course.

    Thanks 🙂

    Asynaptic
    Participant

    One of the features of bbPress is the ability to allow users to go back to edit forum posts that they’ve made. The time setting can be adjusted but after the edit time runs out, the user should not be able to edit their post.

    But I’ve discovered that users can get around this by doing the following:

    1) when the edit link is still active, click on it and open the new ‘edit’ window in the bbPress forum. Then either stay here or after the edit window has opened, go forward (back where you started from)

    2) when the time runs out, simply go back one page in your browser to the edit page that was previously opened

    3) from there edit (write, erase, format, etc.) and then click on the submit button

    This allows forum posts to be edited even after the time has run out. In fact, a user can go and make repeated edits as long as they can navigate back to the editable window instance in their browser history.

    I’m going to see if I can edit this post right here by doing this. Let’s see… waiting for time to run out…

    EDIT1:
    ok the timer has run out and the edit link is no longer there… seems to be set at 5 minutes but I didn’t really time it that accurately, now to see if I can edit this! If you’re reading this, then I was able to edit my post after the timer ran out and the link disappeared.

    EDIT2: yup, it worked. Now to see if it will work again. If you can read this second edit, then I was able to go back in my browser and edit my post again…

    EDIT3: well, you get the idea. The user can edit indefinitely as long as they keep the ability to go back in their browser and their browser history includes the edit page. Go ahead and replicate this to see for yourself.

    #144537
    nirgalo
    Participant

    Hey, I want to set up the same kind of design bbpress support forum has for my site’s forum:
    – main page with latest topics (and page navigation), and forums as widgets on the left pane
    – when opening a forum : page with forum topics and forum info as widget on the left pane
    – topic page: topic as page and Topic info as widget

    How can I do that? Shortcodes do not seem to be enough. Like [bbp-topic-index] is only displaying the last 15 topics.

    #144529
    Robin W
    Moderator

    If you’re into coding, then yes

    the widgets code is held in

    bbpress/includes/common/widegets.php

    you could customise these and create them as new custom widgets

    For instance the topics widget starts on line 669, and line 811 does bbp_topic_permalink( $topic_id )

    You could add an if statement to create two different outputs logged in vs not logged in and alter not logged in to topic title.

    Not something I have time to do, but would be fun if you have the time

    #144525
    Stephen Edgar
    Keymaster

    Basically take your original idea of using comments though substitute part of that idea with replies (or topics if you wanted new topics).

    bbPress has ‘mirror’ functions of WordPress for most things, if you could programmatically do ‘xyz’ with a comment in WordPress you can do the same ‘xyz’ function with a topic or reply in bbPress.

    Thats the easy bit by saying that, so either start reading our codex on what these functions are or look to hire a programmer who can do that for you. https://codex.bbpress.org/

    #144524
    Stephen Edgar
    Keymaster

    What you would want to do is create a page using the [bbp-forum-index] shortcode and then after that shortcode simply add the shortcode [bbp-topic-form]

    Check out the docs in the codex for how to start doing this:

    Codex

    Check out the bbPress conditional tags https://codex.bbpress.org/bbpress-conditional-tags/

    #144523
    Stephen Edgar
    Keymaster

    This started dues to an issue when importing from phpBB. If a user had depeted their own account on a phpBB forum, phpBB didn’t reattribute the post author to a different author, rather just removed the account from being able to login etc. phpBB stores the author name alongside each topic and reply so once said author has been deleted you have the option to also not delete the users topics or replies and when viewing said topic the original author’s name will still be attributed to the topic or reply.

    The goal was then to bbPress support this as when you import from a phpBB if the user doesn’t exist then we wouldn’t create a new user and as seen above if the user doesn’t exist then each topic and reply is attributed to the ‘Anonymous’ user.

    Over in bbPress Trac Ticket #2347 we came up with a solution.

    If you take a look at the patch I currently have sitting there (Keep in mind the current ‘Example.php’ customised importer you are using)

    https://bbpress.trac.wordpress.org/attachment/ticket/2347/2347.diff

    The first part in the phpBB.php section I added parts to import the topics user name, the replies username and then added a flag on the user that was being imported _bbp_phpbb_user_type. That gets enough of the data that we need into the WordPress database to enable us to manipulate that once the data has been imported.

    So at the moment if your Lotus DB has these details already attached to the topics and replies then adding this to your custom import would be the first step.

    Firstly in regards to Anonymous users in bbPress, an anonymous user CAN have a username and/or display and this is stored in wp_postmeta table as _bbp_anonymous_name and is what my comments in my previous reply were alluding to.

    Next up I added a new Repair Tool to basically post process this imported data, I create a query that joins all the topics data from wp_posts and wp_postmeta along with the topics old phpBB stored username. Once all that is in a SQL result table each topic that is by an ‘anonymous’ author is then updated to change the _bbp_anonymous_name associated with that particular topics store phpBB topic author name. Then the same process is repeated for each reply.

    So now we have deleted, closed, spammed users that were deleted or deactivated in some way form the legacy phpBB forum but the topics and replies were never deleted to keep the context of the original discussions.

    These are now all anonymous users in WordPress/bbPress but actually have the original display name/ user name keeping that same original context.

    So that is my theory I was getting to, make each of your imported Lotus users an anonymous user using their old original user/display name to keep that context of conversation.

    Now this is why you don’t need to worry about email addresses nor passwords as the accounts are not actual accounts just placeholders of the names from the original discussion.

    The next part of the puzzle is when your users now sign up to reactivate and participate in the new bbPress they are free to create there account, choose their username, customise their profile, pick a password, use any email address they choose etc etc.

    And the final part is now ‘Joe Blogs’ has created a new account on your site we just need a tool that will reattribute the posts currently under the anonymous user account ‘Joe Blogs’ to the now active user ‘Joe Blogs’ and the job is done. You can currently do just that with the standard WordPress User administration to delete a user and then reattribute that users posts to another user during the delete process. We just go and tweak that process to also allow/mimic/recreate that process to be able to reattribute the anonymous ‘Joe Blogs’ topics and replies to now active user ‘Joe Blogs’.

    So how’s all that sound? Clear as mud?

    I wrote another ‘post import’ repair tool yesterday that I had planned on integrating with the above tool today but time got away from me so hopefully I’ll have time in the morning to do this and will keep the scenario I outlined above in mind so it can be used for more than just imported phpBB forums and can be extended for other imported forums and custom imports.

    Nino
    Participant

    Hello to all 🙂

    I have a question is it possible to modify by code or by plugin the Widget (bbPress) Recent Topics that way:

    For logged in users links are on.
    For all not logged in the links are off. They only see the text.

    Does anyone has a hint for me? It is really important for me!

    Thanks and greetings

    Nino

    #144519
    Stephen Edgar
    Keymaster

    What PM button? bbPress does not have such a thing, BuddyPress has PM’s.

    I wrote a quick little hack the other day I know you installed? If it is issues with that please update the thread where I originally shared it if that’s the case and I’ll take a look. 😉

    Stephen Edgar
    Keymaster

    Essentially you want a WordPress theme that works well on mobile (I haven’t looked at your site) and once that is sorted then replicate the CSS media queries that the theme uses for posts/pages etc for your bbPress templates.

    To get started modifying your CSS check out the codex docs https://codex.bbpress.org/

    #144517
    Stephen Edgar
    Keymaster

    It can be done with just WordPress and bbPress but is not a good experience as basically we only have partial support thus far and a fair amount of work needs to be done to have it work ‘out of the box’

    Checkout Pippin’s ‘Restrict Content Pro’ and his bbPress extension along with S2Member and Members. Those three seem to be quite popular though I have limited experience with any of them 😉

    https://wordpress.org/plugins/restrict-content-pro-bbpress/
    https://wordpress.org/plugins/s2member/
    https://wordpress.org/plugins/members/

    #144513
    Stephen Edgar
    Keymaster

    Nice, sad I missed this thread up until now 😉

    Starting from @adressler 2nd post here are my thoughts:

    @adressler wrote…
    My crazy idea that I had was to import these “old” authors as, effectively, name placeholders. Bogus/null values for user_pass and user_email, a php-generated user_login (something like “judygarland-old”, “abcdef12345-old” or similar), user_id (unique Auto Increment #), display_name (“Judy Garland”), and maybe user_nicename.

    I’m with you here and I’ll come back to how to do the above shortly.

    @adressler wrote…
    These would only be used to show the Authors first + last name next to all of the old topics and replies I just imported from Lotus (they will not be logging in). When users re-register, they would create a completely new WP user (I’m using s2member to handle subscription info).

    Still with you, I think this is a good plan.

    @adressler wrote…
    I realize that “new” users will not be able to see their “old” user’s topic / reply counts, and total user counts will not be completely accurate, but that’s okay and manageable.

    Still a good plan, we can fix the above ‘after’ they registered their new account.

    @adressler wrote…
    At least they could create their new user accounts themselves, and I wouldn’t be responsible for making s2member link up properly with these old users.

    Correct, let the users do that themselves.

    @robin-w wrote…
    The real issue here is whether you can get email addresses. If you can, then if you import users as per my previous, they can use “password lost” to re-do their passwords, and then it’ll all be fine.

    As per my first comment of what I will come back to shortly, we don’t need actually need an email address for this.

    @robin-w wrote…
    Additionally logon names need to be unique so they can’t register with any existing username !

    I’m going to have to check that my solution doesn’t break because of this, it is ready to be committed and ready for bbPress v2.6 😉

    @robin-w wrote…
    I’d do as previous and create a user table to import, but call each user ‘old_xxx’ – you can do this before import, effectively your placeholder.

    Again, I shall return and no need for the old_ prefix on the username.

    @robin-w wrote…
    As each user registers, you can run some code around the posts to remap them. You’ll get a registration notice, so if you cut some code, then you can just run this each time someone registers. Basically you would just enter there old username and their new one. The code would look up the old ID, the new ID, and then run through posts to remap to the new user. If you’d like help with that, just let me know and I’ll try and cut a quick loop code that you can run straight on the website (pw protected of course)

    90% of this is actually built into bbPress and again I just need to test this against my solution, as I type this I am thinking maybe a custom one will be needed but shouldn’t be too hard to write a tool for it to integrate with my proposed solution as no doubt others would probably also require this. 😉

    @adressler wrote…
    I was able to export users from Lotus into a new users table. The table structure is:

    That table looks fine, it shouldn’t matter what the old user_login name is as we will primarily use the user Display Name and/or User Nicename.

    @adressler wrote…
    I linked up my custom converter and was able to import users successfully into BBPress without the need to include a bogus email or password. In the WP database, all of these “old” users have an auto-generated password, and no email address. Now, at least all of these old user display_names are showing next to the posts they authored (instead of all “anonymous”).

    Cool, though my plan is to purposely make them Anonymous 😉

    With a couple of tweaks as we get closer to what I propose I think we can adapt your importer to use the code I have already written.

    @adressler wrote…
    Is it still possible to write a loop to link these old user accounts to the newly registered users even though there’s no email addresses? I’m okay with the forum working the way it is now, but if there’s a way to link newly registered accounts with the old ones, I’d sure like to try. I’m guessing the only way to do it is to match by the old user display_name, which, from what I can tell, is unique to the users db; no two people have the same name. It would just depend on people remembering the name they used to registered on the old site (some people are registered as “John and Jane Doe”). And if someone signs up who coincidentally has the same name as an old user, there could be some confusion.

    As per what I wrote above, part of this is already built into bbPress and a little bit of testing in what we need to do to handle this properly then tweak the code we should be good.

    @adressler wrote…
    I just had a thought, what about a checkbox during registration like “Attempt to link my old DynamiteOnline account”, and when checked it would try to link up the names?

    Maybe…

    @robin-w wrote…
    If auto the system won’t let you have two usernames the same, so you’d need to change your existing usernames to say have a character in front eg x_john smith (sql loop through user database would do that). Then brief your users to register with their existing username eg just john smith.

    We don’t need to worry about this because each user would be Anonymous 😉

    @robin-w wrote…
    The real solution if you don’t have tons of users is to go for a manual registration process, you can of course let then use the same username, as you can then generate a user with a php programme straight into the database.

    Let the users register whatever name they want as long as it is not already in use they will do the registration and sign up.

    Automating this would be a pain for the high chance of abuse that could occur.

    As there isn’t old email addresses for the old users verifying who’s who really should be a manual verification process in my opinion.

    Nothing pretty or easy !

    It took me ~7 months to come up with my solution with a few tips and advice from others who first floated the idea but I think it is relatively pretty now. 🙂

    But a solution is there somewhere !

    Yes it is 😉

    I’ll go dig out now and have a quick read and post it shortly 🙂

    #144512
    SauLustig
    Participant

    I am facing the same issue!

    The embed YouTube Video width is cracking my page
    As far as I can see its embed with 920px

    Nothing seems to work here!

    What I already tried is to add
    if ( ! isset( $content_width ) ) $content_width = 500;
    to the functions.php of the Theme!

    Here are some information about my settings:
    WordPress 3.8.1
    Theme Graphene
    bbPress 2.5.3-5249
    bbPress-Columnmode : One Column

    Can anyone please help me out here?!

    Nino
    Participant

    Hello to all 🙂

    I have a question is it possible to modify by code or by plugin the Widget (bbPress) Recent Topics that way:

    For logged in users links are on.
    For all not logged in the links are off. They only see the text.

    Does anyone has a hint for me?

    Thanks and greetings

    Nino

    #144502
    dmccabe
    Participant

    causes the entire “Forums” menu to not show in Dashboard…

    B
    Participant

    Hey friends,

    I have a membership site that’s using membermouse + bbPress. Members can subscribe to threads and forums, but once they are no longer paying members, I’d like to make sure they no longer receive those email notifications from bbPress.

    Is there a way I can set this up so email notifications are cut off once they are no longer members (perhaps something based off a forum or user role change in WP)?

    #144500
    B
    Participant

    No one? Someone must’ve implemented this for bbPress 2.x by now.

    Piani
    Participant

    After looking into child theme and options to make a complete theme for BBPress 2.5 I want to share this. (Unfortunatly the web is flooded with usless 1.0 tips)

    If you are not that into setting up a complete BBPpress child theme and hacking CSS, this is one simple way of doing a easy change and customisation of BBPress if u want some personalized look and you already have a child-theme style.css but your main-theme style is messing with BBPress looks.

    Add this snippet into your normal child-theme style.css and change the colors and font size as you like.

    
    /* BBPress font fix */
    
    #bbpress-forums li.bbp-header,
    #bbpress-forums li.bbp-footer {
    background: #D6E0FF;
    }
    
    #bbpress-forums div.bbp-forum-title h3,
    #bbpress-forums div.bbp-topic-title h3,
    #bbpress-forums div.bbp-reply-title h3 ,
    #bbpress-forums a.bbp-forum-title,
    #bbpress-forums a.bbp-topic-permalink {
    	font-size: 16px;
    	color: #0066FF;
    }
    
    #bbpress-forums a.bbp-author-name {
    	font-size: 12px;
    	color: 	#75A3FF;
    }
    

    Thats all. All other style is already looking nice I think. I use this blue look in my Techism child-theme and it looks great. Running BBPress 2.5.3.

    Robin W
    Moderator

    This plugin may be what you’re after, pippin is usually good, but have no experience of this plugin

    https://github.com/pippinsplugins/bbPress-Export-and-Import

    give it a try, but backup your database first!

    Majijiboo
    Participant

    The theme is Divi which is from Elegant Themes and the plugin is BBpress Notify. I used the below function to change it from Subscribe to “Click to receive…”. Thanks.

    
    function change_translate_text4( $translated_text ) {
        if ( $translated_text == 'Subscribe' ) {
        $translated_text = 'Click to receive an email notification when a member responds below';
        }
        return $translated_text;
    }
    add_filter( 'gettext', 'change_translate_text4', 20 );
    
    #144489
    Piani
    Participant

    I think I have the same issue here. Strange that the topics is not sorted by #ID ?

    Topic 1 last 3 replies:
    2014-04-01 kl. 21:17 #395
    2014-04-02 kl. 18:40 #445
    2014-04-01 kl. 22:31 #402

    Topic 2 last 3 replies:
    2014-04-01 kl. 13:32 #389
    2014-04-02 kl. 18:22 #443
    2014-04-01 kl. 22:43 #404

    WordPress Versions eg. 3.8.1
    bbPress Version eg. 2.5.3
    Operating System eg. Linux (Debian)
    Web Server eg. Apache
    Theme eg. Techism
    PHP Version eg. 5.3.28

    I can confirm that George Stephanis sollution to deactivating threaded replies in settings solved the problem.

    #144487
    Robin W
    Moderator

    I have no connection with Securi, they are a commercial company, and you will need to use your judgement.

    I also have no connection with BBpress other than being a volunteer moderator of this site.

    BBpress works well with many themes and plugins, but compatibility with all is by no means guaranteed.

    Majijiboo
    Participant

    Wordpress version 3.8.1
    bbPress version: latest version
    Link to site: manupmyhealth.com/locker-room

    I used “display: none” for .bbp-topic-voice-count to remove it, and now want to use a larger portion of the table that displays topics to show the content in .bbp-topic-title.

    When I set the width to 75% for .bbp-topic-title, the desktop version looks good, but the mobile version looks disoriented. Is there a way to disable responsive design for mobile so people see the desktop version even when they are on a mobile phone?

    Also, any thoughts on what to set the width parameter to so .bbp-topic-title takes a larger width in the desktop version and the mobile version will still look good? Thanks.

    #144483
    theDigiScrapper
    Participant

    Hi Allegrif,

    I currently have the same issues with bbPress and Mantra theme as you explained above. Have also tried all avenues to fix it – but to no avail. You mentioned that you found a new theme – please let me know what theme and if it has the same customizing capabilities that mantra has.

    Thanks a mill

Viewing 25 results - 21,201 through 21,225 (of 64,534 total)
Skip to toolbar