TagCloud for phpwcms [Update v2.3.1]

Post custom hacks and enhancements for phpwcms here only. Maybe some of these things will be included in official release later.
User avatar
Jensensen
Posts: 3000
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

TagCloud for phpwcms [Update v1.7]

Post by Jensensen »

Unique for easily published tag clouds of all articles in any category you want.
so fresh as ever, so hot, so must have!

optimized for phpwcms v1.4.1 release date: 2008/12/22

changelog: [FIX] better handling of URLs (thanks Oliver)

Strongly recommended:
A) Use the actual version 1.7!
B) Save the SOURCE FILE 'tagcloud_v1.7.php' with the same encoding that you've been using for your WEB PAGES (see config)!

Unfortunately, TagCloud still isn't a module! The correct encoding of the source file is fundamental! Otherwise the progam doesn't work properly and the results are false.

Once you've added the needed expressions to these settings

Code: Select all

// words to EXCLUDE from the cloud
$my_exclude = array("this","that","können","ein","auch","française","versão","rømø");

// words to INCLUDE to the cloud
$my_include = array("Lorem","ipsum","française","versão","rømø");
save [upload] the file with the appropriate character encodings!

Note: By DEFAULT the SOURCE FILE is encoded as ==> UTF-8 (no BOM). When you're using UTF (charset=utf-8) you don't need to change the encoding of the source file!

Appreciate your feedback! Thank you!
Last edited by Jensensen on Sun 8. Mar 2009, 02:58, edited 1 time in total.
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.
caramello
Posts: 70
Joined: Thu 23. Sep 2004, 21:43

Re: TagCloud for phpwcms [Update v1.7]

Post by caramello »

Could this also search in news ?

Julius
A website is a concept not a digital brochure ! Vectrus Internet Solution
User avatar
Jensensen
Posts: 3000
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

Re: TagCloud for phpwcms [Update v1.7]

Post by Jensensen »

Hi caramello,

thank you very much for the question.
I'm sorry, NEWS are not yet captured.
Available with the next update...
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.
caramello
Posts: 70
Joined: Thu 23. Sep 2004, 21:43

Re: TagCloud for phpwcms [Update v1.7]

Post by caramello »

Oh please do drop me a PM if so.

Also for testing purposes. It would a great and very useful addition since i now use news as the primairy content.

Julius
A website is a concept not a digital brochure ! Vectrus Internet Solution
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: TagCloud for phpwcms [Update v1.7]

Post by update »

This is really coolstuff! Just started to seriously check the possibilities - great :)
Many thanks for dropping this one into here :lol:
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
User avatar
Jensensen
Posts: 3000
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

TagCloud for phpwcms [Update v1.8]

Post by Jensensen »

The ultimate SEO solution. Unique for easily published tag clouds of --> all NEWS and --> all articles in --> any category --> you want.
once more fresh as ever, so hot, so must have!

changelog:
[FEATURE] - NEWS capable
(thanks claus, who adviced me how NEWS can be used).


TagCloud v1.8 is now able to analyze NEWS when they are:
1) visible, active, published and
2) not outdated.*

*Outdated NEWS which have been archived won't be captured! This means outdated NEWS won't be captured. Even though outdated news are still available (public) in the archive (archive article).


NEW PARAMETER has been added. Turn it on (=1) to get "CLOUDS with NEWS"!

$my_news_to_cloud = "1";

Note that DEFAULT it's switched OFF =0.
You only need to turn on this variable.
Use it only when NEWS already is on board!
TagCloud is still compatible with older versions of phpwcms!


The following items (of NEWS) are captured:
--> Title
--> Subtitle
--> Teasertext (the summary of a news item)
--> Text (the main part of a news item)

Already prepared: --> Image caption. Hey, please tell me, DO YOU REALLY NEED?


Note once again
When using links to search page ( :S mode, recommended for convenience, instead of :L mode = landing pages) please note as follows:
TagCloud is working close with the built-in search function.
NEWS, a MOD halfway is different!

Another useful tip AND [regardless of TagCloud!!!]:
Because phpwcms by default doesn't search NEWS make sure that:

You get the right links [built-in searching NEWS, later] only when you do

1) Open --> CP "search" and enable, TURN ON --> "search also: News"
2) Edit --> target/url: --> index.php?aid=17

17 is the ID of the article WHERE you have placed the CP "News". In other words, this is the ID of the article where NEWS appears.

Hopefully it's clear how you can use it.
Appreciate your feedback! Thank you!

