1 of 2
1
New Plugin: SEO gadget
Posted: 18 July 2007 05:49 AM   [ Ignore ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1866
Joined  10-22-2006

This plugin analyzes the referrer data stored in exp_referrers and displays search phrases, search engines, keywords and rankings.

It’s just a little toy for your personal information. You’ll probably want to use it on a non-public template much like the referrer-list.

 Signature 

utilitEEs - Addons for EE

Profile
 
 
Posted: 18 July 2007 05:58 AM   [ Ignore ]   [ # 1 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  637
Joined  03-22-2006

Very nice indeed :D

 Signature 

(a.k.a the_butcher)

Profile
 
 
Posted: 18 July 2007 10:23 AM   [ Ignore ]   [ # 2 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  26056
Joined  05-14-2004

Saw this on your site last night, silenz - nicely done. You’ve been very busy with plugins!

 Signature 
Profile
MSG
 
 
Posted: 18 July 2007 12:38 PM   [ Ignore ]   [ # 3 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  5126
Joined  06-20-2005

Very cool indeed Silenz smile

 Signature 

   Purple Dogfish | Member of EE Pro Network | Follow me on Twitter

Profile
MSG
 
 
Posted: 18 July 2007 01:13 PM   [ Ignore ]   [ # 4 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  11294
Joined  06-03-2002

Just a note that I have some referrers where the ref_from is not a valid URL, resulting in “Undefined index: host” errors, so you might want to make sure that parse_url() returns what you are expecting before accessing indexes of the returned array.  Other than that, it’s rather nifty and a useful way of displaying the information from that table.

 Signature 
Profile
MSG
 
 
Posted: 18 July 2007 02:40 PM   [ Ignore ]   [ # 5 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1866
Joined  10-22-2006

Still needs some fiddling here and there, yes.

What troubles me especially is that I seem to be unable to properly decode the html-entities in the stored ref_from strings which results in many scrambled special chars.

 Signature 

utilitEEs - Addons for EE

Profile
 
 
Posted: 27 July 2007 11:00 AM   [ Ignore ]   [ # 6 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1866
Joined  10-22-2006
Derek Jones - 18 July 2007 05:13 PM

...I have some referrers where the ref_from is not a valid URL…

That has been taken care of.

[quote author=“myself”]I seem to be unable to properly decode the html-entities

Thanks to a tip by Derek that is also resolved cheese
The plugin’s output is utf-8 now.

Other than that I updated this plugin to version 1.2 and added to new variables / parameters:

{top_referrer}:
lists referrers (hosts) by number of referrals

{eesearch_cloud}:
shows search phrases used with the EE search module in a cloud view
Since I found lots of spam in the Search Term Log I’m filtering out any HTML, BBCode and URLs there, though.

 Signature 

utilitEEs - Addons for EE

Profile
 
 
Posted: 15 August 2007 01:56 AM   [ Ignore ]   [ # 7 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  222
Joined  06-13-2002

If i install the plugin and would put it on an empty template, i get this error, wat could it be?

Fatal errorCall to undefined function: mb_strtolower() in /www/url/plugins/pi.seo_gadget.php on line 255 
 Signature 

Visit the Dutch EE Community

Expression-Engine.nl

Profile
 
 
Posted: 15 August 2007 04:43 AM   [ Ignore ]   [ # 8 ]  
Chancellor's Fellow
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  33338
Joined  05-15-2004

mbstring is a non-default extension, which must be enabled explicitly by the host. Talk to them.

Profile
MSG
 
 
Posted: 15 August 2007 04:47 AM   [ Ignore ]   [ # 9 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  222
Joined  06-13-2002

Ohkee, i’ll ask them

 Signature 

Visit the Dutch EE Community

Expression-Engine.nl

Profile
 
 
Posted: 15 August 2007 12:12 PM   [ Ignore ]   [ # 10 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  279
Joined  03-23-2006

First off:
This is a really nice plugin! Important info at a glance, hats off.

I ran into an error though

Warningparse_url(file://D:\WebSoft\Aptana\EHS.SFU.CA_trials\.2007.06.15_ImpPathogens.html): Unable to parse url in ./hart/plugins/pi.seo_gadget.php on line 348 

Due working in Aptana under windows and sometime clicking a live link in the work environment I assume.
Q:Could this be checked for (sorry my PHP knowledge is minimal).

 

I also ran into the mb_strtolower problem. I just turned all calls back into

strtolower($result[1]


instead of:

mb_strtolower($result[1,"UTF-8"]

which works for me (no umlauts etc) (no chance of getting the mb_strtolower installed here)

Profile
 
 
Posted: 15 August 2007 12:21 PM   [ Ignore ]   [ # 11 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  222
Joined  06-13-2002

It works, the mbstring is now on smile

 Signature 

Visit the Dutch EE Community

Expression-Engine.nl

Profile
 
 
Posted: 21 August 2007 05:25 AM   [ Ignore ]   [ # 12 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1866
Joined  10-22-2006

Thanks to Ingmar for the support. I have been away for two weeks.

When I find the time, I’ll build in a fallback to strtolower if Multibyte String Functions are not installed.

Considering the warning with file://-referrers… that has been taken care of in version 1.3.1

 Signature 

utilitEEs - Addons for EE

Profile
 
 
Posted: 10 January 2008 05:51 PM   [ Ignore ]   [ # 13 ]  
Grad Student
Rank
Total Posts:  38
Joined  06-02-2007

New EE user here…  Could you share how to make it so this posts to a private template?

Profile
 
 
Posted: 10 January 2008 05:58 PM   [ Ignore ]   [ # 14 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  26056
Joined  05-14-2004

Just add it to a template and click the Access link to the right of that template, set it to “No” for all those member groups =)

 Signature 
Profile
MSG
 
 
Posted: 10 January 2008 08:49 PM   [ Ignore ]   [ # 15 ]  
Grad Student
Rank
Total Posts:  38
Joined  06-02-2007

Does it need to be in its own template group?  Also, for the template sytle does it need to be a new one or use existing?

Profile
 
 
Posted: 11 January 2008 12:27 AM   [ Ignore ]   [ # 16 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  26056
Joined  05-14-2004

It can go into any template in whatever group you want, and it can be styled in whatever way you wish. =)

 Signature 
Profile
MSG
 
 
Posted: 11 January 2008 07:12 AM   [ Ignore ]   [ # 17 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1866
Joined  10-22-2006

What Lisa says ... just slower wink

 Signature 

utilitEEs - Addons for EE

Profile
 
 
Posted: 01 February 2008 02:35 PM   [ Ignore ]   [ # 18 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1866
Joined  10-22-2006

I just want to announce the release of version 1.4

I followed a user’s suggestion and added an optional site-parameter to be able to generate separate statistics per site for MSM-users.

 Signature 

utilitEEs - Addons for EE

Profile
 
 
   
1 of 2
1