frederickoguntoye's Forum Info
Registration Date: 02-09-2021
Last Visit: 03-09-2021, 08:46 PM
Date of Birth: Not Specified
Local Time: 03-06-2023 at 05:51 PM
Total Threads: 0
(0 threads per day | 0 percent of total threads)
(0 threads per day | 0 percent of total threads)
Time Spent Online: 33 Minutes, 16 Seconds
frederickoguntoye's Most Liked Post
Thread Subject | Forum Name |
Thank you/like system | Adopted |
(02-09-2021, 12:12 PM)Laird Wrote: I think this is currently possible only with core edits toIt Worked, Thanks legend.portal.php
.
Change line #513 from:
to:SELECT p.pid, p.message, p.tid, p.smilieoff, t.attachmentcount
SELECT p.pid, p.message, p.tid, p.smilieoff, p.tyl_pnumtyls, t.attachmentcount
Then, insert at line #580:
$announcement['tyl_pnumtyls'] = $posts[$announcement['tid']]['tyl_pnumtyls'];
Now, you can use the variable{$announcement['tyl_pnumtyls']}
in theportal_announcement
template.
Line numbers assume MyBB version 1.8.27.