Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter chrstna

    (@chrstna)

    Hi,

    *sobs quietly in the darkest corner of the room*

    Turns out the dev who created the plugin is working on another project so he’s unavailable to help out. Well that’s what my client says but if he exists as a person then I don’t see why he can’t help!

    I’m quite stubborn when it comes to fixing things that don’t work, but I think it’s time to move on. I am going to recommend to my client that he finds a WordPress dev to take over from this point. I’m still disappointed I couldn’t figure it out.

    Thank you for all your suggestions though, I appreciated it!

    Christina

    Thread Starter chrstna

    (@chrstna)

    Hi,

    SO CLOSE.

    I inserted the code in the header.php of the new theme and now the numbers across the top work, but it gives me a blank if I click the flags.

    SO CLOSE.

    There are, at least, no more errors in the google console now. Except I kind of wish there were since it’s still not 100%.

    Thank you so much for explaining everything as well.

    I don’t know why the flags won’t work… don’t even know where to begin. If you have any idea why please let me know. My client has also contacted the dudes who created the plugin in the first place, so hopefully they can have some input.

    Thank you for all your help thus far!

    Christina

    Thread Starter chrstna

    (@chrstna)

    Hi,

    Also, when I try to click on a page number or the teams, I get this error on the google console:

    http://brownlowtracker.com.au/screen.png

    btracker_ajax is not defined

    Could this be why the plugin is not working? I have no knowledge of jquery/javascript so I’m grasping at straws here. I know where the btracker-ajax file is though if I need to edit anything.

    *rips hair out*

    Thread Starter chrstna

    (@chrstna)

    Hi,

    Again, thank you for your replies.

    I fixed the white page issue by renaming one plugin and refreshing the page. Funnily enough when I renamed it back to the original the site was still functioning. Amazing how I can fix something without really knowing why or how.

    I tried your suggestion and the matchesscore plugin doesn’t work with any other template than the original. This occurs with the plugin on the ‘Your Votes’ page also. This is actually a more pressing issue than the matchesscore plugin. We can do without the matchesscore plugin as it’s just a carousel of information that isn’t necessary to the function of the site.

    Could you have a look at this page with the functioning plugin on the ‘Your Votes’ page
    http://brownlowtracker.com.au/uat/brownlow-tracker/
    (please click the page numbers and actually clicking the teams does something too)

    And then check out http://brownlowtracker.com.au/brownlow-tracker/
    where it doesn’t work.

    Another question: each page can be set to have a different theme. If a page is using the default theme, what php file does that correspond with? I’m thinking that I might try to merge the two themes so that the Your votes page is actually using a file from the original BTracker theme. Does that seem plausible?

    Christina

    Thread Starter chrstna

    (@chrstna)

    Hi,

    Thanks for this reply.

    Unfortunately I still haven’t been able to fix the connection error so I haven’t been able to try any of your suggestions.

    I contacted my hosting provider and they told me it’s a plugin that’s messing it up. I don’t know how they know that? I’m just renaming plugin folders via ftp and refreshing the page for now…. there has to be a better way to do this?

    *sigh

    Thread Starter chrstna

    (@chrstna)

    I need to add a few more issues now.

    1. I was working on the site until late last night perfectly fine, and this morning when I tried to view the homepage/login to backend I’m getting a “This webpage is not available ERR_CONNECTION_REFUSED” from Google Chrome. Internet is fine. When viewing on my phone using data I simply get a white page. I can’t access my cpanel but FTP works alright.

    2. I tried to troubleshoot the plugin issue by changing WP_DEBUG false to true last night. Is that all is required to make it show on the page? When I insert the php do_shortcode all I get is a white page even with the debug activated.

    3. I also tried to use the shortcode for the plugin [matchesscore] on a page and gave it a menu of its own. Once again, only a white page. There are other plugins that are working just fine (well not until this morning since the error) like ‘your votes’ and ‘leaderboard’ on the site. Does this mean there is something in the plugin code that refuses to work with the new theme?

    So, here’s a few lines of code from the header.php of the new theme that is not working with the plugin that used to work on the old theme:

    <div class="row bkaTopmenu bka_menu <?php echo ( !is_front_page() ? '' : ( $hgr_options['menu-style'] == 1 ? 'hidden' : '') ); ?>">
    
               <?php do_shortcode('[matchesscore]'); ?>
    
                          <div class="btn-logreg">
                                <?php
                                if ( is_user_logged_in() ) {
    								$current_user = wp_get_current_user();
    							?>
                                <span class="username">Hi, <?php echo $current_user->user_login; ?></span>
                                <a href="<?php echo get_site_url(); ?>/logout/">Logout</a>
                                <?php
                                }else{
    							?>
    
                                <a href="<?php echo get_site_url(); ?>/login/">Login</a>
                                <?php } ?>
    
                            </div>

    By the way, the plugin on the old theme was situated above the header like so:

    <body <?php body_class(); ?>>
    <div class="bt-wrapper">
    	<header role="banner">
            <div class="bt-con">
    			<?php do_shortcode('[matchesscore]'); ?>
                <div class="bt-social">
                    <div class="bts-left"></div>
                    <div class="bts-middle">
                    	<?php
    					$twitter_username = get_option( 'twitter_username' );
    					$facebook_username = get_option( 'facebook_username' );
    					$youtube_url = get_option( 'youtube_url' );
    					$google_plus_url = get_option( 'google_plus_url' );
    					?>
                        <a href="<?php echo $twitter_username; ?>" target="_blank" class="bt-soc twit"></a>
                        <a href="<?php echo $google_plus_url; ?>" target="_blank" class="bt-soc gtak"></a>
                        <a href="<?php echo $facebook_username; ?>" target="_blank" class="bt-soc fbs"></a>
                        <a href="<?php echo $youtube_url; ?>" target="_blank" class="bt-soc ytb"></a>
                    </div>
                    <div class="bts-right">
                    </div>
                </div>

    I’m so frustrated with WordPress right now, it seems so delicate. The wind will blow and the site malfunctions. Thanks for any help.

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