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

goldenspacek
Registered User
Posts: 12
Joined: Thu Jan 26, 2006 4:55 am

Post by goldenspacek » Thu Feb 09, 2006 2:14 am

I just got done installing this, and when I click on a category, it doesn't show any topics. I checked the view topic files and I have the edits in there. This is with the subsilver. Here is the site

http://www.cpsskyware.com/antiquecanewo ... um.php?f=2

galenlott
Registered User
Posts: 11
Joined: Sun Jan 22, 2006 6:03 am

Post by galenlott » Thu Feb 09, 2006 4:14 am

alright i installed it but it only works for subSliver....how would i get it to work for BBLite or BBTech

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

PROBLEMS ADDING ATTACHMENT MOD

Post by adamm22 » Thu Feb 09, 2006 4:43 am

Hi guys/gals, :(

I am in a little bit of a rut. I was modding my phpbb to add the attachment mod, and while i was editing "profile_view_body.tpl" from the template folder, I had to make some changes to the code the instructions said to add to that file (to fit my style -- i'm not using subSilver).

I made the changes, uploaded the file and then BAM! I get this:

http://www.ccaa-alumni.com/profile.php? ... rofile&u=7

Now, of course you are going to say, you should have backed up your files before starting the mod... Well I did back them up, but I was almost done the mod and of course I will restore the files if its my last resort, but it will be a lot of wasted time and energy...

So I tried to restore that one file... I uploaded it, and still no worky :evil:

so my question to any of you is:

Is there any way to debug where the php or tpl file is going wrong??

I have not finished the mod.. i stopped as soon as i noticed this problem.

ANY HELPP!!!?!? It would be greatly appreciated.. thank you!! :(

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

Post by DavidIQ » Thu Feb 09, 2006 4:45 am

goldenspacek wrote: I just got done installing this, and when I click on a category, it doesn't show any topics. I checked the view topic files and I have the edits in there. This is with the subsilver. Here is the site

http://www.cpsskyware.com/antiquecanewo ... um.php?f=2

Try restoring your viewforum_body.tpl file and if that doesn't work try restoring viewtopic.php.
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: 17066
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Post by DavidIQ » Thu Feb 09, 2006 4:52 am

galenlott wrote: alright i installed it but it only works for subSliver....how would i get it to work for BBLite or BBTech

All of the edits done to .tpl files shown in the install.txt file you'll need to perform to each individual template you want to use.
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.

Nederlandmeister
Registered User
Posts: 16
Joined: Wed Mar 10, 2004 8:03 pm
Location: Edinburgh, Scotland
Contact:

Post by Nederlandmeister » Thu Feb 09, 2006 5:00 am

DavidIQ

Many thanks........problem fixed now.......

Cheers

Dutch
Nederlandmeister

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

Post by adamm22 » Thu Feb 09, 2006 6:19 am

still having problems..


any help.. (read a few posts up about my problem)


PLEASE, some help!

-adamm22

ensignkid
Registered User
Posts: 2
Joined: Thu Feb 09, 2006 7:00 am

Missing text when attaching or viewing the attachment...

Post by ensignkid » Thu Feb 09, 2006 7:10 am

I am missing the text inside the white button when I attach a file. I'm not sure what I need to edit to get some text in there...here's a screenshot.

Image




I am also missing the text for the attachment description, size, and views...

Image



Any help would be appreciated, thanks!

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

inline display issue

Post by adamm22 » Thu Feb 09, 2006 7:39 am

I am also having issues displaying the attachments inline in the forums...

Screws up template
Image
Image

1) I am using another style (not subsilver) ... It expands the entire table, and screws up the template.

2) it does not display the entire attachment table

3) it looks perfect when I PREVIEW the post, but not after its submitted.

Works beautifully in the preview
Image


I have checked out the "viewtopic_attach_body.tpl" and tried to fool around with the tables, but no change. It keeps expanding larger than my template.

What could I do to fix this issue??

- adamm[/img]

ndonezn
Registered User
Posts: 118
Joined: Fri Nov 11, 2005 10:05 pm
Location: pasadena
Contact:

Post by ndonezn » Thu Feb 09, 2006 11:44 am

nevermind :|

goldenspacek
Registered User
Posts: 12
Joined: Thu Jan 26, 2006 4:55 am

