Search Results for 'test'
-
Search Results
-
Just curious as I’m not a PHP-er and learning each day.
What I’m trying to make is a front-end tab-system that shows three tabs
Tab [1] = Topics
Tab [2] = Replies
Tab [3] = Refresh, just a reload of the page
Topics,
This should be a very easy query-/loop in general, it’s just a list of all new topics that have been added to my forum. There’s only one little thing, it should order at the date of creation so that when an older topic gets a reply it doesn’t bounce to the top of the list.Replies,
This should be a query for latests updated topics of any age, if a topic of 5 years old receives an update or bounce it should jump to the top of this list. + newly or older created topics without replies shouldn’t get listed inside this second ‘Replies’ tab.I came up with this idea:
<?php if ( bbp_has_topics( array( 'show_stickies' => false, 'order' => 'DESC', 'posts_per_page' => 120, 'max_num_pages' => 1 ) ) ): ?> <?php while ( bbp_topics() ) : bbp_the_topic(); ?> <?php if ( bbp_get_topic_reply_count() ) { bbp_get_template_part( 'last-topic-activity/last-replies-loop' ); } ?> <?php endwhile; ?> <?php endif; ?>posts_per_page => 120 is a little bold but it’s just for testing right now.
Just curious if this is okay to work with, I found the bbp_get_topic_reply_count() function and it has a True or False statement so I thought lets just check if the topics have a reply_count … if it’s true than list a bunch of stuff through the custom-loop template I made.Hope somebody can verify if this is okay, it looks like it’s working.
I’m using WordPress version 3.8.1 (the latest as of this writing) and bbPress version 2.5.3 The url wouldn’t show the problem since the forum is private and you would only see “Oh bother! No forums were found here!” on the page as a non-logged in non-member of the site. This question also relates to the WordPress dashboard rather than the site itself. I’ve given a user on the site the bbPress role of Moderator with the expectation that he should be able to set up new forums, however, when he logs in, he can only see/access topics, replies and profile in the WordPress dashboard. There is no link to “Forums” where he can add new ones. Why is this the case when according to the roles information on this page: http://codex.bbpress.org/bbpress-user-roles-and-capabilities/ a Moderator “can create and edit forums. Can create, edit and delete other users’ topics and replies. Can manage Tags, and moderate a forum with the moderation tools”?
Topic: need some help
Im using the latest versions of WP and BBpress,
All i have learnt using WP and BBpress is from trial and error and use of support forums and information from other websites.
I gamer at heart and play many mmo’s, i use wordpress for our main site and wanted to include a forum for our members(BBpress). http://enigmas.eu
I have been able to change lay out and look, so it look like main site and i have install an Plugin (bbPress String Swap) to rename roles, but it only change them on the forum and not in the admin selection area and the same goes with Public-Privet-hidden forum.
I would like to be able to change the names with in the admin side, so that my Moderator’s know which role to select when a new member joins
Key master – Guild leaders
Moderator – Officer
Participant – MemberAlso when creating a forum know which one to select
Public – (can stay the same)
Private – Members Zone
Hidden – Officers ZoneAs im talking about the forum titles i would like to remove (private) from the forum breadcrumb i have seen many examples of how to do it and have tried them out, but they don’t seem to work. i don’t know if im doing some thing wrong. so look for a fresh input.
i know that my Moderator(Officers) could get used to knowing which role and forum section to choose from with out changing them. but the Private before the forum tile is a real pain.
any ideas would be great thank you
Nothing on site has been updated lately, no new plugins added. All replies in forum have disappeared. All topics remain working, and inside the forum the correct voices etc still show i.e. This topic contains 18 replies, has 7 voices.
Inside admin under Replies absolutely nothing shows in here either. It just seems like all replies have vanished. The only real sign of hope or saving them is that in the forums it’s still detecting them by saying the activity (which should be inside each topic).
What could have happened. Have tried deactivating plugin, nothing works. Page cache has been emptied also.
Am using the latest version 2.5.3
Any help much appreciated.
When I’m logged in as admin and trying to make a sticky, it sends me to the login page. Once I log in again and try once more, it does the same thing. I’m using the latest version of both bbpress and wordpress. Any ideas?
Hello- First time poster to the bbPress forums.
I am giving bbPress (WP plugin) a good test workout, and overall find it a great piece of work.
I am working up a set of forums where (with the Members plugin) I have a few forums for ‘Board members’, while most forums are for all members.
Q: Is there a way to generate a topic-index that excludes selected forums, that correctly paginates? I can easily exclude topics in ‘forum xyz’ by customizing loop-topics.php, but the topic pagination still includes those excluded topics in the pagination count.
It seems to me that many bbP users would benefit from the ability to list selected topics by excluding forums (ie, topics for all forums except forum-xyz).
Can this possibly be done via wp_query? Is the ‘forum name’ attached to each topic a Custom Field?
Thanks for any information. –Bill
Didn’t want to make a new Trac before knowing if this is a real bug or not.
I set the number of replies per page at 8 in the back-end. Save it, but right now I’ve already replied 31 times in one topic to test it and still the pagination menu doesn’t show up in the single-forum page ( topics list )
+ also the single-topic page doesn’t move to a second page it keeps adding content.Tested it on default installs with Twenty Twelve and WP 3.8
Topic: Upgrading WordPress
I run 3.7 right now. I was afraid to upgrade WP in case there wee issues with bbPress. So … if I update to 3.81 (the latest) can I expect issues or should it go smoothly?
I hired someone o set up my site with WP and bbPress. He hasn’t worked on the site after that so if I run into issues, I’m stuck. I’m only online two hours a day and can no longer code or fix errors (due to illness).
I’m leery about upgrading but know I have to do it.
Topic: Twitter embeds not working
I’m having a problem with Twitter oEmbeds not converting to embedded tweets. I’ve got the “allow embeds” checked in Forum settings, and it works for both YouTube and Flickr (the only other two URL types I’ve tested so far). But twitter URLS are not converting — instead they show up as a plain URL.
I tried posting this earlier with more details and links, but I think the post must have been flagged as spam (maybe because of the links)?
So this time I’m just posting the overview. If you need a URL to look at or test, let me know.
Topic: Threaded, hierarchal display
I am considering a move to bbpress but am very concerned about keeping the general functionality of my current forum at http://surveyorconnect.com. It uses a threaded, hierarchal tree-style forum software and my users love it. A little backstory: an industry magazine used to have a similar forum, then switched to a newer format and nobody liked it — so I started a new forum using MyLittleForum (http://mylittleforum.net) and told a few surveyors about it and in short order, it was very busy and respected in the surveying community. Many of the users are “old school” and so they like this format. But I also want to attract a younger crowd, who I assume would prefer a more modern format.
What I’m really hoping for here is that bbpress would allow me to provide BOTH formats on a user-by-user basis, so they can select which format they’d prefer. Also, one of the features they like about the current site is the little bubble next to the date in the topics list that gives a preview of the latest post within that topic. If we lose that feature, I won’t be heart-broken, but it would be nice to have something like that in bbpress, if possible.
There is so much I could do with my forum that MLF won’t allow me to do. Probably the biggest thing is the social aspects — allowing people to “like” and share posts, etc.
I’d love your thoughts, opinions and references to anything that might help me make the decision to move to bbpress. Thanks!
My understanding is that there is no “New Posts” functionality for BBPress. Previous support requests on WordPress.org have gone unanswered, and I do not see a plug-in that allows this. I reviewed the documentation and I’m not sure how I could construct my own view with this ability.
What I would like to know is how to craft a forum view that aggregates all the forums into one just like when you click on “Support” at the top of BBPress or Buddypress website. Whenever a new reply is posted, it puts the thread back on top. The GDBBPress tools only has the ability to sort topics when they were first created.
Recap, I would like assistance on constructing a view like the one that we normally use here on BBPress.org or Buddypress.org when clicking the “Support” button.
Thank you,
Russ Sanderlin
@TearstoneTopic: Delete or Rename Forum?
I created a test forum when setting my site up but now wish to delete or rename it, how do I do this please? (Don’t want to delete the whole thing, just this one forum)
My office team is complaining that they can’t save topics in draft.
I thought it must be a bug, but tracked it down to very deliberate code in topics.js.
jQuery( document ).ready( function() { jQuery( '#misc-publishing-actions' ).find( '.misc-pub-section' ).first().remove(); jQuery( '#save-action' ).remove(); } );I can’t find any reference to problems in the forums — is this just a policy choice or screen simplification? Or is there a reason why I should not just comment out that code?
I’ve tested the topics listings and statistics with the code commented out and saving drafts and all appears to perform correctly.
Some guidance from developers would be much appreciated.
NOTE: I posted this on January 17, 2014 but it took a publication date 18 months earlier. This is a repost on January 18, 2014.
bbPress works fine, but
when I tested writing topic with a Participant account, I can delete my own topic
how can I fix the problem?