Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 3,176 through 3,200 (of 11,578 total)
  • Author
    Search Results
  • #168152
    _mycon
    Participant

    I have a similar issue I think ..

    I’m on bbpress 2.5.3 and wpress 4.3.1 set up as site, blog, and forum.
    Regarding registrants roles, all Participants are Subscribers.
    Yet some Subscribers have blank/no role for the forum.

    Does this mean that a Subscriber doesn’t have access to the forum (if they’ve created an account via blog replay first) ..?

    I’ve tested but can’t seem to determine the process. Sometimes I get a new registrant/user row but all fields are blank .. not trying to ask multiple questions here but want to include that if it helps diagnose what the issue is.

    Thank you for any help!

    #168092
    Carracio
    Participant

    Hi!

    I have made a forum on my WordPress website. Someone tried to register but he got this error:

    Authorization Required

    This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn’t understand how to supply the credentials required.

    To test it, I have used an old mailaddress and everything worked just fine. Is it his computer which is causing the trouble or is it something else?

    #167999
    Ghos7
    Participant

    I’m running a local host with xampp and getting this error when trying to run a test forum. I have done all the forum repairs and still have the same issue.

    Can anyone explain on what line exactly this function code should be applied and how it should look. Screen shot perhaps? I have no experience in php but doing everything I can to learn as much as possible.

    #167992
    mica123
    Participant

    This issue is now finally resolved. After a long battle, the web host came back to me to ask me to put the following code into .htaccess:

    FileETag None
    Header unset ETag
    Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
    Header set Pragma "no-cache"
    Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT"

    They said the following: This should prevent my website from being cached by Apache and may help to solve this issue. The website is not currently sitting behind their caching
    server so this cannot be the cause of the issue but Apache itself can cache
    sites so perhaps this will help to resolve the issue.

    This may help others having similar problems.
    Last but not least, my heartfelt thanks to @robkk and @casiepa for their steadfast support without which I would have coped very badly. @robkk tirelessly tested every possible issue under the sun. Huge thanks again to both of them. All in all, everything pointed to a caching problem on the server side.

    Robkk
    Moderator

    Yes there is a bug, it is fixed in the latest dev version.

    Use this temporary solution to fix the issue for now.

    Wrong bbp_get_reply_url() when paging with reverse order

    #167987
    Robkk
    Moderator

    @gperez-tl

    Good find on this bug, and thanks for posting your temporary solution. I tried the solution and it works for most of the replies, while I was testing I got some that seemed to not work and it went to the wrong post still.

    The error is not only present in the replies created section in your forum profile but also if you click the post id next to a reply (#1234), you might be directed to the wrong reply.

    I tried this on the latest dev version of 2.6 and this issue is not present.

    #167961
    Robkk
    Moderator

    You unable to remove it because of some error, or you do not want to remove it??

    I cannot really test the optimizepress plugin since it is a premium plugin.

    #167888
    gperez-tl
    Participant

    I think this works:

    add_filter('bbp_get_reply_position', 'lugpa_get_reply_position', 10, 3);
    function lugpa_get_reply_position($reply_position, $reply_id, $topic_id){
        
        if(empty($topic_id))
            $topic_id = bbp_get_reply_topic_id ($reply_id);
        
        $numReplies = bbp_get_topic_reply_count($topic_id);
        return ($numReplies+1) - $reply_position; // plus one because of thread description
    }

    I’m not sure about the +1 but it works. I tested this with first and last comment of a given page.

    #167827
    Pascal Casier
    Moderator

    So they were the same…

    The only option I see is to really insist with your current provider, sorry for not being able of more help.
    For the application caching, a lot of pages exist, like http://www.sitepoint.com/common-pitfalls-avoid-using-html5-application-cache/

    BEFORE DOING THE NEXT LINES, MAKE SURE YOU HAVE DIRECT ACCESS TO YOUR FILES ON THE SERVER IN CASE IT GOES WRONG.
    Just a test to see if it helps, can you go in your dashboard, ‘Appearance > Editor’, choose on the right the ‘Header’ (header.php) file and when the file opens, find somewhere the <head> tag and copy the following lines just below :

    <meta http-equiv="cache-control" content="max-age=0" />
    <meta http-equiv="cache-control" content="no-cache" />
    <meta http-equiv="expires" content="0" />
    <meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
    <meta http-equiv="pragma" content="no-cache" />	

    If it helps, it could be a workaround for now, but you should not keep this forever.

    Keep subscription to this topic. If I find something else, I’ll post it here, but for now I have no clue.

    Pascal.

    #167826
    mica123
    Participant

    Yes, I copied everything – www folder plus database to the other provider and used the same theme responsive. Not sure what you mean options? I just used everything that was copied over, so the same options must have been set. I’ll delete the test topics and the login.
    My provider doesn’t understand what I am talking about, so I am having a hard time to convince them that there is something wrong – so far I have not succeeded because they keep saying that they can create topics in some forums and some they can’t. I keep explaining to them that it depends on which page they saw before logging in. I am really desperate.
    What would be the meaning of ‘applicationcache’?
    Also, everything is normal on my local computer in xampp – I use exactly the same what I have on the live site.

    #167825
    Pascal Casier
    Moderator

    Hi mica123,
    I logged-in, played around and got indeed the same effect like you described.
    I check your installation configuration and it seems all normal.

    Can you confirm that when you tested it on the other provider, you had the same theme (responsive) installed there ? And the same options set ? Because I see in some javascript that the theme is talking about ‘applicationcache’.

    Please delete the test topics/replies and the login you created for me.

    Pascal.

    #167823
    Robkk
    Moderator

    (I am not sure how to turn off the theme to test this fault with a bundled theme like Twenty Twelve…

    Go to Appearance > THemes and activate a theme like twenty twelve temporarily.

    Also I think some other user has had the exact same issue with PMP Pro, I wonder if using the plugin could cause an issue.

    I will test to see if it is causing the issue.

    #167820
    mica123
    Participant

    @robkk

    I did more network testing on my bad site via the web developer.
    All other pages display the following:
    Response header:
    main site url:
    Cache Control: max-age=3600
    bbpress:
    Cache-control:max-age=2592000

    Request headers:
    main site url:
    Cache-control: max-age=0
    bbpress:
    Cache-control:max-age=0

    After login:

    After login:
    wp.login:
    Cache-control:no-cache, must-revalidate, max-age=0

    Without refreshing the page
    bbpress:
    Cache-control: max-age=2592000 –

    On refreshing the page
    bbpress:
    max-age=2592000

    The information for bbpress does not change at all.

    This is different from the results gleaned from my good site as I reported earlier:
    bbpress
    cache control: max-age=2592000, public, proxy-revalidate, public, proxy-revalidate, must-revalidate
    Cache control: max-age=0

    After login:
    Response header:
    Cache control: no-cache, must-revalidate, max-age=0

    So would this indicate that all is not well on my webhost provider’s server
    regarding cache even if they say that it is not enabled?

    #167819
    ShawnSauce
    Participant

    I did a bit more testing and found that when logged in as admin, the search works exactly as expected, but if I am logged in as a regular member, the search does behave differently.

    I have a forum called Jazz Lovers
    with a topic with jazz in the content.

    If I search the forum as admin, results for forum titles show up as well as results matching topic content and titles. However, if I am logged in as a normal user, I cannot receive results for forum titles.

    #167807
    JLicata
    Participant

    Hi all. I am running WP 4.3.1, bbPress 2.5.8 and a custom theme at http://www.skywayacquisition.com. (I am not sure how to turn off the theme to test this fault with a bundled theme like Twenty Twelve…)

    My forum is on a membership access site through Paid Memberships Pro.

    In my forum, when doing a search in the forum area, the function recognizes that there are results, and says something like “Viewing 3 results – 1 through 3 (of 3 total)” and then shows me the “author” and “search results” headers and footers, but no content in between.

    Can anyone help in a way a relative novice can relate?

    If need be, and someone can help me understand, I can create an account to allow visibility to the site so you can see the actual situation.

    #167790
    zbgc
    Participant

    Hi all,

    Running WP 4.3.1 and BBPress 2.5.8

    The issue: Forum replies appear above forum content in this theme (have tested using vanilla 2015 theme and there’s no problem). The partial solution is to play with CSS.

    I’ve got a CSS plugin (Simple Custom CSS) and making changes in there, and I’ve managed to get the reply content to appear in almost the right place using:

    ul.forums li {position: relative;}

    However, this means the content appears above the bb-reply-header DIV.

    Any help appreciated 🙂

    Thanks

    L.

    #167781
    Robkk
    Moderator

    @mica123

    You need to start seeing if other parts of your site is being cached and it is not just the bbPress portions, if it the bbPress portions make sure to see if it is just you must be logged in notice or other areas like the user’s profile pages to see if it is related to @gperez-tl’s issue.

    You may need to create me a test user account so that I can confirm of the issue you are getting, and to also test other areas the cache issue might be present.

    #167780
    Robkk
    Moderator

    @gperez-tl

    The fix will make it into 2.6 or earlier I bet.

    Haven’t tested the latest patch but I can assume that the issue could be resolved.

    https://bbpress.trac.wordpress.org/ticket/2734

    #167779
    Robkk
    Moderator

    @gperez-tl

    Post the code you are using for the custom howdy message in the toolbar. I do not think this would cause an issue but just double checking.

    Do the same thing with the profile menu items code.

    Just know that you said these were bbPress’s issue although the menu system and the WordPress toolbar are both part of WordPress. The registered menu and menu location are your theme. I do not know how bbPress could cause an issue with this.

    So, (visiting any author’s profile and) clicking on some of these items will show the author’s data, while clicking in others will retrieve current user profile data or something.

    Wait so clicking on anyone’s frontend forum profile could show the current users profile for some reason, or is it just the menu links as you stated.

    You did not edit the user profile templates heavily? you said you are receiving issues with users profiles.

    IF you haven’t already try to track down what is causing the issues you are getting. Since you have a custom theme see if the issue persists in a default theme like twenty twelve, deactivate all plugins but bbPress.

    Troubleshooting

    Your profile pages shouldn’t just be magically be cached by bbPress.

    You may need to create me a test user account so that I can confirm of the issue you are getting, and to also test other areas the cache issue might be present.

    #167771
    mica123
    Participant

    I really wouldn’t know how to do this in my case.
    All I can say is that I copied all of my WordPress and database to another site to test it there and I have absolutely no problems there. If I don’t get anywhere with my webhost, I’ll probably have to find another webhost – but I don’t really want to go down that route.

    #167768
    mica123
    Participant

    Thanks for letting me know. I won’t attempt anything like that.
    Yes, reloading the page helps but it is not a solution for users who log in
    and then find they are not logged in unless they refresh the page.
    I am currently trying to convince my webhost that all is not well –
    they don’t seem to understand what I am talking about. Have you tried the
    Network tool for Response headers in Web developer on FireFox? It should
    show you if the page is really not cached. My test shows that the page
    is cached even if my webhost says that no caching is enabled.

    #167760
    Pascal Casier
    Moderator

    Technically possible as Robkk indicates, ok, but just make sure to keep it under control.
    I’m not sure what maximum number of forums has been tested for visualization and handling inside the different shortcodes and functions.

    Pascal.

    #167732
    Robkk
    Moderator

    I just split your reply into a topic so that you can have your own topic about this.

    Please do not bump topics, especially topics that are about 8 years old.

    If you are using the latest bbPress plugin.

    To get the user’s username use

    <?php 
      global $current_user;
      get_currentuserinfo();
      echo $current_user->user_login;
    ?>

    https://codex.wordpress.org/Function_Reference/get_currentuserinfo

    You can also just use the WordPress toolbar.

    #167730
    Robkk
    Moderator

    Where do I add those lines of code?

    It is CSS put it in your child themes style.css file, a custom css plugin, or anywhere you can put custom css.

    I assume you want me to edit one of the PHP files

    No, never edit the plugin core files, unless you are 100% sure you know what you are doing. Since you are a novice, just do not do it.

    I don’t know what “multisite” is.

    Since you do not know what it is, I am going to assume you do not have it. You do not need it to solve this issue so no need to install any plugins, just curious if you have it. I see it is probably that you have a test enviroment of WordPress because you are planning on migrating to a WordPress/bbPress install from phpBB.

    Yes, your deleteme user does appear in the Users list.

    Does it have the Participant forum role too?

    Alright, so I assume you’re talking about Peter’s Login Redirect plugin, and I assume I’ll need to edit the settings under Settings -> Login/logout redirects, correct?

    You seem to be getting that together. Not sure why you are redirecting to the forums especially a specific forum, but yeah you got it.

    I created a test Subscriber user, which in fact is redirected upon logging in, but isn’t logged in (of course that code you recommended still needs added in).

    The code I gave you helped remove the bullet list displaying in your forums.

    Again thank you for trying to help Robkk, but I would definitely like it if you could be a bit more descriptive in what I need to do to fix this login problem

    We still have to troubleshoot what is causing the user to not seem to be have access to the forums.

    Try some of these troubleshooting steps listed in this guide to see if it could be theme/custom theme related like if you copied the bbPress customizable templates into your child theme and edited them and messed something up on accident, check to see if a plugin could be causing an issue, you can check to see if caching could be an issue by flushing cache from your site, if you edited the bbPress and ever do not remember what you edited you can reinstall a fresh version of the plugin to see if it fixes the issue also.

    Troubleshooting

    Do not just go deleting cache files from WordPress or code in bbPress.

    #167721
    Pascal Casier
    Moderator

    Very first version of my plugin uploaded in the WP queue today. Will report here when you can start testing.

Viewing 25 results - 3,176 through 3,200 (of 11,578 total)
Skip to toolbar