BBPress Chris LaMorte : Replies Created

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: Redirect after filling out profile #324551
    Chris LaMorte
    Participant

    Ok I sent a contact form email, please let me know that you got it okay. Also please let me know once you’ve sent the paypal invoice so I can pay it. I will go with the $60 option so that it can be updated.

    in reply to: Redirect after filling out profile #324472
    Chris LaMorte
    Participant

    Ugh, still not working. It says “An Error has Occured.” Is there any way I can pay extra for your assistance with this? I would really appreciate it. I’m under a lot of pressure to get this taken care of immediately.

    Thanks!
    Chris

    in reply to: Redirect after filling out profile #324395
    Chris LaMorte
    Participant

    Is there any snippet of code that I can add and can you tell me where to put it? I’m not familiar with callbacks or javascript. I am confused now and have tried a number of things but had no success.

    in reply to: Redirect after filling out profile #324158
    Chris LaMorte
    Participant

    Thanks so much for your help. I’m still having an issue. I edited the code on those lines as you said and although it is redirecting, it is causing the entry to not show up in the wordpress back end as it should. Here is my code, maybe you can point me in the right direction.

            /**
             * @link http://stackoverflow.com/a/21583714
             */
    
            // if missing doctype (quirks mode) then will always use 'body'
            if ( document.compatMode !== 'CSS1Compat' ) return 'body';
    
            // if there's a doctype (and your page should)
            // most browsers will support the scrollTop property on EITHER html OR body
            // we'll have to do a quick test to detect which one...
    
            // similar behavior as an HTTP redirect
            window.location.replace("https://gcba.org/?page_id=6044");
    
            var html = document.documentElement;
            var body = document.body;
    
            // get our starting position.
            // pageYOffset works for all browsers except IE8 and below
            var startingY = window.pageYOffset || body.scrollTop || html.scrollTop;
    
            // similar behavior as an HTTP redirect
            window.location.replace("https://gcba.org/?page_id=6044");
    
            // scroll the window down by 1px (scrollTo works in all browsers)
            var newY = startingY + 1;
            window.scrollTo(0, newY);
    
            // And check which property changed
            // FF and IE use only html. Safari uses only body.
            // Chrome has values for both, but says
            // body.scrollTop is deprecated when in Strict mode.,
            // so let's check for html first.
            var element = ( html.scrollTop === newY ) ? 'html' : 'body';
    
            // now reset back to the starting position
            window.scrollTo(0, startingY);
    
            return element;
        }
    };
    
    CN_Form.init();
    

    I would really appreciate it if you could help me figure out what I am doing wrong. Again, thank you so much for taking the time to help me out and being so patient. I also attached the file if that helps.

    Attachments:
    You must be logged in to view attached files.
    in reply to: Redirect after filling out profile #323611
    Chris LaMorte
    Participant

    I can’t seem to find this file. Can you tell me exactly where it is located?

Viewing 5 posts - 1 through 5 (of 5 total)