Advanced search  

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

Pages: 1 [2] 3 4 5 6   Go Down

Author Topic: Tag cloud from keywords  (Read 102001 times)

0 Members and 1 Guest are viewing this topic.

wfs

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 95
Re: Tag cloud from keywords
« Reply #20 on: August 03, 2006, 04:39:33 am »

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

Aditya Mooley

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 781
    • My Sweet Home
Re: Tag cloud from keywords
« Reply #21 on: August 03, 2006, 06:54:55 am »

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

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

wfs

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 95
Re: Tag cloud from keywords
« Reply #22 on: August 03, 2006, 08:38:09 am »

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

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

thank you again !!   :) :)
Logged

wfs

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 95
Re: Tag cloud from keywords
« Reply #23 on: August 08, 2006, 12:59:13 pm »

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

Aditya Mooley

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 781
    • My Sweet Home
Re: Tag cloud from keywords
« Reply #24 on: August 08, 2006, 01:11:40 pm »

Link to your site please.
Logged
--- "Its Nice 2 BE Important but its more Important 2 Be NICE" ---
Follow Coppermine on Twitter

wfs

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 95
Re: Tag cloud from keywords
« Reply #25 on: August 08, 2006, 02:11:50 pm »

Logged

Aditya Mooley

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 781
    • My Sweet Home
Re: Tag cloud from keywords
« Reply #26 on: August 08, 2006, 02:27:55 pm »

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

wfs

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 95
Re: Tag cloud from keywords
« Reply #27 on: August 08, 2006, 03:45:04 pm »

hi,

can you try cameron_highlands, toa_payoh and hong_kong.

turns up blanks - no images.

Logged

wfs

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 95
Re: Tag cloud from keywords
« Reply #28 on: August 08, 2006, 03:49:24 pm »

Hi again,

my sincere apologies.

it works - after I deleted the temporary files.

so sorry.

Logged

beingjenn

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Tag cloud from keywords
« Reply #29 on: October 11, 2006, 06:37:41 am »

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

Aditya Mooley

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 781
    • My Sweet Home
Re: Tag cloud from keywords
« Reply #30 on: October 12, 2006, 07:22:24 am »

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

darktea

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Tag cloud from keywords
« Reply #31 on: October 31, 2006, 11:09:35 pm »

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

Aditya Mooley

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 781
    • My Sweet Home
Re: Tag cloud from keywords
« Reply #32 on: November 01, 2006, 06:05:25 am »

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.
Logged
--- "Its Nice 2 BE Important but its more Important 2 Be NICE" ---
Follow Coppermine on Twitter

darktea

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Tag cloud from keywords
« Reply #33 on: November 02, 2006, 10:32:52 am »

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

locomotion1

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: Tag cloud from keywords
« Reply #34 on: January 30, 2007, 01:39:16 am »

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!
Logged

Aditya Mooley

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 781
    • My Sweet Home
Re: Tag cloud from keywords
« Reply #35 on: January 30, 2007, 05:47:54 am »

Give the link to your site.
Logged
--- "Its Nice 2 BE Important but its more Important 2 Be NICE" ---
Follow Coppermine on Twitter

locomotion1

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: Tag cloud from keywords
« Reply #36 on: January 31, 2007, 12:00:38 am »

http://www.paramorefans.com/photos/

thanks for taking ur time!
Logged

locomotion1

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: Tag cloud from keywords
« Reply #37 on: January 31, 2007, 12:01:45 am »

sorry for double posting....

this could help SEO right?
Logged

Aditya Mooley

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 781
    • My Sweet Home
Re: Tag cloud from keywords
« Reply #38 on: January 31, 2007, 06:11:59 am »

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?
Logged
--- "Its Nice 2 BE Important but its more Important 2 Be NICE" ---
Follow Coppermine on Twitter

locomotion1

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: Tag cloud from keywords
« Reply #39 on: February 01, 2007, 01:10:46 am »

yes the keyword funtion is enabled
and I just installed it so i cant say it worked before
Logged
Pages: 1 [2] 3 4 5 6   Go Up
 

Page created in 0.026 seconds with 19 queries.