Version: 1.01, by sinisterpain
Developer Last Online: Nov 2013
Category: Add-On Releases -
Version: 3.6.8
Rating:
Released: 03-24-2007
Last Update: 08-08-2007
Installs: 43
Template Edits
No support by the author.
Module CMPS Recent Attachments
Idea was based on original hack by MindTrix
A request from a member for showing document such as text and zip files prompted me to add an additional zip file to this hack. Please be sure you download the correct file. The CMPS_recent_attachment_images.zip is for showing pictures only. The CMPS_newattachments_files.zip will display both but will only output the extension image with the file name and info (see Screenshot below).
What it does:
It will query attachments from the database for the latest 4 images or files posted, and output it to the module created on your home page. I believe I have seen this requested both here and at vBadvanced.
Will add 1 query to the home page.
1. Extract the module file from the zip to your desktop.
2. Go to your admincp->vBa CMPS->Download/Upload Module.
3. Browse to where you put the module file click submit.
4. Make sure you set all options and permisions for the module.
5. Be sure that you enable the module in your default home page or it will not show.
Change log:
version 1.00 - First release. Added additional module for files and docs.
version 1.01 - Added ability to view the members post of the image or file attachment in a new window from CMPS module.
Added update for CMPS 3.0 module Please be sure to click installed if you want support
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
I use vbportal. Will this work for that or is there something else that I can use to accomplish the same task.
thanks
jaffy
vbPortal users, having had a quick look at the contents of the module file for cms you should be able to get this working following the "basic rule of thumb" principal in this thread post #2 more specifically for vba -> vbportal block conversion as most (but not all) use the similar methods.
Does this Mod allows us to select from which forum,the attachments that should be displayed?
Possible to make it that only attachments under the <Manage Attachments> be displayed instead of also user's signatures that have been uploaded through the forum?
Does this Mod allows us to select from which forum,the attachments that should be displayed?
Possible to make it that only attachments under the <Manage Attachments> be displayed instead of also user's signatures that have been uploaded through the forum?
And any usergroup permissions for it?
Great Mod by the way,thanks alot!:up:
1. no
2. it only displays what has been posted in an attachment using the attachment table. Signitures are usually images using the [IMG] tags. So this module already uses manage attachments. If your using attachments for signitures thats your choice.
3. usergroup permisions are assigned when the module is created. You can edit them by going to your CMPS in the admincp and edit the module.
Hello.I seem to have problem editing the PHP file to - recentattachments.php, "No such file or directory" and the permissions cant be changed too.any idea?
Hello.I seem to have problem editing the PHP file to - recentattachments.php, "No such file or directory" and the permissions cant be changed too.any idea?
Not sure what your are doing.
Go to your admincp->vBa CMPS->edit modules->Recent Attachments
in their you will see the usergroup permisions for the module.