This topic contains a post which is marked as Best Answer. Press here if you would like to see it.
*

oneloveb

  • ****
  • 112 posts
Public profile Adsense not display
« on: April 26, 2021, 10:47:46 PM »
Hi,

Since when I bought the Beta theme Public profile Adsense not display

Kindly advise on what to do

Thanks

*

MB Themes

Re: Public profile Adsense not display
« Reply #1 on: April 27, 2021, 09:56:10 AM »
I was able to find both banner blocks in user public profile file.
Code: [Select]
<?php echo bet_banner('public_profile_sidebar'); ?>
<?php echo bet_banner('public_profile_bottom'); ?>
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

oneloveb

  • ****
  • 112 posts
Re: Public profile Adsense not display
« Reply #2 on: April 27, 2021, 10:30:44 AM »
Yes, both banner block code is there but Adsense not display

<?php echo bet_banner('public_profile_sidebar'); ?>
<?php echo bet_banner('public_profile_bottom'); ?>



*

MB Themes

Re: Public profile Adsense not display
« Reply #3 on: April 27, 2021, 10:48:53 AM »
But that is not problem of theme if adsense display or no.
Enter into these banners simple text, i.e. TESTING BANNER and if text is visible in front, everything is alright on theme side.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

oneloveb

  • ****
  • 112 posts
Re: Public profile Adsense not display
« Reply #4 on: April 27, 2021, 11:50:49 AM »
I just did what you said by input the text to the public profile sidebar and button TESTING BANNER and the text is not appealing at all


Thanks

Marked as best answer by frosticek on April 27, 2021, 01:02:53 PM
*

MB Themes

Re: Public profile Adsense not display
« Reply #5 on: April 27, 2021, 01:02:49 PM »
@oneloveb
Thanks for feedback, problem is in functions.php

Find this:
Code: [Select]
    array('id' => 'public_profile_sidebar', 'position' => __('Public profile sidebar', 'beta')),
    array('id' => 'public_profile_bottom', 'position' => __('Public profile under items', 'beta'))

Replace with:
Code: [Select]
    array('id' => 'banner_public_profile_sidebar', 'position' => __('Public profile sidebar', 'beta')),
    array('id' => 'banner_public_profile_bottom', 'position' => __('Public profile under items', 'beta'))
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

oneloveb

  • ****
  • 112 posts
Re: Public profile Adsense not display
« Reply #6 on: April 27, 2021, 01:14:00 PM »
WORKED THANKS ;D