• [MOD] Tag cloud ( keyword & cat cloud in web2.0 style) 5 0 5 1
Currently:  

Poll

What do you think of this mod?

Excellent
Good
Fair
Poor
Bad

Author Topic: [MOD] Tag cloud ( keyword & cat cloud in web2.0 style)  (Read 228479 times)

0 Members and 1 Guest are viewing this topic.

Offline ch€ri{Bi}²

  • Sr. Member
  • ****
  • Posts: 315
  • A PRoBLeM wIthOUt SoLuTioN Is NoT rEAllY a PRoBLeM
    • View Profile
    • Pat's Gallery
Re: [MOD] Tag cloud ( keyword & cat cloud in web2.0 style)
« Reply #30 on: June 12, 2007, 02:53:19 PM »
Is it possible to parse it likewise the details page do? With corerect symbols etc  :?:

try this (i can not test it because i don't have problems with the characters or symbols)
in the original mod, find this code in functions.php:
Code: [Select]
$output .= '<a href="'.$site_sess->url(ROOT_PATH."search.php?search_keywords=".$key.((!empty($mode)) ? "&amp;mode=".$mode : "")).'" style="font-size:'.$size.'%;color:rgb('.mt_rand(64,128).', '.mt_rand(64,128).', '.mt_rand(0,255).');font-family:Arial, sans-serif;" title="'.$value.' '.$lang['tagged_with'].' '.$key.'">'.$key.'</a> ';
and replace it by this one :
Code: [Select]
$output .= '<a href="'.$site_sess->url(ROOT_PATH."search.php?search_keywords=".urlencode($key).((!empty($mode)) ? "&amp;mode=".$mode : "")).'" style="font-size:'.$size.'%;color:rgb('.mt_rand(64,128).', '.mt_rand(64,128).', '.mt_rand(0,255).');font-family:Arial, sans-serif;" title="'.$value.' '.$lang['tagged_with'].' '.format_text($key, 2).'">'.format_text($key, 2).'</a> ';
 :arrow: Tell me if it works !
ch€ri{Bi}²


Offline k1lljoy

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
    • Razruha.Ru
Re: [MOD] Tag cloud ( keyword & cat cloud in web2.0 style)
« Reply #31 on: June 12, 2007, 03:20:31 PM »
:arrow: Tell me if it works !
Thanx for trying to help, but after thanging this line the problem didn`t disappear...  :cry:
I still see "пueяниoeы" instead of "пЬяниЦы"  :(


Offline ch€ri{Bi}²

  • Sr. Member
  • ****
  • Posts: 315
  • A PRoBLeM wIthOUt SoLuTioN Is NoT rEAllY a PRoBLeM
    • View Profile
    • Pat's Gallery
Re: [MOD] Tag cloud ( keyword & cat cloud in web2.0 style)
« Reply #32 on: June 12, 2007, 03:37:56 PM »
/search.htm?search_keywords=Харueков
like in output of your MOD.

do you use a mod to show the link? because i did not use search.htm in this mod  :?
ch€ri{Bi}²


Offline k1lljoy

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
    • Razruha.Ru
Re: [MOD] Tag cloud ( keyword & cat cloud in web2.0 style)
« Reply #33 on: June 12, 2007, 04:35:51 PM »
/search.htm?search_keywords=Харueков
like in output of your MOD.

do you use a mod to show the link? because i did not use search.htm in this mod  :?
I have this mod installed: http://www.4homepages.de/forum/index.php?topic=6613.0
It just changes search.php into search.htm in this particular case and obviously doesn`t have any effect on this problem  :)


Offline k1lljoy

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
    • Razruha.Ru
