Help [google Ad sense code issue]

Need some custom code changes to the phpBB core simple enough that you feel doesn't require an extension? Then post your request here so that community members can provide some assistance.

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Rey619
Registered User
Posts: 71
Joined: Mon Nov 04, 2024 4:27 pm

Help [google Ad sense code issue]

Post by Rey619 »

I put in a google Ad sense code and it messed up the forum now i cant access help suggestions plz



https://swcthefinalchapter.com/index.php
User avatar
SpIdErPiGgY
Registered User
Posts: 311
Joined: Sun May 02, 2021 2:11 pm
Location: Erpe-Mere, Aalst, BE
Name: Andy Dm

Re: Help [google Ad sense code issue]

Post by SpIdErPiGgY »

Remove the code you added and clear the forum cache.
If you cannot access acp, then go via FTP to the cache folder, and delete the production folder.
Image
Rey619
Registered User
Posts: 71
Joined: Mon Nov 04, 2024 4:27 pm

Re: Help [google Ad sense code issue]

Post by Rey619 »

i cant access apc or even log in so how would i get to the FTP
Rey619
Registered User
Posts: 71
Joined: Mon Nov 04, 2024 4:27 pm

Re: Help [google Ad sense code issue]

Post by Rey619 »

can u walk me through steps to get to this and do this im completly lost lol.
Rey619
Registered User
Posts: 71
Joined: Mon Nov 04, 2024 4:27 pm

Re: Help [google Ad sense code issue]

Post by Rey619 »

SpIdErPiGgY wrote: Fri Nov 08, 2024 6:02 am Remove the code you added and clear the forum cache.
If you cannot access acp, then go via FTP to the cache folder, and delete the production folder.
the production folder in file manager in the cpanel ?
User avatar
halil16
Registered User
Posts: 1452
Joined: Fri Jul 24, 2020 11:30 pm
Location: Turkiye
Name: Halil

Re: Help [google Ad sense code issue]

Post by halil16 »

phpBB root /cache folder...

I think it is best to use the following extension for Adsense:
https://www.phpbb.com/customise/db/extension/ads/
Buy me a coffee ☕
Hire me for your phpBB board. 🚩
Introducing Mobile Upgrade! *Make your phpBB board like an app! 📱
O BeldeThatTowns*for sale*$2250 🛒
"The day we'll need ideas more than possessions, we'll find the secret to true wealth." - Peyami Safa /peˈjɑːmi saˈfɑː/
User avatar
P_I
Community Team Member
Community Team Member
Posts: 2502
Joined: Tue Mar 01, 2011 8:35 pm
Location: Western Canada 🇨🇦

Re: Help [google Ad sense code issue]

Post by P_I »

Rey619 wrote: Fri Nov 08, 2024 1:34 pm i cant access apc or even log in so how would i get to the FTP
Rey619 wrote: Fri Nov 08, 2024 1:52 pm
Rey619 wrote: Fri Nov 08, 2024 3:01 pm
Unless you have new information pertinent to your request, we ask that you please wait six hours before bumping your topic. All team members and community members here are volunteers.

The recommended approach is to edit your previous post(s) if no-one has replied and add the new information.
Normal people… believe that if it ain’t broke, don’t fix it. Engineers believe that if it ain’t broke, it doesn’t have enough features yet. – Scott Adams
Rey619
Registered User
Posts: 71
Joined: Mon Nov 04, 2024 4:27 pm

Re: Help [google Ad sense code issue]

Post by Rey619 »

ok i am sorry i am just trying to remove so i can access the forum again.
User avatar
[Dimetrodon]
Registered User
Posts: 494
Joined: Tue Aug 30, 2022 3:29 am
Location: Paleozoic Era

Re: Help [google Ad sense code issue]

Post by [Dimetrodon] »

Rey619 wrote: Fri Nov 08, 2024 3:01 pm
SpIdErPiGgY wrote: Fri Nov 08, 2024 6:02 am Remove the code you added and clear the forum cache.
If you cannot access acp, then go via FTP to the cache folder, and delete the production folder.
the production folder in file manager in the cpanel ?
What files did you edit exactly?

You are able to manage, edit, and delete files with the file manager in cpanel, and I assume you still have access to that.

I would download a fresh phpBB package, extract it on your computer's desktop, and replace the core files you edited (and only the ones you edited) with clean copies.
Avatar by Phoenix-of-Starlight.
Rey619
Registered User
Posts: 71
Joined: Mon Nov 04, 2024 4:27 pm

Re: Help [google Ad sense code issue]

Post by Rey619 »

so in other words i have to do it over and ill lose all my posts ?
User avatar
[Dimetrodon]
Registered User
Posts: 494
Joined: Tue Aug 30, 2022 3:29 am
Location: Paleozoic Era

Re: Help [google Ad sense code issue]

Post by [Dimetrodon] »

Rey619 wrote: Fri Nov 08, 2024 4:09 pm so in other words i have to do it over and ill lose all my posts ?
No. You do not need to start over.

I'm talking about undoing your code changes by replacing your edited files (and replacing only the files you edited!) with original versions.
Avatar by Phoenix-of-Starlight.
Rey619
Registered User
Posts: 71
Joined: Mon Nov 04, 2024 4:27 pm

Re: Help [google Ad sense code issue]

Post by Rey619 »

i am not even sure what files were edit a google ad sense code was just put in and that what happened after
User avatar
P_I
Community Team Member
Community Team Member
Posts: 2502
Joined: Tue Mar 01, 2011 8:35 pm
Location: Western Canada 🇨🇦

Re: Help [google Ad sense code issue]

Post by P_I »

Did you follow the suggestions from viewtopic.php?p=16037542#p16037542? If so that might provide insight to what changed and caused your issue.
Normal people… believe that if it ain’t broke, don’t fix it. Engineers believe that if it ain’t broke, it doesn’t have enough features yet. – Scott Adams
Rey619
Registered User
Posts: 71
Joined: Mon Nov 04, 2024 4:27 pm

Re: Help [google Ad sense code issue]

Post by Rey619 »

Yeah we put the ad extension up first but at this point im trying to revert it so i can access it.
User avatar
warmweer
Jr. Extension Validator
Posts: 11873
Joined: Fri Jul 04, 2003 6:34 am
Location: somewhere in the space-time continuum

Re: Help [google Ad sense code issue]

Post by warmweer »

Perhaps not relevant but ...
your cookies aren't set properly
see Fixing incorrect cookie settings

and your styles Virus and Virus_2nd are outdated (phpBB version 3.3.3)
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.

Return to “phpBB Custom Coding”