![]() |
After placing the installer in my /admin dir and run it from the browser, nothing happens and I get a blank screen in IE. If I place the installer in /forums then I get this error:
Fatal error: Call to undefined function: cpheader() in /home/pc-gurus/public_html/vbportal/forums/attachment_install.php on line 112\ Any ideas? |
I think another part of the reason for the filenames the way they are is that all the attachments are going into one directory, and if there were two attachments with the same filename, that'd be a problem.
|
Renegade place the file in the admin directory.
Yeah Justin thats why that is implemented, attachments as files is already in v3 so I will need to create a script to change the naming conventions to match that of vB3. |
I don't know a great deal about this hack, but I was wondering if it might be possible to use something like this as a basis for getting thumbnails into the forum.
If the threadid was included as a prefix in the attachment filename, and I created a cron job that would periodically create thumbnails, The forum could display some recently uploaded images, and a separate script could display them and link to the respective thread where they appear. It would give you a visual preview of some recent uploads. Also in lieu of the actual large attachment, the preview image could be displayed inline with the message. Regards, Matt |
does this hack work with firefly's attachment viewer? I just installed that one, love it, but want to avoid conflicts.
thanks in advance |
The hack works wonderfully, i just have an addtional question..
I am modifying my board to be AvantGo Friendly (PDA version) I have it working properly, and just used the line: http://www.yourboard.com/Forums/atta...p?s=&postid=## to dermine if there is a attachment and display it. While this works for the web, avantgo needs a actual JPG image. I also see that the files are .FILE (encoded maybe, I am not sure) is there a way to modify or actually display the image(.file) using its native name and a path? (what it was uploaded with) Regards, Oxygen |
Very cool hack, This aleviates space and performance from the DB.
|
Cool, so this works with vBulletin 2.2.6?
|
Quote:
|
hey guys im trying to install this hack on my test forums and when i edit the functions.php file i get this error on the site i try and try to reinstall but the same error.
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/300zxclu/public_html/test/forum/admin/functions.php on line 812 Fatal error: Call to undefined function: cachetemplates() in /home/300zxclu/public_html/test/forum/global.php on line 284 im on 2.2.6 :) |
All times are GMT. The time now is 07:24 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|