Skip to:
Content
Pages
Categories
Search
Top
Bottom

links in profile text areas pointing to wrong place

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

  • Burt Adsit
    Participant

    @burtadsit

    You got any fancy domain mapping going on?

    Do you have some blog other than blog id 1 as the BP_ROOT_BLOG?

    What that displays is the site url for the current blog. Go to that blog id and in Site Admin > Blogs then from the list choose Edit. You’ll see your ‘siteurl’ defined down in blog options.

    Whatever url is there is your siteurl. That’s what gets used.


    Roger Coathup
    Participant

    @rogercoathup

    Thanks for the quick response:

    Can you let me know where I check the BP_ROOT_BLOG?

    Yes, site url for Interviews is set to: http://interviews.2live2run.co.uk/

    BUT, similarly for other blogs on the site:

    training blog – site url is set to: http://training.2live2run.co.uk/

    features blog – site url is set to: http://features.2live2run.co.uk/

    This is not an option I’ve specifically configured…

    I also notice that in the blog info section (site admin … blogs … features … edit)… that the checkbox: Update ‘siteurl’ and ‘home’ as well is ticked.

    What are my next steps?

    p.s. no, I’ve not setup any fancy domain mapping


    Roger Coathup
    Participant

    @rogercoathup

    further info:

    don’t know if it’s relevant, but several of the blogs (including interviews) were set up by the admin user (user_id = 1)


    Jeff Sayre
    Participant

    @jeffsayre

    What are my next steps?

    You’ve provided a little detail about your setup, and more detail about your issue. However, there is more about your setup that could prove useful in providing you with assistance. Please see this thread and respond as appropriate:

    https://buddypress.org/forums/topic.php?id=2674


    Roger Coathup
    Participant

    @rogercoathup

    @Burt: you were asking for BP_ROOT_BLOG id… how do I find that out?

    @Jeff: answers to your questions embedded below.

    1. Which version of WPMU are you running? 2.7.1

    2. Did you install WPMU as a directory or subdomain install? subdomains

    3. If a directory install, is it in root or in a subdirectory?

    4. Did you upgraded from a previous version of WPMU? If so, from which version? Yes, I upgraded wpmu when I upgraded bp to 1.0 (not sure what previous version of WPMU was)

    5. Was WPMU functioning properly before installing/upgrading BuddyPress? I don’t know because I installed it as part of BP install, and didn’t test it separately

    6. Which version of BuddyPress are you running? 1.0

    7. Do you have any plugins other than BuddyPress installed and activated? 3 plugin widgets of my own that display posts from the database

    8. Are you using the standard BuddyPress themes or customized themes? customised themes

    9. If running bbPress, which version? 1.0-rc-1

    10. Please provide a list of any errors in your server’s log files

    [Tue Jun 02 18:46:20 2009] [error] [client 78.149.72.128] File does not exist: /home/live2run/public_html/wp-content/themes/2live2runmagazine/images/background.gif, referer: http://2live2run.co.uk/

    [Tue Jun 02 18:45:59 2009] [error] [client 78.149.72.128] File does not exist: /home/live2run/public_html/wp-content/themes/2live2runmagazine/images/background.gif, referer: http://2live2run.co.uk/


    Roger Coathup
    Participant

    @rogercoathup

    @Burt and Jeff: thanks for your help…

    … I’ve found the solution to this one:

    I was using the switch_to_blog() function to retrieve posts to display in a header bar, and had neglected to call restore_current_blog() at the end.

    It was somewhat unexpected that this would cause links in profile fields to be amended. Is there any reference manual for the bp functions? Or anything planned?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘links in profile text areas pointing to wrong place’ is closed to new replies.
Skip to toolbar