Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 10,201 through 10,225 (of 32,522 total)
  • Author
    Search Results
  • #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>';

    #154201
    bsilverop
    Participant

    Thanks @robkk. This is looking good to me after making the changes. I tested on a few different screens here with different sizes and seems to be working well. I’m not sure why the @media screen commands weren’t working before, but suspect it had something to do with the order. This is what I ended up with for those looking to do something similar in the future. Thanks again, and if you accept donations please contact me or direct me to a place where I can contribute to all who helped here. Thanks again,

    .site,
    .site-header {
    	max-width: 100%;
    }
    
    .bbpress-forums .col-2cl .main {
    	background: none repeat-y right 0;
    	padding-right: 0;
    }
    
    .site-content .entry-header,
    .site-content .entry-content,
    .site-content .entry-summary,
    .site-content .entry-meta, 
    .page-content {
    	max-width: 100%;
    }
    
    .form-allowed-tags {
    	display: none;
    }
    
    div.bbp-breadcrumb, 
    div.bbp-topic-tags {
    	font-size: inherit !important;
    }
    
    #bbpress-forums ul.bbp-lead-topic, 
    #bbpress-forums ul.bbp-topics, 
    #bbpress-forums ul.bbp-forums, 
    #bbpress-forums ul.bbp-replies, 
    #bbpress-forums ul.bbp-search-results {
    	font-size: inherit !important;
    }
    
    #bbpress-forums {
    	font-size: inherit !important;
    }
    
    .bbpress .hentry {
    	margin: 0 auto 48px;
    	max-width: 100%;
    }
    
    @media screen and (min-width: 1008px) {
    	.bbpress .site-content {
    		margin-right: 0;
    		margin-left: 182px;
    	}
    }
    
    @media screen and (min-width: 1080px) {
    	.bbpress .site-content {
    		margin-left: 222px;
    	}
    }
    
    @media screen and (min-width: 1218px) {
    	.bbpress .site-content .entry-content {
    		margin-right: 0;
    	}
    }
    
    @media screen and (min-width: 673px) {
    	.bbpress .site-content {
    		margin-right: 0;
    	}
    }
    #154198
    Robkk
    Moderator
    @media screen and (min-width: 1218px) {
    .bbpress .site-content .entry-content {
        margin-right: 0px;
    }
    }

    this should remove that space on the right of the forums

    #154197
    Robkk
    Moderator

    @bsilverop

    remove the !important from

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

    there should be some space to the right, I will try to figure out that too, but tell me if removing the !important fixes the forums hiding under the left sidebar.

    #154192

    In reply to: User Porfile Page

    brunof13712
    Participant

    Hi @Robbk,

    I added this code on functions.php from my theme and appeared a link ”profile” on my menu who directs to this link: http://quadriciclobrasil.com.br/forums/users/admin/ but it is a page not found. Am I doing it correctly?

    #154189
    Robkk
    Moderator

    this css code i forgot to add , put it before the media queries

    .bbpress .hentry {
        margin: 0px auto 48px;
        max-width: 100%;
    }
    #154184
    Robkk
    Moderator

    alright this should be your entire css now

    if the @media queries still do not work try just adding them into your child themes style.css file.

    if it still doesnt work when you put the media queries in your style.css make sure you are not using @import and instead using this in your child themes functions.php

    add_action( 'wp_enqueue_scripts', 'enqueue_child_theme_styles', PHP_INT_MAX);
    function enqueue_child_theme_styles() {
        wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' );
        wp_enqueue_style( 'child-style', get_stylesheet_uri(), array('parent-style')  );
    }

    more info here https://codex.wordpress.org/Child_Themes

    and also contact jetpacks plugin support and see if there is a problem or if i made another mistake or something

    .site,
    .site-header {
    	max-width: 100%;
    }
    
    .bbpress-forums .col-2cl .main {
    	background: none repeat-y right 0;
    	padding-right: 0;
    }
    
    .site-content .entry-header,
    .site-content .entry-content,
    .site-content .entry-summary,
    .site-content .entry-meta, 
    .page-content {
    	max-width: 100%;
    }
    
    .form-allowed-tags {
    	display: none;
    }
    
    div.bbp-breadcrumb, 
    div.bbp-topic-tags {
    	font-size: inherit !important;
    }
    
    #bbpress-forums ul.bbp-lead-topic, 
    #bbpress-forums ul.bbp-topics, 
    #bbpress-forums ul.bbp-forums, 
    #bbpress-forums ul.bbp-replies, 
    #bbpress-forums ul.bbp-search-results {
    	font-size: inherit !important;
    }
    
    #bbpress-forums {
    	font-size: inherit !important;
    }
    
    @media screen and (min-width: 1008px) {
            .bbpress .site-content {
    	margin-right: 0 !important;
    	margin-left: 182px !important;
    	}
    }
    
    @media screen and (min-width: 1080px) {
    	.bbpress .site-content {
    		margin-left: 222px;
    	}
    }
    
    @media screen and (min-width: 673px) {
            .bbpress .site-content {
    		margin-right: 0;
    	}
    }

    you can see i removed the width:100% on the #bbpress-forums css code , its because it didnt really do anything.

    #154178
    dtbaker
    Participant

    I’ve updated the plugin to include a (very basic) paypal payment feature and the ability to mark topics as “accepted”. You have to manually update the topics when payments come in, I don’t have enough time to make any sort of PayPal IPN integration.

    Code has been updated here: https://github.com/dtbaker/bbPress-Support-Forums ( warning, my paypal address is hard coded into includes/bbps-vote-functions.php )

    Screenshots:

    Main forum page, it sorts topics by “funds” then “accepted” then “votes”.

    Admin topic page: you can vote, mark topic as accepted, and manually update payments.

    User topic view, can vote (when logged in) and pay:

    Live demo here: http://ultimateclientmanager.com/forums/forum/feature-requests/

Viewing 25 results - 10,201 through 10,225 (of 32,522 total)
Skip to toolbar