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

0 Members and 1 Guest are viewing this topic.

Offline Sun

  • Jr. Member
  • **
  • Posts: 96
    • View Profile
Re: [MOD] Tag cloud ( keyword & cat cloud in web2.0 style)
« Reply #135 on: September 28, 2009, 03:20:52 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).

How i understand with this decision we said: didn't use function convert_special anywhere(not only in tag cloud). I am afraid that this functions used in some another places and if i didn't use it then i will have errors.
V@no, could you tell me what kind of operation to check? or you think that all will be work?


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 .....

This decision have one error: if i use English words for search, they will be changed too. For example, word "endless" will be "endleя"   
Tatyana.
I use 4images v.1.7.6
You can answer me in English and Russian languages.
Sorry, my English is not very good.

Offline imberador

  • Pre-Newbie
  • Posts: 1
    • View Profile
Re: [MOD] Tag cloud ( keyword & cat cloud in web2.0 style)
« Reply #136 on: October 11, 2009, 07:36:18 PM »
Hallo miteinander,

ich habe den Mod erfolgreich installiert und er funktioniert auch zu meiner Zufriedenheit. Nun habe ich leider festgestellt, dass in der Detailansicht {image_keywords} unter Schlüsselwörter die originären keywords nicht mehr angezeigt werden.

Das wäre aber wichtig, da nur diese keywords einen Zusammenhang zum Bild herstellen.

Gibt es da ein Lösung?

Viele Grüße

Habs gefunden:
Im Array für die Templates hat der Eintrag "image_keywords" => $keywords, gefehlt. Jetzt gehts.
« Last Edit: October 12, 2009, 09:52:48 AM by imberador »

Offline AKIN

  • Full Member
  • ***
  • Posts: 121
    • View Profile
    • Resim
Re: [MOD] Tag cloud ( keyword & cat cloud in web2.0 style)
« Reply #137 on: November 11, 2009, 09:50:13 PM »
User who enters your page "red books" tag page. Random tags within the page to remove it immediately instead of "red" like to see die tag table header labels with %red% red labels get out. Meaningless tags, different content labels will go boots.in this way, if you would be more useful. Root words associated with the labels, visit bots better.



$tag = $ _GET [q];
Let us assign labels for $ get'ine tag on the page.  If you create 2 or 3 word labels, so let's parts.

$bol = explode(' ', $tag); //I chose to separate the space.
$first_word=$bol[0];
$first_word            I received word sql line;

WHERE baslik LIKE '%$first_word%' order by rand() desc limit 0,1


   
How can be done?   
I hope you able to provide you describe. My English is bad.

Offline igor3000

  • Pre-Newbie
  • Posts: 7
    • View Profile
Re: [MOD] Tag cloud ( keyword & cat cloud in web2.0 style)
« Reply #138 on: March 02, 2010, 02:58:44 PM »
Good afternoon, prompt, what is necessary, that letters were one colour?  :oops:

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [MOD] Tag cloud ( keyword & cat cloud in web2.0 style)
« Reply #139 on: March 02, 2010, 03:52:40 PM »
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline x23piracy

  • Sr. Member
  • ****
  • Posts: 420
    • View Profile
    • FHG
Re: [MOD] Tag cloud ( keyword & cat cloud in web2.0 style)
« Reply #140 on: October 23, 2010, 11:25:50 PM »
Hi,

danke für diesen MOD  :thumbup:

EDIT:

Wenn man die Cloud auf Basis von Image Namen möchte muss die SQL Abfrage:

Code: [Select]
WHERE keys_match > 0
geändert werden:

Code: [Select]
WHERE name_match > 0
wenn es die Beschreibung sein soll:

Code: [Select]
WHERE desc_match > 0

Greetz X23
« Last Edit: October 27, 2010, 08:14:39 AM by x23piracy »

Don't trust in md5 it's unsafe change your 4i galerys password hash algorythm! second pw db field, create new hashes over some time, deny old hash. Help members that cry, send informationen mail to the rest. Camouflage new pw hash in cookie. Done!

--(◔̯◔)--

Offline relu

  • Newbie
  • *
  • Posts: 44
    • View Profile
    • Pulsarmedia
