Hi guys!
First, congratulations for this board and thank you for supporting this great MOD.
I have a problem in my board, because all users can use the attachment system, but admins cannot.
When a normal user uploads an image, the icone () appears next to the topic title and the image appears fine in the post message.
When a admin uploads an image, the icone () dont appears next to the topic title and no image appears in the post message. But if I click "Edit", I see that the image was sucessafuly uploaded... and I can see her by clicking in the link.
Can someone help me please?
P.S. Sorry for my poor english...
Attachment MOD dont work for admins
Moderator: Experts
I have checked and this 3 files are all fine...
I have uninstall the Add-on and now is working fine!
But I really need this addon on my board, and cannot find the author of the addon...
Can you help me please?
The lines that is causing the problem:
Do you have any sugestion for me?
I have uninstall the Add-on and now is working fine!
But I really need this addon on my board, and cannot find the author of the addon...
Can you help me please?
The lines that is causing the problem:
Code: Select all
#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php
#
#-----[ FIND ]------------------------------------------
#
$sql = "SELECT t.topic_id, t.topic_title
#
#-----[ IN-LINE FIND ]------------------------------------------
#
t.topic_last_post_id
#
#-----[ IN-LINE AFTER, ADD ]--------------------------------------
#
, t.topic_thumbnail
#
#-----[ FIND ]------------------------------------------
#
init_display_post_attachments
#
#-----[ IN-LINE FIND ]------------------------------------------
#
$forum_topic_data['topic_attachment']
#
#-----[ IN-LINE AFTER, ADD ]--------------------------------------
#
&& !$forum_topic_data['topic_thumbnail']