No, by saying you want them to be based on categories and discussions you are implying that the images would need to come from there. These plugins do just that, they get images that belong to each category or discussion, if there is no image there is a gap. That is how this works. It is not what you want.
What you need is not a script, what you need is a plugin that will add a section next to the discussions, on the left, where you can put any images you want to put.
Or manually add the section in the master. then you manually add images via html on the page and use css to adjust .
I am so surprised and happy to see this. I just tried it but nothing changes. I have tried enabled and disabled the IndexPhotos. I also disabled the Category Images. Did i miss something?
This plugin just pulls the first image from each discussion in the current model and limits it to 10 images. Can you verify that a list with id randomimages exists in your page source?
@hgtonight said:
Don't feel bad, I didn't think this completely through. CategoryID isn't user viewable. Looking at the page source of http://funcookie.com/vf2/discussions I see category numbers 9, 10, 7.
Answers
No, by saying you want them to be based on categories and discussions you are implying that the images would need to come from there. These plugins do just that, they get images that belong to each category or discussion, if there is no image there is a gap. That is how this works. It is not what you want.
What you need is not a script, what you need is a plugin that will add a section next to the discussions, on the left, where you can put any images you want to put.
Or manually add the section in the master. then you manually add images via html on the page and use css to adjust .
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
I totally agree with you.
try using a widget of some kind and add that
http://www.xorbin.com/widgets/flash-slideshow
http://www.widgetbox.com/tag/slideshow
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Great sites to learn slideshow. Thanks.
I was kinda frustrated but I learned a lot from you guys especially thanks to @hgtonight
Well it was not a waste I am using the modified plugin and I like it. I did change something in the class="ProfilePhotoSmall"
gave it a new class because it conflicted with other photos
class="IndexImage"
and the css is now
Makes them circular...
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Definitely not a waste. I will use it for other projects.
@digihub Here you go.
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
very coooooool!!!!!!!!!!!!!! can I make your Icon ?
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
I am so surprised and happy to see this. I just tried it but nothing changes. I have tried enabled and disabled the IndexPhotos. I also disabled the Category Images. Did i miss something?
This plugin just pulls the first image from each discussion in the current model and limits it to 10 images. Can you verify that a list with id randomimages exists in your page source?
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
I am getting this error
Call to a member function Result() on a non-object in /forum/plugins/RandomImages/class.randomimages.plugin.php on line 68
maybe we can start to post issues of this new plugin on another page?
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Is this what you mean?
That would be best. Maybe @underdog van split it for us. :-)
What version of Vanilla?
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
yea sorry I am testing this on 2.0.18.8
I tried installing 3 times. No go same error. Also noticed that this may be an error? You forgot to maybe change that to RandomImages
class CategoryImagesPlugin extends Gdn_Plugin {
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Hmmm... I was developing on 2.0.18.8. Nice catch on the plugin name. I'll throw some more checks on it when i get home from work tomorrow.
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
This is the section with the problem, in looking at other plugins using this method,
I will try this next. atm later on I am tired lol
instead of
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
I found this plugin from peregrine,
http://vanillaforums.org/addon/categoryimageheader-plugin
It adds an image to the header of the categories index. maybe it can be modified to include several random images
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
This is nice. Thanks.
I have updated it on the addon site. Should work better now.
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.