Search Results for 'code'
-
AuthorSearch Results
-
October 2, 2015 at 6:04 pm #167363
In reply to: Login, Register, Lost Password links
Robkk
ModeratorIn the code I posted the menu links should lead to the default WordPress forms.
Other plugins can add frontend forms like Theme My Login, woocommerce, some other membership plugins.
I am basically saying the bbPress forms are incomplete in functionality, it might be better to use something else like the default WordPress forms.
October 2, 2015 at 5:13 pm #167357In reply to: Login, Register, Lost Password links
mica123
ParticipantYes, I am using the bbpress forms. Where would I find the default WordPress forms? Also, by other frontend forms – I am not sure what you mean? It is just difficult for me to understand that by not using the bbpress forms, redirects will show error messages without any code?
October 2, 2015 at 5:03 pm #167356In reply to: Login, Register, Lost Password links
Robkk
ModeratorAre you trying to use the bbPress shortcodes in pages for logging in and registering??
These forms are really incomplete in functionality, they don’t redirect back to the login form and show error messages above that form, it just redirects to the default WordPress form to show the error messages. I think using the default WordPress forms or other frontend forms are better for now.
October 2, 2015 at 1:06 pm #167347In reply to: Login, Register, Lost Password links
mica123
Participant@robkk I have now tried your code and it works beautifully. The links show up in the sub-header-menu. The login and logout redirect works too. As I am trying this out on my local computer I don’t know if the reset and lost password redirect would work as well?
There is another problem: if I click on login or reset or lost password button without giving a user name and password, it goes to the standard WordPress login page which is not good at all. Can this be remedied? We are almost there.
Many, many thanks.October 1, 2015 at 10:26 pm #167328In reply to: bbPress Search Bar – Changing Color
GreatOldiesDJ
ParticipantHi and thanks for that update. I saw that little icon but I didn’t realize what it was. Your code change took care of it.
October 1, 2015 at 9:29 pm #167325In reply to: How to change log in text
Robkk
ModeratorI think you just copied
form-user-register.phpinto your theme and added that text, not entirely sure though.October 1, 2015 at 4:49 pm #167318In reply to: bbPress Search Bar – Changing Color
Robkk
ModeratorUse background: none; in the submit buttons CSS. The little icon image is showing.
I edited the other reply I posted code, so you can just copy over the code over again.
October 1, 2015 at 3:53 pm #167316In reply to: Add/Remove from TinyMCE
tkse
ParticipantWow, I’m sorry. I didn’t realize I had forgotten this line.
I noticed the second line I had in my code was to disable the HTML editor, not teeny. However, is it possible to display the HTML editor only for moderators and above?
October 1, 2015 at 3:27 pm #167314In reply to: bbPress Search Bar – Changing Color
GreatOldiesDJ
ParticipantHi again. This code worked perfectly. Thanks you very much for your help!
October 1, 2015 at 3:17 pm #167313In reply to: bbPress Search Bar – Changing Color
Robkk
ModeratorHere try some of this custom CSS, put it in your child theme or in a custom css plugin.
This is for the submit button
#bbpress-forums #bbp-search-form input[type=submit], #bbpress-forums #bbp-search-form input[type=submit] { text-indent: 0; background: none; background-color: #3F51B5; color: #fff; width: auto; height: auto; border-radius: 0; margin-top: 0; }This is for the search input.
#bbpress-forums #bbp-search-form input[type=text], #bbpress-forums #bbp-search-form input[type=text] { border: 1px solid #3F51B5; }October 1, 2015 at 3:04 pm #167312In reply to: Add/Remove from TinyMCE
Robkk
ModeratorYou did add this argument right?? Having this at false shows the full editor. Some button may be not usuable for the forums though, so you need to move them around in the TinyMCE advanced plugin settings.
$args['teeny'] = false;October 1, 2015 at 10:31 am #167309In reply to: Problems with Forum Rating not working
BewitchingFiction
ParticipantAs a minor update, even the word cocktails appears to be blacklisted though I have no idea WHERE this blacklist is – is it possible to just remove that ‘check blacklist’ code from BBPress because it’s ridiculous – I don’t want it to check something that I have no control over just because, especially when I don’t even know where this list is.
October 1, 2015 at 7:17 am #167306In reply to: Add replies (or topic) count to menu
project_subdomain
Participantthanks @robkk. makes sense, think it’s not in the codex.
I’ve got a navigation menu with links to specific topics (made with the backend’s customizer). Would like to add the correct count to each navigation menu link.Suppose that it would be easier to create a new custom navigation menu via functions as it’s not that easy to target the specific locations, right?
But in case you have an idea how to target those customizer created links to add a count, this surely would help for many other things as well.
October 1, 2015 at 3:34 am #167290In reply to: Problems with Forum Rating not working
Robkk
ModeratorHere is the code for that exact error notice. bbp_check_for_blacklist is checking the comment blacklist in Settings > Discussion. Since you said that you do not have anything in the blacklist do you have another plugin with a blacklist that could be hooking into the default comment blacklist??
/** Reply Blacklist *******************************************************/ if ( ! bbp_check_for_blacklist( $anonymous_data, $reply_author, $reply_title, $reply_content ) ) { bbp_add_error( 'bbp_reply_blacklist', __( '<strong>ERROR</strong>: Your reply cannot be created at this time.', 'bbpress' ) ); }October 1, 2015 at 3:05 am #167280nikhilnaik
ParticipantHello @8ball106,
I was looking for this code! I want to know the forums that user is subscribed to! Can you tell me how do I use this code to view the user’s subscribed forums?
October 1, 2015 at 2:21 am #167278Topic: Theme Parts from twenty fifteen
in forum Themesiron_cP
ParticipantHello to ALL!
First, my English is not perfect. But i hope some people understand my problem.
I use the Theme great! But the this theme make same troubble with bbpress. The Answers will displayed in the top of Page, behind the Black Admin Bar. If i change the Theme to Twenty Fifteen it Looks fine! In the Documentation i read, i have to move a page to bbpess.php .. but it will not work .. can anyone tell me what i have to do. i only want the twenty Fifteen Forum Theme code use in my Great! Theme !
Thanks and greets!
IRoN
October 1, 2015 at 1:25 am #167275In reply to: Remove “Link to Existing Content”?
Robkk
ModeratorYou can use this CSS to remove it. Add the CSS where you can add custom css.
.bbpress p.howto { display: none; }October 1, 2015 at 1:22 am #167274In reply to: Remove author column
Robkk
ModeratorWell you can easily customize bbPress by creating a child theme and placing the bbPress templates into that child theme and edit them with no worries.
The author column should be in the loop templates, for example loop-single-reply.php for replies of course. It should be in a div with the class bbp-reply-author. It would be bbp-topic-author if you have are editing the loop-single-topic.php template and so on.
October 1, 2015 at 1:18 am #167273In reply to: Change meta/page title for user pages
Robkk
ModeratorWait the original code really still doesn’t work.
It really did work for me, and I have the latest version of WP too.
October 1, 2015 at 1:02 am #167271In reply to: forums redirected to 404 page
Robkk
ModeratorSorry I missed your reply.
The bbPress error is displayed when there is another plugin causing it.
It is detailed here.
You did to see if was a cache, theme, and plugin issue right, and received no resolutions?
Can you tell me the url you are being directed to instead of the topic pages?? Can you check in your browsers dev tools to tell me the url in the link?
You are experiencing this issue as a logged in registered user right??
Did you try reinstalling bbPress as a last resort?? It is possible for an issue to happen during installation because of some server hiccup.
Has bbPress worked fine before, then it just broke all of a sudden, or was it just broken during a fresh installation??
October 1, 2015 at 12:48 am #167269In reply to: Add replies (or topic) count to menu
Robkk
ModeratorThis is more suited for topics.
bbp_topic_reply_count()Not entirely sure what you are going for to really help more.
October 1, 2015 at 12:45 am #167268In reply to: style my forum like yours
Robkk
ModeratorThe reply form border styles is inherited from your theme.
Do you want to remove the topic and forum descriptions too??
This php code snippet will remove the descriptions. Place this code snippet in your child themes functions.php or in a functionality plugin.
add_filter( 'bbp_get_single_forum_description', 'ja_return_blank' ); add_filter( 'bbp_get_single_topic_description', 'ja_return_blank' ); function ja_return_blank() { return ''; }October 1, 2015 at 12:01 am #167261In reply to: Code to find the user subscribed topics
Robkk
ModeratorThis user said they got forums, but not topics from forums with the code posted in this topic.
How to query recently active topics from user subscribed forums?
Thanks for sometimes helping out here in the forums.
September 30, 2015 at 11:56 pm #167260In reply to: Users’ Profile page is a 404 page
Robkk
ModeratorDid you try some troubleshooting to see if it could be a possible theme issue. Some theme frameworks do not play nice with bbPress’s theme compatibility, so try to check in a default theme to see if it works fine.
I guess you can also ask these questions too.
Did you import any users?
Are you allowing users to register with their email?September 30, 2015 at 11:26 pm #167254In reply to: user profile link giving a 404 error
Robkk
ModeratorHow about having a shortcode that just does it?
Won’t work since profiles are dynamic public pages, might work if it was private profile pages though.
I didn’t see a bbpress ‘users’ shortcode amongst those listed in the documentation.
Because there is none.
@joopstringer where do I add the code you suggested?
His code is SQL query code that you input into phpMyAdmin.
I’m setting up a site and only my admin user page comes up, all others are 404 pages.
It could be many possibilities but I will explain that in your other topic.
-
AuthorSearch Results