For the Google Adsense Module:
Google Adsense Client IDs are in the format pub-0123456789012345
Line 42 of mod-func-adsense.php sets this data input type to 'alpha'.
When the user tries to assign the module, the numbers get stripped from the client ID, which is a required field.
I changed 'alpha' to 'striptags' to allow an alpha-numeric entry and then Adsense output works correctly.
I changed 'alpha' to 'striptags' to allow an alpha-numeric entry and then Adsense works correctly:
'client' => array(
'name' => 'client',
'description' => tra('As provided by Google. Format: "pub-xxxxxxxxxxxxxxxx"'),
'filter' => 'striptags',
'required' => true,
),
This was fixed in r28965 and will be shipped in Tiki 5.2.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show.tikiwiki.org instance. To start, simply select a version and click on "Create show.tikiwiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show.tikiwiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |