Hi, I have a fairly image intensive site (I make 3d models to use in the Sims2 and Sims3 PC games and offer them for free download on my site) and so I like to have a lot of pictures in my threads so my users can see what they are getting.
As sims is a real girls game I have mostly female members on my forum - and so the site needs to look pretty and no taking them off the site for new windows as they appear to get lost and confused when that happens...
I use the lightbox plug in at the moment and that works great on MYBB attachments, but I cant work out how to get the number/name out of the x threads attachments.
I had a look at how the lightbox plug in works and it does a preg_replace to find the aid number.
So I thought, hmm, maybe I can swap the code from x-threads images into that preg_replace bit (Im a noob ). So I had a look at the image names on my xthreads images and I'm stumped. I'm using RateU's excellent Product Review set up. I have a link like below for the url:
and a link like below for the thumb
So I guess I need to get the thumb and replace it with the number in the url, but I dont see how the images are identified like in that light box code. The numbers are consistent - they begin at 1 and go up to 30 (so far), I'm not sure what all the gobbledegook numbers after the first two digits are. I saw in the x threads that there is a magic number field but I don't really get what that is for either. I have tried all kinds of javascript andjQuery scripts, but I either can't get them to work or they look ugly (see above requirement to look pretty).
So, at the end of a very long rambling thread, can anyone help me to get a lightbox effect using x threads attachments?