• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

How to add attachment to sidebar?

nrep

Well-known member
#1
On one of the forums I'm looking at converting to XF, we've got a photo of the month competition. Each member posts a photo in a thread and then there's a poll to choose the winner.

Currently, I've got a vBulletin mod to display the winning pic on the sidebar. However, I'm not sure how I can do the same thing with XF.

Is there a way using existing add-ons or simple coding so that I can upload an attachment somewhere and have it display in the sidebar, all from the frontend? Perhaps by pulling the latest attachment from a particular thread? I want to allow moderators to be able to do this, so there won't be FTP/Admin Panel access.
 

nrep

Well-known member
#3
Ah, sorry I should have explained more (will edit first post) :oops:. I'm hoping to do it so that it can be managed via the frontend by moderators/admins, without an ongoing need to modify templates.
 

nrep

Well-known member
#5
Look for Unlimited sidebar add-on by borbole you can simply add /sidebar edit from front end.
Thanks! That's an interesting way of doing it - ideally I'd like to be able to do it just by uploading an image somewhere, but this would also work from the frontend with a little more effort.
 

iTuN3r

Well-known member
#6
Thanks! That's an interesting way of doing it - ideally I'd like to be able to do it just by uploading an image somewhere, but this would also work from the frontend with a little more effort.
Well you can simply insert html code and you are done :) You can also upload the image to your server directory and just use imagepath .