1
HarryB
Re: Banner script that works for Google adsense
  • 2014/5/30 13:22

  • HarryB

  • Just popping in

  • Posts: 9

  • Since: 2013/12/30


Forgot. Add to the PHP block:

echo $random[$i];



2
HarryB
Re: Banner script that works for Google adsense
  • 2014/5/30 13:16

  • HarryB

  • Just popping in

  • Posts: 9

  • Since: 2013/12/30


And with this plugin for blocks anywhere, it made my day
http://www.xuups.com/modules/publisher/item.php?itemid=10



3
HarryB
Re: Banner script that works for Google adsense
  • 2014/5/30 10:42

  • HarryB

  • Just popping in

  • Posts: 9

  • Since: 2013/12/30


Never mind. I found it. Add to a PHP block with adsense codes:

$random[] = '';

$random[] = '';

// ad more banners if you like

$random[] = '
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
'
;

$i rand(0count($random)-1);



4
HarryB
Banner script that works for Google adsense
  • 2014/5/30 9:43

  • HarryB

  • Just popping in

  • Posts: 9

  • Since: 2013/12/30


Hi, I have been searching high and low, but can't get this to work. I have tried Javascript and PHP but still nothing. The problem: I'm using the xoops banner system and it works great, but I want to have a rotator script that can rotate different sizes of google ads too. Any advice?



5
HarryB
Re: Publisher and SEO
  • 2014/1/9 20:09

  • HarryB

  • Just popping in

  • Posts: 9

  • Since: 2013/12/30


Thanks, but I'm just a satisfied user of XOOPS. :)
I was hoping for the copy/paste code, or else I'm stuck. :)



6
HarryB
Re: Publisher and SEO
  • 2014/1/6 3:22

  • HarryB

  • Just popping in

  • Posts: 9

  • Since: 2013/12/30


Bump



7
HarryB
Publisher and SEO
  • 2013/12/30 18:06

  • HarryB

  • Just popping in

  • Posts: 9

  • Since: 2013/12/30


Hi, after about 1000 articles I finally found out that using the htaccess SEO was a good idea (yes, I know ) That went well, but now i have duplicate articles. About 1000

Any idea how a redirect should be written to use only the new SEO format and not both for search engines?




TopTop



Login

Who's Online

180 user(s) are online (111 user(s) are browsing Support Forums)


Members: 0


Guests: 180


more...

Donat-O-Meter

Stats
Goal: AU$15.00
Due Date: Jul 31
Gross Amount: AU$0.00
Net Balance: AU$0.00
Left to go: AU$15.00
Make donations with PayPal!

Latest GitHub Commits