Nexus Zero Posted August 3, 2006 Share Posted August 3, 2006 Hey all. I run a phpBB forum for a Zelda site, and installed a big mod called Photo Album. I've been hacking away at its source code to create something more relevant and more streamlined to its use as a Fan Art gallery. My problems are three-fold. As you can see here:http://www.zeldaelements.net/forums/album_personal_index.php1) "Fan Art Gallery" columns are not starting a new line after every third entry. 2) The code is only displaying a thumbnail preview from the first retrieved entry, rather than a random one from each user's gallery.3) The sort functions are broken.You can read the source code here:http://www.zeldaelements.net/forums/album_personal_index.phpsAnd the relevant part of the output template is here:[code]<!-- BEGIN memberrow --> <tr> <!-- BEGIN membercol --> <td height="28" class="{memberrow.membercol.ROW_CLASS}" align="center"><br><span class="gen"><a href="{memberrow.membercol.U_VIEWGALLERY}" class="gen">{memberrow.membercol.USERNAME}</a></span> (<span class="gensmall">{memberrow.membercol.PICS}</span>)<br><br><a href="{memberrow.membercol.U_VIEWGALLERY}"><img src="{memberrow.membercol.THUMBNAIL}" style="border: 2px solid #000000"></a><br> <br> </td> <!-- END membercol --> </tr> <!-- END memberrow -->[/code]Any help in this matter would be greatly appriciated, because I've wasted loads of time through trial and error and just don't seem to be getting anywhere![b]Edit:[/b] Would this be better in the Third Party Mods section? Quote Link to comment https://forums.phpfreaks.com/topic/16433-trying-to-modify-phpbb-code-code-not-working/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.