Forum Replies Created
-
In reply to: Adsense on activity stream?
Unfortunately I think I will never get an answer about that…
In reply to: Adsense on activity stream?Thats the last thing I need now, to set up how many times the ads will display
In reply to: Adsense on activity stream?It shows many times not only 3 as I said before. I fix my Theme issue as it was from the adsense code (push) … But I want the ads to show only 2 times, otherwise it will cause Google penalty!
In reply to: Adsense on activity stream?Ok because it is show 3 times I think is mess with my theme. How can make it show only 2 times or something…
In reply to: Adsense on activity stream?Thanks!!!
In reply to: Adsense on activity stream?ok its working without the do_action( ‘ ‘ ); so i just delete the code. Only I want to know about the rest of the files…
In reply to: Adsense on activity stream?another problem is that I can see this lines of code in activity:
do_action( ‘ ‘ );
In reply to: Adsense on activity stream?Correct!!! Thanks Henry, but I dont get it. What about the rest of the files like bp-activity, bp-blogs and so on? I keep them in my theme or I delete them. Also if I need to modify another template do I have to make the same, at the same location?
In reply to: Adsense on activity stream?Its amazing how a simple code like this is working: do_action( ‘bp_activity_entry_content’ );
But I have another issue here. I see the code working strait on the buddypress\bp-templates\bp-legacy\buddypress\activity\entry.php. But I dont know how to create a template overload. I try to follow the info here: https://codex.buddypress.org/themes/theme-compatibility-1-7/a-quick-look-at-1-7-theme-compatibility/#how-is-this-usefulSo what I dit was to copy the whole buddypress plugin on my theme directory, than I changed the entry.php and add it on my theme/buddypress\bp-templates\bp-legacy\buddypress\activity\entry.php
But is not working…For sute I miss something!