Quantcast
Channel: phpBB.com
Viewing all articles
Browse latest Browse all 1700

phpBB Custom Coding • Re: S_USER_LOGGED_IN not working in attachment.html

$
0
0
Find this in viewtopic.php

Code:

'S_HAS_ATTACHMENTS'=> (!empty($attachments[$row['post_id']])) ? true : false,
change it to this

Code:

'S_HAS_ATTACHMENTS'=> ($user->data['user_id'] != ANONYMOUS && !empty($attachments[$row['post_id']])) ? true : false,
Won't remove inline-attachments though.

Statistics: Posted by RMcGirr83 — Sun Feb 18, 2024 3:14 pm



Viewing all articles
Browse latest Browse all 1700

Trending Articles