Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • @nico_martin Hello, I’m sorry I deleted the Firebase project and I’m testing OpenSignal for now. But for the record my install is PHP7 with Enfold theme connecting from a domain associated with a legacy Google Apps account. I’ve set up Firebase in this same account for an Android app – and for a different domain webapp- and it worked fine but that was a couple years ago.

    @milus783 @khaliel Lets compare installations, now I’m thinking maybe it is a Firebase issue since all my logs and console were clear.

    Hi @sayhellogmbh Yes I tried all that, should work straight away, I’m using the long Key and my ID from a slightly different URL:

    https://console.firebase.google.com/project/{project_ID}/settings/cloudmessaging/

    I’m thinking maybe some plugin, theme or Cloudflare might be blocking it because I see no output in the code that is related to Firebase. Where or how can I check if the connection is being made? Or where can I find the code output?

    if ($fetchSelecetedPostTypes == '' || $fetchSelecetedPostTypes == null) {
    				$html .= '<p id="page-visit-counter-shortcode-block" class="page-visit-counter-block" '.$text_color_page_visit.'><img aria-hidden="true" alt="" src="'.site_url().'/wp-content/plugins/page-visit-counter/images/1456175371_vector_65_14.png" /><span id="shortcode_'.$pageID.'" style="margin-left: 5px;margin-right: 5px;" class="page_amount_visitor_shortcode">'.$total.'</span>'.__('total visits.','page-visit-counter').'</p>';
    			} else {
    				$postTypeSelectedEncodeArr = json_decode($fetchSelecetedPostTypes);
    				if (in_array($post->post_type,$postTypeSelectedEncodeArr)) {
    					$innerSettings = get_post_meta($pageID,'enable_page_count',true);
    					if ($innerSettings == '' || $innerSettings == 'yes') {
    						$html .= '<p id="page-visit-counter-shortcode-block" class="page-visit-counter-block" '.$text_color_page_visit.'><img aria-hidden="true" alt="" src="'.site_url().'/wp-content/plugins/page-visit-counter/images/1456175371_vector_65_14.png" /><span id="shortcode_'.$pageID.'" style="margin-left: 5px;margin-right: 5px;" class="page_amount_visitor_shortcode">'.$total.'</span>'.__('total visits.','page-visit-counter').'</p>';

    This worked quite fine.

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