Attachment in Preview, but not there after posting

Since Opentools.de has now gone away I've created this forum to house FAQs and support for this mod in phpBB2.

Moderator: Experts

Locked
chriscobbs
Posts: 5
Joined: Mon Aug 20, 2007 3:22 pm

Attachment in Preview, but not there after posting

Post by chriscobbs »

Hello,

I'm having a problem with this mod. I'm pretty sure I followed the directions completely.

I can see the attachment in the preview, but it's not there after I post the message.

Any help is greatly appreciated.

Thanks,
Chris
chriscobbs
Posts: 5
Joined: Mon Aug 20, 2007 3:22 pm

Re: Attachment in Preview, but not there after posting

Post by chriscobbs »

My viewtopic file.
Attachments
viewtopic.txt
viewtopic file
(44.08 KiB) Downloaded 605 times
DavidIQ
Site Admin
Posts: 619
Joined: Thu Sep 07, 2006 4:31 pm
Location: Earth
Contact:

Re: Attachment in Preview, but not there after posting

Post by DavidIQ »

There's a screen, the your message has been posted one, that can be skipped by using a redirect mod. Do you have anything like this installed?
chriscobbs
Posts: 5
Joined: Mon Aug 20, 2007 3:22 pm

Re: Attachment in Preview, but not there after posting

Post by chriscobbs »

DavidIQ wrote:There's a screen, the your message has been posted one, that can be skipped by using a redirect mod. Do you have anything like this installed?
Thanks for the reply. I've only installed ravens-antispam and a different template. I made all of the changes to my current template and not subSliver.
DavidIQ
Site Admin
Posts: 619
Joined: Thu Sep 07, 2006 4:31 pm
Location: Earth
Contact:

Re: Attachment in Preview, but not there after posting

Post by DavidIQ »

Then post a link to your forum so I can help you further and provide a test account.
DavidIQ
Site Admin
Posts: 619
Joined: Thu Sep 07, 2006 4:31 pm
Location: Earth
Contact:

Re: Attachment in Preview, but not there after posting

Post by DavidIQ »

You missed all of these edits to viewtopic.php:

Code: Select all

# 
#-----[ FIND ]---------------------------------------------
# around line 152
		AND f.forum_id = t.forum_id
		$order_sql";

# 
#-----[ AFTER, ADD ]---------------------------------------
# 
attach_setup_viewtopic_auth($order_sql, $sql);

# 
#-----[ FIND ]---------------------------------------------
# around line 587
$s_auth_can .= ( ( $is_auth['auth_vote'] ) ? $lang['Rules_vote_can'] : $lang['Rules_vote_cannot'] ) . '<br />';

# 
#-----[ AFTER, ADD ]---------------------------------------
# 
attach_build_auth_levels($is_auth, $s_auth_can);

# 
#-----[ FIND ]---------------------------------------------
# around line 817
//
// Update the topic view counter

# 
#-----[ BEFORE, ADD ]---------------------------------------
# 
init_display_post_attachments($forum_topic_data['topic_attachment']);
chriscobbs
Posts: 5
Joined: Mon Aug 20, 2007 3:22 pm

Re: Attachment in Preview, but not there after posting

Post by chriscobbs »

Thanks. It now works.
Locked