Tag cloud from keywords - Page 2 Tag cloud from keywords - Page 2
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Tag cloud from keywords

Started by Aditya Mooley, December 20, 2005, 07:55:12 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

wfs

Hi,

It's a great piece of code.  Thank you so much !

Just wondering - how do you change the fonts to Arial and a larger size ?

pse advise.

thank you.

Aditya Mooley

I am not changing fonts anywhere. Just the size of the keywords are changed according to their weight.
Here's the code in search.inc.php which does this


if ($em > 24) {
      $span = 'font-size: 24px; font-weight: bold;';
} else {
      $span = "font-size: {$em}px;";
}
--- "Its Nice 2 BE Important but its more Important 2 Be NICE" ---
Follow Coppermine on Twitter

wfs

Thanks - I forgot the size of the words are weighted.

Anyway, it's a great piece of very useful code.

thank you again !!   :) :)

wfs

Hi,
I seem to have this problem - when I click on a keyword, the page comes up but it says there are no images to display.

can this be?

pse advice.

thanks.

Aditya Mooley

--- "Its Nice 2 BE Important but its more Important 2 Be NICE" ---
Follow Coppermine on Twitter

wfs


Aditya Mooley

I searched for few keywords like holland, orchestra and niagara_falls. They returned 11, 1 and 1 results respectively.
--- "Its Nice 2 BE Important but its more Important 2 Be NICE" ---
Follow Coppermine on Twitter

wfs

hi,

can you try cameron_highlands, toa_payoh and hong_kong.

turns up blanks - no images.


wfs

Hi again,

my sincere apologies.

it works - after I deleted the temporary files.

so sorry.


beingjenn

Is there a way to put the tag cloud in the sidebar?

Aditya Mooley

No. Someone will have to modify the script to work for sidebar.
--- "Its Nice 2 BE Important but its more Important 2 Be NICE" ---
Follow Coppermine on Twitter

darktea

I've been looking into improving my keyword search so your mod is great, thank you.  I believe I have followed your instructions fully (download file, rename and upload) and it is working in some ways, but I don't think it is quite the expected results, because I have some words repeated several times e.g. Bite over 60 times and then it starts the alphabet again and works fine.

http://www.darktea.co.uk/search.php

I know the keywords were listed fine before this trying this mod, because I was checking them this morning.

Any help would be wonderful,  thanks.

Aditya Mooley

Looks very odd. I hope you have a backup of original script. Please rename the modified script and revert to the original script. I will look into this problem ASAP. If possible PM me the FTP details of your site so that I can debug the script.
--- "Its Nice 2 BE Important but its more Important 2 Be NICE" ---
Follow Coppermine on Twitter

darktea

I have a backup of the site so I can replace the file, but haven't got round to it yet.  I will PM you with the details, thank you for the offer.

locomotion1

hey ia dded the php file to my coppermine, replaced the old file and everything but it doesnt seem to be making any clod tag = /

any suggestions?
thanks!

Aditya Mooley

--- "Its Nice 2 BE Important but its more Important 2 Be NICE" ---
Follow Coppermine on Twitter

locomotion1


locomotion1

sorry for double posting....

this could help SEO right?

Aditya Mooley

I can't even see the normal list of keywords on your search page. Was it working previously? Have you enabled the " Enable clickable keywords in search" option from config?
--- "Its Nice 2 BE Important but its more Important 2 Be NICE" ---
Follow Coppermine on Twitter

locomotion1

yes the keyword funtion is enabled
and I just installed it so i cant say it worked before