Code: Select all
<td colspan="2"><span class="postbody">{postrow.MESSAGE}</span>{postrow.ATTACHMENTS}
<span class="postbody">{postrow.SIGNATURE}</span><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td>
Code: Select all
<td colspan="2"><span class="postbody">{postrow.MESSAGE}</span>{postrow.ATTACHMENTS}
<span class="postbody">{postrow.SIGNATURE}</span><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td>
KreeganRonald wrote: I have installed the attachmod with a blank phpbb, evrything seemed to work fine, until i tried to add an attachmod. their isnt a box where i can add something. Its like their even isnt an attachmod installed, while i can c the attachment admin panel. Its very strange ,someone can help with this?
vycom wrote: Trying to reply on topic I had this problem on my phpbb 2.0.13 and attach_mod 2.3.11:
Template->make_filename(): Error - file ./templates/subSilver/add_attachment_body.tpl does not exist
It seems to me that maybe after fixing path disclosure bugs in 2.0.12 it became problematic to keep attach_mod in a subdirectory. A call to getcwd() in attach_mod/displaying.php is a dirty hack of this problem:
in init_display_template() replace
$complete_filename = $template->root . '/' . $complete_filename;
with
$complete_filename = getcwd() . '/' . $template->root . '/' . $complete_filename;
Does anybody know a safer way of solving this?
all the best,
V.
morpheus2matrix wrote: Strange because if you upload all the files correctly, it should be OK....![]()
vycom wrote:KreeganRonald wrote:I have installed the attachmod with a blank phpbb, evrything seemed to work fine, until i tried to add an attachmod. their isnt a box where i can add something. Its like their even isnt an attachmod installed, while i can c the attachment admin panel. Its very strange ,someone can help with this?
Did you do all the four steps as defined in docs/install.txt in the attach_mod distribution? It seems to me that you have made an incomplete installation!
vycom wrote:morpheus2matrix wrote: Strange because if you upload all the files correctly, it should be OK....![]()
The attach_mod's author guaranteed the compatibility with phpbb up to 2.0.11 only. I'm using 2.0.13. So I didn't satisfy his conditions. That's why the installation was not ok. But it's still interesting to find why this bug appears.
Cleary wrote: I'm unable to send this individual a PM so I will post my message and hopefully it will find it's way.
__________________________________________________________
Acyd Burn,
I had some questions about the Attach Mod that you developed.
Here is what version I'm at: phpBB 2.0.13
I just want members to have the ability to upload photos (jpg, gif..etc) with their replies or when they start a new topic:
for example...if my friend starts a topic called Cedar Point and writes a little story about it and he uploads the photos from his local computer to the forums for everyone to view.
Is something like this possible?
So pretty much I just want enable people the option to upload photos and that's it. But I want the photos to be re-sized automatically width = 640 and height = 480 or vice versa.
Thank you for your time into this matter.
Cleary
CTCNetwork wrote:Cleary wrote:I'm unable to send this individual a PM so I will post my message and hopefully it will find it's way.
__________________________________________________________
Acyd Burn,
I had some questions about the Attach Mod that you developed.
Here is what version I'm at: phpBB 2.0.13
I just want members to have the ability to upload photos (jpg, gif..etc) with their replies or when they start a new topic:
for example...if my friend starts a topic called Cedar Point and writes a little story about it and he uploads the photos from his local computer to the forums for everyone to view.
Is something like this possible?
So pretty much I just want enable people the option to upload photos and that's it. But I want the photos to be re-sized automatically width = 640 and height = 480 or vice versa.
Thank you for your time into this matter.
Cleary