Attachment Mod

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in here. No new MODs will be accepted into the MOD Database for phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.

Rating:

Excellent!
2035
71%
Very Good
444
16%
Good
175
6%
Fair
54
2%
Poor
156
5%
 
Total votes: 2864

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 17111
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: 2.3.14 - 2.4.1 Code Changes Required

Post by DavidIQ »

forex4u wrote: Hi,

I am wondering if I can get the code changes for updating my attachment mod version from 2.3.14 - 2.4.1. I don't want to upload the updated files overwriting the existing files because of other mods, and I am not running a UNIX server in order to execute the patch files, therefore it would be easiest for me to obtain the code changes for the update. Does anyone know if these are available and where I can obtain them from?

Thank you for your assistance.

I think those can be found at www.opentools.de
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 17111
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: Attachemnts not showing in PMs

Post by DavidIQ »

rainbowz wrote: This may have been handled previously but the search function on this board is not working so I can't hunt for a previous discussion of it... sorry if this needs to be repeated.

I've had this mod running for a couple of months now and it all works great EXCEPT that attachments aren't showing up in people's PMs. When you post a PM, you can attach an image, preview it and it's all fine, but once the recipient opens up their new PM, there's no image attachment in it.

Obviously a small glitch somewhere as there's no problem with the mod anywhere else in the forum.

Can someone point out what needs to be tweaked?

Thanks!!

I'd say you should check to make sure none of these edits were modified by another mod:

Code: Select all

# 
#-----[ OPEN ]---------------------------------------------
# 
templates/subSilver/privmsgs_read_body.tpl

# 
#-----[ FIND ]---------------------------------------------
# around line 47
	  <td valign="top" colspan="3" class="row1"><span class="postbody">{MESSAGE}</span></td>

# 
#-----[ REPLACE WITH ]---------------------------------------
# Do NOT make one line out of this, a <!-- --> template statement has to be on one seperate line
	  <td valign="top" colspan="3" class="row1"><span class="postbody">{MESSAGE}</span>
<!-- BEGIN postrow -->
	{ATTACHMENTS}
<!-- END postrow -->
	  </td>

# 
#-----[ FIND ]---------------------------------------------
# around line 74
		<input type="submit" name="delete" value="{L_DELETE_MSG}" class="liteoption" />

# 
#-----[ AFTER, ADD ]---------------------------------------
# Do NOT make one line out of this, a <!-- --> template statement has to be on one seperate line
<!-- BEGIN switch_attachments -->
		&nbsp; 
		<input type="submit" name="pm_delete_attach" value="{L_DELETE_ATTACHMENTS}" class="liteoption" />
<!-- END switch_attachments -->
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.

ppphhhppp
Registered User
Posts: 56
Joined: Thu Jan 19, 2006 2:14 am

Post by ppphhhppp »

my dear DavidIQ

lotsa thx go to clearwater=)

seems i completely forgot to up the 3 admin files....

thx a lot my friend:D

cheers all :D

johnnytli
Registered User
Posts: 2
Joined: Mon Feb 13, 2006 4:42 am

Re: Same error msg

Post by johnnytli »

$unny wrote:
DavidIQ wrote:
$unny wrote:I upload new COMMON.PHP

but still
I have same problem :?

And you did this to your file?

Code: Select all

# 
#-----[ OPEN ]--------------------------------------------- 
# 
common.php

#
#-----[ FIND ]---------------------------------------------
# around line 218
	$board_config[$row['config_name']] = $row['config_value'];
}

# 
#-----[ AFTER, ADD ]-------------------------------------- 
# After the closing brace
include($phpbb_root_path . 'attach_mod/attachment_mod.'.$phpEx);


No
becasue if I do that
than I get ERROR on front page

Parse error: syntax error, unexpected T_STRING in /home/apnadil/public_html/forum/common.php on line 220


I added that to my common.php and it works.
Thanks DavidIQ.

$unny I think you need to open it with a text editor, because frontpage mess with scriping codes.

jawa659
Registered User
Posts: 14
Joined: Sun Feb 12, 2006 4:27 pm

Post by jawa659 »

Hi, When I am installing attachment mod 2.4.0 I can't find a line :

Code: Select all

# 

#-----[ OPEN ]---------------------------------------------

# 

admin/admin_forums.php



# 

#-----[ FIND ]---------------------------------------------

# around line 52

//

// Mode setting



# 

#-----[ BEFORE, ADD ]---------------------------------------

# 

$forum_auth_ary['auth_attachments'] = AUTH_REG;

$forum_auth_ary['auth_download'] = AUTH_REG;
I'll be really thankfull if sum1 can help me.

EDIT: If it can help, this is the list of the mods i've installed :

Code: Select all

Cash v2.2.3 Mod
Album Mod (lastest version)
CH 2.1.4 Mod
Easymod 0.3.0
Lottery by Zarath
ezPortal

