TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 728
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 378
  • Total: 378

Adsense...

Started by voyager, July 06, 2009, 03:25:11 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

voyager

Nope, on the dropdown it's missing...that's why I started this topic in the first place.

Zetan

I'd turn off the Editor in the options. And if that doesn't help, then you'll need to run  through the manual install guide and make sure all of the files have been edited correctly.

Freddy

#22
I can confirm there is no Script block.

But using my existing script for adsense I got it to work fine with the HTML & Javascript setting.

I did this:

• Add left block
• Choose HTML & Javascript from the drop down.
• You get a prompt to save it because the block type has changed.
So I saved it.
• Then pressed the HTML button <>.  The form changes to a grey background with green ink.
• IPasted in my adsense code.
• Set the areas where it was viewable and activated it.
• Then saved the whole thing.

I did notice that the adsense code gets altered by TP somehow.  When I went back to look at the code there was a whole bunch of other code in there too.  Not sure why but the whole thing works.

Now I tried this with your adsense code too, and when displayed on the forum it is blank, making me think it is not active yet...hence my earlier point.

As you can see from my screeny...there is no longer a 'Script' block.  You can see behind the drop down it does actually work.

Zetan

Same thing, only it's been renamed and I haven't bothered upgrading my site for ages.

Turn the editor off, it isn't helping.

voyager

Then pressed the HTML button <>.  The form changes to a grey background with green ink.

Mine isn't doing that for some reason. Nothing happens when I press the <>.

voyager

How do you turn off the editor?

Zetan

#26
Just turn it off.. I have no problems with ads, mainly because I'm not using an editor. It messes with the code. When You've got it working right, turn it back on again.

[Edit] Don't tell me there's no way to turn off the block WYSIWYG editor? You can with the Articles.

voyager

There's nowhere that I can just turn it off that I can see...

ZarPrime

voyager,

As freddy said, I think your code is working fine and the ads may just not be showing up yet.  However, the other problem with not being able to activate the html button in the editor still seems to be a problem.  Try switching to the SMF default core theme and setting up an html block and see if the button in the editor is working.  If it isn't working in the default theme then you may have to check your TP 1.0 beta 4 install since it should work as freddy said.

ZarPrime

Zetan


This website is proudly hosted on Crocweb Cloud Website Hosting.