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 » Mon Aug 20, 2007 3:27 pm

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 » Thu Aug 23, 2007 3:05 pm

My viewtopic file.
Attachments
viewtopic.txt
viewtopic file
(44.08 KiB) Downloaded 248 times

User avatar
DavidIQ
Site Admin
Posts: 581
Joined: Thu Sep 07, 2006 4:31 pm
Location: Earth
Contact:

Re: Attachment in Preview, but not there after posting

Post by DavidIQ » Fri Aug 24, 2007 12:02 am

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 » Fri Aug 24, 2007 7:38 am

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.

User avatar
DavidIQ
Site Admin
Posts: 581
Joined: Thu Sep 07, 2006 4:31 pm
Location: Earth
Contact:

Re: Attachment in Preview, but not there after posting

Post by DavidIQ » Fri Aug 24, 2007 8:36 am

Then post a link to your forum so I can help you further and provide a test account.


User avatar
DavidIQ
Site Admin
Posts: 581
Joined: Thu Sep 07, 2006 4:31 pm
Location: Earth
Contact:

Re: Attachment in Preview, but not there after posting

Post by DavidIQ » Fri Aug 24, 2007 9:07 pm

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 » Mon Aug 27, 2007 1:13 pm

Thanks. It now works.

Locked

Who is online

Users browsing this forum: No registered users and 1 guest