okay, downloaded and enabled on d6.1, here are my steps, followed by what's happening:

in site configuration/kudos:
- checked 'allows users to rescind'
- format of kudos: form icons
- filepath: sites/all/kudoicons/ (yes, included trailing slash as instructed)
- enabled for three standard content types (typical nodes)
- type of target: all four are checked (four options)
-cache- update at interval (hourly in this case, site default) not instant
-cache- no other interval selected (e.g. day, week etc, just the one above)

went to contentmanagement/kudos:
-name: kudos (one word, no spaces, no caps, just like that)
-label: GiveKudos (one word, no space)
- selected 2 eligible content types
-checked 'yes' to kudos on comments
- checked 'yes' to enable
-filled in path to icons for each (relative, so simply entered: button_ok.png, button_cancel.png, stickies.png - tried with and without trailing slashes for these - like stickies.png/)

NOW - when viewing node i see the rectangle where it appears icons should go, but simply one small icon box with an error x (image attached) and no associated error messages, just 'nothing'

any ideas?

CommentFileSizeAuthor
screen.jpg5.81 KBzilla

Comments

socki’s picture

Hey,

I believe it works, but you might need to add a leading slash as otherwise the images would be relative to the path in the url currently.

So if you url url is http://www.example.com/somedir/some-title then the image would look in:

http://www.example.com/somedir/sites/all/kudoicons/icon.gif

which would in fact be incorrect. I'm not sure right now if this is due to a change from 5.x -> 6.x or just a mistake on my part. In any case, please try to add the leading slash to the 'filepath' setting.

In addition... with this dev release, I have noticed the 'Images' setting for 'format' works better, so you might want to change that around.

Let me know how it goes otherwise.

Thanks.

zilla’s picture

nope, tried a leading slash in both site configuration for kudos icon folder and in content management/kudos for actual icons

as for 'images' - i only see 3 choices in that drop down:

form button
form icon
optional (advanced) control how images are aligned

..still see nothing!

if this helps: i'm using clickpath to show recent pages visited (and also use pathauto -possible conflict? shouldn't be) at any rate, i can see a page not found for the path to one of the icons even though i know it's there - and all three are missing - but it is in fact showing the correct url for the image: mysite.com/sites/all/kudoicons/stickies.png

socki’s picture

Under format of kudos... you should see three options. I suggest choosing the third option "Images"

As for the path, you would make the path specified under /admin/settings/kudos with the leading slash.

If that doesn't work, let me get back to you with this... I need to update my local drupal 6 installation. Under the setting for each individual kudo, you would not have any slashes, but should be just the name of the file for that kudo.

PS. Avoid using the version 6 that i currently have active under the project. Keep the version you are using. I'm still having issues with cvs

zilla’s picture

yup, picked that third one, "optional (advanced) control how images are displayed" [ though i see no options for this 'control' feature?]

and yes, under site configuration/kudos, put leading slash and also left trailing slash (says to leave trailing slash)

under each kudo have just the icon name (file name)

still doesn't show anything but that same error up above..(image file is attached up there)

socki’s picture

When you view the source where the kudos should be appearing... what does the IMG or INPUT tag look like?

Please paste in here....

As far as the third option is concerned, I'm not sure what you mean "optional (advanced).." That is not an option under Site Configuration > Settings.... There are three options... Form Button, Form Image and Image. This third option is not what is causing your images not to display... so please paste what the IMG or INPUT look like... it might explain what is happening.

Thanks.

zilla’s picture

yup, here's the relevant section - and as for that third option, do i somehow have a dud download? those 3 items listed above are my three options exactly as they are listed....at any rate:


Only local images are allowed.






zilla’s picture

