|
Cumulus panel (Animated tag cloud)
|
| Domi |
Posted on 01/07/09 19:45
|

Venue Admin

Status
Must remember to fix the blog search !
Mood

Posts: 1995
Joined: 24.08.05
|
1.3 Live .
Display a nice animated cloud of your forum posts or Movies / Games / Photos / Forum threads
If you Wish to use this for Kroax movies (V.iP now have these files ready in the pack)
Open infusions/cumulus_panel/cumulus_panel.php
find
Code
$result = dbquery("SELECT tt.thread_id, tt.thread_subject FROM ".DB_THREADS." tt
INNER JOIN ".DB_FORUMS." tf ON tt.forum_id=tf.forum_id
WHERE ".groupaccess('forum_access')." ORDER BY rand() LIMIT 0,40");
while ($data = dbarray($result)) {
$cfontsize = rand(6,26);
echo '<a href=\''.FORUM.'viewthread.php?thread_id='.$data['thread_id'].'\' rel=\'tag\' style=\'font-size:'.$cfontsize.'pt;\'>'.$data['thread_subject'].'</a>';
}
Replace with
Code$result = dbquery("select * from ".$db_prefix."kroax WHERE ".groupaccess('kroax_access')." AND kroax_approval='' ORDER BY RAND() LIMIT 0,40");
while ($data = dbarray($result)) {
$cfontsize = rand(6,26);
echo '<a href=\''.INFUSIONS.'the_kroax/embed.php?url='.$data['kroax_id'].'\' rel=\'tag\' style=\'font-size:'.$cfontsize.'pt;\'>'.$data['kroax_titel'].'</a>';
}
And do a manual include like
Codeinclude INFUSIONS."cumulus_panel/cumulus_panel.php";
above
Coderequire_once "footer.php";
Intressting files would be
embed.php and kroax.php and maybe the center panel
For VArcade
find
Code
$result = dbquery("SELECT tt.thread_id, tt.thread_subject FROM ".DB_THREADS." tt
INNER JOIN ".DB_FORUMS." tf ON tt.forum_id=tf.forum_id
WHERE ".groupaccess('forum_access')." ORDER BY rand() LIMIT 0,40");
while ($data = dbarray($result)) {
$cfontsize = rand(6,26);
echo '<a href=\''.FORUM.'viewthread.php?thread_id='.$data['thread_id'].'\' rel=\'tag\' style=\'font-size:'.$cfontsize.'pt;\'>'.$data['thread_subject'].'</a>';
}
Replace with
Code$result = dbquery("select * from ".$db_prefix."varcade_games ORDER BY RAND() LIMIT 0,40");
while ($data = dbarray($result)) {
$cfontsize = rand(6,26);
echo '<a href=\''.INFUSIONS.'varcade/arcade.php?game='.$data['lid'].'\' rel=\'tag\' style=\'font-size:'.$cfontsize.'pt;\'>'.$data['title'].'</a>';
}
And do a manual include like
Codeinclude INFUSIONS."cumulus_panel/cumulus_panel.php";
above
Coderequire_once "footer.php";
Intressting files would be
index.php and arcade.php and maybe the center panel
Here is how you add more char support:
http://www.roytan...p-cumulus/
Planned :
Maybe make a nice admin interface for settings.
Thanks to :
Roy Tanck who made the SWF http://wordpress....p-cumulus/
Change log 1.3 :
Added random colorization of the tags
Fixed a init problem wich would cause the cloud to not always load its contents, this problem could happend even on 100% W3C validated sites.
Added ready center panels for The Kroax / VArcade / Photo Gallery / Forum cloud
Change log 1.2 :
Updated to version 1.8 of the SWF wich comes with a new option to set the highlight color.
Change log 1.1 :
Added a missing text2 variable.
Thank you Yannick Massé - Wikipedia - France soutien@presume-coupable.com - www.presume-coupable.com for XHTML valid solution.
Download 1.2 :
http://www.venue....base_id=79
Download 1.3 (V.i.P) :
http://www.venue....base_id=84
Edited by Domi on 06/20/09 22:49 |
| |
|
|
| UniCoRN |
Posted on 01/08/09 03:13
|
Newbie

Status
böööö
Mood

Posts: 3
Joined: 08.09.08
|
nice  |
| |
|
|
| sathishIPL |
Posted on 01/08/09 13:18
|

Member

Status
trying to Learn PHP
Mood

Posts: 80
Joined: 11.11.08
|
Little Contribution from me ...
I have done something of my own ... :smiley027 First time in my life
For PhotoGallery ...
find
Code$result = dbquery("SELECT tt.thread_id, tt.thread_subject FROM ".DB_THREADS." tt
INNER JOIN ".DB_FORUMS." tf ON tt.forum_id=tf.forum_id
WHERE ".groupaccess('forum_access')." ORDER BY rand() LIMIT 0,40");
while ($data = dbarray($result)) {
$cfontsize = rand(6,26);
echo '<a href=\''.FORUM.'viewthread.php?thread_id='.$data['thread_id'].'\' rel=\'tag\' style=\'font-size:'.$cfontsize.'pt;\'>'.$data['thread_subject'].'</a>';
}
replace with this
Code$result = dbquery("SELECT * FROM ".DB_PHOTOS." ORDER BY photo_id DESC LIMIT 0,4");
while ($data = dbarray($result)) {
$cfontsize = rand(6,26);
echo '<a href=\''.BASEDIR.'photogallery.php?photo_id='.$data['photo_id'].'\' rel=\'tag\' style=\'font-size:'.$cfontsize.'pt;\'>'.$data['photo_title'].'</a>';
}
Edited by sathishIPL on 01/08/09 13:19 |
| |
|
|
| jenthorn |
Posted on 01/10/09 00:38
|

Junior Member

Status
I don gettit
Mood

Posts: 24
Joined: 06.09.08
|
Call me stupid... but does anyone have an example of this so that I can see what it looks like?  |
| |
|
|
| syrianferrari |
Posted on 01/10/09 03:27
|
Newbie

Status
No status is set
Mood
Not selected
Posts: 4
Joined: 05.06.08
|
I was wondering if it is possible to get this working with Persian Locals ,, i installed it on my site,, but it is not reading the Arabic letters.. ( i opened a new forum thread with an Persian title and nothing shows) then i tried with a new thread in Englisch letters as Subject and it works.. so i think it is having a bad day reading the persian locals,,
I´l be very thankfull if there is anyway to make this work
Edited by syrianferrari on 01/10/09 03:28 |
| |
|
|
| sathishIPL |
Posted on 01/10/09 06:51
|

Member

Status
trying to Learn PHP
Mood

Posts: 80
Joined: 11.11.08
|
@jenthorn---U can see here an Example down the quick reply , theres a panel cumulus ...
|
| |
|
|
| Domi |
Posted on 01/10/09 09:05
|

Venue Admin

Status
Must remember to fix the blog search !
Mood

Posts: 1995
Joined: 24.08.05
|
jenthorn wrote:
Call me stupid..
I wouldent 
What satish said, if it dosent show, refresh page , i got some hickup here now and then i hope noone else have  |
| |
|
|
| Google Adsense |
Posted on 02/09/10 01:22
|
Bot Agent
Posts: n^x
Joined: Always
|
|
| IP: localhost |
|
|
| Domi |
Posted on 01/10/09 20:02
|

Venue Admin

Status
Must remember to fix the blog search !
Mood

Posts: 1995
Joined: 24.08.05
|
syrianferrari wrote:
I was wondering if it is possible to get this working with Persian Locals ,, i installed it on my site,, but it is not reading the Arabic letters.. ( i opened a new forum thread with an Persian title and nothing shows) then i tried with a new thread in Englisch letters as Subject and it works.. so i think it is having a bad day reading the persian locals,,
I´l be very thankfull if there is anyway to make this work :)
Hi, ive investigated and not yet found a good solution.
But you can try this
open cumulus_panel,php and paste this line.
Codeheader('Content-type: text/html; charset=utf-8');
if the uft-8 dont work try your country iso code, iam not sure wich one it is, but i could look it up if needed.
Let me know what happens
Edited by Domi on 01/11/09 10:04 |
| |
|
|
| wikipedia |
Posted on 01/11/09 08:11
|
Newbie

Status
Tired but Glad..
Mood

Posts: 6
Joined: 11.01.09
|
Hello, I'm glad and proud to use this as side panel.
i love this class animated Panel but like i don't found a readme.txt i don't know the meaning of every parameters in "cumulus_panel.php.
So i don't manage to get a speric look like here , change size of titles...
please could someone help me?
other thing too difficult for me : get a 0px border in the box of the side panel. what is the correct size of the .swf to <embed>
thanks a lot if you can help 
Yannick
(France) |
| |
|
|
| Domi |
Posted on 01/11/09 10:10
|

Venue Admin

Status
Must remember to fix the blog search !
Mood

Posts: 1995
Joined: 24.08.05
|
Hi,
Hi Yannick!
This line is the sizes for our front page wich seem to work and look ok.
Codevar so = new SWFObject("'.INFUSIONS.'cumulus_panel/tagcloud.swf", "tagcloud", "150", "100", "7", "#ffffff");
|
| |
|
|
| oneeye |
Posted on 01/13/09 02:42
|
Newbie

Status
lol
Mood

Posts: 5
Joined: 12.01.09
|
I like this very much but on my website the text is very hard to see so I cannot use it.
I have a website with black background.
Is there a way to edit the colors of the texts?
On hover links are very dark, black, and I cannot see them. |
| |
|
|
| LoseControl |
Posted on 01/13/09 07:54
|
Junior Member

Status
Type Status..
Mood

Posts: 37
Joined: 16.09.08
|
v6  |
| |
|
|
| Domi |
Posted on 01/13/09 12:11
|

Venue Admin

Status
Must remember to fix the blog search !
Mood

Posts: 1995
Joined: 24.08.05
|
Just need to change the query ..
find
$result = dbquery("SELECT tt.thread_id, tt.thread_subject FROM ".DB_THREADS." tt
INNER JOIN ".DB_FORUMS." tf ON tt.forum_id=tf.forum_id
WHERE ".groupaccess('forum_access')." ORDER BY rand() LIMIT 0,20");
replace with
Code
$result = dbquery(
"SELECT tf.*, tt.*, tu.user_id,user_name, MAX(tp.post_id) as last_id, COUNT(tp.post_id) as count_posts FROM ".$db_prefix."forums tf
INNER JOIN ".$db_prefix."threads tt USING(forum_id)
INNER JOIN ".$db_prefix."posts tp USING(thread_id)
INNER JOIN ".$db_prefix."users tu ON tt.thread_lastuser=tu.user_id
WHERE ".groupaccess('forum_access')." GROUP BY thread_id ORDER BY thread_lastpost DESC LIMIT 0,25");
I havent tested this one so in my usualy confused state i hope i dident miss anything..
|
| |
|
|
| Domi |
Posted on 01/13/09 12:17
|

Venue Admin

Status
Must remember to fix the blog search !
Mood

Posts: 1995
Joined: 24.08.05
|
oneeye wrote:
I like this very much but on my website the text is very hard to see so I cannot use it.
I have a website with black background.
Is there a way to edit the colors of the texts?
On hover links are very dark, black, and I cannot see them.
find
var so = new SWFObject("'.INFUSIONS.'cumulus_panel/tagcloud.swf", "tagcloud", "600", "170", "7", "#ffffff");
Play around with some color in the #ffffff field ..
Also
find
so.addVariable("tcolor", "0x333333");
change to like and it will be red.
so.addVariable("tcolor", "880000");
add under, (i think this will adjust text 2.... not 100% sure..)
so.addVariable("tcolor2", "0x880000");
Atlest you got some howto pull a Da Vinci on the cumulus now ;) |
| |
|
|
| oneeye |
Posted on 01/13/09 13:53
|
Newbie

Status
lol
Mood

Posts: 5
Joined: 12.01.09
|
edit: dont quote messages above yours, its like double reading..
That almost worked for me. I changed all colors numerous times and I did like the difference. However, the text color when the mouse hovers over the text still stayed black. Nothing I did changed that.
Code var so = new SWFObject("'.INFUSIONS.'cumulus_panel/tagcloud.swf", "tagcloud", "600", "170", "7", "#ffff00");
// uncomment next line to enable transparency
so.addParam("wmode", "transparent");
so.addVariable("tcolor", "0xFFFF00");
so.addVariable("mode", "tags");
so.addVariable("distr", "true");
so.addVariable("tcolor2", "0xFF9933");
so.addVariable("tspeed", "120");';
Edited by Domi on 01/13/09 14:34 |
| |
|
|
| Domi |
Posted on 01/13/09 14:35
|

Venue Admin

Status
Must remember to fix the blog search !
Mood

Posts: 1995
Joined: 24.08.05
|
did you try
Codeso.addVariable("tcolor2", "0x880000");
If that dosent work, i have no more ideas.
|
| |
|
|
| oneeye |
Posted on 01/13/09 14:50
|
Newbie

Status
lol
Mood

Posts: 5
Joined: 12.01.09
|
Domi wrote:
did you try
Codeso.addVariable("tcolor2", "0x880000");
If that dosent work, i have no more ideas.
I did that, look closely at my post above.
Oh well, thanks anyway. :)
Edited by oneeye on 01/13/09 14:50 |
| |
|
|
| Domi |
Posted on 01/14/09 09:58
|

Venue Admin

Status
Must remember to fix the blog search !
Mood

Posts: 1995
Joined: 24.08.05
|
Ya not much more to do, there is 3 places to change color and those are it..
|
| |
|
|
| syrianferrari |
Posted on 01/14/09 11:38
|
Newbie

Status
No status is set
Mood
Not selected
Posts: 4
Joined: 05.06.08
|
Domi wrote:
syrianferrari wrote:
I was wondering if it is possible to get this working with Persian Locals ,, i installed it on my site,, but it is not reading the Arabic letters.. ( i opened a new forum thread with an Persian title and nothing shows) then i tried with a new thread in Englisch letters as Subject and it works.. so i think it is having a bad day reading the persian locals,,
I´l be very thankfull if there is anyway to make this work :)
Hi, ive investigated and not yet found a good solution.
But you can try this
open cumulus_panel,php and paste this line.
Codeheader('Content-type: text/html; charset=utf-8');
if the uft-8 dont work try your country iso code, iam not sure wich one it is, but i could look it up if needed.
Let me know what happens
i did some tests, but it still not showing,, but i think i have some errors in the Charset at my website, i will try to solve them first then i will try again.. actully i´m not using a utf-8 code.. the phpfusion version that im using is based on arabic windows-1256 ... so i´ll be back later with some updates after fixing this small problems on my site ^^..
and thanks alot for your support !
Edited :
ok i did some more " researches " about this matter and i come out with :
the Standard Web Flash player supports only LTR ( left to right) text.. and that is the main problem .. there are no standard RTL ( Right to Left) text reader .. so i think that i have to wait untill Adobe solve this,, which will not happen in the soon future i think ! ^^
Edited by syrianferrari on 01/17/09 01:06 |
| |
|
|
| wikipedia |
Posted on 01/23/09 01:46
|
Newbie

Status
Tired but Glad..
Mood

Posts: 6
Joined: 11.01.09
|
Hello,
Do you know if we can customize the highlight color which is actually black? |
| |
|