Page 917 of 1475

Re: 2.3.14 - 2.4.1 Code Changes Required

Posted: Mon Feb 13, 2006 10:19 pm
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

Re: Attachemnts not showing in PMs

Posted: Mon Feb 13, 2006 10:22 pm
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 -->

Posted: Mon Feb 13, 2006 10:34 pm
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

Re: Same error msg

Posted: Mon Feb 13, 2006 10:40 pm
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.

Posted: Mon Feb 13, 2006 10:46 pm
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]

Posted: Mon Feb 13, 2006 11:57 pm
by ppphhhppp
wow...

super mod...!

many thx :D

Posted: Tue Feb 14, 2006 12:05 am
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

Re: Attachemnts not showing in PMs

Posted: Tue Feb 14, 2006 1:06 am
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?

Posted: Tue Feb 14, 2006 2:57 am
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.

Posted: Tue Feb 14, 2006 3:14 am
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?

Posted: Tue Feb 14, 2006 3:52 am
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

Posted: Tue Feb 14, 2006 4:33 am
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.

Install Help

Posted: Tue Feb 14, 2006 4:42 am
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: :(

display problems

Posted: Tue Feb 14, 2006 5:14 am
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:

No Attachment window or buttons...

Posted: Tue Feb 14, 2006 5:38 am
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.