Page 1 of 1

Adsense Integration & IE 6; Recaptcha; Emoticons; Yigg

Posted: Sat Jul 07, 2007 1:35 pm
by Dawn
Hi,

I've noticed that my adsense integration doesn't works very well with IE 6. It display the ads while loading the page, but then they dissapaer. When I reload the page it displays the ads without any problems. I don't have any problems with IE 7. Does anybody know a solution for this problem (beside using Firefox; I wan't to show my page for IE 6 users correctly too)?

Here si the code I used to integrate the ads in my entries.tpl:

Code: Select all

<script type="text/javascript"><!--
google_ad_client = "pub-999999999999999";
google_ad_width = 468;
google_ad_height = 15;
google_ad_format = "468x15_0ads_al";
google_ad_channel = "";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
Demo: http://blog.blankster.info


Normaly I don't have any problems installing plugins via Spartacus, but when I tried to install the Recaptcha (great Idea) plugin, I got the following error messages. Is it possible that the plugin is broken (I tried it a few times):

Code: Select all

Fehler: serendipity_event_recaptcha:0a057ac95fb268a56a05f66266b322dc (online_repository)
DEBUG: Plugin serendipity_event_recaptcha:0a057ac95fb268a56a05f66266b322dc not an object: .
Input: Array ( [adminModule] => plugins [pluginPath] => online_repository [install_plugin] => serendipity_event_recaptcha [spartacus_fetch] => [action] => [adminAction] => ) .

This error can happen if a plugin was not properly downloaded (check your plugins directory if the requested plugin was downloaded) or the inclusion of a file failed (permissions?)
Backtrace:
Installing plugin: Array ( [0] => serendipity_event_recaptcha [1] => [2] => event [3] => 0 [4] => online_repository ) 
INSERT INTO serendipity_plugins (name, sort_order, placement, authorid, path) values ('serendipity_event_recaptcha:0a057ac95fb268a56a05f66266b322dc', 19, 'event', '0', 'online_repository')
No valid path/filename found. Aborting.
Classname serendipity_event_recaptcha still does not exist. Aborting.
Loading plugin failed painfully. File not found?
No valid path/filename found. Aborting.
Classname serendipity_event_recaptcha still does not exist. Aborting.

Fatal error: Call to a member function introspect() on a non-object in /var/www/vhosts/domain.com/httpdocs/blog/include/admin/plugins.inc.php on line 441

I saw someone has released alternative emoticons (found it via google, but the URL isn't still active). Are there somewhere alternative emoticons, because I don't really like the default ones.


Yigg is a nice thing, but can anybody tell me how should I include the yigg-button in my blog to display it in a nice way?

Greets and best regards,
Dawn

Re: Adsense Integration & IE 6; Recaptcha; Emoticons; Yi

Posted: Sun Jul 08, 2007 8:41 pm
by garvinhicking
Hi!

Sadly I'm running IE7 already. So thanks to microsoft for not being able to run IE6 and IE7 alongside. So I can't help you in this issue, I'm sorry :(

Abot the recaptcha plugin: Does the serendipity_event_recaptcha plugin directory exist in your plugins directory?
I saw someone has released alternative emoticons (found it via google, but the URL isn't still active). Are there somewhere alternative emoticons, because I don't really like the default ones.
You are able to use any emoticon GIF images, you can easily specify them in either your template's config.inc.php file or within the emoticon plugin:

http://www.s9y.org/44.html#A40

I think I remember someone had offered alternate graphics, but I don't remember the URL. Problem is we can't easily add other graphics because they are usually copyrighted. I have not found any decent smilies that are BSD licesned.
Yigg is a nice thing, but can anybody tell me how should I include the yigg-button in my blog to display it in a nice way?
Maybe you could integrate it into your entries.tpl file to hook the display below each entry footer?

HTH,
Garvin

Posted: Mon Jul 09, 2007 11:43 am
by Dawn
Hi Garvin,

Thanks for your detailed answer.
Sadly I'm running IE7 already. So thanks to microsoft for not being able to run IE6 and IE7 alongside. So I can't help you in this issue, I'm sorry
The IE 6 Error is very strange, does anybody else has still got IE 6 and have an idea how I can fix that?
Abot the recaptcha plugin: Does the serendipity_event_recaptcha plugin directory exist in your plugins directory?
No it doesn't exist. I've double checked this. The whole installation is owned by www-data:www-data so that shouldn't be the problem.
You are able to use any emoticon GIF images, you can easily specify them in either your template's config.inc.php file or within the emoticon plugin:


It worked great :) Thanks for the hint... Wouldn't it be possible to use the emoticons from phpBB? It's not a BSD License but GNU... Please correct me if I'm wrong.
Yigg is a nice thing, but can anybody tell me how should I include the yigg-button in my blog to display it in a nice way?
I'll try this and post my solution if it works... :)

Greets and best regards,
Dawn

Posted: Mon Jul 09, 2007 11:45 am
by Dawn
Ah here my emoticons.inc.php if anybody want to customize its emoticons too:

Code: Select all

<?php

$serendipity['custom_emoticons'] = array(
    ":'(" => serendipity_getTemplateFile('img/emoticons/cry_smile.gif'),
    ":'-(" => serendipity_getTemplateFile('img/emoticons/cry_smile.gif'),
    ':|' => serendipity_getTemplateFile('img/emoticons/embaressed_smile.gif'),
    ':-|' => serendipity_getTemplateFile('img/emoticons/embaressed_smile.gif'),
    ':O' => serendipity_getTemplateFile('img/emoticons/omg_smile.gif'),
    ':-O' => serendipity_getTemplateFile('img/emoticons/omg_smile.gif'),
    ':)' => serendipity_getTemplateFile('img/emoticons/regular_smile.gif'),
    ':-)' => serendipity_getTemplateFile('img/emoticons/regular_smile.gif'),
    ':(' => serendipity_getTemplateFile('img/emoticons/sad_smile.gif'),
    ':-(' => serendipity_getTemplateFile('img/emoticons/sad_smile.gif'),
    '8)' => serendipity_getTemplateFile('img/emoticons/shades_smile.gif'),
    '8-)' => serendipity_getTemplateFile('img/emoticons/shades_smile.gif'),
    ':D' => serendipity_getTemplateFile('img/emoticons/teeth_smile.gif'),
    ':-D' => serendipity_getTemplateFile('img/emoticons/teeth_smile.gif'),
    ':P' => serendipity_getTemplateFile('img/emoticons/tounge_smile.gif'),
    ':-P' => serendipity_getTemplateFile('img/emoticons/tounge_smile.gif'),
    ';)' => serendipity_getTemplateFile('img/emoticons/wink_smile.gif'),
    ';-)' => serendipity_getTemplateFile('img/emoticons/wink_smile.gif'),
);

?>

Posted: Mon Jul 09, 2007 11:58 am
by garvinhicking
Hi!
No it doesn't exist. I've double checked this. The whole installation is owned by www-data:www-data so that shouldn't be the problem.
Did you check the output earlier by spartacus, where it says "Downloading file XXX"? Did you maybe switch your provider, or did your provider turn on firewalls? Which mirror do you have set for Spartacus plugin?
It worked great :) Thanks for the hint... Wouldn't it be possible to use the emoticons from phpBB? It's not a BSD License but GNU... Please correct me if I'm wrong.
That's the problem, we can only bundle BSD licensed code and stuff, so GPL cannot be bundled with Serendipity.

