• [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 227998 times)

0 Members and 1 Guest are viewing this topic.

Offline Ahm@d

  • Newbie
  • *
  • Posts: 14
  • KiNG Ro7ee - ملك روحي
    • View Profile
    • توبيكات
Re: [MOD] Tag cloud ( keyword & cat cloud in web2.0 style)
« Reply #90 on: July 30, 2008, 12:03:25 AM »
 :cry: any help !!
www.king-ro7ee.com
For webdesign
.. [ :) ] ..

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Tag cloud ( keyword & cat cloud in web2.0 style)
« Reply #91 on: July 30, 2008, 01:45:38 AM »
a little tip: describe the problem and if possible provide a screenshot ;)
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Ahm@d

  • Newbie
  • *
  • Posts: 14
  • KiNG Ro7ee - ملك روحي
    • View Profile
    • توبيكات
Re: [MOD] Tag cloud ( keyword & cat cloud in web2.0 style)
« Reply #92 on: August 01, 2008, 07:49:11 AM »
 8) the problem is that some Arabic letters are shown in the tags as a latin letters which is not right  :cry: ..

could u tell me how can i fix it ..

or just tell me from which file ?

here is a screenshot  :mrgreen:

thank's alot
www.king-ro7ee.com
For webdesign
.. [ :) ] ..

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Tag cloud ( keyword & cat cloud in web2.0 style)
« Reply #93 on: August 01, 2008, 03:00:25 PM »
in includes/search_utils.php find:
Code: [Select]
function convert_special($text) {Insert below:
Code: [Select]
return $text;It wont fix the problem right the way, because the latin letter in your keywords are already saved into the database, so you'll need manually edit database and fix these keywords (if you manually add keywords to each image, you can edit image and fix keywords there).


P.S.
I can't guaranty that it will work properly, but you also can try this before you manually edit database:
in includes/functions.php find:
Code: [Select]
function get_tag_clouds() {Insert above:
Code: [Select]
function _convert_special($text) {
  return strtr(
    $text,
    array(
      "AE" => "Ä",
      "OE" => "Ö",
      "UE" => "Ü",
      "ae" => "ä",
      "oe" => "ö",
      "ue" => "ü",
      "ss" => "ß"
    )
  );
}


find:
Code: [Select]
    $tags[$row['word_text']] = $row['quantity'];Insert above:
Code: [Select]
$row['word_text'] = _convert_special($row['word_text']);
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Ahm@d

  • Newbie
  • *
  • Posts: 14
  • KiNG Ro7ee - ملك روحي
    • View Profile
    • توبيكات
Re: [MOD] Tag cloud ( keyword & cat cloud in web2.0 style)
« Reply #94 on: August 01, 2008, 09:39:03 PM »
 :D thank's alot V@no i have try it and it work,

thank u very much ..
www.king-ro7ee.com
For webdesign
.. [ :) ] ..

Offline Omsky

  • Newbie
  • *
  • Posts: 42
    • View Profile
Re: [MOD] Tag cloud ( keyword & cat cloud in web2.0 style)
« Reply #95 on: August 06, 2008, 12:23:13 PM »
nice mod, thnk

Offline wallp.ape.rs

  • Pre-Newbie
  • Posts: 3
    • View Profile
    • Free wallpapers, pictures, galleries, albums on wallp.ape.rs are only yours!
Re: [MOD] Tag cloud ( keyword & cat cloud in web2.0 style)
« Reply #96 on: October 10, 2008, 10:28:50 AM »
hello all,

1st at all: THANK YOU for this wonderfull gallery software!

2nd: my question to this MOD:
i'm using name_match instead of keys_match in the cloud query
is it possible only to show words with chars from a-z and A-Z, without the numbers?
means tag clouds like wallpaper should be show, clouds like 0012 or wallpaper58 should be excluded.

thank you in advance!

wallp.ape.rs freak :)
« Last Edit: October 10, 2008, 10:57:25 AM by wallp.ape.rs »

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Tag cloud ( keyword & cat cloud in web2.0 style)
« Reply #97 on: October 10, 2008, 03:08:02 PM »
Hello and welcome to 4images forum.

in includes/functions.php find:
    $tags[$row['word_text']] = $row['quantity'];


Insert ABOVE:
    if (preg_match("#[^a-zA-Z]#"$row['word_text'])) continue;
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline wallp.ape.rs

  • Pre-Newbie
  • Posts: 3
    • View Profile
    • Free wallpapers, pictures, galleries, albums on wallp.ape.rs are only yours!
Re: [MOD] Tag cloud ( keyword & cat cloud in web2.0 style)
« Reply #98 on: October 11, 2008, 12:33:30 AM »
Hello V@no thank you for your answer!
nope that will not work like i wanted.
with preg_match "number" tags will be hidden. means from mysql query with example limit 20, 16 tags will be visible on the site

i found something else for mysql query to exclude "number" tags:.
Code: [Select]
WHERE name_match > 0 AND i.word_text REGEXP '[a-zA-Z]'
and it works up to 99,99% like i wanted.
i see still 330i or M3 but no matter, due this are BMW "words" ;)

Thank you again!

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Tag cloud ( keyword & cat cloud in web2.0 style)
« Reply #99 on: October 11, 2008, 04:14:20 AM »
Yes, you are right.
This should add 0.01% to your 99.99% ;)

Code: [Select]
WHERE keys_match > 0 AND i.word_text NOT REGEXP '[^a-zA-Z]'
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline wallp.ape.rs

  • Pre-Newbie
  • Posts: 3
    • View Profile
    • Free wallpapers, pictures, galleries, albums on wallp.ape.rs are only yours!
Re: [MOD] Tag cloud ( keyword & cat cloud in web2.0 style)
« Reply #100 on: October 17, 2008, 09:01:56 PM »
hi V@no,

Nope it does not worked.
You dont have to search for solution. I like the way how it is work rightnow.
Thank you again for your time!

Offline robertx

  • Newbie
  • *
  • Posts: 34
    • View Profile
Re: [MOD] Tag cloud ( keyword & cat cloud in web2.0 style)
« Reply #101 on: November 04, 2008, 09:37:40 AM »
still have problems . I have installed select Language Mode (with different templates). The default works ok for this Mod . The problem is when switching to another . I have receive the follow

Notice: Undefined index: vote_between in /public_html/includes/functions.php on line 1006
Notice: Undefined index: vote_between in /public_html/includes/functions.php on line 1009
Notice: Undefined index: vote_between in /public_html/includes/functions.php on line 1048


on the top of page .

What could be the problem ? Thanks

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Tag cloud ( keyword & cat cloud in web2.0 style)
« Reply #102 on: November 04, 2008, 02:27:50 PM »
The problem is absolutely not related to this mod, but to [Mod] Ajax Starrating for details + thumbs instead.
Your language pack missing some language string(s) from step 8.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline robertx

  • Newbie
  • *
  • Posts: 34
    • View Profile
Re: [MOD] Tag cloud ( keyword & cat cloud in web2.0 style)
« Reply #103 on: November 05, 2008, 12:13:18 PM »
The problem is absolutely not related to this mod, but to [Mod] Ajax Starrating for details + thumbs instead.
Your language pack missing some language string(s) from step 8.

Thanks V@no . It's working .

Offline FunnyUser

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Re: [MOD] Tag cloud ( keyword & cat cloud in web2.0 style)
« Reply #104 on: November 28, 2008, 08:15:53 AM »
Nice MOD but i've got a little prob:

the mod is working great so far but i want to include it in my "user_box" (user_loginform.html) and it doesn't work.
So its just shown no tags.


Any idea?
Thanks a lot!