DragonflyCMS Projects > AccountPlus > View attachments possible? > Community Forums > Phoenix Netology
Forum Index > Community > AccountPlus

View attachments possible? Reply to topic


Would it be possible to add "Attachments" to the My Activity Tab at all?

As you know we just returned home from a few years in the wilderness with ForumsPro, and really this is the one thing I miss, being able to see all my attachments quickly at a glance.

heres the old code if that helps, it was just a block in Your Account template folder.

<!-- IF S_ATTACHMENT_COUNT --> <strong> {L_FOR_USER} </strong> <br /> <br /> <table cellspacing="1" cellpadding="3" border="0" align="center" class="forumline" width="100%"> <tr> <th> {L_FILENAME} </th> <th> {L_COMMENT} </th> <th> {L_EXTENSION} </th> <th> {L_FILESIZE} </th> <th> {L_DOWNLOAD_COUNT} </th> <th> {L_FILETIME} </th> <th> {L_POSTED_IN_TOPIC} </th> <!-- IF B_CAN_ADMIN --> <th> {L_FUNCTIONS} </th> <!-- ENDIF --> </tr> <!-- BEGIN attachment --> <tr> <td class="row2" align="center"> <a href="{attachment.U_VIEW_ATTACHMENT}" title="{L_VIEW_ATTACHMENT}">{attachment.S_REAL_FILENAME}</a> </td> <td class="row2" align="center"> {attachment.S_COMMENT} </td> <td class="row2" align="center"> {attachment.S_EXTENSION} </td> <td class="row2" align="center"> {attachment.S_FILESIZE} </td> <td class="row2" align="center"> {attachment.S_DOWNLOAD_COUNT} </td> <td class="row2" align="center"> {attachment.S_FILETIME} </td> <td class="row2" align="center"> <a href="{attachment.U_TOPIC}" title="{attachment.S_TOPIC_TITLE_HTML}">{attachment.S_TOPIC_TITLE}</a> </td> <!-- IF B_CAN_ADMIN --> <td class="row2" align="center"> <a href="{attachment.U_EDIT}" title="{L_EDIT}">{L_EDIT}</a> / <a href="{attachment.U_DELETE}" title="{L_DELETE}">{L_DELETE}</a> </td> <!-- ENDIF --> </tr> <!-- END attachment --> </table> <!-- ENDIF -->

Please enter your server specs in your user profile! 😢


That's the actual template that operates off the forumspro block.

You would need to convert the forumspro block and add it to the code.

I wouldn't be adding it to AccountPlus because it is of little value to the vast majority of users, and on some sites it will be massive.

If it's critical to you, I suggest you add it as a module or bottom block with group permissions to suit you - module might be better to allow pagination.

Donations & Audit for DragonflyCMS

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


No problem, I got the default one working finally.

Please enter your server specs in your user profile! 😢

All times are Australia/Adelaide


Jump to: