Search Results for 'code'
-
Search Results
-
Topic: Paging on custom short code
Hi I am using a custom short code to show about 10 latest replies on my reply dash board.
I get shortcode from this link by applying this code : http://www.daggerhart.com/bbpress-recent-replies-shortcode/what I want is to add paging (nav) at the bottom to show more then 10 replies on other pages. please suggest solutions.
Hello,
I have used Image Upload for BBPress to upload and attach image to forum.
my problem is image is not responsive. It will just shrink its width. I tried playing with firbug and remove image attributes and set max-width to 100%.
It works… Now my problem is which file to edit and how. Im not a coder. I just learned css and have little understanding on php…I am having trouble importing from SimplePress to bbpress. I’m not sure what the table prefix is supposed to be. I tried wp_ and that didn’t import anything. I tried wp_sf (I think that is the beginning of tables for SimplePress but get this error
Repair any missing information: Continue
WordPress database error: [Specified key was too long; max key length is 1000 bytes]
CREATE TABLE wpzu_bbp_converter_translator ( meta_id mediumint(8) unsigned not null auto_increment, value_type varchar(25) null, value_id bigint(20) unsigned not null default ‘0’, meta_key varchar(255) null, meta_value varchar(255) null, PRIMARY KEY (meta_id), KEY value_id (value_id), KEY meta_join (meta_key(191), meta_value(191)) ) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci;Is there anything I can do to get this import done?
Hello:
I have created a log in page but I tested it myself and I logged out. But though I set up the recommended bbPress code for log in, there is no option to log in. When I logged out, I still got this message: “You are already logged in.”
I can’t create a registration form, in spite of creating one with the recommended bbPress shortcode.
Without being able to log in our log out, or register, I can’t invite anyone to my forum.
Sigh.
In the forum settings, it gives the option “Forum root should show” with the choices of “Forum Index” or “topics By Freshness”. How can I have the root show both – the listing of forums, and below it the latest topics?
I know there is a shortcode [bbp-topic-index] which will show the latest topics, but I don’t know where I can put that to have it show on the forum root.
ThanksI am developing an android app for my wordpress forum. Please is there any way I can create new users and login old ones programmatically? Maybe a rest API or something.
Please you can show the code in php or any language of your choice.
Topic: You Forgot a Few Things
Two to be precise.
#1. Registration: I take it you need to set up a page and to add a shortcode.
#2. Lost Password. Again I understand you need to set up a page and add a shortcode.You need to tell people, instead of acting as though they automatically knew this. And in these instructions to the page on installation. In addition, make sure to include the softcodes needed.
Don’t make setting up the plugin any more frustrating than it has to be.
WordPress 4.7
bbPress 2.5.12
Site: https://forum.ait-pro.com/
Custom bbPress/BuddyPress Theme & tested switching to WP Twenty Seventeen Theme
Tried creating a bug ticket on trac, but was not allowed to login and do so.Issue: In previous versions of bbPress this code below worked fine in my Theme functions.php file. As of bbPress 2.5.12 this code is no longer working in my Theme functions.php file. I checked output and bbPress Core code and did not see anything obvious. Output was good. ie $role and $caps, but it appeared that the filter was not being processed in time when the Activity template loaded. So I moved this code to the BuddyPress /plugins/bp-custom.php file and this code works fine. So obviously this some kind of init or loading order type of issue. ie the filter is being processed too late.
// bbPress Disable Topic Tags for Participants function aitpro_get_caps_for_role_filter( $caps, $role ) { if ( $role == 'bbp_participant' ) $caps = aitpro_get_caps_for_role( $role ); return $caps; } add_filter( 'bbp_get_caps_for_role', 'aitpro_get_caps_for_role_filter', 10, 2 ); function aitpro_get_caps_for_role( $role ) { switch ( $role ) { /* Disable Topic Tags for Participants */ case 'bbp_participant': return array( // Primary caps 'spectate' => true, 'participate' => true, // Forum caps 'read_private_forums' => true, // Topic caps 'publish_topics' => true, 'edit_topics' => true, // Reply caps 'publish_replies' => true, 'edit_replies' => true, // Topic tag caps 'assign_topic_tags' => false, // Using false disables allowing Participants to create Topic Tags ); break; default : return $role; } }