I want to use Tiki's banner system to manage hosted ads (such as Google Ads).
I created a new Tiki banner: tiki-edit_banner.php
In the Select ONE method for the banner: field, I selected Use HTML and added the following script (from Google Ads):
<script type="text/javascript"><!-- google_ad_client = "ca-pub-3913918000422534"; /* Info Lettres 8 à 15 */ google_ad_slot = "8790064474"; google_ad_width = 728; google_ad_height = 90; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>
Upon saving, Tiki adds <X> to my code, breaking the SCRIPT elements:
<script type="text/javascript"><!-- google_ad_client = "ca-pub-3913918000422534"; /* Info Lettres 8 à 15 */ google_ad_slot = "8790064474"; google_ad_width = 728; google_ad_height = 90; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>
This happens even if I HTML Purifier disabled.
Tiki should allow full HTML (including SCRIPT elements) within the HTML box for Ads. I understand the security implication of allowing SCRIPT elements, but only users with permission to create ads can do this.
I tried creating a SHOW instance, but received the following error:
Tiki Installer missing third party software files
My workaround is to have Google Ads in a module and apply them to the pages by using the MODULE plugin. However, I can no longer:
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.
The URL for the show.tikiwiki.org instance that demonstrates this bug is at: http://ricks-6399-6020.show.tikiwiki.org. Note that if you get a popup asking for a username/password, please just enter "show" and "show". This is different from the initial login and password for a new Tiki which is "admin" and "admin".
For the install log, see http://ricks-6399-6020.show.tikiwiki.org/info.txt
Note that if you see PHP errors or a Tiki claiming to be missing third party software, the instance creation is probably not finished. Please wait a couple minutes and reload.
Snapshots are database dumps of the configuration that developers can download for debugging. Once you have reproduced your bug on the show.tikiwiki.org instance, create a snapshot that can then be downloaded by developers for further investigation.
Snapshots can be accessed at: http://ricks-6399-6020.show.tikiwiki.org/snapshots/. Note that if you get a popup asking for a username/password, please just enter "show" and "show".
Create new snapshotfilename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |