Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Does anyone round here know PHP?
I heard a few rumours that one or two here knew PHP? I won't let on.......honest.
Anyway I am revamping a website that is photography based and decided to add a forum, phpbb....only joking it's Vanilla really. I am about a week into tinkering with Vanilla before I go fully live and I love it, but I've just hit my first real problem that I can't figure out.
The main site uses a php script to take a folder of images, create a thumbnail of each image and then output as a table of thumbnails. When you then click a thumbnail, the fullsize image is displayed. So I created a new tab with the Page Management Add-on and used the php script. The idea being that as a photographers forum they will want to show off images of their own, so all they have to do is upload to a specified folder and their image is added to the User Gallery. The result can been seen here: Gallery Tab
The problem I have is if you click the thumbnail to show the fullsize image, you are taken back to the Discussion page.
Not being all that familiar with php I can't figure it out, I'm not sure if it's the script I'm using or something in Vanilla I need to change. Any ideas? It's really doing my swede in!!!
Anyway I am revamping a website that is photography based and decided to add a forum, phpbb....only joking it's Vanilla really. I am about a week into tinkering with Vanilla before I go fully live and I love it, but I've just hit my first real problem that I can't figure out.
The main site uses a php script to take a folder of images, create a thumbnail of each image and then output as a table of thumbnails. When you then click a thumbnail, the fullsize image is displayed. So I created a new tab with the Page Management Add-on and used the php script. The idea being that as a photographers forum they will want to show off images of their own, so all they have to do is upload to a specified folder and their image is added to the User Gallery. The result can been seen here: Gallery Tab
The problem I have is if you click the thumbnail to show the fullsize image, you are taken back to the Discussion page.
Not being all that familiar with php I can't figure it out, I'm not sure if it's the script I'm using or something in Vanilla I need to change. Any ideas? It's really doing my swede in!!!
0
This discussion has been closed.
Comments
@Minisweeper - thank you for the extra work The script is displaying the default gallery, to add more galleries you just add a folder and put some images in, so each user could have their own gallery, so what you suggest is possible. Plus titles, descriptions etc. can also be displayed (I'm currently not using this option) by using suffixed text files for each or by using FCKeditor integration with the admin interface. Now all I have to do is learn php properly and then get permission from the guy who wrote this script for me (he owns copyright), or get him to do it.....
You can see it working properly here with the navigation, but please bear in mind that the site is under a complete revamp and the about page is no longer relavant.
But I agree it would be a nice extension and it should be developed.