Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '\"wordpress\"'

Viewing 25 results - 11,226 through 11,250 (of 26,869 total)
  • Author
    Search Results
  • #137082
    Erlend
    Participant

    We’re using bbPress and BuddyPress to power the jMonkeyEngine community site:
    http://hub.jmonkeyengine.org/

    Using the excellent Firmasite as our parent theme, our child theme is a modified version of the ACME Dashboard. It is indeed marketed as an admin theme, but we found it to be nicely suited for a clean discussion-centric layout.

    We’re not taking great advantage of BuddyPress at the moment, in great part due to a pending bbPress/BuddyPress bug that makes it difficult for us to repurpose our groups. In the future we want to use vanilla groups for task-centric “workgroups”, and we’ve long been entertaining the idea of making a customized version of groups to create a plugin front-end for our SDK.

    bbPress on the other hand is constantly being pushed to its limits, and we’re very happy with it. We’re using the Support Topic plugin to great effect, along with our custom made Quotes plugin, among many others.

    Huge thanks to the developers and contributors of bbPress and BuddyPress for making two outstanding pieces of free software.

    p.s. If any budding WordPress developers out there would like an opportunity to get some experience contributing to an open source project, you’re very welcome to get in touch.

    #137081
    inspirationally
    Participant

    Allright, another thing I need help with:

    In WBB, there's the field isClosed to create a WordPress status from it with this:
    // Topic status (Open or Closed)
    		$this->field_map[] = array(
    			'from_tablename'  => 'wbb1_1_thread',
    			'from_fieldname'  => 'isClosed',
    			'to_type'         => 'topic',
    			'to_fieldname'    => 'post_status',
    			'callback_method' => 'callback_topic_status'
    		);

    and

    public function callback_topic_status( $status = 0 ) {
    		switch ( $status ) {
    			case 1 :
    				$status = 'closed';
    				break;
    
    			case 0  :
    			default :
    				$status = 'publish';
    				break;
    		}
    		return $status;
    	}

    But there’s also a field called “isDeleted”, so I could also use

    `// Topic status (Deleted)
    $this->field_map[] = array(
    ‘from_tablename’ => ‘wbb1_1_thread’,
    ‘from_fieldname’ => ‘isDeleted’,
    ‘to_type’ => ‘topic’,
    ‘to_fieldname’ => ‘post_status’,
    ‘callback_method’ => ‘callback_trash_status’
    );`

    and

    public function callback_trash_status( $status = 1 ) {
    		switch ( $status ) {
    			case 1 :
    				$status = 'trash';
    				break;
    
    			case 0  :
    			default :
    				$status = 'publish';
    				break;
    		}
    		return $status;
    	}

    The second, though, would overwrite the first, so that even closed topics that are not trash have the status publish again. Is there any chance to combine these two?

    #137076
    Kaliceos
    Participant

    I’m running latest releases of WordPress and bbPress, and I don’t have any problems neither with the custom function (placed in my theme’s functions.php) nor with the menus.
    Edit after your edit : I also have buddyPress installed

    What theme are you using ? The bbp_list_forums may be used in a different way in the theme where it doesn’t work.

    For the menus, I don’t know what could cause this issue, have you tried with an other theme ?

    If you want to rebuild your site, take a look at the Tools > Export and Tools > Import in your dahsboard, you’ll be able to transfer your forums, topics and posts.
    For users, it looks like the plugin AEIOU can do that. Otherwise, transferring the mysql tables (wp_users, wp_usermeta and if you use buddyPress wp_bp_xprofile_*) should work too.
    I guess you have to import users before forums, posts, and topics if you want to keep the author relation.

    #137075
    PureLoneWolf
    Participant

    Ok. I have now done the following:

    Copied the entire bbPress (plus bbPress plugins) folder from the working site.
    Copied the working theme from the working site.

    Deactivated deleted bbPress (plus bbPress plugins) from the non-working site
    Uploaded bbPress and plugins to the non-working site.
    Uploaded theme
    Activated all on the non-working site

    This didn’t work. Forums remain stubbornly on one line and the Forums option doesn’t appear in the WP menu editor.

    On top of that, I then deactivated and deleted bbPress..then re-installed through the WP Add New Plugin interface.

    This also didn’t work. No change whatsoever. I am going to have to build a test site and re-build the site I think.

    What would be the easiest way to get the forums/posts/users etc brought over?

    Many thanks

    **EDIT**
    This just gets weirder and weirder. I just created a blank, brand new installation of wordpress. Installed buddypress, then bbpress. Went to Appearance/Menus and Forums does not show up.

    RitaJoC
    Participant

    I keep receiving the above-referenced error. I’m using wordpress 3.6 and 2.4 bbpress. I don’t have a multisite network setup. Help! Thank you.

    Rita

    #137067
    Stephen Edgar
    Keymaster

    3. some users are twice now (like myself..who have been admins of wordpress and users of the forum). Can I simply merge them with
    UPDATE wp_posts SET post_author = ’1′ WHERE post_author = ’2′; and it will count for the forum, too?

    If a user already exists in WordPress during the import a new user will be created called ‘Imported_Username’, you can go to wp-admins user panel and when you select ‘Delete User’ you will be prompted to delete all posts or attribute them to another user, select the later and all the topics/replies etc will be attributed to the user you selected.

    4. the passwords – in WBB they are hashed by this:
    $passwort = sha1($row->salt.sha1($row->salt.sha1($_POST[‘passwort’])));
    so what do I write at the end of wbb3.php
    public function authenticate_pass( $password, $serialized_pass ) {
    $pass_array = unserialize( $serialized_pass );
    return ( $pass_array[‘hash’] == md5( md5( $password ). $pass_array[‘salt’] ) );
    }
    or is this impossible and the users have to get the new password by mail?

    I am going to look at passwords next week for all the importers as my skills with PHP are only just beginning so this is all a bit tricky for me at the moment. 😉

    So the best workaround is to have the users reset their password by email for now.

    5. the imported users have no “Forum Role”. Is is “normal”? Is there any chance to automatically give them the forum role “Participant”?

    Go to bbPress tools and run the repair tool ‘Remap existing users to default forum roles’ and that will do the trick. https://codex.bbpress.org/repair-forums/

    6. do I have to keep the wbb3.php “forever” because of the passwords or can I delete it one day, even if not all members have com back yet?

    If the passwords are not being converted you do not need to keep it, though I don’t see any issues why you would need to delete it.

    Speaking of keeping it, can we include your WBB v3 Importer and distribute it with bbPress?

    7. until now we have everything like private messages, profiles, friends and especially user groups (Moderators, crew members) with hidden forums. Do I see correct, that I can install both, import bbpress and afterwards attach for example our “Mods Only” to the group “Moderators” as group forum?

    Currently bbPress only has: https://codex.bbpress.org/getting-started-with-bbpress/#creating-your-first-forum

    Visibility: decide whether your forum is public, private or hidden.
    Public – Anyone can see these forums
    Private – Only logged in registered users can see these forums
    Hidden: Only Moderators/Admins can see these forums

    I see that every user gets a new User ID – old IDs are saved in table _bbp_converter_translator – will that table be kept? Maybe by this I have a chance to later import – somehow – private messages for buddy press!?

    The translator table is not kept and the old user ID is stored in wp_usermeta as per this item in the ‘Example.php’ importer.

    https://bbpress.trac.wordpress.org/browser/trunk/includes/admin/converters/Example.php#L458

                    // Store old User id (Stored in usermeta)
    459	                $this->field_map[] = array(
    460	                        'from_tablename'  => 'users_table',
    461	                        'from_fieldname'  => 'the_users_id',
    462	                        'to_type'         => 'user',
    463	                        'to_fieldname'    => '_bbp_user_id'
    464	                );

    I’ll take closer look at the importer and structure you linked to over the weekend and post back with anything else I can think of.

    #137066
    Stephen Edgar
    Keymaster

    As far as I know there are no issues importing from phpBB v3.0.11

    This doc has any known issues when using the phpBB importer:
    https://codex.bbpress.org/import-forums/phpbb/

    Did your import fail at one point and you started the import again which would have caused duplicates?

    To debug the issue further I would need some detailed information, particularly some SQL examples would be helpful.

    If you still have issues after resting your forums and this constantly happpens please create a ticket on Trac https://bbpress.trac.wordpress.org/ with some detailed steps to reproduce the issue and I will take a look.

    #137065
    SysFailure0x5a
    Participant

    Nevermind, I found bbpress 2.3.2 stable here: https://bbpress.trac.wordpress.org/browser/branches/2.3?rev=4891

    Thanks.

    For google searches:

    Download BBpress 2.3.2
    Downgrade to BBPress 2.3.2
    https://bbpress.trac.wordpress.org/browser/branches/2.3?rev=4891

    #137064
    SysFailure0x5a
    Participant

    @Xevo

    Go to https://bbpress.trac.wordpress.org/browser/branches/2.3 and press “Zip Archive” at the bottom.

    That appears to be 2.3.3-ALPHA. I need the latest stable of 2.3, which I thought was 2.3.2?

    #137062
    Kaliceos
    Participant

    I’m not good enough in PHP and wordpress filters to help you, but you should check the diff between 2.3 and 2.4 for the /includes/common/functions.php around line 1158. Some changes were made to the bbp_parse_args function.

    Otherwise, you can edit (or create) your theme’s bbpress/loop-single-forum.php and edit the bbp_list_forums() line 30 to bbp_list_forums(array (‘separator’ => ‘<br />’)). That should do the trick.

    #137056
    PureLoneWolf
    Participant

    Hi there

    I have bbPress (along with BuddyPress) on two, fundamentally, identical websites.

    However, on http://www.wolflan.com, I have no issues, but on clan.wolflan.com I have a couple of weird ones.

    They are both even using themes from the same author.

    On wolflan.com, I was able to use

    function custom_bbp_list_forums() {
      $args['separator'] = '<br />';
     
      return $args;
    }
     
    add_filter('bbp_before_list_forums_parse_args', 'custom_bbp_list_forums' );

    in my themes functions.php, and therefore get the sub-forums on their own line. Additionally, I was able to add individual forums to the site navigation menu (Appearance/Menus).

    On clan.wolflan.com I was able to get the sub-forums on their own line, up until I upgraded to 2.4. At which point, my private forums moved to the bottom and the code above stopped putting the sub-forums on their own line. Today, I decided that I would like to have forums on the navigation and noticed that I have no option for this.

    Both sites are running an identical plugin list, they are both on the latest versions of all plugins and are also running WP3.6.1 as of this morning.

    Would anyone have any ideas?

    I have linked to images that show the issue:

    wolflan.com
    Fully working, modded functions.php
    fullworkingfunctionsmod.png
    Fully working, wordpress menu editor
    fullworkingmenueditor.png

    clan.wolflan.com
    Not working, modded functions.php
    nonworkingfunctionsmod.png
    Not working, wordpress menu editor
    nonworkingmenueditor.png

    Would anyone have any ideas as to what I can do to solve these two issues?

    Many thanks
    Dave

    #137048
    inspirationally
    Participant

    Hello,

    after exactly 10 years and over 500.000 posts with our board deppheads.com running with Woltlab Burning Board (right now version 3.1.8), social networks have sort of won – instead of 150 new posts the day we have now maximum 5 posts. WBB4 will be coming out soon, so this is the right time to sell my WBB license and move it all to my site johnny-depp.org, powered by WordPress. This is where I seek help.

    I already deleted inactive members, so that we now have “just” over 300, but I don’t want to delete all the written things like movie reviews and serious discussion, as this is still the home of many. So there are 500.000 posts and nearly 10.000 topics to be imported.

    I edited the example.php and so far it worked with importing members and forums (just on a test WordPress installation for now).

    However, there are some problems/questions I’ve come up with and I’m almost sure, there will be more following.

    1. there is, equally to phpBB, the problem, that there are topics and posts, and the first post of the topic has to become “topic content” of WBB.
    Here I used

    // Topic content.
    // Note: We join the posts table because topics do not have content.
    $this->field_map[] = array(
    'from_tablename' => 'wbb1_1_post',
    'from_fieldname' => 'message',
    'join_tablename' => 'topics',
    'join_type' => 'INNER',
    'join_expression' => 'USING (threadID) WHERE wbb1_1_post.postID = wbb1_1_thread.firstPostID',
    'to_type' => 'topic',
    'to_fieldname' => 'post_content',
    'callback_method' => 'callback_html'
    );

    Unfortunately, I get the error, that wbb1_1_post.message does not exist:

    WordPress database error: [Unknown column 'wbb1_1_post.message' in 'field list']
