Jump to content

Archived

This topic is now archived and is closed to further replies.

Nexus Zero

Trying to modify phpBB code, code not working

Recommended Posts

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.php
1) "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.phps

And 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>
&nbsp;  </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?

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.