Recent Topics

1 Aug 05, 2007 03:20    

My b2evolution Version: 1.10.x

I installed the adsense plugin and it displays the button which seems to function correctly (inserts [adsense:] when I click it), but the [adsense:] just shows up as-is in my posts. What can I do?

2 Aug 05, 2007 03:34

Here is [url=http://b2evolution.net/blog-ads/adsense-plugin.php]the description[/url] of the plugin. It sais:

In order to get an actual AdSense ad in there, you must go to the plugin Settings and copy/paste your personalized ad code from the Google AdSense site.

so you go to the backoffice -> App settings-> Plugins, click the Adsense plugin and add your Adsense code.
In the post the plugin will replace [Adsense:] by the actual code you added in the backoffice.

Good luck

4 Aug 06, 2007 01:15

Does the [adsense:] work if you place it before the [more:]?

5 Aug 06, 2007 02:08

I tried it and it didn't work there either.

6 Aug 06, 2007 02:17

Well it's the easiest type of plugins so I'm a bit out of ideas. Last resort: try backoffice -> Tools -> Delete prerendered Item cache.

I had it running within three minutes in my testlab.

Good luck

7 Aug 06, 2007 02:21

Well, some other ideas:
- uninstall and install again
- upload the plugin again
- check in backoffice -> App settings -> Plugins if the dot before Adsense plugin is black and not white
- click backoffice -> App Settings -> Plugins -> Reload events and codes for installed plugins.

8 Aug 06, 2007 12:04

Crack open the plugin and see if it has a line like this :

	function GetDefaultSettings( & $params )

If it does then change it to this and see if it starts working ;)

	function GetDefaultSettings()

¥

9 Aug 06, 2007 14:38

hi. would adsense plugin work for 1.9.3?

10 Aug 06, 2007 17:44

I hate to say this, but still no luck. Should I change it back?

11 Aug 07, 2007 08:40

karen wrote:

hi. would adsense plugin work for 1.9.3?

Not without amending the code, it requires triggers that weren't available prior to 1.10.x

Troy wrote:

I hate to say this, but still no luck. Should I change it back?

Leave it as it is for the moment and edit and re-save your original test post and see what happens.

¥

12 Aug 07, 2007 15:27

Nothing!!

And still no closer to an idea what's wrong.

What should the plugin settings be for adsense plugin?

13 Aug 07, 2007 15:41

For the moment (testing purposes) there is no need to add the adsense content. The plugin will create a clearly distinguishable warning that is more than only [adsense:]

14 Aug 07, 2007 16:23

I meant the other settings, I have:
Code: evo_adsense
Priority: 10
Apply Rendering: Opt-out

15 Aug 07, 2007 16:28

These are identical to my settings. If you think there is a conflict with another plugin you can raise the priority (max = 100).

16 Aug 07, 2007 17:03

Played with the priorities. Nothing there either.

17 Aug 07, 2007 17:07

I downloaded the plugin from the plugin directory, and it appears if you look in the comments that others have had the same problem.
Is there another place I can get the file where it might work?

18 Aug 08, 2007 08:28

Ok, I've just installed this ( after installing 1.10.2 ) and it works without any problems ( after removing the & $params mentioned earlier )

I'm assuming that you do have the plugin ticked for the post that you're trying to use it in?

¥

19 Aug 08, 2007 15:19

Lol, didn't know you had to do that.

Sorry, I could've saved everybody a lot of time here!

20 Aug 08, 2007 15:38

:> We've all had our moments of glory. LOL

21 Aug 08, 2007 15:50

I feel like an AOL wonder!

22 Aug 08, 2007 18:00

Troy wrote:

I feel like an AOL wonder!

Maybe not *quite* that muppet ;)

¥

23 Aug 10, 2007 23:16

Try changing Apply Rendering: Opt-out to ALWAYS

I was having the same problem and this fixed it. The plugin was working when I placed it in a new post but it would not work in an edited post.

24 Oct 10, 2007 20:37

any ideas as to why it fails in the admin? getting these errors on 1.8.6:

Plugin info
Name:
AdSense
Short desc:
No desc available
Plugin settings
Warning: Missing argument 1 for adsense_plugin::GetDefaultSettings(), called in /home/a4at/public_html/blog/inc/VIEW/settings/_set_plugins_editsettings.form.php on line 87 and defined in /home/a4at/public_html/blog/plugins/_adsense.plugin.php on line 58
An unexpected error has occured!

If this error persits, please report it to the administrator.

Go back to home page
Additional information about this error:
Unsupported type [html_textarea] from GetDefaultSettings()!


Form is loading...