Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author gurievcreative

    (@gurievcreative)

    Hello.

    Please give a link to a page where there are problems and screenshot. I need to somehow reproduce the error.

    Best regards, Eugen.

    Thread Starter TheBusinessGypsy

    (@thebusinessgypsy)

    Thank you for getting back to me Eugen!

    So here is the problem

    The GC Social Wall is breaking the top right hand corner menu in WP Touch.

    I have 2 separate websites that have this problem.

    So if you go to https://www.302tacops.com via your iPhone, you will see in the top right hand corner 3 little lines, which is the menu. When you click that, the menu slides open, giving you options. You can also click the search icon to search the website. I HAD GC Social Wall on this website, but I deleted it because it broke the menu.

    Now if you go to https://www.302BJJ.com (Brazilian Jiu-Jitsu) via your iPhone, you will see the same plugin used to create the mobile view, which is WPTouch mobile plug in.

    On the 302BJJ website via iPhone, it has the same 3 line menu bar in the top right hand corner. When you try to click the menu icon, nothing happens. Same with the search icon. So the whole top header of WPTouch is broken due to the GC Social Wall.

    I run both of those websites and I went through every plug in to see which one broke the WPTouch Mobile Plugin Menu Bar and it was the GC Social.

    I also have another website https://www.VMBistro.com with the same problem (via iPhone)

    Please advise and thank you for your help!

    Thread Starter TheBusinessGypsy

    (@thebusinessgypsy)

    Hello again! Trying to get this solved so I reached out to the WPTouch Developers and they gave me the following information.

    _________________________________________________________________________

    Thanks for your feedback! Because we delay loading WPtouch’s JavaScript files to optimize page load times, its functionality can occasionally be affected by errors caused by other plugins.

    Our testing with GC Social Wall suggests that a (poor) assumption on their part is to blame. If the GC Social Wall plugin is active, it loads a fragment of JavaScript for every page load:

    jQuery(document).ready(function(){
    var agragator = new Agregator(walls_to_load);
    });
    Although it looks fairly innocuous, a sharp eye will spot the problem immediately: the variable walls_to_load isn’t defined here. In fact, it is only defined when a ‘wall’ shortcode is output (from initializeWall() in GCSocialWall.php):

    <script>
    var walls_to_load = <?php echo base64_decode($content); ?>;
    </script>
    Since the plugin appears to only support one ‘wall’ at a time, the easiest fix would probably be for the GC Social Wall developer to move the initial section of code quoted above from the gc_social_wall.js file to the script block injected by the initializeWall() function. Alternatively they could check to see if the ‘walls_to_load’ variable has been defined before attempting to use it.

    Please do contact the GC Social Wall developer and suggest they update their plugin to address this issue!

    ________________________________________________________________________

    So that is what I am doing. I am contacting you to try to get this fixed because we love Social Wall but it breaks out WPTouch Menu, which forces us to not use Social Wall.

    Please email me back ASAP so we can get this solved.

    The same happening here! Not wptouch but my themes javascript. From theme support say the same. walls_to_load has an issue.

    Did you fixit?

    Fix this problem immediately!

    i managed to find a dirty workaround i thought i’d share. As mentioned elsewhere, I found that the plugin was breaking the pages where no shortcode was present. So i added the shortcode in the footer, hid it with CSS, and then wrapped it in a conditional to stop it showing on the home page (where i am displaying my actual social wall).

    Hope this helps someone ??

    Yukon Cornelius – can you provide any further instructions on your work around? I tried adding it in the footer and hiding it with CSS, but I still received the walls_to_load error. What conditional code do you use?

    Note, I tried using the code provided by swfideas on another board (https://www.ads-software.com/support/topic/wptouch-menus-breaking?replies=10). It seemed to work, but my plugin disappears after a time. I’m concerned it may be because this code is causing an error.

    `
    jQuery(document).ready(function(){
    if(typeof walls_to_load !== ‘undefined’) {
    var agragator = new Agregator(walls_to_load);
    }
    });
    `

    Thanks in advance for any help.

    sorry @lcurty can’t help. It was nothing special – just i have the wall showing on home page, so i said if not is_front_page show the shortcode and i put it in a div that was hidden. Hope you figure it out.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘GC Social Breaks WPTouch Menu’ is closed to new replies.