Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 8,426 through 8,450 (of 32,519 total)
  • Author
    Search Results
  • #163863

    In reply to:

    Robkk
    Moderator

    How to install bbPress.

    Installing bbPress

    The search box I am not sure what you are after really, bbPress comes with its own forum wide search though.

    #163862
    Robkk
    Moderator
    #163843
    Danilo Borges
    Participant

    Hi 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 🙂

    #163839
    ghoush
    Participant

    Just 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?

    #163831
    Robkk
    Moderator

    Your 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 #c1052c

    p a, a {
      color: c1052c;
    }
    #163825

    In reply to: CSS..?

    Uncle Jimmy
    Participant

    @Robkk

    First 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 top li in loop-single-topic.php, I only had to add the class="bbp-topic-author-link" to the li, 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!

    #163810
    Robkk
    Moderator

    Try some troubleshooting first if you haven’t already. Especially the theme and plugin sections.

    Troubleshooting

    #163808
    Robkk
    Moderator

    Usually 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.

    Theme Compatibility

    Theme Compatibility & Template Files

    #163803
    mette_Chr
    Participant

    Hey 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?

    #163796

    In reply to: Tackback spam in Forum

    Stephen Edgar
    Keymaster

    The 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 a topic you 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 🙂

    AjitKhodke
    Participant

    hi
    When I click DNS settings in the Domain area and get message..

    Table::select() failed: no such row in the table

    How to resolve this issue?

    #163774
    Stagger Lee
    Participant

    It 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.

    #163764
    Stagger Lee
    Participant

    This 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.

    #163762
    boriskamp1991
    Participant

    Great tip, thanks! not using widgets areas but the used the the_widget() function!

    #163757
    Robkk
    Moderator

    copy the bbPress templates to your child theme , it has fixed this issue for me before when using Twenty Fifteen.

    https://codex.bbpress.org/theme-compatibility/

    Robkk
    Moderator

    Just 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>

    Robkk
    Moderator

    So 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.

    https://codex.bbpress.org/theme-compatibility/getting-started-in-modifying-the-main-bbpress-template/

    #163748

    In reply to: CSS..?

    Robkk
    Moderator

    It 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.

    https://codex.bbpress.org/theme-compatibility/

    #163747

    In reply to: BBCode Buttons?

    Robkk
    Moderator

    if 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();
    	}
    #163744

    Topic: BBCode Buttons?

    in forum Showcase
    Moobs
    Participant

    I’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?

    #163735
    project_subdomain
    Participant

    ok, 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 5105

    Robkk
    Moderator

    Hmm 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.

    Contact

    orko9696
    Participant

    Great 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 102

    Anonymous User
    Inactive

    O.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:

    bbPress – Making Profile Pages Private

    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

    #163719
    mtupuschies
    Participant

    Hi,
    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!

Viewing 25 results - 8,426 through 8,450 (of 32,519 total)
Skip to toolbar