SELECT convert(wbb1_1_thread.threadID USING "utf8") AS threadID,convert(wbb1_1_thread.replies USING "utf8") AS replies,convert(wbb1_1_thread.boardID USING "utf8") AS boardID,convert(wbb1_1_thread.userID USING "utf8") AS userID,convert(wbb1_1_post.message USING "utf8") AS message,convert(wbb1_1_thread.topic USING "utf8") AS topic,convert(wbb1_1_thread.time USING "utf8") AS time,convert(wbb1_1_thread.lastPostTime USING "utf8") AS lastPostTime FROM wbb1_1_thread AS wbb1_1_thread LIMIT 0, 100

    But it does!
    I attached both, my wbb3.php import script and the database structure of the most important tables, here you go:
    http://deppheads.com/uploads/wbb.txt
    http://deppheads.com/uploads/database_structure.txt

    2. I hope/guess, this is also the reason that all topics (once I remove that passage that produces an error) are started either by Anonymous or by ME (although I haven’t done it)?

    3. some users are twice now (like myself..who have been admins of wordpress and users of the forum). Can I simply merge them with
    UPDATE wp_posts SET post_author = ‘1’ WHERE post_author = ‘2’; and it will count for the forum, too?

    4. the passwords – in WBB they are hashed by this:
    $passwort = sha1($row->salt.sha1($row->salt.sha1($_POST[‘passwort’])));
    so what do I write at the end of wbb3.php
    public function authenticate_pass( $password, $serialized_pass ) {
    $pass_array = unserialize( $serialized_pass );
    return ( $pass_array[‘hash’] == md5( md5( $password ). $pass_array[‘salt’] ) );
    }
    or is this impossible and the users have to get the new password by mail?

    5. the imported users have no “Forum Role”. Is is “normal”? Is there any chance to automatically give them the forum role “Participant”?

    6. do I have to keep the wbb3.php “forever” because of the passwords or can I delete it one day, even if not all members have com back yet?

    7. until now we have everything like private messages, profiles, friends and especially user groups (Moderators, crew members) with hidden forums. Do I see correct, that I can install both, import bbpress and afterwards attach for example our “Mods Only” to the group “Moderators” as group forum?

    8. I see that every user gets a new User ID – old IDs are saved in table _bbp_converter_translator – will that table be kept? Maybe by this I have a chance to later import – somehow – private messages for buddy press!?

    Alone if my first point is solved, I’d be thankful.

    Kind regards, inspirationally.

    #137035
    Kaliceos
    Participant

    Hi,

    I’m in the process of migrating a phpBB forum to WordPress with bbPress. I don’t know if the bbPress style is better but my users are used to the phpBB style for displaying Forums on the main page. So I tried to reproduce that layout in bbPress using categories. With the default theme, I was not happy with the way it looked. After a quick search in these forums, I saw some interesting topics from @lynq (here and there) but it didn’t work as intended in the last bbpress release and ticket #1958 has been moved to 2.6.

    So after a few hours of searching codex, and a lot of tries, I managed to do what I wanted. As there is still some demand in Lynq’s topic, I thought I should share my little work.

    I’m not a developper, so my code may be a little messy, but it works as intended. I’ve tried using the bbpress functions, and commented my code. If any PHP expert would like to review it and make it better, any feedback is welcome.

    The only file to change is loop-forums.php with this code.
    You just need to create it and paste the code. Then upload it to /wp-content/your-theme/bbpress/. Use a child-theme if you don’t want to loose it on next theme update.

    The forums are not yet online, so here are some screenshots with descriptions. (In French, because, as you may have noticed, English is not my native language 🙂 )

    I’ve tested many situations (even a category inside a forum, which bbpress doesn’t consider anymore as a category, probably normal behavior) and I think everything works as intended. Feel free to report any bug.

    #137028
    Stephen Edgar
    Keymaster

    Ahhh… Yes… That would make sense, probably a dedicated ‘User CSV Import’ plugin eg. https://wordpress.org/plugins/search.php?q=csv+user plugin that matches your requirements.

    You shouldn’t have to assign passwords, users can do this themselves later.

    Once you have your users you will want to update your topic.csv & reply.csv files with the new user ID’s.

    #137017
    matrixd
    Participant

    btw. did anyone else notice that the latest bbpress killed the display of the date of the latest post/reply as well as the display of the post author?

    Its simply not showing anymore even though I checked the box in the widget settings

    Your answer is here

    #137008
    Jamil Ahmed
    Participant

    Hi,

    I just used this shortcode [bbp-topic-tags] in widget and also in template file and its showing the tags but with <br> tag after each …. tag. Its means all tag clouds are displaying in a long list style and not displaying like wordpress default Tag cloud are displaying.

    Is this bug or please help to fix thanks

    #137007
    Sven
    Participant

    Update: When I switch the editor in the WordPress backend, it will shown in the bbPress frontend, too. But when I switch from visual to text and back, then again the above error is shown and I have to switch back in the backend.

    #136990
    Stephen Edgar
    Keymaster

    Firstly, thanks for looking further into this, it gave me enough info to run a quick test import.

    bbPress uses WordPress tables and doesn’t create any of its own and not having answers to something you don’t know doesn’t make anyone dumb. 😉

    Ok…. Here we go….

    I installed this plugin https://wordpress.org/plugins/wp-ultimate-csv-importer/

    I realised the csv file had to be split into 3, one for the forum, one for topics and one for replies. Here is a copy of the 3 CSV files I used https://gist.github.com/ntwb/6532360

    Next jump into WP Admin and and open up the WP CSV Tool and select ‘Custom Post’ to import from and select your forum.csv file to upload and click import.

    Set the options and field mappings as per this:

    Import Data Configuration

    Select Post Type = forum
    Import with post status = publish
    post_author = post_author
    post_date = post_date
    post_content = post_content
    post_title = post_title

    And click import.

    Topics is up next and you will notice that it includes the field ‘post_parent’ so this is the forum ID that the topic will be imported into. As we do not know the forum ID you will need to open up the bbPress forums panel in wp-admin. Select the forum you want the topics to be imported and this will take you into the forum edit section, look at the URL in your browser and it should be similar to /wp-admin/post.php?post=348830&action=edit what we want here is the ‘348830’ as that will be the parent forum for each topic imported. Update your topic.csv file with this number as per my sample linked above.

    Back to the CSV importer to import your topics.csv

    Set the options and field mappings as per this:

    Import Data Configuration

    Select Post Type = topic
    Import with post status = publish
    post_author = post_author
    post_date = post_date
    post_content = post_content
    post_title = post_title
    post_parent = post_parent

    The replies section is basically the same as the topics section, you need to get the ID orf each topic ID for each reply and update your reply.csv file for each entry.

    Lastly run each of the ‘Recalculate’ and ‘Count’ bbPress ‘Repair Tools’ from wp-admin-> Tools- Forums -> Repair Forums (more info here https://codex.bbpress.org/repair-forums/)

    And I think that’s it, there is a bit of juggling your data around, give it a bash and let me know how it works out for you and here’s the result 🙂

    #136988

    The reason it doesn’t exist is because the audience for this is relatively small compared to users asking for other things. Right now, I see 3 people that need this. That’s not saying it’s trivial, but it’s non-urgent.

    The actual clean-up of this is not super straight forward, unfortunately. There is an uninstall script located in Tools > Forums that will permanently purge most data, but it doesn’t remove user roles yet.

    Open a feature request at http://bbpress.trac.wordpress.org, and we’ll put in a milestone and work towards getting it in.

    #136979
    CC-Cailin
    Participant

    I am integrating bbpress files into my own wordpress theme. But, I don’t get why there is so many loop files?

    “content-archive-forum.php” links to “loop-forums.php”, and inside that, it links to “single-forum.php”.
    Why on earth is there one loop linked to another, and then another, and then another? It sees confusing to me…

    Can’t I just leave out files like “loop-forums.php” and add that code directly in “content-archive-forum.php and do the same with the other files? Or is it necessary to keep them broken up?

    #136977
    harpeml
    Participant

    Hi Again, I looked at the plug-ins and it seemed that WP Ultimate CSV Importer would do the job. I tried importing one of their example CSV files. It lets me choose the post type “forum” although I see no way to provide a forum title. It appeared to work with no errors. However, looks like it took each post entry and created a new Forum with it. I see no way to have the posts come in as topics under an existing or new Forum. Is there a way to change this once the import is done?

    Sorry I am not a PHP person and not familiar with the inner workings of WordPress.

    #136973

    In reply to: Forums Index Issue

    akasocrates
    Participant

    Hi Daniel,

    Actually, I didn’t. In fact, after I installed bbPress, I got hacked and my site went down. In an effort to get to the root cause, I uninstalled bbPress. My host doesn’t think it’s related to bbPress though.

    Either way, I’m stabilizing things before I install bbPress. Moreover, I’m probably going to move to a host that specializes in WordPress security/optimization etc…like WPEngine or Synthesis.

    Hope this helps.

    #136960
    stevendo
    Participant

    Hi,

    I found my own solution to this requirement.
    All I need to do is to add a custom filter to this WordPress hook: posts_orderby_request.

    Steven

    #136938
    Xevo
    Participant

    You can just use the wordpress function in the widget.

    current_user_can

    #136935
    MickeyRoush
    Participant
Viewing 25 results - 11,226 through 11,250 (of 26,869 total)
Skip to toolbar