Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'vote'

Viewing 25 results - 1 through 25 (of 227 total)
  • Author
    Search Results
  • #222780
    specstanza
    Participant

    A little update on this too. 🙂

    The $count of favoriters is updated correctly on topic’s single page.
    But when the $count is called elsewhere, WordPress seems to take the first _bbp_favorite encounter.

    Looking at posts’ metavalues, it seems that every ‘favorite’ mention becomes an extra _bbp_favorite

    bbp_favorite

    My code doesn’t say anything about taking the highest number – maybe this would be the solution?

    $subscriptions = get_post_meta(get_the_ID(), '_bbp_favorite', true) ;
    $count = count($subscriptions) ;
    $output .= '<li><a href="' . get_permalink() . '">' . get_post_meta(get_the_ID(), 'an_extra_field', true) . '</a><br> <span> Votes :'  . get_post_meta(get_the_ID(), '_bbp_favorite', true) . '</span></li>';
              }
              $output .= '</ul>';
              wp_reset_query();
         }
         return $output;
    }
    Robin W
    Moderator

    what plugin are you using to get the ‘upvotes’ ?

    kvnandula04
    Participant

    Hi,

    So the question has everything really. But I want to show the total number of upvotes a person has received and I want to put that number near the name. I have access to the backend, so I was thinking maybe I could get the number of upvotes from the database and put that number next to the name. Any help with this would be great!

    Thanks in advance!

    #215499
    alexisfontana
    Participant

    Hello,

    I would like to know if your extension allows you to do these things :
    – Create a group to join (administrator approval to join) to view certain topics
    – Ability to move a topic from one group to another
    – In topics, that members can share photo and video content and links in addition to text.
    – In the member’s space, possibility to create a photo album with the modification of the privacy of this album
    – Show the latest topics at the top
    – Ability to alert an administrator if content needs to be reported
    – Online chat to exchange between members
    – Being able to vote for a message in a topic

    Thank you in advance for your contributions.

    We look forward to hearing from you,

    #214949
    Robin W
    Moderator

    @xprojectsx good contribution – and I don’t think there is a perfect solution. I am Never quite sure what people expect from ‘community’ software. As an author of 6 plugins, the thought that when releasing these as free code for others to use and adapt, I am expected to respond to every query on the code for evermore, would make me never do it. I enjoy the challenge of support, but there will come a time when I tire of doing this for no money, and expectation that I fix issues I had not considered and that I had never planned only strengthens this. Bbpress was written as lite forum software, allowing others to extend it. It started over 15 years ago as a geek who like writing code (as I do). Then is response to requests it was added as a plugin to WordPress. The authors have I suspect many other priorities now in their lives, they are 15 years older. Their choices are 1. To close the plugin, and make many forums redundant. 2. To devote vast chunks of their free time to continue supporting 3. To do key code as their time permits 4. Just to hope that other people do this for free.
    Against this there are paid products, but yes they cost or are used (I think quite justifiably) as a sales tool to produce income to pay the developers. Someone has to pay the bills.

    #211034
    maaritludia
    Participant

    Hi @danishsard, How did you do the disabling of the votes column? Could I have instructions?

    #207202
    wpulike
    Participant

    We tried to develop a voting plugin to easily add a Like and Dislike button to your website forum topics.
    Also, you can add these buttons to activities in BuddyPress and even posts and comments. we designed 15 templates for votes (and still adding new ones monthly). Meanwhile getting votes without a tool to measure it would be meaningless and so, we added a comprehensive Statistics Tools to the plugin so you can observe and generate charts and reports easily. we will appreciate if you check out our efforts and give us feedback. visit WP ULike Pro for more information and details.

    #206349
    Clivesmith
    Participant

    Hi Andreas,

    I use bbress voting plugin https://wordpress.org/plugins/bbp-voting/

    You can see it in action at wateratairports.com

    I have it so it will order according to the vote as well.

    Clive

    #205839
    Robin W
    Moderator

    ok change

    <div class="bbp-reply-content"><?php bbp_show_lead_topic()
    			? esc_html_e( 'Replies', 'bbpress' )
    			: esc_html_e( 'Posts',   'bbpress' );
    		?></div><!-- .bbp-reply-content -->

    to

    <div class="bbp-reply-content"><?php bbp_show_lead_topic()
    			? esc_html_e( 'Replies', 'bbpress' )
    			: _e( ‘<div align=”center” style =”color:#ff0000″>Please check out all the replies below,<br> if you find a post helpful please vote using the arrows</div>’, ‘bbpress’ ); 
    ?></div><!-- .bbp-reply-content -->

    You should really put this file into a child theme if you have one

    so you would do the following

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

    where %your-theme-name% is the name of your theme

    then upload the new file to this directory so you end up with
    wp-content/themes/%your-theme-name%/bbpress/loop-replies.php
    bbPress will now use this template instead of the original

    #205814
    Clivesmith
    Participant

    I am sorry to ask this now as I know you are busy with a great update but I do have a bit of a problem.

    I managed to sort most of it out with the old version but am struggling with the new update.

    What I did was remove from the header on the replies page all the headings except “author” and change the “posts” to text I want with some formatting.

    in my childtheme style.css
    I included this to remove most of the headings from everywhere.

    #bbpress-forums li.bbp-body ul.forum, #bbpress-forums li.bbp-body ul.topic {
    border-top: 3px solid #0a9ed3;
    overflow: hidden;
    padding: 8px;
    }

    li.bbp-forum-freshness, li.bbp-forum-freshness {
    display: none;
    }

    li.bbp-forum-freshness, li.bbp-topic-freshness {
    display: none;
    }

    li.bbp-forum-info, li.bbp-topic-title { width:100%; }

    li.bbp-forum-topic-count, li.bbp-forum-topic-count {
    display: none;
    }
    li.bbp-forum-reply-count, li.bbp-forum-reply-count {
    display: none;
    }
    li.bbp-topic-title { width:100%; }

    li.bbp-topic-voice-count, li.bbp-topic-voice-count {
    display: none;
    }

    li.bbp-topic-reply-count, li.bbp-topic-reply-count {
    display: none;
    }

    I know this next bit was a dirty way to do it but…
    in wp-content/plugins/bbpress/templates/default/bbpress/loop-replies.php
    I changed line 24 from
    <?php _e( ‘Posts’, ‘bbpress’ ); ?>
    to
    <?php _e( ‘<div align=”center” style =”color:#ff0000″>Please check out all the replies below,<br> if you find a post helpful please vote using the arrows</div>’, ‘bbpress’ ); ?>

    which put in my text in red centered with a carriage return in the middle.

    If I do the same now, I cannot put formatting in. But also I realized that the “author” label is not needed, in fact it looks totally wrong with a mobile.
    You can see what I mean if you look at this page https://wateratairports.com/topic/london-gatwick-lgw/ with both a large screen and a mobile
    Could someone help please ?

    Danishsard
    Participant

    Hello, maybe it would be worth to add voices to the settings panel in the bbpress options. Most people do not want to use it, why impose it. At home I turned it off by cutting out in the code of the page https://infomiasto.eu/forum/tematy/rozmowy/ but it is a solution that you need to repeat when updating, and maybe it would be such a setting

    Danishsard
    Participant

    Many pages with bbpress forums cannot use their national texts because there is no accepted translation. In the forum settings there should be assumptions where you can enter the forum entries yourself, for example: new topic, reply, newest, etc.

    Also, there should be an option to pay out these beams with a description of how many votes are on a given topic (WHO’S WHOM FOR WHOM), and how many posts are in the topic and who last gave, it should also be to choose whether you want to see it.

    My site in Polish but is displayed in large numbers in English language because there is no transaction that awaits for years to be approved https://infomiasto.eu/forum/tematy/rozmowy/ so you would write the right words yourself.

    #195581
    Mal
    Participant

    @robin-w
    What’s the problem? Are you hired here to provide support?

    – You can create a GitHub repository and all issues will be nicely organized. You can have priority and severity labels. You will be efficient by focusing on what’s actually important.
    – Maybe implement voting and the community will decide what is important to fix and what isn’t. For example what I report is rather “high priority” to fix as this is a front page visual bug.
    – Bugs could be quickly identified and eliminated.
    – “Random support requests” are chaos and not important to answer (unless they get enough votes from community).

    Problem solved?


    @liyacaty

    No, I’m not using any caching plugins.

    I think these “Recount” actions in Tools > Forums are breaking things. Are they even necessary? If some could be eliminated and done automatically that would be great.

    jsteckler1
    Participant

    Using Gravity Forms and bbPress, I am attempting to create a new topic, within a specific forum, upon form submission.

    I have tried to incorporate the Gravity Forms Custom Post Type add-on to accomplish this, but, presumably due to the non-heirarchial structure of bbPress forums, I only seem able to either:

    A) Create a new FORUM with the submitted data
    or
    B) Create a new TOPIC that goes unassigned to any forum

    So, basically, unless a topic can be created as a child of a forum, I’m not sure there’s a way to get this working with that add-on.

    Is there any way I can force the topic to be created within a specified forum using php? Any other thoughts or alternatives? Maybe a workaround that forces all topics created via Gravity Forms submission to default to a specified forum?

    For what it’s worth, I am using Gravity Forms for users to submit event proposals. My idea is to then have the submission data routed into a forum like bbPress where the powers that be may vote on and discuss each proposal.

    #187612
    fashionistaaa
    Participant

    nevermind,
    since i have seen a lot of users looking for this kind of live notification thing, i’m posting this,
    i installed buddypress. it gives notifications about reply, quote, @mentions, messaging but not about the upvote, reporting, favoriting, subscribing. so i guess it’s not perfect but it’s something.

    #187607
    fashionistaaa
    Participant

    http://babble.epizy.com/

    4.9 beta 1 wp
    bbPress 2.5.14-6684.

    I have already made my site and just now realized there’s no live notification widget of any kind. why is that? i cant expect my users to always run to their email to check for notificatioons. how could bbpress miss such an integral thing? is there any way i can notify users of replies, mentions, votes without them having to check the email every now and then???

    #186986
    theacademicperson
    Participant

    Hi friends,

    I know I’m posting on a topic that was asked many times on this forum before (including my post from the last year).

    There need to be a voting option (upvote and/or downvote) in the forum topics. It is a must to have a functionality to automatically arrange the topics based on voting by viewers.

    Almost all the popular interactive forums on the web contains this feature…Stackexchange, Reddit to name a few. Others have a voting system without any rearrangement of the posts based on it…Google plus, Facebook etc.

    I admit bbPress is a great forum builder on the greatest CMS at this moment (WordPress)…but it (and all forums build on it) lacks this critical feature.

    As I already said this feature is being requested for a very long time, but it wasn’t added on the updates of bbPress.

    So it is my earnest request to please add this feature.

    You can see how many people has been requesting this by just doing a quick search in this forum – https://bbpress.org/forums/search/vote/

    #185771
    mad_gunman
    Participant

    Thanks, the plugin looks awesome. But what i want to do is to order the answers within a topic, either by date or votes. Not the topics in the listing. Cheers,Robert

    #185743
    TKServer
    Participant

    TESTED ON A REAL DEVICE AND WORKING! Since the last app update I’ve implemented a login which keeps you logged in basically forever unless you logout. Once logged in a user can post new topics, reply to topics or other replies, and vote with the thumbs up/down.

    #185729
    mad_gunman
    Participant

    Dear all,

    it is possible to sort topics in the overview by either votes or date. What i would like to to is also sorting the answers within a topic by date or votes. Is there a way or a plugin to do that?

    Thanks a lot for your help!

    Cheers, Robert

    locutus1
    Participant

    Hi. I’m new to WordPress. I’m creating a site and I wanted it to have a forum so I installed bbPress. There are 2 categories in the menu. Each of them contains forums. There’s 3 issues I have.
    1) Under the text box for writing a comment, visitors to the site will see “Topic Type” and “Topic Status”, each with its own drop-down menu. I don’t want visitors to have access to those. I looked through all the forum settings and can’t find a way to get rid of them. How do I do it?

    2) The font used for the menu is fine but the font used for the forum names is too small. Where do I increase the font size for forum names?

    3) Is there something built in to the plugin that lets visitors rank or vote for posts? High-ranking posts would appear above other posts. Does the plugin have anything like this?

    Thanks.

    webjojo
    Participant

    I vote too for this feature, I ask to Wilson B. (Private Group’s developer) if his plugin do that and if he could integrate this feature in a new version.
    It will be great !!

    #183742

    In reply to: TTFB problem

    newz12
    Participant

    I have hired someone to look at the database and this is his comments:

    ==========================================

    so, basically your query is processing too many records in a couple of tables wp_posts(1’980’935 records) and wp_postmeta(10’818’678). It matches and returns 57’639 records.

    The core query is:
    select SQL_NO_CACHE wp_posts.* FROM wp_posts INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) WHERE 1=1 AND (wp_posts.ID = 515125 OR wp_posts.post_parent = 515125);

    which returns 399’291 record for 2.1s
    which is a huge join

    Then the extra “where” conditions add extra time. The query bellow:

    select SQL_NO_CACHE wp_posts.* FROM wp_posts INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) WHERE 1=1 AND (wp_posts.ID = 515125 OR wp_posts.post_parent = 515125) AND wp_postmeta.meta_key = ‘_bbp_forum_id’;

    reduces the returned records to: 57’639 and in fact the rest of the where statements do not change the final result but are only adding more time for processing.
    The query takes about 3s.

    Both queries above are well indexed and are execucuted in the optimal way.
    With this amount of returned records matched against the 2 big tables (~11mln and ~2mln records in each) executon time of less than 3s can not be achieved.

    is this forum using a custom php code developed in house?

    ME: It is using bbPress, which runs on WordPress

    the thing is, this code is not optimal in term of database design
    because it’s using a couple of wordpress general storage tables
    to store the forum posts and threads
    as you can guess this 2 tables have a lot more data in it along the forum data
    from other hand the query you sent has too many “where” conditions
    which are not relevant at all

    AND CAST(wp_postmeta.meta_value AS SIGNED) NOT IN (‘515120′,’515123’) ) )
    AND wp_posts.post_type IN (‘topic’, ‘reply’)
    AND (
    (wp_posts.post_status = ‘publish’ OR (wp_posts.post_status = ‘pending’ AND wp_posts.post_author = 0) OR wp_posts.post_status = ‘closed’ OR wp_posts.post_status = ‘hidden’)
    OR
    (wp_posts.post_author = 0 AND (wp_posts.post_status = ‘private’))
    )

    non of this are changing the final result at all, but are slowing the core query with extra time

    in short – there is not an easy “magic” fix in the database side
    as I said the core query is well indexed and runs optimal by the SQL engine
    the only thing can be done is to change the query a bit
    but we can hardly get it under 2.5s
    and this will require PHP code changes

    ME: What would be your suggestion to achieve a similar performance with database?

    get rid of the WP
    the WP pluggin you use is a forum implementation on top of WP
    understand that, but you are expecting something by this WP pluggin that it can’t provide

    with storring everyhing in a couple of tables – that can’t be done

    won’t even comment:
    AND CAST(wp_postmeta.meta_value AS SIGNED) NOT IN (‘515120′,’515123’) ) )

    this part
    wp_postmeta | CREATE TABLE wp_postmeta (
    meta_id bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    post_id bigint(20) unsigned NOT NULL DEFAULT ‘0’,
    meta_key varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
    meta_value longtext COLLATE utf8mb4_unicode_ci,
    PRIMARY KEY (meta_id
    )

    as you can see meta_value field is a longtext!!!
    you can imagine how can you filter by this field
    without index
    scanning millions of records by a field that holds huge strings
    in same table wp stores all sessions, etc..

    just to imagine how much extra data is stored in wp_postmeta table
    here is a some stats by meta_key and the number of records (top 20 or so):

    | external_image_id | 100828 |
    | external_place_lat | 100845 |
    | external_place_lng | 100862 |
    | external_upload_batch | 110848 |
    | amazonS3_cache | 121546 |
    | _bbp_activity_id | 199233 |
    | filter | 239951 |
    | id_field | 239952 |
    | __defaults_set | 239974 |
    | _bbp_post_id | 1418227 |
    | _bbp_topic_id | 1426899 |
    | _bbp_author_ip | 1426899 |
    | _bbp_forum_id | 1426909 |
    | _barcelona_vote_up | 1732202 |
    | _barcelona_views | 1732206 |

    in fact this WP pluggin is using mysql as a simple storage and not as a relational DB
    as I said above it’s a bad DB design problem
    because it’s a just a pluggin/extension of a CMS system

    ==========================================================

    Basically he is telling me that we won’t be able to achieve good loading time, because it is running on WordPress and the database design is a problem.

    What do you think, is there hope?

    We run a forum with 1.4 million posts and almost 100k members, if it can give you an idea.

    #179901

    In reply to: Upvote for bbPress

    Pascal Casier
    Moderator

    I’m sure all threads here get noticed, but for some of them we really have no answer.
    Just to be correct, not having upvote is not ‘an issue’ but I see your point for this ‘feature request’. I know it has already been discussed but if I understood well, we need to wait for the next major version of bbPress where (thanks to the change to how topics and replies are stored) it might be possible to think of upvoting.
    So just to ensure you this did not go unnoticed.
    Pascal.

    #179879
    theacademicperson
    Participant

    My WordPress version is 4.7
    My website link is http://www.theparadigmshiftgroup.com
    I have already searched for my question in bbPress support forum (where I am posting now), there are previous threads on this question but the plugin mentioned at that time is now unsupported now (bbPress like topics, last updated 2 years ago). Another thread on the same topic don’t have reply. So I decided to bring this matter into the attention of bbPress authors again. If bbPress already contains this feature, please let me know as well.

    bbPress don’t have a voting up feature built in. So the topics get sorted by just last activity and not popularity. A forum seems incomplete without a voting option for topics and replies.

    I tried different plugins for this feature. There are many plugins on voting but they are mostly for WordPress posts, not bbPress topics and replies. Some plugins are able to put a “Vote Up” option above the topic, but it doesn’t help the topics to get sorted based on it. Some plugins only shows “vote up” written and instead of a button. Moreover these plugins only can vote topics and not the replies.

    Please also include a feature to show the number of votes besite the topic in feeds. Because people choose which topic to read in the feed page.

    I always found this community very helpful. I am sure this issue will get noticed.

Viewing 25 results - 1 through 25 (of 227 total)
Skip to toolbar