Download the newest, no more user-friendly version 1.8 below.
Last edited by Jensensen on Thu 12. Mar 2009, 23:36, edited 1 time in total.
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: TagCloud for phpwcms [Update v1.8]

Post by update »

Jensensen wrote:Download the newest, no more user-friendly version 1.8 below.
:lol:
I think that it is still user friendly ;) as long as you can manage to pass the right settings :mrgreen:
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: TagCloud for phpwcms [Update v1.8]

Post by update »

I have changed the script a little bit....
Give me a call to discuss it ;)
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
caramello
Posts: 70
Joined: Thu 23. Sep 2004, 21:43

Re: TagCloud for phpwcms [Update v1.8]

Post by caramello »

I am interested. I changed the math part aroudn a bit to get more diversity in font-sizes. (Pretty logical having a brother as an econometrist) I do love the news cp addition. ANything else chenged added then ?

I beleive this is a marvelous peice of RT

/BOW DEEP

Julius
A website is a concept not a digital brochure ! Vectrus Internet Solution
User avatar
Jensensen
Posts: 3000
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

TagCloud for phpwcms [Update v1.9]

Post by Jensensen »

The ultimate SEO solution for phpwcms.
Tag Clouds made easy. Unique for phpwcms.
Analyze [to be part of cloud] ==> all NEWS and ==> all articles within ==> any categories ==> YOU want.


once more fresh as ever, so hot, so must have!
sounds cool, it is cool, and it's first choice

changelog:
[FIX] - partly rewritten [tip (url?aid) was by claus.]
[FIX] - code has been cleaned up (advised by OG. Many thanks!)
[FIX] - variables have been renamed!!!


TagCloud v1.9 [last feature of v1.8] is able to analyze NEWS when they are:
1) visible, active, published and
2) not outdated. (see above)

To analyze NEWS just switch
'news_to_cloud' => 1,

Once again --> keep in mind:
Because phpwcms by default doesn't search NEWS make sure that:

You get the right links [built-in search --> NEWS] only when you do
1) Open --> CP "search" and enable, TURN ON --> "search also: News"


recommended use for version 1.3.5++
a fall back has been implemented for older versions but it won't be available in all case. ==> response needed!

Appreciate your feedback! Thank you!

Download the newest, now again user-friendly, version 1.9 below.
Last edited by Jensensen on Fri 20. Nov 2009, 00:16, edited 1 time in total.
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.
macangelo
Posts: 756
Joined: Sat 29. Nov 2003, 14:19
Location: Düsseldorf
Contact:

Re: TagCloud for phpwcms [Update v1.9]

Post by macangelo »

Hi,

could somebody provide a link where we can see it up an running? That would be great!

thanks a lot
macangelo
Webdesign from Düsseldorf - made with phpwcms (most of it):
http://eyelikeit.com/index.php?de_beispiele-webdesign
User avatar
Jensensen
Posts: 3000
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

Re: TagCloud for phpwcms [Update v1.9]

Post by Jensensen »

Hi macangelo,

thank you for your interest!
A sample of the TagCloud can be found here.
Last edited by Jensensen on Fri 20. Nov 2009, 01:09, edited 1 time in total.
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.
User avatar
Jensensen
Posts: 3000
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

TagCloud for phpwcms [Update v2.0]

Post by Jensensen »

new version, new code, new stuff.
Last edited by Jensensen on Mon 21. Dec 2009, 00:45, edited 1 time in total.
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.
User avatar
Heiko H.
Posts: 868
Joined: Thu 27. Oct 2005, 11:41
Location: Dresden
Contact:

Re: TagCloud for phpwcms [Update v2.0]

Post by Heiko H. »

HUT AB JENS!!!
Nach den letzten Kommentaren zu Dir hätte ich das wahrscheinlich für mich behalten... :roll:

@OG - hier wäre es sicher angebracht Größe zu zeigen und um Verzeihung zu bitten!

[EDIT]
Ich hatte die v2.0 nicht runtergeladen, so relativiert sich die Sache etwas...
...die Entschuldigung wäre aber trotzdem angebracht!!!
[/EDIT]
Last edited by Heiko H. on Fri 20. Nov 2009, 10:26, edited 1 time in total.
Not longer here - sorry...

Haubner-IT GbR Dresden
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: TagCloud for phpwcms [Update v2.0]

Post by flip-flop »

.... Jens hat es für sich behalten, wenn du ganz, ganz genau hinschaust.

Allerdings werden interessante Sachen in diesem Moloch I-Net archiviert.

Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Post Reply