sorry, trying again (won't let that div code stuff into drupal forums, trying code block)

 <div class="content">
    <a href="/category/question-category/all-schools-education" class="taxonomy_image_links"></a><form action="/kudos/submit"  accept-charset="UTF-8" method="post" id="kudos-form-node-53" onsubmit="return false;" class="kudos-widget">
<div><div class="kudos-widget kudos-type-node kudos-id-53"><img src="/sites/all/kudoicons/stickies.png" alt="GiveKudos" name="kudos" value="GiveKudos"  id="kudo-kudos-node-53" class="kudos_clicker kudos_none" disabled="TRUE" />
    <div class="kudos_response_message"></div>
  <input type="hidden" name="content_type" id="edit-content-type" value="node"  />
<input type="hidden" name="content_id" id="edit-content-id" value="53"  />
<input type="hidden" name="button_format" id="edit-button-format" value="kudos_image"  />
<input type="hidden" name="form_build_id" id="form-32faace74d879dbf1e3dc62e478ffce8" value="form-32faace74d879dbf1e3dc62e478ffce8"  />
<input type="hidden" name="form_token" id="edit-kudos-form-node-53-form-token" value="f158c5a102de81616552a954b5c814f1"  />
<input type="hidden" name="form_id" id="edit-kudos-form-node-53" value="kudos_form_node_53"  />
</div>
socki’s picture

so if you go to your site and request the page: /sites/all/kudoicons/stickies.png it works fine?

http://www.yoursite.com/sites/all/kudoicons/stickies.png

I don't think you have a dud download... in fact I think you have one one real download that works. I've been having issues with my 5.x and 6.x versions being merged.. but that's a different story.

I've installed the copy that you are using and it seems to work fine for me. The one issue I noticed was that the "images" format was a bit more responsive via the jquery then the form image button for some reason, but nothing major.

zilla’s picture

okay, now this is even more strange - i don't why, but one particular image did not work at that url path (there are three images, it was the one for 'disabled icon' - which makes no sense (it was in the folder, other url's worked just like above in #8) - mean makes no sense because i'm allowing users to take back votes, so they should never see a 'no action may be taken' option - it's either give or take back...

so at any rate, i replaced that disabled icon and it looked like it was working but in fact it is ONLY showing the 'disabled' icon even though the kudos is enabled!

and i'm still confused, when i go to site configuration for kudos i do not see any "images format" - i see only these three choices in teh drop down menu for 'format of kudos' - and these are the exact words as they appear:

Form Button
Form Icon
Optional (advanced): control how images are aligned

...is that last one supposed to be someplace else, like NOT in that dropdown? looks like the presentation of that tool is a bit loopy and that may be what's causing it..

but at least it's visual progress - i can now see an icon, just the wrong one - and clicking it does nothing, nothing happens at all (even with 2 second delay and all of that)

socki’s picture

Okay, I think the file might be a bit wacky right now due to my issues with CVS and things getting merged incorrectly. I'm working on that, and that is my big goal for the weekend is to straighten that out.

As far as the disabled icon is concerned... if you allow users to rescind kudos, the person who wrote the piece of content will still see the disabled icon since users can't give themselves kudos. make sense? that a problem?

zilla’s picture

nope, makes sense (users can't give selves kudos - i was looking at a test site where i'm creating most content...duh. need to log in as alias test account and crank out some content as well!)

at any rate, i'll await the next release over the coming days as you hammer out the cvs issues!

in fact, i think it probably is working and just wasn't looking right (actions/image) because i'm the user on my own content

...but, still doesn't explain that menu item above (where i don't see 'image' but instead those three listed up there)

socki’s picture

Good News!!!!

I've been able to get a nice version of kudos for 6.x up on drupal.org....

I'm running the new version locally and everything seems to be fine. Are you still having issues?

-T

zilla’s picture

i'll try it out shortly and will let you know if it still has any glitches...

socki’s picture

Status: Active » Postponed (maintainer needs more info)
socki’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)
CarbonPig’s picture

I've tried everything in the above conversation.

Are people still having problems getting the images to display??

Thanks,

The Carbon Pig

CarbonPig’s picture

OK...sorry...figured it out...

In the kudos settings, I had only defined the partial file path to the images: /xxxx/xxxxx instead of the full URL: http://www.example.com/xxxx/xxxxx

Superheidi’s picture

I'm having this issue. Downloaded the latest 6X1.4 version for mt 6.8 installation and can't get images to show up.

I tried putting in the entire filepath to images, just the folder path, and everything else and can't seem to get any images to show up at all (and I do have 'images' selected).

So, any ideas? Anyone else having this issue with 6x 1.4 in 6.8?