MyBB Community Forums

Full Version: how do i display google adsense
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
forum www.relationshipvilla.com/forum

please i have tried my advertisment and ads manager but none is working and whenever i use this [<div align="center">
**ads**
</div>] on template e,g header i get this error Please make sure you have all the input required to edit this template (tid and sid) , please how do i add my adsense code on header, middle of post and above reply box .  
2 things:
1) An enormous number of 404 errors are being generated by your site. It looks like your theme is referencing a whole bunch of images in places that they don't exist. You may want to have a look at your web browser's Developer Console and see if you can resolve those errors.
index.php:13 GET https://relationshipvilla.com/forum/images/axis/js/axis.js 
index.php:554 Mixed Content: The page at 'https://relationshipvilla.com/forum/index.php' was loaded over HTTPS, but requested an insecure script 'http://s7.addthis.com/js/300/addthis_widget.js'. This request has been blocked; the content must be served over HTTPS.
index.php:66 GET https://relationshipvilla.com/forum/images/relationshipvilla%20logo.png 404 ()
onloadwff.js:64 GET https://relationshipvilla.com/forum/images/axis/off.png 404 ()
index.php:173 GET https://relationshipvilla.com/forum/images/collapse.png 404 ()
index.php:147 GET https://relationshipvilla.com/forum/images/axis/fonts/ssp.woff 
index.php:147 GET https://relationshipvilla.com/forum/images/axis/fonts/brs.woff 
index.php:147 GET https://relationshipvilla.com/forum/images/axis/mainbg.png 404 ()
onloadwff.js:64 GET https://relationshipvilla.com/forum/images/axis/on.png 404 ()
onloadwff.js:64 GET https://relationshipvilla.com/forum/images/axis/offlock.png 404 ()
onloadwff.js:64 GET https://relationshipvilla.com/forum/images/axis/offlink.png 404 ()
index.php:1 GET https://relationshipvilla.com/forum/images/axis/fontsssp.ttf 
index.php:1 GET https://relationshipvilla.com/forum/images/axis/fonts/brs.ttf 


2) If you want to show adverts to your users, I would suggest you install this plugin: https://community.mybb.com/mods.php?action=view&pid=39
You can set an advert to run for an unlimited amount of time and put your adsense code in and it should work very nicely.
(2017-08-26, 09:39 PM)HMHackMaster Wrote: [ -> ]2 things:
1) An enormous number of 404 errors are being generated by your site. It looks like your theme is referencing a whole bunch of images in places that they don't exist. You may want to have a look at your web browser's Developer Console and see if you can resolve those errors.
index.php:13 GET https://relationshipvilla.com/forum/images/axis/js/axis.js 
index.php:554 Mixed Content: The page at 'https://relationshipvilla.com/forum/index.php' was loaded over HTTPS, but requested an insecure script 'http://s7.addthis.com/js/300/addthis_widget.js'. This request has been blocked; the content must be served over HTTPS.
index.php:66 GET https://relationshipvilla.com/forum/images/relationshipvilla%20logo.png 404 ()
onloadwff.js:64 GET https://relationshipvilla.com/forum/images/axis/off.png 404 ()
index.php:173 GET https://relationshipvilla.com/forum/images/collapse.png 404 ()
index.php:147 GET https://relationshipvilla.com/forum/images/axis/fonts/ssp.woff 
index.php:147 GET https://relationshipvilla.com/forum/images/axis/fonts/brs.woff 
index.php:147 GET https://relationshipvilla.com/forum/images/axis/mainbg.png 404 ()
onloadwff.js:64 GET https://relationshipvilla.com/forum/images/axis/on.png 404 ()
onloadwff.js:64 GET https://relationshipvilla.com/forum/images/axis/offlock.png 404 ()
onloadwff.js:64 GET https://relationshipvilla.com/forum/images/axis/offlink.png 404 ()
index.php:1 GET https://relationshipvilla.com/forum/images/axis/fontsssp.ttf 
index.php:1 GET https://relationshipvilla.com/forum/images/axis/fonts/brs.ttf 


2) If you want to show adverts to your users, I would suggest you install this plugin: https://community.mybb.com/mods.php?action=view&pid=39
You can set an advert to run for an unlimited amount of time and put your adsense code in and it should work very nicely.





please how do i fix the 404 error because i checked i uploaded all the images. please how do i check the devlopers console because am viewing the source code but not seeing the errors you got, how do i check it please. thank you for your time
(2017-08-26, 05:10 PM)Papergoddess Wrote: [ -> ]forum www.relationshipvilla.com/forum

please i have tried my advertisment and ads manager but none is working and whenever i use this [<div align="center">
**ads**
</div>] on template e,g header i get this error Please make sure you have all the input required to edit this template (tid and sid) , please how do i add my adsense code on header, middle of post and above reply box .  

I am amazed that you're using wordpress but also mybb. I would just use bbpress and buddypress and use advance ads with wordpress. this way you can manage all in one script.

but, I would use the random ads plugin on mybb and just add the adsense code to it.
(2017-08-31, 09:58 PM)leroymcqy Wrote: [ -> ]
(2017-08-26, 05:10 PM)Papergoddess Wrote: [ -> ]forum www.relationshipvilla.com/forum

please i have tried my advertisment and ads manager but none is working and whenever i use this [<div align="center">
**ads**
</div>] on template e,g header i get this error Please make sure you have all the input required to edit this template (tid and sid) , please how do i add my adsense code on header, middle of post and above reply box .  

I am amazed that you're using wordpress but also mybb. I would just use bbpress and buddypress and use advance ads with wordpress. this way you can manage all in one script.

but, I would use the random ads plugin on mybb and just add the adsense code to it.

IT WANT IT TO BE A BIG COMMUNITY. I PREFER MYBB TO BBPRESS. THE RANDOM AD DIDNT WORK. DO YOU KNOW HOW I CAN SOLVE THE ISSUE WITH TEMPLATE?