Re: [MOD] Tag cloud ( keyword & cat cloud in web2.0 style)
« Reply #34 on: June 12, 2007, 04:42:17 PM »
After the last Your change in the code the URLs look like: /search.htm?search_keywords=%D3%EB%E8oe%E0
but none the less those wrong symbols remain there: oe, ae, ue...  :(


Offline ch€ri{Bi}²

  • Sr. Member
  • ****
  • Posts: 315
  • A PRoBLeM wIthOUt SoLuTioN Is NoT rEAllY a PRoBLeM
    • View Profile
    • Pat's Gallery
Re: [MOD] Tag cloud ( keyword & cat cloud in web2.0 style)
« Reply #35 on: June 13, 2007, 10:37:08 AM »
we can sort (alphabetical sequence) the tags to a-z or z-a?

you can do this in functions.php.

 :arrow: find & modify the second line in the code below  to sort the tags in reverse alphabetical order (z-a):
Quote
//uncommentnext line to sort the tag array in reverse order (+ => -)
   //arsort($tags);

 :!: or to sort the tags in alphabetical order (a-z)  modify the second line with this code : asort($tags);

 :wink:
ch€ri{Bi}²


Offline k1lljoy

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
    • Razruha.Ru
Re: [MOD] Tag cloud ( keyword & cat cloud in web2.0 style)
« Reply #36 on: June 13, 2007, 04:22:27 PM »
I`ve noticed only these cyrillic symbols are replaced by those annoying "ae", "oe", "ue":

In my case these are Russian: ц, д, ч, ь, Ъ, ы, я.

Maybe someone have any ideas?  :cry:


Offline ch€ri{Bi}²

  • Sr. Member
  • ****
  • Posts: 315
  • A PRoBLeM wIthOUt SoLuTioN Is NoT rEAllY a PRoBLeM
    • View Profile
    • Pat's Gallery
Re: [MOD] Tag cloud ( keyword & cat cloud in web2.0 style)
« Reply #37 on: June 13, 2007, 10:41:41 PM »
but this asort (tag) does not run  :!:
the tags is not sortet

oh sorry! my last response shows how to sort the keywords from the less to the more...

 :arrow:  if you want to get the real alphabetical order, change this in the sql query : find ORDER BY  RAND() and replace it by ORDER BY  i.word_text ASC ( => a-z).
Same thing with ORDER BY  i.word_text DESC ( => z-a)



2) when the wordmatch and wordlist table ist empty/clear
comes follow error messages
these warning messages are normal : see the end of this reply...
 why do you want to make a cloud tag with keywords if there is no keyword on your gallery?  :?
ch€ri{Bi}²


Offline k1lljoy

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
    • Razruha.Ru
Re: [MOD] Tag cloud ( keyword & cat cloud in web2.0 style)
« Reply #38 on: June 16, 2007, 04:26:39 AM »
Any solutions for non-latin symbols bug?  :(


Offline k1lljoy

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
    • Razruha.Ru
Re: [MOD] Tag cloud ( keyword & cat cloud in web2.0 style)
« Reply #39 on: June 20, 2007, 12:02:47 PM »
It seems to me there`s no any  :|


Offline Lucifix

  • Hero Member
  • *****
  • Posts: 710
    • View Profile
    • http://www.slo-foto.net
Re: [MOD] Tag cloud ( keyword & cat cloud in web2.0 style)
« Reply #40 on: June 28, 2007, 09:26:59 AM »
Hi,

great mode but I have one small problem... in my tags you can find so many insult words :)

Do you know how can I censored them?

Offline desperate_housewif

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Re: [MOD] Tag cloud ( keyword & cat cloud in web2.0 style)
« Reply #41 on: June 28, 2007, 07:20:27 PM »
Schöner Mod. Mir ist aber aufgefallen, das mir falsche Werte angezeigt werden, wenn ich mit der Mause über die Schlüsselworte gehe. Es wird mit z.B. angezeigt 1 Bild, sind dann aber, wenn ich auf das Schlüsselwort klicke 3 Bilder. Kommt zu 80 % zahlenmäßig nicht hin. Woran liegt das?

Offline Martin2006-B-2

  • Newbie
  • *
  • Posts: 10
    • View Profile
    • Berlin Fotos und Bilder - fotos-berlin24.de
Re: [MOD] Tag cloud ( keyword & cat cloud in web2.0 style)
« Reply #42 on: July 01, 2007, 05:30:17 PM »
Great Mod! Thanks!
Berlin Fotos und Bilder - fotos-berlin24.de


Jacob

  • Guest
Re: Big problem in implementing this mod !!
« Reply #43 on: July 31, 2007, 09:30:39 AM »
After editing the functions.php, page_header.php and langfiles, I get this error on the top of my 4images homepage . Any suggestions ??

Warning: array_values() [function.array-values]: The argument should be an array in /home/tsahu/public_html/netbaazigar/showoff/includes/functions.php on line 1744

Warning: Wrong parameter count for max() in /home/tsahu/public_html/netbaazigar/showoff/includes/functions.php on line 1744

Warning: array_values() [function.array-values]: The argument should be an array in /home/tsahu/public_html/netbaazigar/showoff/includes/functions.php on line 1745

Warning: Wrong parameter count for min() in /home/tsahu/public_html/netbaazigar/showoff/includes/functions.php on line 1745

Warning: Invalid argument supplied for foreach() in /home/tsahu/public_html/netbaazigar/showoff/includes/functions.php on line 1757


same here
Same errors for me... :(:(
i really need this mod.. any sol for this??

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] Tag cloud ( keyword & cat cloud in web2.0 style)
« Reply #44 on: July 31, 2007, 01:14:38 PM »
Does not seem to be general prob. What is your PHP, mySQL, 4images version ? May be not compatible for PHP 5 ...
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?