Best regards,
Garvin

Posted: Mon Jul 09, 2007 1:04 pm
by Dawn
Did you check the output earlier by spartacus, where it says "Downloading file XXX"? Did you maybe switch your provider, or did your provider turn on firewalls? Which mirror do you have set for Spartacus plugin?
I've tried it today again and it worked without any problems (btw: I'm my own provider ;) and didn't changed anything on my firewall settings). I'm using Netmirror...
I've installed the plugin and configured it to show it every time anybody wants to post a comment. The strange thing is that it is displayed but doesn't blocks anything. I can post what I want without entering anything in the recaptcha field. Of course I'm logged out... Check out http://blog.blankster.info
I know I have to generate a key. I klicked on the link which provides the plugin, but the suggested domain is wrong. It displays "blankster" instead of "blankster.info". I've generated keys for "blankster.info", so that should be ok.

The yigg thing: I found (german) instructions about the integration of the yigg-button for Serendipity: http://ckay.de/index.php/interaktiver-y ... rendipity/. I tried it but it looks really ugly with my theme. I also tried to correct that via changing the css-settings, but I didn't get it to work in a nice way.
I think it would be really nice if there is a way to include it in a way that it needs only the nessesary space and not a border of nothing around it. With my theme it would be nice to put it in or under the box at the top right per blogpost. But I don't have any idea how that can be done.

Greets and best regards,
Dawn

Posted: Mon Jul 09, 2007 1:56 pm
by garvinhicking
Hi!

Sadly I didn't create the recaptcha plugin, so I sadly can't help out with it. I've never used it - but according to these forums some people seem to be using it alright?

About Yigg: the display comes from the javascript, so you'll have to ask the Guys at yigg if they can offer a version without the boxes. I believe you could also adjust it via CSS, but that would require you to look at the originating HTML of the foreign Yigg application.

You could also wrap the whole javascript around a <div class="yigg">...</div> container and style that via CSS? (.yig { border: 1px solid black })

HTH,
Garvin

Posted: Mon Jul 09, 2007 2:42 pm
by Dawn
I've searched through the forums but I found only the release thread of the plugin. I've described my problem there detaily...

The Yigg stuff:
I've took a look at the included js-file. The problem is that there is the size specified. The bad thing on it is that it doesn't needs the whole space which is defined and this is looking very ugly. Here the js file:

Code: Select all

(function(){var u=yigg_url?yigg_url:YIGG_URL;document.write("<iframe src='http://www.yigg.de/emb_ycount.php?url="+
escape(u)+"' height='97' width='80' frameborder='0' scrolling='no'></iframe>");})()
But you're right, it seems to be that I've to contact the makers of yigg.

Greets and THX again,
Dawn

Posted: Mon Jul 09, 2007 3:05 pm
by Dawn
If anybody wants alternative emoticons too, I can provide you here the package with config-file and icons. You've just to unpack them into your template directory:

http://www.blkitsolutions.com/faq/conte ... dipty.html