Support for PhpBB3.
Post here to get help with any phpBB3 related issue
Forum rules
In order the get any support, you will have to do following:
1. Use a describing title!
2. Describe your problem and what happened when the problem occured
3. Tell us what version of phpBB3 you are currently using.
If not your topic may be ignored or locked!
boardtalk.net Offline
BBCoder II
Posts: 35 Joined: 05 Mar 2010, 11:55
Local time: 05 Sep 2025 23:31
Last active: - Favourite EXT: Default Random 'No Avatar
Location: Éire
Contact:
Post
by boardtalk.net » 16 May 2010, 10:29
Oliver.
Open forum/styles/prosilver/template/overall_header.html
Find:
Code: Select all
/***********************************************
* fading last messages
Add before:
Code: Select all
<!-- IF not FORUM_ID=2 and not FORUM_ID=3 -->
changing the two and three to where you don't want it to display
Find:
Code: Select all
if (window.addEventListener)
window.addEventListener("load", changecontent, false)
else if (window.attachEvent)
window.attachEvent("onload", changecontent)
else if (document.getElementById)
window.onload=changecontent
</script>
Add after:
Last edited by
boardtalk.net on 16 May 2010, 10:30, edited 1 time in total.
Oliver Offline
BBCoder III
Posts: 120 Joined: 07 Mar 2010, 09:55
Local time: 06 Sep 2025 00:31
Last active: -
Post
by Oliver » 16 May 2010, 11:13
Thank you very much.
boardtalk.net Offline
BBCoder II
Posts: 35 Joined: 05 Mar 2010, 11:55
Local time: 05 Sep 2025 23:31
Last active: - Favourite EXT: Default Random 'No Avatar
Location: Éire
Contact:
Post
by boardtalk.net » 16 May 2010, 11:14
Your welcome
boardtalk.net Offline
BBCoder II
Posts: 35 Joined: 05 Mar 2010, 11:55
Local time: 05 Sep 2025 23:31
Last active: - Favourite EXT: Default Random 'No Avatar
Location: Éire
Contact:
Post
by boardtalk.net » 16 May 2010, 12:39
Oliver, re the above If statement... I want to check this better tonight as I want to make sure it works as it should... just a busy day here in 'boardtalk's' real world
.
Oliver Offline
BBCoder III
Posts: 120 Joined: 07 Mar 2010, 09:55
Local time: 06 Sep 2025 00:31
Last active: -
Post
by Oliver » 16 May 2010, 12:53
My forum goes error when I do this step.
Open forum/include/functions.php
Find:
Code: Select all
// The following assigns all _common_ variables that may be used at any point in a template
Add before:
Code: Select all
// Recent Posts
$query1= $db->sql_query("SELECT posts.post_id, posts.topic_id, posts.poster_id, posts.post_time, posts.post_subject, users.username, users.user_avatar_type
FROM posts LEFT JOIN users ON posts.poster_id = users.user_id
ORDER BY posts.post_id DESC LIMIT 10");
$n=0;
while ($row1 = $db->sql_fetchrow($query1))
{
$gon_id = $row1['poster_id'];
$gon = $row1['username'];
$konu_id = $row1['topic_id'];
$mesaj_id = $row1['post_id'];
$header = $row1['post_subject']."</a>";
$date = date("d F G:i", $row1['post_time']);
$template->assign_block_vars('mesajlar', array(
'N' => $n,
'GON' => $gon,
'GON_ID' => $gon_id,
'KONU_ID' => $konu_id,
'MESAJ_ID' => $mesaj_id,
'HEADER' => $header,
'DATE' => $date,
));
$n=$n+1;
}
$db->sql_freeresult($query1);
boardtalk.net Offline
BBCoder II
Posts: 35 Joined: 05 Mar 2010, 11:55
Local time: 05 Sep 2025 23:31
Last active: - Favourite EXT: Default Random 'No Avatar
Location: Éire
Contact:
Post
by boardtalk.net » 16 May 2010, 18:48
What is the error?
Oliver Offline
BBCoder III
Posts: 120 Joined: 07 Mar 2010, 09:55
Local time: 06 Sep 2025 00:31
Last active: -
Post
by Oliver » 16 May 2010, 19:15
I do not remember anymore, but became a big list of errors. I would guess that Turkey is due to those kind of stuff.
Code: Select all
$gon_id = $row1['poster_id'];
$gon = $row1['username'];
$konu_id = $row1['topic_id'];
$mesaj_id = $row1['post_id'];
$header = $row1['post_subject']."</a>";
$date = date("d F G:i", $row1['post_time']);
$template->assign_block_vars('mesajlar', array(
'N' => $n,
'GON' => $gon,
'GON_ID' => $gon_id,
'KONU_ID' => $konu_id,
'MESAJ_ID' => $mesaj_id,
'HEADER' => $header,
'DATE'
cisco007 Online
BBCoder VI
Posts: 1,051 Joined: 16 Mar 2010, 16:14
Local time: 05 Sep 2025 18:31
Last active: - Location: Don't really know!
Post
by cisco007 » 16 May 2010, 20:34
Oliver please use the code tags, i did it for you this time!
boardtalk.net Offline
BBCoder II
Posts: 35 Joined: 05 Mar 2010, 11:55
Local time: 05 Sep 2025 23:31
Last active: - Favourite EXT: Default Random 'No Avatar
Location: Éire
Contact:
Post
by boardtalk.net » 17 May 2010, 21:55
Oliver, I cant help you further. As I said before this is not my mod and had only shown what little I had changed to function on my forum. You should ask the mod author, here:
phpbb.com