Modifications for phpBB3.
Try the Mods here and share Your own Mods
Forum rules
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support
Post
by Stoker » 25 Aug 2011, 13:53
I found a bug in one of the template files.
To correct this do the following:
Open styles/prosilver/template/recent_active_body.html
Find:
Code: Select all
<a href="{recent_active.U_LAST_TOPIC}">{LAST_POST_IMG}</a><br />{recent_active.TOPIC_TIME}</span>
Replace with:
Code: Select all
<a href="{recent_active.U_LAST_TOPIC}">{LAST_POST_IMG}</a><br />{recent_active.TOPIC_LAST_POST_TIME}</span>
It fixes incorrect last post date.
Download file is fixed.
Post
by martin123456 » 25 Aug 2011, 14:09
thanx i did not notice the dates and times lol
Post
by martin123456 » 25 Aug 2011, 14:14
Its not a problem i'm happy to leave it as it is but any ideas why mine displays different from yours
mine
line.png
yours
codes.png
You do not have the required permissions to view the files attached to this post.
Post
by Stoker » 25 Aug 2011, 14:41
Yes, that is because you are using the Premod.
You will need to use this recent_active_body.html instead:
Code: Select all
<!-- Start Recent Active Topics -->
<div class="forumlist">
<div class="forabg">
<div class="inner"><span class="corners-top"><span></span></span>
<ul class="topiclist">
<li class="header">
<dl class="icon">
<dt>{L_RECENT_ACTIVE}</dt>
<dd class="topics">{L_STATS}</dd>
<dd class="lastpost"><span>{L_LAST_POST}</span></dd>
</dl>
</li>
</ul>
<!-- IF SCRIPT_NAME eq 'index' --><div class="portaltrigger portalactive"></div><!-- ENDIF -->
<div class="collapsethis">
<ul class="topiclist forums">
<!-- BEGIN recent_active -->
<li class="row">
<dl class="icon" style="background-image: url({ROOT_PATH}images/starimg.png); background-repeat: no-repeat;">
<dt>
<a href="{recent_active.U_FIRST_TOPIC}" class="forumtitle">{recent_active.TOPIC_TITLE}</a><br />
{L_POST_BY_AUTHOR} <a style="font-weight:bold; color: #{recent_active.TOPIC_FIRST_POSTER_COLOUR};" href="{recent_active.USERNAME_FIRST}">{recent_active.TOPIC_FIRST_POSTER_NAME}</a> {recent_active.TOPIC_TIME}
</dt>
<dd class="topics"><!-- IF recent_active.TOPIC_REPLIES > 1 or recent_active.TOPIC_REPLIES < 1 -->{recent_active.TOPIC_REPLIES} {L_REPLIES}<!-- ELSE -->{recent_active.TOPIC_REPLIES} {L_REPLY}<!-- ENDIF --><br />
<!-- IF recent_active.TOPIC_VIEWS > 1 or recent_active.TOPIC_VIEWS < 1 -->{recent_active.TOPIC_VIEWS} {L_VIEWS}<!-- ELSE -->{recent_active.TOPIC_VIEWS} {L_VIEW}<!-- ENDIF --></dd>
<dd class="lastpost"><span>
{L_POST_BY_AUTHOR} <a style="font-weight:bold; color: #{recent_active.TOPIC_LAST_POSTER_COLOUR};" href="{recent_active.USERNAME_LAST}">{recent_active.TOPIC_LAST_POSTER_NAME}</a> <a href="{recent_active.U_LAST_TOPIC}">{LAST_POST_IMG}</a><br />{recent_active.TOPIC_LAST_POST_TIME}</span>
</dd>
</dl>
</li>
<!-- END recent_active -->
</ul>
</div>
<span class="corners-bottom"><span></span></span></div>
</div>
</div>
<!-- End Recent Active Topics -->
That should do the trick
Post
by Stoker » 27 Aug 2011, 05:13
First post updated with subsilver2 template files.
Post
by Blackwolf » 23 Oct 2011, 11:12
I have a test user I call Joe Flint.I posted a topic under his name. It still needs to be approved by ADMIN/MOD....but you can see in the screenshot is shows up on the Recent Active Topics stats.
When clicked....
The requested topic does not exist.
as obviously it has not been appoved yet. Is there a way around this?
Screenshot.png
You do not have the required permissions to view the files attached to this post.
Post
by Stoker » 23 Oct 2011, 12:09
Who can see it?
People who also can see posts that needs approval like moderators?
Post
by Blackwolf » 24 Oct 2011, 22:39
Everyone...guests included.
Post
by Vox Populi » 24 Oct 2011, 22:56
No way. You have a permission wrong some place or an edit wrong in a file. It seems almost impossible for a guest to see a non approved post. Sounds like an IF statement is out of whack Mr. Oz.
Pretty odd that this happens.
Post
by Blackwolf » 24 Oct 2011, 23:06
It must be an IF statement in the top stats html? At work now so can't check....
All the other permissions are correct. And this does not occur with any other unapproved posts.
I''ll post the top stats html later when I get home.