Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 9 Years, 4 Months, 2 Weeks ago forum announcements views
#1
Solved: 9 Years, 4 Months, 2 Weeks ago
This user has been denied support. This user has been denied support.
why dont the forum announcements display the views stats?
MyPlugins:1-2-3-4-5
MyTutorials:AddBots
#2
Solved: 9 Years, 4 Months, 2 Weeks ago
Just because it doesn't.

You can add something like this to the portal_announcement template if you want to show views:
{$lang->latest_threads_views} {$announcement['views']}
#3
Solved: 9 Years, 4 Months, 2 Weeks ago
This user has been denied support. This user has been denied support.
thanks ajs
i tried adding the {$announcement['views']} from the above code to the
forumdisplay_announcements_announcement
<tr>
<td align="center" class="{$bgcolor}" width="2%"><img src="{$theme['imgdir']}/{$folder}.gif" alt=""/></td>
<td align="center" class="{$bgcolor}" width="2%">&nbsp;</td>
<td class="{$bgcolor}">
    <a href="{$announcement['announcementlink']}"{$new_class}>{$announcement['subject']}</a>
    <div class="author smalltext">By: {$announcement['profilelink']}</div>
</td>
<td align="center" class="{$bgcolor}">-</td>
<td align="center" class="{$bgcolor}">{$announcement['views']}</td>
{$rating}
<td class="{$bgcolor}" style="white-space: nowrap; text-align: right"><span class="smalltext">{$postdate} {$posttime}</span></td>
{$modann}
</tr>
but it is not displaying anything.

<td align="center" class="{$bgcolor}">{$announcement['views']}</td>

when we add forum announcements above the important or normal threads in forum display view, the forum announcements replies and views are being displayed as "-" and "-". as no one can reply to the announcements, its odd to have the replies counter and for views it must have the counter as we will come to know how many are checking the forum announcements.
MyPlugins:1-2-3-4-5
MyTutorials:AddBots
#4
Solved: 9 Years, 4 Months, 2 Weeks ago
This user has been denied support. This user has been denied support.
any update please
MyPlugins:1-2-3-4-5
MyTutorials:AddBots
#5
Solved: 9 Years, 4 Months, 2 Weeks ago
It doesn't store the number of views, you'll need a plugin.
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
#6
Solved: 9 Years, 4 Months, 2 Weeks ago
This user has been denied support. This user has been denied support.
can anyone make a plugin for this as it will give us a track on how many have read the announcement and we can take necessary precautions to make them follow the announcements
MyPlugins:1-2-3-4-5
MyTutorials:AddBots
#7
Solved: 9 Years, 4 Months, 2 Weeks ago
(2010-12-11, 10:16 AM)MattRogowski Wrote: It doesn't store the number of views, you'll need a plugin.

Oops, ProPortal must add this then - http://community.mybb.com/thread-63463.html :s
#8
Solved: 9 Years, 4 Months, 2 Weeks ago
This user has been denied support. This user has been denied support.
portal announcements are the grabbed posts from the forums and as posts have views, they are also being displayed in proportal i think.
i'm little bit confused when you gave the first reply, ajs Smile
atleast, can we call the announcement name in title bar?
when we click a announcement, it says "announcement" in title bar and not displaying the announcement specific name.
ex: rules
announcement - rules in title bar
MyPlugins:1-2-3-4-5
MyTutorials:AddBots
#9
Solved: 9 Years, 4 Months, 2 Weeks ago
This user has been denied support. This user has been denied support.
any update
MyPlugins:1-2-3-4-5
MyTutorials:AddBots
#10
Solved: 9 Years, 4 Months, 2 Weeks ago
You need a plugin, please post a request in Request forum.


Forum Jump:


Users browsing this thread: 1 Guest(s)