[quote]
I think that's all :roll: [/quote]

ppphhhppp
Registered User
Posts: 56
Joined: Thu Jan 19, 2006 2:14 am

Post by ppphhhppp »

wow...

super mod...!

many thx :D

jawa659
Registered User
Posts: 14
Joined: Sun Feb 12, 2006 4:27 pm

Post by jawa659 »

jawa659 wrote: Hi, When I am installing attachment mod 2.4.0 I can't find a line :

Code: Select all

# 

#-----[ OPEN ]---------------------------------------------

# 

admin/admin_forums.php



# 

#-----[ FIND ]---------------------------------------------

# around line 52

//

// Mode setting



# 

#-----[ BEFORE, ADD ]---------------------------------------

# 

$forum_auth_ary['auth_attachments'] = AUTH_REG;

$forum_auth_ary['auth_download'] = AUTH_REG;
I'll be really thankfull if sum1 can help me.

EDIT: If it can help, this is the list of the mods i've installed :

Code: Select all

Cash v2.2.3 Mod
Album Mod (lastest version)
CH 2.1.4 Mod
Easymod 0.3.0
Lottery by Zarath
ezPortal 
I think that's all :roll:

Can somebody answer my question please? 8O

User avatar
rainbowz
Registered User
Posts: 51
Joined: Sat Dec 01, 2001 12:24 am
Location: Depths of Hell

Re: Attachemnts not showing in PMs

Post by rainbowz »

DavidIQ wrote: I'd say you should check to make sure none of these edits were modified by another mod...


Hi David,

I've checked and even re-entered that code and still nada.
Anything else it might be?

JDMMugen22
Registered User
Posts: 21
Joined: Fri Aug 05, 2005 3:39 pm
Location: JAX, FL
Contact:

Post by JDMMugen22 »

groundfighter wrote: Yeah I am pretty sure it is your new tempalte look how narrow it is compared to many other templates, images will cause it to destroy the layout pretty quickly is my thought. I had the same issue with my template that is why I suggested the mod which I did.


It is ok now, i just added <div> tags and the attach mod is smaller, like it should, and does not stretch.

JDMMugen22
Registered User
Posts: 21
Joined: Fri Aug 05, 2005 3:39 pm
Location: JAX, FL
Contact:

Post by JDMMugen22 »

JDMMugen22 wrote:
groundfighter wrote:Yeah I am pretty sure it is your new tempalte look how narrow it is compared to many other templates, images will cause it to destroy the layout pretty quickly is my thought. I had the same issue with my template that is why I suggested the mod which I did.


It is ok now, i just added <div> tags and the attach mod is smaller, like it should, and does not stretch.


hmm.... it acts ok in Mozilla but it is the same in IE. Can anyone explain this?

lquid
Registered User
Posts: 2
Joined: Tue Feb 14, 2006 3:50 am

Post by lquid »

I get this error in all of my attachment pages. i looked in the files and there is no refrence to that function in any of the includes. Please help me. This was a fresh install.
--------------------------
Fatal error: Call to undefined function: include_attach_lang() in /home/*username*/public_html/phpbb/admin/admin_attach_cp.php on line 52

cynic_the_fallen
Registered User
Posts: 54
Joined: Mon Feb 06, 2006 5:59 am

Post by cynic_the_fallen »

Well, even after completing the instructions a second time, im unable to get this going. I do not have the option to post an attachment. Ive tried on subsilver, as well as my other styles. Just not working.

Stetsin Hadi
Registered User
Posts: 1
Joined: Tue Feb 14, 2006 4:38 am

Install Help

Post by Stetsin Hadi »

Greetings,
I am having a bit of trouble with installing the attachment MOD.

My forum is watermillva.org/forum. I uploaded the unzipped files to the forum folder but when I click on install.php it generated errors. I've since tried moving some files to the other places but with no luck. Any help would be greatly appreciated.

Thanks.
hadi
:evil: :(

adamm22
Registered User
Posts: 80
Joined: Mon Nov 14, 2005 8:44 pm
Location: toronto

display problems

Post by adamm22 »

In the topic preview, the attachment table looks fine, as you can see from the first image, but in the final post, the topic gets cut off.. WHY?!?

picture 1:
Image


picture 2:
Image



Help please
:cry:
adamm22

ballpointpress
Registered User
Posts: 3
Joined: Tue Feb 14, 2006 5:35 am

No Attachment window or buttons...

Post by ballpointpress »

Hi, I'm new. Sorry if this is covered in some FAQ.

My install seemed to go OK. I have phpBB 2.0.19... the "test config" button gives a successful results page.

My problem is I can't seem to figure out how I"m supposed to attach files. When I try, there are no buttons and no window or anything that relates to attaching files. Is there somewhere I'm supposed to activate the feature that I've missed? I've just installed it and not really confg'd anything else beyond some file size limit stuff.

Post Reply

Return to “[2.0.x] MOD Database Releases”