Search Results for '"wordpress"'
-
AuthorSearch Results
-
October 14, 2015 at 12:01 pm #167818
gene-stevo
ParticipantHi Guys,
I’ve been sort of getting on with bbpress installation but have hit a wall.
The page designated to host the forums isn’t showing my default WordPress left side bar.
I think I’ve unticked and re-ticked every option on every bit of setting I can find but it still wont show. I’ve even installed Content Aware Sidebars with the idea of inserting one that way but I cant get that to work either.
What the heck am I missing (I’m a WP newbie). WP: 4.3.1 Theme: Jolene
The affected page is here.
Club News & Forums
(the password to these learn-as-I-go pages is ccc but don’t tell anyone.
Cheers in advance,
Eugene.October 14, 2015 at 10:39 am #167812In reply to: Members account details
Pascal Casier
ModeratorHi blacklavaa
If you just use bbPress, you should have normal wordpress users. So on your dashboard, you should find them under ‘Users’.
Pascal.
October 14, 2015 at 9:59 am #167808In reply to: Advertica Lite Theme > CSS issues with forum replies
Robkk
ModeratorIt is a common issue where CSS for WordPress comments reply link has conflicts with actual reply posts in bbPress.
Copy this custom css in your child themes style.css file or in anywhere you can put custom css like in a custom css plugin.
#bbpress-forums .reply { font-size: inherit; padding: inherit; position: relative; right: inherit; top: inherit; }October 14, 2015 at 7:00 am #167800In reply to: Strange cache issues (in profile and topic count)
Pascal Casier
Moderator2 different plugins (unfortunately) for now:
– WP Overview (lite)
– Send System InfoThanks,
Pascal.October 14, 2015 at 4:20 am #167794Topic: Custom URL schemes for anonymous users
in forum TroubleshootingPittNZK
ParticipantI’m currently developing an iOS app along with a WordPress site with the bbPress plugin.
I would like to allow any user to easily post links with custom schemes in the forum like :
myappname://badebidobudy/fdjlkqsfj
I saw that in bbPress an admin can indeed post a link and its href is not interpreted so it remains :
href=”myappname://badebidobudy/fdjlkqsfj”
and bbPress tells me why :
> Your account has the ability to post unrestricted HTML content.
But when an anonymous user wants to do this, the custom scheme is removed and the resulting a tag href is :
href=”//badebidobudy/fdjlkqsfj”
So my question is : how can I configure (or tweak) WordPress or bbPress to at least accept my url scheme or even recognize a raw link with a custom scheme ?
October 14, 2015 at 3:29 am #167791In reply to: Bulk-move bbPress topics
Pascal Casier
ModeratorYou ask, you get ! Here you go : https://wordpress.org/plugins/bbp-move-topics/
Please check the sticky topics on the support tab for upcoming things.
Try it and PLEASE let me know how it goes (if bad: support tab, if good: review).
For all suggestions or issues about the plugin, make sure to use the support tab there and NOT this global thread anymore.Enjoy the moves,
Pascal.October 13, 2015 at 5:46 pm #167786In reply to: How to disable Nonce check
gperez-tl
Participant@casiepa It’s too late for that. But I’ll try to disable each nonce check manually (from the theme)
@robkk This bug is unrelated to “restore trashed topics” and I don’t know how to reproduce it. But I’d close this thread since the nonce functionality is part of WordPress and not bbpress, right? And also the existence of the nonce check is responsibility of the theme, right?Thanks, both of you.
October 13, 2015 at 5:09 pm #167780In reply to: Possible issue untrashing topics
Robkk
ModeratorThe fix will make it into 2.6 or earlier I bet.
Haven’t tested the latest patch but I can assume that the issue could be resolved.
October 13, 2015 at 5:03 pm #167779In reply to: Strange cache issues (in profile and topic count)
Robkk
ModeratorPost the code you are using for the custom howdy message in the toolbar. I do not think this would cause an issue but just double checking.
Do the same thing with the profile menu items code.
Just know that you said these were bbPress’s issue although the menu system and the WordPress toolbar are both part of WordPress. The registered menu and menu location are your theme. I do not know how bbPress could cause an issue with this.
So, (visiting any author’s profile and) clicking on some of these items will show the author’s data, while clicking in others will retrieve current user profile data or something.
Wait so clicking on anyone’s frontend forum profile could show the current users profile for some reason, or is it just the menu links as you stated.
You did not edit the user profile templates heavily? you said you are receiving issues with users profiles.
IF you haven’t already try to track down what is causing the issues you are getting. Since you have a custom theme see if the issue persists in a default theme like twenty twelve, deactivate all plugins but bbPress.
Your profile pages shouldn’t just be magically be cached by bbPress.
You may need to create me a test user account so that I can confirm of the issue you are getting, and to also test other areas the cache issue might be present.
October 13, 2015 at 2:58 pm #167772In reply to: Possible issue untrashing topics
gperez-tl
ParticipantSorry for the bump. But this is happening still.
Wordpress version 4.3.1
bbpress version 2.5.8October 13, 2015 at 2:32 pm #167771In reply to: Strange cache issues (in profile and topic count)
mica123
ParticipantI really wouldn’t know how to do this in my case.
All I can say is that I copied all of my WordPress and database to another site to test it there and I have absolutely no problems there. If I don’t get anywhere with my webhost, I’ll probably have to find another webhost – but I don’t really want to go down that route.October 13, 2015 at 1:07 pm #167765In reply to: BBPress Front-End Add Forum
Robkk
ModeratorYes as @casiepa said there is a limit of forums that can be displayed on the forum root page on yoursite.com/forums by default, and it is 50. It is because you do not really need to use more than 50 forums on your site and it is encouraged that you would need to structure your forums a little better. It is filterable to display more on the forum archive though.
Glad you are sorted on the create forum form. While there is no edit and delete button from the frontend, if you are using the WordPress toolbar on your site, if you go to a single forum you should see an edit forum menu item in the toolbar that leads to the backend, if you edit the forum you can also trash it from there too. Hopefully that will help a little bit.
October 13, 2015 at 12:54 pm #167763In reply to: Strange cache issues (in profile and topic count)
gperez-tl
ParticipantHi. Yes, I edit a file, add a blank line or something and save. Files in my case are:
user-profile.php
user-replies-created.php
user-subscriptions.php
etcI don’t know if the names are the conventional names or just the ones my theme set.
Anyway there’s no real need to do this. Reloading with ctrl+F5 usually do the trick.
I don’t have a real solution yet. And I’m not sure if the problem is with bbpress or wordpress. Or with something else. But I know wordpress use to cache stuff. That’s clear when you develop a plugin and things just don’t change (unless you add rules to .haccess).
October 13, 2015 at 12:18 pm #167762In reply to: Remove Email Verification
Pascal Casier
ModeratorHi sey88,
If it’s specifically about BuddyPress, then you better ask in another forum, but it seems plugin exists there too (e.g. https://wordpress.org/plugins/bp-disable-activation-reloaded/ ).
Pascal.
October 13, 2015 at 11:07 am #167757In reply to: Remove Email Verification
Robkk
ModeratorYou just talking about the default WordPress registration process right?? If you have BuddyPress installed also, this has an activate link process too. I am just making sure since BuddyPress is one of the most used plugins in conjunction with bbPress.
As @casiepa said it is possible to use a frontend form plugin to just get around this whole process activation process.
October 13, 2015 at 8:21 am #167751In reply to: Remove Email Verification
Pascal Casier
ModeratorHi sey88,
This seems wordpress related and not bbpress related.
On my site I have the ‘Theme my login’ plugin installed where in the ‘Moderation’ part I have chosen not to send the email verification.Pascal.
October 13, 2015 at 4:25 am #167743In reply to: Auto Subscribe
Pascal Casier
ModeratorHi kamenlee,
First of all, you can refer to https://bbpress.org/forums/topic/new-users-auto-subscribe-to-one-forum/ if you know how to code and try from there to automate.
Otherwise you can start with this plugin and perform it manually if somebody registers to your site (if your userbase is not that big) : https://wordpress.org/plugins/bbp-manage-subscriptions/ . The ‘automation’ and ‘bulk options’ are not yet there but should hopefully come in some weeks.
Pascal.
October 13, 2015 at 4:17 am #167742In reply to: Forum Post ID
Pascal Casier
ModeratorHi aycreative,
As Robkk asked, please explain a bit better what you want to obtain.A lot is happening in wordpress and bbpress, so post IDs are growing all the time. Every post, page, revision, email sent, topic, reply, … takes the next number. This means that adding 2 topics with 5 minutes in between could result is an increase of post ID of tens or hundreds because of things happening in wordpress.
Pascal.
October 13, 2015 at 2:26 am #167740Topic: Phpbb import failed, no replies shown
in forum Troubleshootingbarbarabax
ParticipantHello, I need your help desperately! It’s one month now that i try to import my old forum into bbpress. Before, it was on vbulletin and i had no success. So i migrated vbulletin on a fresh phpbb installation and from there i’ve tryied again to migrate on bbpress. But this time is even worse!
I have the following problems:
forum repair recalculate the position of each reply gives me a blank page
on front page replies are not present, there’s just the first topic
on backend, if i try to access to replies, i have internal server error (when i’ve imported vbulletin i had the same 2 problems but at least i could access replies from backend)
I’m almost giving up as i lost so much time on it and i’m still stucked with the same problems.
Please help me!
Wordpress 4.3.1
BBPRESS 2.5.8
Theme: Hueman (issues are the same also on theme twenty twelve ecc)
noimamme.it/forums
Thanks
BarbaraOctober 12, 2015 at 10:58 pm #167732In reply to: How do I display the current users username?
Robkk
ModeratorI just split your reply into a topic so that you can have your own topic about this.
Please do not bump topics, especially topics that are about 8 years old.
If you are using the latest bbPress plugin.
To get the user’s username use
<?php global $current_user; get_currentuserinfo(); echo $current_user->user_login; ?>https://codex.wordpress.org/Function_Reference/get_currentuserinfo
You can also just use the WordPress toolbar.
October 12, 2015 at 10:30 pm #167730In reply to: Cannot login to bbPress forum
Robkk
ModeratorWhere do I add those lines of code?
It is CSS put it in your child themes style.css file, a custom css plugin, or anywhere you can put custom css.
I assume you want me to edit one of the PHP files
No, never edit the plugin core files, unless you are 100% sure you know what you are doing. Since you are a novice, just do not do it.
I don’t know what “multisite” is.
Since you do not know what it is, I am going to assume you do not have it. You do not need it to solve this issue so no need to install any plugins, just curious if you have it. I see it is probably that you have a test enviroment of WordPress because you are planning on migrating to a WordPress/bbPress install from phpBB.
Yes, your deleteme user does appear in the Users list.
Does it have the Participant forum role too?
Alright, so I assume you’re talking about Peter’s Login Redirect plugin, and I assume I’ll need to edit the settings under Settings -> Login/logout redirects, correct?
You seem to be getting that together. Not sure why you are redirecting to the forums especially a specific forum, but yeah you got it.
I created a test Subscriber user, which in fact is redirected upon logging in, but isn’t logged in (of course that code you recommended still needs added in).
The code I gave you helped remove the bullet list displaying in your forums.
Again thank you for trying to help Robkk, but I would definitely like it if you could be a bit more descriptive in what I need to do to fix this login problem
We still have to troubleshoot what is causing the user to not seem to be have access to the forums.
Try some of these troubleshooting steps listed in this guide to see if it could be theme/custom theme related like if you copied the bbPress customizable templates into your child theme and edited them and messed something up on accident, check to see if a plugin could be causing an issue, you can check to see if caching could be an issue by flushing cache from your site, if you edited the bbPress and ever do not remember what you edited you can reinstall a fresh version of the plugin to see if it fixes the issue also.
Do not just go deleting cache files from WordPress or code in bbPress.
October 12, 2015 at 12:11 pm #167723In reply to: You must be logged in to reply to this topic
mica123
ParticipantOctober 12, 2015 at 9:19 am #167720In reply to: Bulk-move bbPress topics
Mei Ling
ParticipantHello,
We have done this… we are still testing it. Be careful use VPS:
<?php
/**
* Now that you have your custom column, it’s bulk/quick edit showtime!
* The filters are ‘bulk_edit_custom_box’ and ‘quick_edit_custom_box’. Both filters
* pass the same 2 arguments: the $column_name (a string) and the $post_type (a string).
*
* Your data’s form fields will obviously vary so customize at will. For this example,
* we’re using an input. Also take note of the css classes on the <fieldset> and <div>.
* There are a few other options like ‘inline-edit-col-left’ and ‘inline-edit-col-center’
* for the fieldset and ‘inline-edit-col’ for the div. I recommend studying the WordPress
* bulk and quick edit HTML to see the best way to layout your custom fields.
*/
add_action( ‘bulk_edit_custom_box’, ‘manage_wp_posts_be_qe_bulk_quick_edit_custom_box’, 10, 2 );
//add_action( ‘quick_edit_custom_box’, ‘manage_wp_posts_be_qe_bulk_quick_edit_custom_box’, 10, 2 );
function manage_wp_posts_be_qe_bulk_quick_edit_custom_box( $column_name, $post_type ) {switch ( $post_type ) {
case ‘topic’:
switch( $column_name ) {
case ‘bbp_topic_forum’:
?><fieldset class=”inline-edit-col-left”>
<div class=”inline-edit-col”>
<label>
<span class=”title”>Deplacer dans le forum</span>
<span class=”input-text-wrap”>
<select name=”deplacer”>
<option value=”Null”></option>
<?php /* recuperation des forums “forum” */
$args = array(
// ‘post_parent__not_in’=> array( 0 ) ,
‘post_type’ => ‘forum’
);
$forums = new WP_Query( $args );
// boucle de test affiche en debug id et titre forum
if ( $forums->have_posts() ) {
while ( $forums->have_posts() ) {
$forums->the_post();
echo ‘<option value=”‘.$forums->post->ID.'”>’.get_the_title() . ‘</option>’ ;
}
}
wp_reset_postdata();?></select>
</span>
</label>
</div>
</fieldset><?php
break;
}
break;
}
}/**
* When you click ‘Quick Edit’, you may have noticed that your form fields are not populated.
* WordPress adds one ‘Quick Edit’ row which moves around for each post so the information cannot
* be pre-populated. It has to be populated with JavaScript on a per-post ‘click Quick Edit’ basis.
*
* WordPress has an inline edit post function that populates all of their default quick edit fields
* so we want to hook into this function, in a sense, to make sure our JavaScript code is run when
* needed. We will ‘copy’ the WP function, ‘overwrite’ the WP function so we’re hooked in, ‘call’
* the original WP function (via our copy) so WordPress is not left hanging, and then run our code.
*
* Remember where we wrapped our column data in a <div> in Step 2? This is where it comes in handy,
* allowing our Javascript to retrieve the data by the <div>’s element ID to populate our form field.
* There are other methods to retrieve your data that involve AJAX but this route is the simplest.
*
* Don’t forget to enqueue your script and make sure it’s dependent on WordPress’s ‘inline-edit-post’ file.
* Since we’ll be using the jQuery library, we need to make sure ‘jquery’ is loaded as well.
*
* I have provided several scenarios for where you’ve placed this code. Simply uncomment the scenario
* you’re using. For all scenarios, make sure your javascript file is in the same folder as your code.
*/
add_action( ‘admin_print_scripts-edit.php’, ‘manage_wp_posts_be_qe_enqueue_admin_scripts’ );
function manage_wp_posts_be_qe_enqueue_admin_scripts() {// if code is in theme functions.php file
wp_enqueue_script( ‘manage-wp-posts-using-bulk-quick-edit’, trailingslashit( get_bloginfo( ‘stylesheet_directory’ ) ) . ‘js/bulk_quick_edit.js’, array( ‘jquery’, ‘inline-edit-post’ ), ”, true );// if using code as plugin
//wp_enqueue_script( ‘manage-wp-posts-using-bulk-quick-edit’, trailingslashit( plugin_dir_url( __FILE__ ) ) . ‘js/bulk_quick_edit.js’, array( ‘jquery’, ‘inline-edit-post’ ), ”, true );}
add_action( ‘save_post’, ‘save_deplacer’);
function save_deplacer() {
global $wpdb;if( $_GET[‘post_type’]=’topic’ && $_GET[‘bulk_edit’]=’Mettre à jour’){
$post_ids= $_GET[‘post’];
$forum_id = $_GET[‘deplacer’];
foreach($post_ids as $post_id){$wpdb->query(“UPDATE $wpdb->posts SET post_parent = $forum_id WHERE ID = $post_id “);
}
}
}
/*echo ‘'; print_r($post_type); echo '
‘;
die();Array
(
[s] =>
[post_status] => all
[post_type] => topic
[_wpnonce] => dcfdf56a2d
[_wp_http_referer] => /public/wptest/wp-admin/edit.php?post_type=topic&paged=1
[action] => edit
[m] => 0
[bbp_forum_id] =>
[paged] => 1
[mode] => excerpt
[_status] => -1
[tax_input] => Array
(
[topic-tag] =>
)[Deplacer] => 39
[bulk_edit] => Mettre à jour
[post_view] => excerpt
[screen] => edit-topic
[post] => Array
(
[0] => 43
[1] => 41
)[action2] => -1
)*//**
* Step 3: display an admin notice on the Posts page after deplacer
*/
add_action(‘admin_notices’, ‘custom_bulk_admin_notices’);
function custom_bulk_admin_notices() {
global $post_type, $pagenow ;if( $_GET[‘post_type’]=’topic’ && $_GET[‘bulk_edit’]=’Mettre à jour’){
$messages = array();
$messages[] = bbp_admin_repair_forum_meta();
$messages[] = bbp_admin_repair_topic_meta();
$messages[] = bbp_admin_repair_freshness();
$messages[] = bbp_admin_repair_reply_menu_order();
$messages[] = bbp_admin_repair_forum_topic_count();
$messages[] = bbp_admin_repair_forum_reply_count();
$messages[] = bbp_admin_repair_topic_reply_count();
$messages[] = bbp_admin_repair_topic_voice_count();
$messages[] = bbp_admin_repair_user_topic_count();
$messages[] = bbp_admin_repair_user_reply_count();//if($pagenow == ‘edit.php’ && $post_type == ‘topic’ && isset($_GET[‘deplacer’])) {
$messageori = sprintf( _n( ‘Topic déplacé.’, ‘%s topics déplacés.’, $_REQUEST[‘deplacer’] ), number_format_i18n( $_REQUEST[‘deplacer’] ) );
foreach ($messages as $message){
echo'<div class=\”updated\”><p>’.$message[1].'</p></div>’;
}
echo “<div class=\”updated\”><p>{$messageori}</p></div>”;
}
}?>
October 12, 2015 at 8:31 am #167719In reply to: Cannot login to bbPress forum
names_are_useless
ParticipantWhere are the cache files located? And I assume you mean bbPress cache files? Or do you mean WordPress cache files as a whole?
October 12, 2015 at 5:31 am #167715In reply to: Cannot login to bbPress forum
names_are_useless
ParticipantThank you for trying to help Robkk.
Where do I add those lines of code? I assume you want me to edit one of the PHP files (click “Edit” for bbPress plugin). I just tried adding it to “bbpress/bbpress.php” (since its the first php file that comes up) at the end of the file. I received a “Parse error: syntax error, unexpected ‘-‘, expecting ‘(‘ in /var/www/vhosts/laysofalthas.com/epochgames/wordpress/wp-content/plugins/bbpress/bbpress.php on line 933”. There’s a bunch of other php files, and I have no idea where I’m supposed to put that code snippet (novice here), so I’m just going to delete that code and wait for further instructions.
I don’t know what “multisite” is. Looking through the plugin list, I see several (Multisite Toolbar Additions, Multisite Global Search, etc). Would you recommend I add one of them? Can you give me the specific name of one?
Alright, so how can I fix it so “yoursite.com/wordpress/wp-login.php” leads to “yoursite.com/wp-login.php” instead?
Yes, your deleteme user does appear in the Users list.
Alright, so I assume you’re talking about Peter’s Login Redirect plugin, and I assume I’ll need to edit the settings under Settings -> Login/logout redirects, correct? I have now set the “administrator” role to go to the URL “yoursite.com/wordpress/wp-admin/” and it works perfectly, so thank you. I have also set it so Subscribers are redirected to “http://epochgames.co.uk/forums/forum/test/” when they login. I created a test Subscriber user, which in fact is redirected upon logging in, but isn’t logged in (of course that code you recommended still needs added in). Can’t say I’m overjoyed that I have to change the URL to the forums every time I want to login as an administrator account, but at least I can get to the Dashboard now without having to memorize the URL.
Again thank you for trying to help Robkk, but I would definitely like it if you could be a bit more descriptive in what I need to do to fix this login problem. I am very much a novice still with WordPress.
-
AuthorSearch Results