Show Sidebar Log in
Commons In A Box Logo
  • Home
  • About
    • Project Team
    • Logos and Graphics
  • Showcase
    • CBOX Classic Showcase
    • CBOX OpenLab Showcase
  • Demo
  • Get Started
  • Documentation
    • Technical Guide
    • CBOX Classic Guide
    • CBOX OpenLab Guide
  • Support Forums
    • CBOX Classic
    • CBOX OpenLab
    • Developers Forum
  • News

Group Admins

  • Profile picture of Scott Voth

CBOX Classic Support

Public Group active 4 months ago

This group provides support for Commons In A Box Classic, our original software for community-building. Register for an account or log in to commonsinabox.org, then join the group and post your question here.

Theme/Buddypress Docs conflict with Java Scripts

  • This topic has 3 replies, 2 voices, and was last updated 10 years, 9 months ago by sepidpooy.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • August 6, 2014 at 4:31 pm #4967
    sepidpooy
    Participant

    Hi

    My theme has conflict with some java scripts which I don’t know how to find and debug them.
    The problem is that when I load a page which need to verify use access permission to show div body, it shows website home page in that div.

    for example, using administrator can see a page like this :
    http://screencast.com/t/g0BLU65oZa

    However, regular users see this page for 1-2 second and then suddenly the page content change to this:
    http://screencast.com/t/VFl5jvgYnPS9

    I think there is nasty javascript somewhere in my theme which replace the page content which wired content from home-page.

    This issue happens in other section of my site which perform user access check to show content.

    I might be wrong about javascript and it might be some thing else. However, the list of javascripts that I has been en-queued in wp-scripts for this specific page is this:

    http://pastebin.com/04SE3kpV

    Do you know why I am seeing this wired behavior ?

     

    I don’t have this problem with Default wordpress theme.

    August 7, 2014 at 12:14 pm #4969
    Ray
    Keymaster

    Have you tried disabling all plugins except BuddyPress and BuddyPress Docs?

    If that works, then enable each plugin back one by one until you find out the plugin that is causing the problem.

    August 7, 2014 at 8:54 pm #4974
    sepidpooy
    Participant

    I did disable all the plug-ins and the issue is still remaining in other part of the site which does require to check for user access permission.

    This is not a conflict with a plug-in, this is an issue with theme.

    As I said everything works fine with wordpress default theme.

    August 8, 2014 at 4:29 pm #4977
    sepidpooy
    Participant

    I think I found the bug fix. It was due to custom functions that I had implemented in the function.php.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Log In
Group logo of CBOX Classic Support
  • Home
  • Forum
  • Announcements
  • Docs
  • Members 287
  • Send Invites

Groups

Newest | Active | Popular | Alphabetical
  • Group logo of CBOX Classic Support
    CBOX Classic Support
    287 members
  • Group logo of CBOX Pioneers
    CBOX Pioneers
    71 members
  • Group logo of CBOX Developers
    CBOX Developers
    40 members
  • Group logo of CBOX OpenLab Support
    CBOX OpenLab Support
    22 members
  • Group logo of CBOX-OL Testing Partners
    CBOX-OL Testing Partners
    12 members

CBOX has its roots in the CUNY Academic Commons, which in turn was made possible through funding from The City University of New York itself.

CUNY Logo

CUNY Academic Commons Logo

City Tech logo

The Commons In A Box was made possible through the generous support of the Alfred P. Sloan Foundation.

Alfred P. Sloan Foundation Logo

NEH Logo

The CUNY Graduate Center has directly contributed to the CUNY Academic Commons, housing the project since its inception, and has contributed to CBOX through its GC Digital Initiatives.

CUNY Graduate Center Logo

CUNY Graduate Center Digital Initiatives Logo

Powered by Commons In A Box
css.php
Skip to toolbar
  • About WordPress
    • WordPress.org
    • Documentation
    • Learn WordPress
    • Support
    • Feedback
  • Log In
  • Register