Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 5,051 through 5,075 (of 11,580 total)
  • Author
    Search Results
  • #141916
    barnabe
    Participant

    Hello,

    Thanks for the answer! In fact, this is no a display problem in admin menu, but rights (user capabilities). When I set the URL “edit.php?post_type=forum” directly in the addresses’ bar, WordPress says to me I have not the right to access this page.

    After a “very” long debug, I found why this behavior appends. The qTranslate plugin is loaded before bbPress and sets up the WP_User via the function wp_get_current_user() and so sets its allcaps. So when WordPress object is init in wp-settings.php file to sets up current user, wp_get_current_user() returns the existing user and not reloads capabilities.

    I fixed this problem in adding a param to wp_get_current_user():

    function wp_get_current_user($new_user = false){}

    and the same param to get_currentuserinfo() and wp_set_current_user(). I also modified the condition in get_currentuserinfo():

    if ( ! empty( $current_user ) && $new_user === false ) {

    and the condition in wp_set_current_user():

    if ( isset( $current_user ) && ( $current_user instanceof WP_User ) && ( $id == $current_user->ID ) && $new_user === false )

    Then I added the true value in param to the call of wp_get_current_user() in init method of WP class.

    Maybe this bug appears because I installed qTranslate before bbPress. Maybe this bug not appears if bbPress is installed before qTranslate. I’ll try an another install to test that. It would be nice not to change the core of WordPress.

    #141907
    gastronomicslc
    Participant

    Hi all.

    My apologies if this is a fairly rudimentary query, or one covered elsewhere, I did search but managed to only confuse myself more ๐Ÿ˜‰

    My site is:
    http://www.gastronomicslc.com/

    Running latest WP and a Genesis based theme from Studiopress. I installed bbPress but am having issues generating a coherent main page, I guess the forum root if you will. I followed the install instructions and made my forum root slug (foodie-talk), I also then made the foodie-talk page, however that doesn’t seem to work:

    http://www.gastronomicslc.com/foodie-talk/

    I have created two test sub-forums

    http://www.gastronomicslc.com/foodie-talk/forum/general-talk/
    http://www.gastronomicslc.com/foodie-talk/forum/ask-expert/

    with a test post in each. I have yet to link to the bbPRess directly from my site while I work on this. On the foodie-talk page I have the [bbp-forum-index] code right now.

    I imagine I have made some simpleton fault, appreciate anyone pointing it out ๐Ÿ™‚

    #141894
    Shmoo
    Participant

    – Yes the plugin is 100% sure active and working because you can see ( red border ) the topic is reported , I’ve even deactivated & activated it again to make sure when I saw that error.

    – It’s a clean copy-/paste from the plugin’s functions file. I’ve even added echo in front of it to check if there was a difference but both with & without echo have the same error.

    Why I ask if a plugin function can be private or protected is, when I take a look inside the plugin function-file I see all functions wrapped inside a class which is pretty standard for making plugins I’ve seen online.

    But I also see something like this:

    
    	protected $version = '1.0.0';
    	protected $plugin_slug = 'bbpress-report-content';
    	protected static $instance = null;
    	protected $plugin_screen_hook_suffix = null;
    	protected $plugin_path = null;
    ____
    	private function __construct() { ....
    
    ____
    	public static function get_instance() {
    
    		// If the single instance hasn't been set, set it now.
    		if ( null == self::$instance ) {
    			self::$instance = new self;
    		}
    
    		return self::$instance;
    	}
    
    

    Most functions have public function function_name() and the function I would like to use has only function function_name()

    That made me think maybe my function it’s protected, so I started testing and searching online and did this inside my page template.

    
    <?php if(function_exists('get_topic_report_link')) {
    echo get_topic_report_link( $args = '' );
    } else {
    echo 'Function does not exists..';
    }
     ?>
    

    It takes the ELSE option so there is something wrong right.

    ___

    This is what I did to kill for example the Merge link from the admin_links, preventing it would show up something else when called upon.

    
    function shmoo_kill_topic_merge_link( $r ) {
    	$r = null;
    	return $r;
    }
    add_filter( 'bbp_get_topic_merge_link', 'shmoo_kill_topic_merge_link' );
    

    I’m a Check Norris fan, when I change stuff it has to be NULL ๐Ÿ˜‰

    I know, I probably add and write too much functions-/codes of my own to alter the bbPress core but at least I’m getting it done right now and starting to understand how it works a little. In a few years I will be better ( hopefully ) and add more logic to my projects.

    #141874
    Sreekanth Reddy
    Participant

    I tried to install bbpress for several times . Its installing correctly but no links were displayed to create a new forum or settings.

    One time it shown an error ” you have no sufficient permissions”

    Please let me know where i did wrong.

    Latest WordPress
    Latest bbPress

    Thank you

    Sreekanth

    #141846
    Kris35
    Participant

    I know I can block them in WP Users – is that how its done does anyone here know? I tried this on a testname and no I couldnt click on the BBPress topics but was taken to the forum topic page (chat-boards/topic/another-birthday-looms) that has all my sites pages links on it? Urgh, it even has Membership Cancel, Membership Checkout pages on it. Anyone know how to either get rid of this page or take the banned person to the homepage or somewhere else on my site? Thanks.

    #141812

    Topic: wordpress 3.8.1 MU

    in forum Plugins
    fisherofer
    Participant

    i have multisite network based on the latest WP
    when i try to activate the plug in my WP-dashboard crushed
    the web site is working and i cant access into the admin panel
    i have to delete the plugin and only then i can access into to admin dashboard

    #141803

    In reply to: bbPress 2.5.3

    helmutwalker
    Participant

    I just installed the latest version and it is running super sloooow. I’ve checked and it is not a theme issue.

    #141786
    Shmoo
    Participant

    Normally not, just tested at my site and when I deactivate the registration system and still visit the registration page is shows a message “you can’t registrar at this site”

    Are those real members signing up or just Spambots hitting your sign-up-process ?

    #141766
    Shmoo
    Participant

    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

    bbPress list latests - Topics and Replies

    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.

    #141764
    sarau
    Participant

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

    #141763
    sarau
    Participant

    Sorry, I forgot to mention that 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 “No Results Found” on the page as a non-logged in non-member of the site.

    This is another usability issue I’d love to solve if anyone has a solution. If you are a member of the site but not logged in, you should see a prompt to login rather than “No Results Found”

    #141749

    In reply to: Thousands of revisions

    inspirationally
    Participant

    I realize, we share(d) the plugin Wangguard.
    I deactivated it before, but the revisions kept going. A week ago I replaced it with “GoodQuestion” cause that seemed more lightweight for me and does the job, too. I just cleaned my database from old tables, including the wangguard ones, re-activated revisions and for an hour now no new revision. Although guests are even allowed to post.
    Might you try it, too? (deactivate, backup the five or six wangguard tables and test, and reload from the backup afterwards, maybe?)

    #141745
    Stephen Edgar
    Keymaster

    @vogelwild I just tested this.

    * Created a new user, logged in, confirmed they had the bbPress Participant role
    * As admin created a Private and a Hidden Forum and a new topic & reply in each
    * Logged out and back in as the new user and they can see the private forum and both the topic and reply in that forum. They can’t see the Hidden forum because they don’t have access rights.

    #141720
    Alan Lang
    Participant

    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 – Member

    Also when creating a forum know which one to select

    Public – (can stay the same)
    Private – Members Zone
    Hidden – Officers Zone

    As 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

    #141707

    In reply to: Plugin Update 2.5.3

    krosenbach
    Participant

    I see replies listed in the administrative dashboard, but if I click to view them, they are not there.

    I believe I updated bbPress 2.5.3, bbPress threaded replies 0.4.3, bbPress Posts Toolbar 0.7.5 and Jetpack by WordPress.com 2.7

    I also updated to the latest version of WordPress.

    Here is the front of the forum
    hxxp://truffledogcompany.com/forums/forum/recreational-truffle-dog-training-101

    Single topic which should display 10 replies
    hxxp://truffledogcompany.com/forums/topic/matt-and-___-access-until-march-____/

    #141678
    shauny007
    Participant

    I made a test post and this is showing ok for now. I was just thinking even if say they were deleted from admin replies (which they weren’t), then the forum would display this then anyway would it not, by saying no voices etc, but the forum is still showing the actual correct amount as if they were still in there.

    I’m not sure, but something is up. This person here (https://bbpress.org/forums/topic/plugin-update-2-5-3/) it seems has the same issue.

    This was all working last night ok, and I have not played with anything today very strange indeed ๐Ÿ™‚

    #141675
    shauny007
    Participant

    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.

    powermaniac
    Participant

    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?

    billseymour
    Participant

    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

    #141616

    In reply to: Upgrading WordPress

    Shmoo
    Participant

    Nope, software (Plugins) like those are very well tested with Beta versions before they become available to the public.

    Normally there wouldn’t be major problems if you haven’t changed anything to the core.

    #141604
    Shmoo
    Participant

    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

    #141596
    SickSquirrel
    Participant

    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.

    #141591
    Jeff Hester
    Participant

    Yeah, I tested oEmbeds in a regular post with the same results– works for Flickr & Youtube but not Twitter. Hmm….

    #141586
    Shmoo
    Participant

    Strange, it’s only the user_profile page.

    Have you tried adding another (none Admin) user with all lower-caps and just by signing up through the WP signup process?

    Maybe deactivate all plugins when doing so or change to TwentyTwelve theme for testers.

    #141578
    Jeff Hester
    Participant

    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.

Viewing 25 results - 5,051 through 5,075 (of 11,580 total)
Skip to toolbar