Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 10,176 through 10,200 (of 32,504 total)
  • Author
    Search Results
  • #154358
    Robkk
    Moderator

    ok on this you have to contact your theme author and tell them to change this in your theme in its next update.

    in file style.css on line 1475 change .reply a {

    to a.comment-reply-link {

    in the file custom-styles.php in parabola/includes/custom-styles.php
    on line 212 and 213 change

    .reply a { to a.comment-reply-link {

    and .reply a:hover { to a.comment-reply-link:hover {

    they should also change the .reply div class to something else maybe like .comment-reply

    because bbPress has a .reply for all of its replies

    #154351
    Robkk
    Moderator

    @pilxy

    you need to change this css code to make sure its only shows in the comments/replies content.

    im not so sure on how to do this one.

    contact your theme author

    i just checked and they use bbPress for their support forums.

    im sure they would help more than i can right now.

    #154349
    Robkk
    Moderator

    whatever thats in your css that starts with

    .reply a

    is causing the problem.

    #154348

    In reply to: Quicktags out of line

    Robkk
    Moderator

    I’ve also noticed my ‘Submit’ button is way further down the page and out of line with the ‘Tags’ input box, any ideas here too?

    thats normal , you can see it is aligned on bbpress.org because thats something custom.

    bbpress.org uses this css …i guess you can go off of it as an example.
    but it causes an issue on smaller device sizes this will make it collide with the tags input.
    you will need additional media query css to make it look better on smaller devices.

    #bbpress-forums .bbp-reply-form fieldset.bbp-form button {
    float: right;
    margin-top: -120px;
    }

    I can’t also seem to make the quicktags bar the correct width, always seems to over-run the width despite me trying lots of different styles etc.

    you can fiddle with the padding but the below css will not make it over-run.

    #bbpress-forums div.bbp-the-content-wrapper div.quicktags-toolbar {
    padding: 5px 0;
    min-height: 30px;
    width: 100%;
    float: left;
    }

    I’ve still not found how to deal with the strange ‘e’ character,

    i asked if you edited any templates , i didnt really get an answer but if you did,

    it could be an edited reply-form.php and a topic-form.php .

    so if you already copied these files to your child theme, check them out and see if you left a stray character somewhere.

    other than that i guess make a bbpress.php if you havent sometimes if users dont it adds some additional stuff that are only suppose to be on blog posts.

    more info about creating a bbpress.php

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

    #154346
    Robkk
    Moderator

    easy way i think would be to just install this and choose the dark color.

    https://wordpress.org/plugins/bbpress-new-ui/

    you can also use this below css and copy it where ever you can put custom css

    jetpack css module
    custom css plugin
    you can find the exact css in bbpress.css and just replace it with the one im posting.

    you can of course change inherit to and other color like black or its hex #000 for example.

    if im missing something please reply back

    /* header and footer that says AUTHOR , POSTS , VOICES, TOPICS , FORUMS */
    
    #bbpress-forums li.bbp-header, 
    #bbpress-forums li.bbp-footer {
    background: inherit!important;
    border-top: 1px solid #eee;
    font-weight: bold;
    padding: 8px;
    text-align: center;
    }
    
    /* this is the background of the forums and topics that display the title, the freshness stats and so on. */
    
    #bbpress-forums li.bbp-body ul.forum, 
    #bbpress-forums li.bbp-body ul.topic {
    border-top: 1px solid #eee;
    overflow: hidden;
    padding: 8px;
    background: inherit;
    }
    
    /* this is the header that shows the post date and post ID */
    
    #bbpress-forums div.bbp-forum-header, 
    #bbpress-forums div.bbp-topic-header, 
    #bbpress-forums div.bbp-reply-header {
    background-color: inherit;
    }
    
    /* try to make these two different types of dark shades if you care about having an AB color pattern of replies/topics/forums. */
    
    #bbpress-forums div.odd, 
    #bbpress-forums ul.odd {
    background-color: inherit;
    }
    
    #bbpress-forums div.even, 
    #bbpress-forums ul.even {
    background-color: inherit;
    }
    #154339
    wookey
    Participant

    I managed to implement a custom function to search by $forum_id and it’s all working and great, and it was done using the instructions from this page.

    What I need is a way to search by user. Here’s what the search by forum function looks like:

    function my_bbp_filter_search_results( $r ){
    	//Get the submitted forum ID (from the hidden field added in step 2)
    	$forum_id = sanitize_title_for_query( $_GET['bbp_search_forum_id'] );
    	//If the forum ID exits, filter the query
    	if( $forum_id && is_numeric( $forum_id ) ){
    		$r['meta_query'] = array(
    			array(
    				'key' => '_bbp_forum_id',
    				'value' => $forum_id,
    				'compare' => '=',
    			)
    		);
    	}
    	return $r;
    }
    add_filter( 'bbp_after_has_search_results_parse_args' , 'my_bbp_filter_search_results' );

    I tried changing all instances of the word “forum” to the word “user”, but no dice. I tried doing searches like this:
    http://mysite.com/search/?bbp_search=testword&bbp_search_user_id=123

    But nothing I does works and I’ve spent many hours tearing my hair out trying to get it working. I would hugely appreciate any assistance making it happen.
    Thanks

    #154337
    Robkk
    Moderator

    Why would some one pay for support on a non working plugin lol

    its works for other users

    I dont have caching but with all plugins deactivated other then the ones needed for forums its not working

    again im just trying to bring up possible conflicts that might be causing the issue.

    or just give up on having bbCode.

    well i guess you just tell your users that your site has oembed and it can be used in the forums as long as you have Auto-embed Links checked in the forum settings.

    and that any youtube/vimeo video link will automatically embed
    imgur/flickr will automatically embed and so on.

    images from other sources can use the img button in the quicktags toolbar

    and options like bold/italicize/link/block-quote can be used from the quicktags toolbar.

    we have been using block-quote button back and forth so to replace quotes you can do that too.

    list of available oembed providers

    https://codex.wordpress.org/Embeds

    more on forum settings

    https://codex.bbpress.org/forum-settings/

    #154333
    atfpodcast
    Participant

    probably , the guy does have a separate support forum just for premium plugin users

    he might just be busy and more concentrated over there more since the plugin provides income for him

    Why would some one pay for support on a non working plugin lol

    i tested the plugin in the latest firefox and chrome , not IE though.

    it could be a cache system/plugin or a minify plugin minifying the direct quotes plugins javascript wrong but im just guessing right now.

    I dont have caching but with all plugins deactivated other then the ones needed for forums its not working

    i would say contact as much people as you can to help solve the issue.

    or just give up on having bbCode.

    #154331
    Robin W
    Moderator

    1) just use the

    [bbp-single-forum id=$forum_id] – Display a single forums topics. eg. [bbp-single-forum id=32]
    

    shortcode on the page to do that

    2) That can all be done using coding, but would require a lot of code and expertise both within bbpress/wordpress and to link it to a payment product to take the money, and you’ll lose a lot of revenue in commission on 75p payments on say payal, who take a 20p a transaction charge as well as 3.4% commission.

    Ballpark say £100-£200 for a coder to write that all for you (without looking that’s the sort of figure I’d expect to charge to write that, but it could be a lot more)

    You would do better to look at a ‘membership’ site plugin, and take a payment per say ten ‘ads’, and use something like ‘bbp notify’ to know when they’ve posted, and a simple excel spreadsheet which you manually update. Then suspend membership or block posting when they have used up their limit.

    #154329
    Robin W
    Moderator

    At a guess (and I haven’t checked) I’d say that

    bbp_get_forum_id() 
    

    works for a new topic, but returns a null when editing, hense your ‘==’ is never fulfilled.

    Since you should have $topic_id set in either case, maybe try something like

    $forum_id = bbp_get_topic_forum_id( $topic_id );
    

    to get the forum or just use that if editing?

    Have a play and see if that fixes.

    #154328
    Robin W
    Moderator

    you can just untick the toolbar option for each user in dashboard>users and edit a user

    If you want to disable for all but admins, put this in our functions file

    <?php
    
    //disable toolbar for non-admins
    
    if (!current_user_can('manage_options')) {
    show_admin_bar(false);
    }
    

    Functions files and child themes – explained !

    #154326
    Robkk
    Moderator

    I wonder if I said I wanted to go pro I bet he would reply

    probably , the guy does have a separate support forum just for premium plugin users

    he might just be busy and more concentrated over there more since the plugin provides income for him.

    I manually did the quote and it put it in the lower area of the post.

    you probably have to contact your theme author, on how to fix that.

    it might be you have float:left; or clear:left; in the css and that might be causing the issue.
    switching both to none should fix it.

    I don’t see anything with this new plugin either… 🙁 Not even a quote either.

    It’s working in IE not firefox. grrrrrrrrrrr I don’t know why it worked in raindrops when I installed it and now it wont and I cant find any plugins messing with it.

    i tested the plugin in the latest firefox and chrome , not IE though.

    it could be a cache system/plugin or a minify plugin minifying the direct quotes plugins javascript wrong but im just guessing right now.

    i would say contact as much people as you can to help solve the issue.

    hosting support
    plugin support
    theme support

    #154323
    Preston
    Participant

    WordPress Version: 4.0
    bbPress Version: 2.5.4
    Theme: Lightly modified Skeleton (http://themes.simplethemes.com/skeleton/)

    I’m using this code: http://pastebin.com/7NQnubJP to add custom fields in a specific forum. Everything is working great except for when I try to edit an existing topic. When I try to edit an existing topic, the custom fields aren’t displayed on the page, and therefor aren’t editable. Only the normal Title and Content fields are displayed.

    The issue still happens while using an unmodified Twenty Fourteen theme (besides adding the relevant code to the functions.php file, of course).

    I haven’t had any luck finding out what the problem is, but I’m hoping it’s something simple.

    I appreciate any help!

    #154322
    akyboy
    Participant

    Thanks Mr Rob, couldn’t do it without you!!

    I used FF Inspector too (you suggested that to me too) to steal some css goodies i like from this site 🙂

    #154310

    In reply to: Quicktags out of line

    Robkk
    Moderator

    im not sure about the e

    have you been editing templates??

    did your theme come with bbpress templates already in it??

    but i did find this other little bug that shows the little checkbox thats right by Notify me of follow-up replies via email thats all awkward and what not.

    #bbpress-forums fieldset.bbp-form input {
    margin: 0 0 8px;
    width: auto;
    }
    #154309
    Robkk
    Moderator

    the issue now is that your theme already has some !important statements.

    your original blockquote css is

    blockquote {
    font-style: italic !important;
    width: 200px !important;
    float: left !important;
    clear: left;
    }

    since float:left has !important on the end

    and the new css for float:none !important

    my new statement doesnt do anything.

    posting the code into your child themes css stylesheet should fix it.

    since the child themes stylesheet code overwrites the parent themes stylesheet.

    so put it into your child themes stylesheet and see if it works.

    #154308
    akyboy
    Participant

    Hi Rob,

    i have bbpress.css in my theme css folder

    when i was setting it up i read instructions and i think i did it right 😛

    so it is in:
    /themes/tank/css/bbpress.css

    I have used code you just posted and i see difference but still not the way it is supposed to be )

    #154307
    Robkk
    Moderator

    @akyboy

    hopefully you are putting it into your child themes stylesheet
    or in a plugin like jetpacks custom css

    it doesnt have to be in the bbpress.css file, because the code is in your themes stylesheet.

    since it didnt work try this.

    blockquote {
    font-style: italic !important;
    width: 200px;
    float: none !important;
    clear: none !important;
    padding-bottom: 15px;
    }
    #154304
    Robkk
    Moderator

    try this , put it anywhere you can put custom css

    blockquote {
    font-style: italic !important;
    width: 200px !important;
    padding-bottom: 15px;
    }
    #154295
    shriji252
    Participant

    thanks bud

    I had @import in my child theme

    did as mentioned in

    put below code in style.css in child theme
    ———————————————–
    #bbpress-forums {
    font-size: inherit !important;
    width: 100% !important;
    }


    @media
    screen and (min-width: 1008px)
    .bbpress .site-content {
    margin-right: 0 !important;
    margin-left: 182px !important;
    }

    .bbpress .site-content {
    margin-right: 0 !important;
    margin-left: 0 !important;
    }
    ———————————–
    also copied page.php (from twentyfourteen folder) and renamed to bbpress.php put in root of child theme

    #154292

    In reply to: Quicktags out of line

    Robkk
    Moderator

    try this anywhere where you can put custom css

    #bbpress-forums div.bbp-the-content-wrapper input {
    font-size: 12px;
    padding: 5px;
    margin: 0 2px 0 0;
    line-height: 1em;
    width: auto;
    }
    #154246
    Robin W
    Moderator

    Lots of info stored against a topic in wp_postmeta and several parameters you could use, but the most obvious is

    _bbp_last_active_time

    so your sql statement would search through wp_posts for a post type of topic where postmeta post id _bbp_last_active_time was greater than a month.

    Easiest way to get you head round this is to look at a forum topic in your website that has replies, and make a note of the topic number in the heading (the #nnnn eg #15108 bit!).

    Then using phpmyadmin, go into wp_postmeta table and type the following into the sql query

    SELECT * FROM wp_postmeta WHERE post_id=15108

    where 15108 is the topic id number.

    You’ll see all the data stored against it, and the above should become clearer.

    post type is stored in the wp-posts table

    SELECT * FROM wp_posts WHERE post_type=’topic’

    #154217

    In reply to: User Porfile Page

    brunof13712
    Participant

    Robkk,

    I hope to be understanding what you are requesting from me… sorry my english…

    This is my link profile (when I click on my name in any topic): http://quadriciclobrasil.com.br/forum/users/admin-2-2-2/

    This is the link when I click on ”edit profile” that is appearing on my menu after have I added the code on functions.php: http://quadriciclobrasil.com.br/forum/users/admin/edit (PAGE NOT FOUND)

    anyway, can I give you a admin acess?

    #154211
    Robkk
    Moderator
    #154209

    In reply to: User Porfile Page

    Robkk
    Moderator

    in both functions you see something similar to this

    $profilelink = '<li><a href="/forums/users/' . $user . '/">Profile</a></li>';

    change forums to forum , since you have changed your root slug.

    $profilelink = '<li><a href="/forum/users/' . $user . '/">Profile</a></li>';

Viewing 25 results - 10,176 through 10,200 (of 32,504 total)
Skip to toolbar