not bad hack but i never got it to work on my vbhome for some reason i just got a black line.
Anyway i went about this another way and its paid off and without any hacking either.
In thumbincluder i changed Line 223 to this so when i clicked on Pics they opened in new window.
print "<A class=\"$class_link\" href=\"$Url_Path"."showphoto.php?photo=".$line['id']. "\" target=\"_blank\">";
Make sure u edit the file first so it actually does connect to your photopost database.
Now i know that was working i just added this code to my forum home template and it works a dream (i have it set to show last 8 new pics)
<IFRAME border="0" name="frame" scrolling=no
src="/******/thumbincluder.php" frameBorder="0" width="960" height="125"> </IFRAME>
**** location of where its stored on your server
yep i know its an iframe but if u read above the code is edited so it opens in new window - try it - works a treat for me anyway.
|