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
Attachment in Preview, but not there after posting
Moderator: Experts
-
- Posts: 5
- Joined: Mon Aug 20, 2007 3:22 pm
-
- Posts: 5
- Joined: Mon Aug 20, 2007 3:22 pm
Re: Attachment in Preview, but not there after posting
My viewtopic file.
- Attachments
-
- viewtopic.txt
- viewtopic file
- (44.08 KiB) Downloaded 664 times
Re: Attachment in Preview, but not there after posting
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?
-
- Posts: 5
- Joined: Mon Aug 20, 2007 3:22 pm
Re: Attachment in Preview, but not there after posting
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 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?
Re: Attachment in Preview, but not there after posting
Then post a link to your forum so I can help you further and provide a test account.
-
- Posts: 5
- Joined: Mon Aug 20, 2007 3:22 pm
Re: Attachment in Preview, but not there after posting
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']);
-
- Posts: 5
- Joined: Mon Aug 20, 2007 3:22 pm
Re: Attachment in Preview, but not there after posting
Thanks. It now works.