Skip to:
Content
Pages
Categories
Search
Top
Bottom

a brand new gaming social network

Viewing 8 replies - 1 through 8 (of 8 total)

  • BradleyCapitol
    Member

    @bradleycapitol

    I’m getting a warning error when going to any page other then the homepage.

    Warning: Cannot modify header information – headers already sent by (output started at /websites/123reg/LinuxPackage23/ga/me/rf/gamerfold.co.uk/public_html/gamerfold/wp-content/themes/bp-columns/members/index.php:12) in /websites/123reg/LinuxPackage23/ga/me/rf/gamerfold.co.uk/public_html/gamerfold/wp-includes/pluggable.php on line 866

    this is because you need to login to see anything, and im having trouble redirect it properly to the home page


    @ChrisClayton
    Participant

    @chrisclayton

    @djbnotts – what are you using to redirect users?

    David Carson (from Frisco)’s method has been working well for me – http://pastebin.com/rgJ6BQc8
    You may want to try that… Just add !is_front_page() above !bp_is_register_page() and it will block all pages that are not home, register and activation pages from being viewed by loggedout users.

    and to redirect them home, remove the /join from bp_core_redirect

    thanks very much chris im using the buddypress private community plugin but might take a look at that,it will be one less plugin thanks

    Looks nice where I could see.

    @tikijj thank you we are very new and any feedback is great


    @ChrisClayton
    Participant

    @chrisclayton

    @djbnotts – sorry, missed your reply the other day. Your welcome. Just thought i’d suggest it as users seeing errors is a serious problem. :)

    BP Private community does the exact same thing as David’s code (his code is their ‘default’ mode, and their optional method can be easily done easily just by removing the Exclamation mark just before the conditional).

    Private community doesn’t seem to be maintained anymore (last update was in 2010) so you might be better off using that code as it’s slightly more recent and works in current version of 1.6 bleeding.

    @ChrisClayton– its ok, yea i think i have managed to do it, yea i have noticed that its not being maintained anymore so i think i might switch to the code you suggested,

    but then i was thinking of maybe getting rid of the nav bar alltogether on the welcome page but have looked how to do it, and can’t figure out how to do it.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘a brand new gaming social network’ is closed to new replies.
Skip to toolbar