pH7Software / pH7-Social-Dating-CMS

😻 pH7Builder (formerly pH7CMS) is a Professional & Open Source Social Dating CMS written in PHP 8 πŸš€ This Social Dating Script aims to be low resource-intensive, powerful and secure. pH7Builder includes over 40 modules. It is the first Professional, Free & Open Source Social Dating Site Builder Software and the first choice for enterprise level Da
https://pH7Builder.com
MIT License
956 stars 573 forks source link

pH7cms and adsense #816

Closed claudioizzi closed 3 years ago

claudioizzi commented 3 years ago

I applied to have adsense ads on my pH7cms dating site and they rejected saying "the website uses unsupported languages", the website is in english I don't understand why they said that or how to fix it, anyone else have this problem?

thanks

polynamaude commented 3 years ago

@claudioizzi Make sure you set the good encoding for the documents. I know Google are very picky about this. Pagespeed insights can give you some hint, even if the tool ain't made for this. https://developers.google.com/speed/pagespeed/insights/

claudioizzi commented 3 years ago

How do I set the encoding? what files?

On Mon, Sep 21, 2020 at 11:26 AM Polyna-Maude R.-Summerside < notifications@github.com> wrote:

@claudioizzi https://github.com/claudioizzi Make sure you set the good encoding for the documents. I know Google are very picky about this. Pagespeed insights can give you some hint, even if the tool ain't made for this. https://developers.google.com/speed/pagespeed/insights/

β€” You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/pH7Software/pH7-Social-Dating-CMS/issues/816#issuecomment-696187920, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHWBE3MEX3CIAWORU76VSILSG5WCHANCNFSM4RULBPTQ .

polynamaude commented 3 years ago

@polynamaude I don't think you understood what I meant. The encoding for the pages served are set in the header by the software. Maybe this is where the problem reside. This is why I suggested you use pagespeed insight to get a diagnostic of your website.

claudioizzi commented 3 years ago

I ran it again and expanded all the points yet I still dont see any kind signs of other languages

On Mon, Sep 21, 2020 at 3:28 PM Polyna-Maude R.-Summerside < notifications@github.com> wrote:

@polynamaude https://github.com/polynamaude I don't think you understood what I meant. The encoding for the pages served are set in the header by the software. Maybe this is where the problem reside. This is why I suggested you use pagespeed insight to get a diagnostic of your website.

β€” You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/pH7Software/pH7-Social-Dating-CMS/issues/816#issuecomment-696323654, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHWBE3PSCYF5UDX3GP7QVRLSG6SPXANCNFSM4RULBPTQ .

polynamaude commented 3 years ago

https://support.google.com/adsense/thread/18792596?hl=en https://wordpress.org/support/topic/google-adsense-reuqest-rejected-saying-unsupported-language/

polynamaude commented 3 years ago

https://www.youtube.com/watch?v=YruaGd0XCfM

polynamaude commented 3 years ago

https://www.wpbeginner.com/beginners-guide/how-to-add-google-adsense-to-your-wordpress-site/comment-page-2/

polynamaude commented 3 years ago

Not specific to this CMS but shall put you on some track to find answer. Google is very very very picky and it's specifications.

polynamaude commented 3 years ago

Can be as simple as the page is served in "US English" but somewhere you have your language set as "EN-CA" instead of "EN-US". Google is always "a pain in the ass".

Undefined-Variables commented 3 years ago

It’s more likely that the issue is caused by the first line in the template is not a html tag! It should be but there is two php lines before this that are used to insert copyright into the page! Google probably see this and assume it’s an unsupported language!

polynamaude commented 3 years ago

@Undefined-Variables PHP Tags aren't sent but are interpreted. But yes, if you have something that appear before de then it could be interpreted as a exotic language.

But... what the f*ck !? This is just absurd ! Okay to have copyrights in the source code but to have it poluting everywhere possible, this is just an over expressed ego. I french we have a story about a dude who looked himself so much into the reflexion he saw in a lake that he ended up drowning...

You can have a "Produced by Joomla" tag or something similar, I think it's called a creator tag, where you put the name of the software. But to create your own is a bit.... excessive and causing problem. Again, this is leftover from the time there was a paid version and a free version. The free version was a big jumbo sized publicity for the paid one ! And seem like now it's a big publicity for someone's curiculum.

Undefined-Variables commented 3 years ago

@polynamaude I knew you would say that haha! I know php tags are ignored but if the php says

 <?php echo $copyright_bollox; ?>

The first thing seen is the value of the variable. This is what it does and the value of the variable is the copyright found in the framework! This causes many problems not just this!

polynamaude commented 3 years ago

@Undefined-Variables Good morning @Undefined-Variables ! Wanted to tickkle you somehow. I'm really wondering what's the goal of this. Btw, this can be removed. What's prohibited is to remove the copyright notice in the source code.

It's like rewritting your own GDPR, that's not allowed.

Undefined-Variables commented 3 years ago

@polynamaude morning... I don't understand what you are asking here... The goal is to add text to the sites header, this can be problematic as like in this case, when another service/website tries to read the first html tag it fails as the first thing seen is the copyright. This was the first thing I had to remove as I had a similar issue to this! Its not a simple task either!

polynamaude commented 3 years ago

@Undefined-Variables I'm saying same as you. What do you don't understand ? What part of what I'm writting. There's a rule that say "don't create yourr own standard" and another one that say "stick to existing standard when they exist and don't go against them".

It's like, don't create your own unique HTML tag.

Undefined-Variables commented 3 years ago

Wanted to tickkle you somehow.

Sorry was half asleep and not sure what tickkle is?

polynamaude commented 3 years ago

@Undefined-Variables To annoy someone, but not in a bad way. Something friendly... Like you'd do with someone you are good friend with. A bit like throwing a bucket of cold water over someone under the shower.

Undefined-Variables commented 3 years ago

Oh I see! Sorry! Makes sense now! That sounds horrible a bucket of cold water over you while your in a nice warm shower!

stale[bot] commented 3 years ago

Hi there :) It looks like there has been no activity on this issue recently. For this reason, this issue has been marked as archived. It will be closed in 7 days if no further activity occurs. Thank you for your contribution! 😊

stale[bot] commented 3 years ago

Hi there :) It looks like there has been no activity on this issue recently. For this reason, this issue has been marked as archived. It will be closed in 7 days if no further activity occurs. Thank you for your contribution! 😊

stale[bot] commented 3 years ago

Hi again, since you didn't get back to me, I assume the problem is fixed. I'm closing it by now. If it isn't the case, please feel free to open a new issue. Thank you! 😺 Pierre-Henry πŸ€–

github-actions[bot] commented 2 years ago

Hi there, I locked the thread since there has not been any recent activity after it was closed. Please open a new issue for related bugs. Thank you, Pierre-Henry Soria πŸ€–