Re: [MOD] Tag cloud ( keyword & cat cloud in web2.0 style)
« Reply #141 on: October 28, 2010, 12:51:45 PM »
Verry nice mod... but on my server makes verry much load... After my server upgrade i was tried again the mod and was the same for my page. Also i have more other mods installed.

this is querry with 250 query /sec

SELECT i.word_id, i.word_text, COUNT( c.word_id ) AS quantity
FROM 4images_wordlist i
LEFT JOIN 4images_wordmatch c ON i.word_id = c.word_id
WHERE keys_match >0
GROUP BY i.word_text
ORDER BY RAND( )
LIMIT 30

Offline bernd

  • Full Member
  • ***
  • Posts: 214
    • View Profile
Re: [MOD] Tag cloud ( keyword & cat cloud in web2.0 style)
« Reply #142 on: January 31, 2011, 12:14:00 PM »
yeah, it slows down the site. On my (weak) test system all queries are quicker than 0.044 sec, this one takes 3.3 sec :(
I am no SQL wizard so I don't really know how to make it quicker (if at all possible) but this one "only" takes 2.8 sec (and I hope it does the same):
Code: [Select]
SELECT COUNT(c.word_id) AS quantity, i.word_
FROM 4images_wordmatch c, 4images_wordlist i
WHERE keys_match > 0 and i.word_id = c.word_id
GROUP BY c.word_id
ORDER BY  RAND()
LIMIT 20

To use it I'm thinking about putting it into a separate file and loading it via ajax after the rest of the page has loaded.

Rembrandt

  • Guest
Re: [MOD] Tag cloud ( keyword & cat cloud in web2.0 style)
« Reply #143 on: January 31, 2011, 03:56:35 PM »
test it:

SELECT COUNT(c.word_id) AS quantity, i.word_id, i.word_text   
FROM 4images_wordmatch c, 4images_wordlist i
WHERE keys_match > 0 and i.word_id = c.word_id AND length(word_text) > 5
GROUP BY c.word_id
ORDER BY  RAND()
LIMIT 20



Offline nameless

  • Full Member
  • ***
  • Posts: 147
    • View Profile
Re: [MOD] Tag cloud ( keyword & cat cloud in web2.0 style)
« Reply #144 on: April 13, 2011, 10:59:12 PM »
heloo evry one

i'm useing 1.7.8
and when i use this mod
I have no Tag cloud

all i have is the word array

Offline eportugues

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • Chavo del 8
Re: [MOD] Tag cloud ( keyword & cat cloud in web2.0 style)
« Reply #145 on: May 27, 2011, 01:15:23 AM »
...this is a version of the tag clouds  8) for 4images...

Works perfect in 1.7.10 version  :thumbup:
« Last Edit: May 27, 2011, 04:55:49 AM by Rembrandt »

Offline ProrokBDG

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: [MOD] Tag cloud ( keyword & cat cloud in web2.0 style)
« Reply #146 on: September 04, 2011, 10:29:24 PM »
Hi, I want to display only the most commonly used words. How do I?

Offline gerbert

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: [MOD] Tag cloud ( keyword & cat cloud in web2.0 style)
« Reply #147 on: September 27, 2012, 06:12:57 AM »
I upgraded to version 1.7.11 and ran the Migrate Keywords tool and now my tag cloud is broken.
The tag cloud used to separate the keywords in a post. Now, it is grouping them all together.
For instance, the tags: "car, park, parking" used to all be single keywords, now it is showing up as one big keyword, "car park parking"
You can see an example here: http://www.threadbombing.com/index.php
Can anybody help me fix this? Thanks!

Rembrandt

  • Guest
Re: [MOD] Tag cloud ( keyword & cat cloud in web2.0 style)
« Reply #148 on: September 27, 2012, 08:41:11 AM »
Hi!
I upgraded to version 1.7.11 and ran the Migrate Keywords tool and now my tag cloud is broken.
...
I do not think that it's the Mod.
in ACP/plugins, start the "rebuild_searchindex" but first empty the search index.

mfg Andi

Offline gerbert

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: [MOD] Tag cloud ( keyword & cat cloud in web2.0 style)
« Reply #149 on: September 27, 2012, 07:10:15 PM »
I do not think that it's the Mod.
in ACP/plugins, start the "rebuild_searchindex" but first empty the search index.
mfg Andi
Thanks, that fixed it!  8)