Post by goldenspacek » Thu Feb 09, 2006 1:26 pm

DavidIQ wrote:
goldenspacek wrote:I just got done installing this, and when I click on a category, it doesn't show any topics. I checked the view topic files and I have the edits in there. This is with the subsilver. Here is the site

http://www.cpsskyware.com/antiquecanewo ... um.php?f=2

Try restoring your viewforum_body.tpl file and if that doesn't work try restoring viewtopic.php.


That brings back the information, but I don't have any of the uploading features now... Ideas?

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

Post by DavidIQ » Thu Feb 09, 2006 1:53 pm

goldenspacek wrote:
DavidIQ wrote:
goldenspacek wrote:I just got done installing this, and when I click on a category, it doesn't show any topics. I checked the view topic files and I have the edits in there. This is with the subsilver. Here is the site

http://www.cpsskyware.com/antiquecanewo ... um.php?f=2

Try restoring your viewforum_body.tpl file and if that doesn't work try restoring viewtopic.php.


That brings back the information, but I don't have any of the uploading features now... Ideas?

Now you'll need to go through the install.txt file and reapply any edits for both files. It's only a handfull of edits.
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: 17066
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: inline display issue

Post by DavidIQ » Thu Feb 09, 2006 2:01 pm

adamm22 wrote: I am also having issues displaying the attachments inline in the forums...

Screws up template

1) I am using another style (not subsilver) ... It expands the entire table, and screws up the template.

2) it does not display the entire attachment table

3) it looks perfect when I PREVIEW the post, but not after its submitted.

Works beautifully in the preview


I have checked out the "viewtopic_attach_body.tpl" and tried to fool around with the tables, but no change. It keeps expanding larger than my template.

What could I do to fix this issue??

- adamm[/img]

You're fooling around with the right template file. Try changing some of the table widths to under 100%. Remember that there are 4 or 5 sections in that file each dealing with a different type of file so you'll need to change them all.
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: 17066
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: Missing text when attaching or viewing the attachment...

Post by DavidIQ » Thu Feb 09, 2006 2:06 pm

ensignkid wrote: I am missing the text inside the white button when I attach a file. I'm not sure what I need to edit to get some text in there...here's a screenshot.

I am also missing the text for the attachment description, size, and views...



Any help would be appreciated, thanks!

I'm thinking you missed this edit:

Code: Select all

# 
#-----[ OPEN ]---------------------------------------------
# 
includes/functions.php

# 
#-----[ FIND ]---------------------------------------------
# around line 319
	//
	// Set up style

# 
#-----[ BEFORE, ADD ]---------------------------------------
# 
	include_attach_lang();
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.

uncle Albert
Registered User
Posts: 7
Joined: Wed Jan 11, 2006 1:38 pm
Location: uk

Post by uncle Albert » Thu Feb 09, 2006 4:16 pm

Hey all,
Could I ask for some advice on where I've gone wrong with this one?..
I've installed easymod and using that have also installed this attachment mod but I'm getting error messages that I'm not sure how to correct.
I'm assuming I've missed a step somewhere but haven't been able to figure it and would really appreciate the advice of someone with more experience..
This is what I'm getting..

Warning: main(./attach_mod/attachment_mod.php): failed to open stream: No such file or directory in /home3/try10001/public_html/carpark/common.php on line 220

Warning: main(./attach_mod/attachment_mod.php): failed to open stream: No such file or directory in /home3/try10001/public_html/carpark/common.php on line 220

Warning: main(./attach_mod/attachment_mod.php): failed to open stream: No such file or directory in /home3/try10001/public_html/carpark/common.php on line 220

Warning: main(): Failed opening './attach_mod/attachment_mod.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home3/try10001/public_html/carpark/common.php on line 220

Warning: Cannot modify header information - headers already sent by (output started at /home3/try10001/public_html/carpark/common.php:220) in /home3/try10001/public_html/carpark/includes/sessions.php on line 258

Warning: Cannot modify header information - headers already sent by (output started at /home3/try10001/public_html/carpark/common.php:220) in /home3/try10001/public_html/carpark/includes/sessions.php on line 259

Fatal error: Call to undefined function: include_attach_lang() in /home3/try10001/public_html/carpark/includes/functions.php on line 319

Could someone point me in the right direction to put this right please?

Post Reply

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