Search Results for 'code'
-
AuthorSearch Results
-
July 9, 2015 at 2:24 pm #163863
Robkk
ModeratorHow to install bbPress.
The search box I am not sure what you are after really, bbPress comes with its own forum wide search though.
July 9, 2015 at 2:19 pm #163862In reply to: bbPress login widget causes internal error
Robkk
Moderatorread this first while I test out the login widget.
https://codex.wordpress.org/Common_WordPress_Errors#Internal_Server_Error
July 9, 2015 at 12:07 am #163843Topic: How to list the moderators of a forum?
in forum Requests & FeedbackDanilo Borges
ParticipantHi comunity!
I’d like to make a page to list the moderators of a forum. Is there any shortcode, or parameter to put into a query to get this list?
A previous thank for any suggestion 🙂
July 8, 2015 at 7:21 pm #163839In reply to: Fresh install, php warning on all pages in site
ghoush
ParticipantJust found this thread. Getting the error and can’t identify why. Disabling plugins didn’t help.
Editing line 1446 and adding the array() call around the 2nd argument works fine and solves the problem. Is there any reason this is not done in the main code?
July 8, 2015 at 2:09 pm #163831In reply to: Crooked User names & roles
Robkk
ModeratorYour theme is causing the issue , especially its styles for WordPress comments.
Try this custom CSS
#bbpress-forums .reply a { font-size: inherit; line-height: inherit; margin: 0; padding: 0; float: none; color: #c1052c; } #bbpress-forums .reply a:hover { color: #42a202; }Also in your CSS your links do not really have a defined color to them. There is this CSS, but it should be something like this
#c1052cp a, a { color: c1052c; }Uncle Jimmy
ParticipantFirst off, thank you! for pointing me to files Rob, that’s always my first battle. And thanks for giving me the clues to the solutions.
I got notified right when you replied, on Sunday no less! And was SO excited! Thanks for responding on your personal time.
Now I’m just trying to sort out your recommendations..lol! Seeing what files to work on helps me focus my learning curve.
The avatar on the left (in the Edited View of above image) is going to hook back to the authors Buddypress Profile. Seeing that the file is structured in an unordered list helps me understand what’s happening with the php a little better.
I have too much to learn! lol!, I wish there was a forum where services could be traded. :o)
Here is how I sorted it out;
First
This article provided a snippet example that showed me the correct statement to put into a<li></li>right above the topliinloop-single-topic.php, I only had to add theclass="bbp-topic-author-link"to theli, and then tell it to float-left/padding-0,10 in the child-theme/bbPress/css and voila! Wooohoooooo!!! Sorry, I get excited when things go right! lol!Second
I commented out the Forum Titles – Voices/Freshness in loop-topics.php like this<!-- <li class="bbp-topic-voice-count"><?php _e( 'Voices', 'bbpress' ); ?></li> <li class="bbp-topic-reply-count"><?php bbp_show_lead_topic() ? _e( 'Replies', 'bbpress' ) : _e( 'Posts', 'bbpress' ); ?></li> -->..and then move the reply count over & under Freshness, (again, with css)
Third
I’ll be back, I like to keep a record in my Topics here, cause I know!, I’ll forget! lol!July 7, 2015 at 3:11 pm #163810In reply to: User replies are just not showing up!
Robkk
ModeratorTry some troubleshooting first if you haven’t already. Especially the theme and plugin sections.
July 7, 2015 at 3:03 pm #163808In reply to: WP Users Links on BBPress Forums
Robkk
ModeratorUsually when you have BuddyPress installed the Extended Profiles component is activated by default, bbPress forum user profiles links use the BuddyPress extended profiles.
You can see if copying the BuddyPress templates into your child theme would fix things.
July 7, 2015 at 9:02 am #163803Topic: Symbols in front / Forum
in forum Troubleshootingmette_Chr
ParticipantHey guys!
I’m working on forum in bbPress and got some symbols in front of debatforum. It is 5 of these symbols > in the right sidebar. I need to remove these from the code, but can’t figure out which files. Can you help me?July 7, 2015 at 3:54 am #163796In reply to: Tackback spam in Forum
Stephen Edgar
KeymasterThe mail I get also states that You can see all trackbacks on this post here:http://openmindtrips.com/forums/topic/tobacco/#comments, but the trackback is never visible in the front end. Do you think Akismet is useful when it comes to preventing this kind of spam?
@amelliya, that is atopicyou linked to rather than a forum…That said you shouldn’t be getting any trackbacks on any forum/topic/reply 🙁
I’ll go have a look around and see what I can find and if needed add a fix for the next release 🙂
July 6, 2015 at 3:31 am #163775Topic: DNS: Table :select() failed: no such row in the table
in forum TroubleshootingAjitKhodke
Participanthi
When I click DNS settings in the Domain area and get message..Table::select() failed: no such row in the tableHow to resolve this issue?
July 6, 2015 at 2:29 am #163774In reply to: any POLLS that will work with current versions?
Stagger Lee
ParticipantIt is not problem to hardcode WP-Polls function inside specific bbPress custom template, to bypass activating shortcodes in topics and replies.
https://wordpress.org/plugins/wp-polls/installation/
But main problem is User interaction. Shame, WP-Polls is very nice Polls plugin.
It would be needed one modal popup where User opening topic can add new poll. believe Roles and permissions are not problem to fix with plugin filters, but other doesnt exist.It is not acceptable to send Users to separate page (backend) just to make poll for topic they opening.
July 5, 2015 at 7:50 pm #163764In reply to: Is there a ban users system plugin out there?
Stagger Lee
ParticipantThis one is closest I could find. Still has to be guessed to hit 24-48 hours, or exact week time ban for instance. But there is no better out there.
Strange, considering WP has plenty plugins for everything.It is permanent ban logics fault. Sometimes it is enough to cool down User by time ban of 1 day, one week or one month.
https://wordpress.org/plugins/user-blocker/
Maybe you can borrow code and make something for bbPress core.
July 5, 2015 at 4:30 pm #163762In reply to: Loop to only echo out topic titles with a href
boriskamp1991
ParticipantGreat tip, thanks! not using widgets areas but the used the
the_widget()function!July 5, 2015 at 11:36 am #163757In reply to: 500 Internal server error when editing reply
Robkk
Moderatorcopy the bbPress templates to your child theme , it has fixed this issue for me before when using Twenty Fifteen.
July 5, 2015 at 11:29 am #163754Robkk
ModeratorJust copy loop-forums.php from the bbPress plugin templates into a folder called bbpress in your child theme, or edit the one that is already custom from your theme to a child theeme.
Edit this and change Forum to what you want.
<li class="bbp-forum-info"><?php _e( 'Forum', 'bbpress' ); ?></li>July 5, 2015 at 10:54 am #163749Robkk
ModeratorSo maybe, I should create the learning platform as I envision it and take a more relaxed stance on the fact that parts of the profile and member information are visible for guests.
Hey I mean it is your website you can do whatever you want to it. If you feel the information people are passing on your forum should be private you can make it private. The other solution that I thought of is similar to Robins code and that is to just put a conditional if the user is logged in to a bbpress.php file so it would only work on bbPress pages (and hopefully not mess with woothemes sensei). But this would require code editing/WordPress template knowledge.
Robkk
ModeratorIt is definitely possible.
You might want to create custom templates then style it to want you want from there.
copy the loop-single-topic.php file into your child theme in a folder called bbpress. THen add the topic excerpt using
bbp_topic_excerpt()and also place the post count into an icon font.You can add topic thumbnails with a plugin I think, or just manually put that before every topic.
You can also change the heading to comments by copying/editing I think loop-topics.php into your child theme in a folder called bbpress also.
July 5, 2015 at 10:32 am #163747In reply to: BBCode Buttons?
Robkk
Moderatorif you have the pro version they give you an editor for the bbcode/shortcode buttons.
If you are messing with the bbPress default quicktags you can change the buttons output display to bbcode/shortcodes instead of html.
If you look at this you can see that it says you can copy the Javsacript from bbPress to your custom child theme.
https://codex.bbpress.org/theme-compatibility/
So you can copy the editor.js file from bbPress and created custom buttons for your bbPress installation from there. You can see an example to change the output of the code button to just use quote marks.
/* Use backticks instead of <code> for the Code button in the editor */ if ( typeof( edButtons ) !== 'undefined' ) { edButtons[110] = new QTags.TagButton( 'code', 'code', '<code>', '</code>', 'c' ); QTags._buttonsInit(); }This will I think use the bold, italics , and lists format that they use in the plugin.
/* Use some bbcode outputs for the quicktags editor in bbPress */ if ( typeof( edButtons ) !== 'undefined' ) { edButtons[10] = new QTags.TagButton( 'strong', 'b', '[b]', '[/b]', 'b' ); edButtons[20] = new QTags.TagButton( 'em', 'i', '[i]', '[/i]', 'i' ); edButtons[80] = new QTags.TagButton( 'ul', 'ul', '[ul]', '[/ul]', 'u' ); edButtons[90] = new QTags.TagButton( 'ol', 'ol', '[ol]', '[/ol]', 'o' ); edButtons[100] = new QTags.TagButton( 'li', 'li', '[li]', '[/li]', 'l' ); QTags._buttonsInit(); }July 5, 2015 at 2:47 am #163744Topic: BBCode Buttons?
in forum ShowcaseMoobs
ParticipantI’m looking for a way to get bbcode buttons for users. I have the gd bbpress toolbox, but I’d like to have buttons for those codes on the toolbar. Any suggestions?
July 4, 2015 at 3:56 pm #163735In reply to: Change meta/page title for user pages
project_subdomain
Participantok, the code above could not work.
the remaining issue comes from a different singular/plural form of “Your” in my language.
came across this, but I’m not sure what’s been the specific purpose of that changeset:
trac 5105July 4, 2015 at 3:48 pm #163734Robkk
ModeratorHmm I probably need to contact the author about the incompatibility with the WooThemes Sensei online courses, or I will just check out what is causing the issue later.
Robins zip file does not contain a plugin, it is just custom bbPress templates with some conditional code.
You can email me about all these issues, and also since this topic is messing up too. I am going to be busy today though because of celebrating July 4th with the family though, but I will be there to help you out definitely tomorrow.
July 4, 2015 at 3:24 pm #163731orko9696
ParticipantGreat to know that you developed the plugin, this some sort assures me of my solution. But the problem still persists with the code you provided, now it shows
Parse error: syntax error, unexpected T_STRING in /home/joshtaylor/public_html/wp-content/themes/flycase/functions.php on line 102July 4, 2015 at 10:33 am #163727Anonymous User
InactiveO.k. I deinstalled the members only plugin and installed the Functionality plugin.
With this and your code snippet, robkk, I was able to hide the forum/topic descriptions. I also found a code snippet to redirect all bbpress feed requests.
Now, I found this to hide the user page:
But I am wondering:
– Is that update safe?
– Is there a way to solve the same in functions.php or .htaccess instead of starting with a third approach to get familiar with? I have seen something like returning the user profile blank. Unformatted as they are they are useless anyway.Nicole
July 4, 2015 at 5:52 am #163719In reply to: bbpress full width help (removal of sidebar)
mtupuschies
ParticipantHi,
try the following:1. In your themes folder create a new folder called “bbpress”
2. Then go to: ../wp-content/plugins/bbpress/templates/default/extras
3. Copy all these files into the folder you created in step one.
4. Edit the files in ../wp-content/themes/marketica/bbpress:Every file in there has the line (close to the bottom):
<?php get_sidebar(); ?>
Change this to:
<?php /*get_sidebar();*/ ?>This should completely hide the sidebar. Otherwise maybe contact the author of the theme. Maybe the theme already contains forum template which may overwrite the bbpress originals.
Hope I could help!
-
AuthorSearch Results