| |
phpBB-TweakS The easiest way to 'tweak' your phpBB! |
|
|
|
|
|
|
It appears you are using a browser that is not based on Internet Explorer, this means you are not viewing the web as good as you should be. Other browsers might try to immitate Internet Explorer, but none can parse the web as it should like Internet Explorer can. So view the web as it was meant to be with Avant Browser!
|
| |
|
|
All times are GMT - 5 Hours
|
|
 |
Sat Jul 23, 2005 1:50 am |
 |
Author |
Message |
llj143 Moderate TweakeR

Joined: 01 Jul 2005 Posts: 63 Words Posted: 12,662 Average Post: 200.98
|
| Post subject: Topics on index |
|
|
hi just installed the hack, but i got some little problems and some couple of questions..
1. after installing it only showed the latest 5 topics in one forum section, others dont..
on this part i have a different line
| Code: | -----------------------------------
----[ FIND ]-----------------------
-----------------------------------
'U_VIEWFORUM' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=$forum_id"))
);
-----------------------------------
----[ ADD, AFTER ]-----------------
-----------------------------------
#================================================
#= Start Topics In Forum Row By aUsTiN ==========
#
for($t = 0; $t < $topic_tot; $t++)
{
if($topic_rows[$t]['forum_id'] == $forum_id && $c < 5)
{
$Max = "15"; # change this number if you want to change the amount of characters it shows before adding the ...
if(strlen($topic_rows[$t]['topic_title']) > $Max)
{
$new_t_name = substr($topic_rows[$t]['topic_title'], 0 , ($Max - 3)). "...";
}
else
{
$new_t_name = $topic_rows[$t]['topic_title'];
}
$template->assign_block_vars('catrow.forumrow.newest_topics', array(
'NEWEST_5_TOPICS' => "<img src='". $images['icon_minipost'] ."' alt='". $topic_rows[$t]['topic_title'] ."' title='". $topic_rows[$t]['topic_title'] ."' border='0'> <a href='viewtopic.". $phpEx ."?t=". $topic_rows[$t]['topic_id'] ."' alt='". $topic_rows[$t]['topic_title'] ."' title='". $topic_rows[$t]['topic_title'] ."'>". $new_t_name ."</a>")
);
$c++;
}
}
#
#= End Topics In Forum Row By aUsTiN ============
#================================================ |
mine is this
| Code: | | 'U_VIEWFORUM' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL . '=' . $forum_data['forum_id']) |
2. instead of 5 latest topics, how can i make it to 3 ?
 |
|
| Post #1 |
|
|
 |
Sat Jul 23, 2005 6:48 am |
 |
 |
Sat Jul 23, 2005 6:54 am |
 |
Author |
Message |
llj143 Moderate TweakeR

Joined: 01 Jul 2005 Posts: 63 Words Posted: 12,662 Average Post: 200.98
|
| Post subject: |
|
|
tnx.. im still having problems coz it wont show in index page
| Code: | -----------------------------------
----[ FIND ]-----------------------
-----------------------------------
'U_VIEWFORUM' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=$forum_id"))
); |
mine is this
| Code: | | 'U_VIEWFORUM' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL . '=' . $forum_data['forum_id']) |
is there something to change in ADD,AFTER line? |
|
| Post #3 |
|
|
 |
Sat Jul 23, 2005 3:17 pm |
 |
 |
Sun Jul 24, 2005 7:03 am |
 |
 |
Sun Jul 24, 2005 7:04 am |
 |
 |
Sun Jul 24, 2005 9:13 pm |
 |
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
Protected by phpBB Security © phpBB-TweakS phpBB Security Has Blocked 3,237 Exploit Attempts.
· Archive · Sitemap: Index · Sitemap: Forums · Sitemap: Topics · Sitemap: Posts ·
:: [ Load Time: 2.8 Seconds ] :: [ 29 Queries ] :: [ 412 Page(s) Viewed Today ] :: :: [ Todays Queries: 12,539 ] :: [ Highest Load: 1,396,429 Queries On May. 08, 2007 ] :: :: [ SQL Load: 60% Time: 1.7 ] :: [ PHP Load: 40% Time: 1.1 ] :: [ Debug: On ] :: [ GZIP: Enabled ] :: :: The server last rebooted 82 days, 16 hours, 8 minutes, 20 seconds ago. ::
|
|
|
|
|
This page has been viewed 4,935,297 times, last viewed: Mon Sep 08, 2008 12:38 am.
|
|
Powered by phpBB 2.0.* © 2001, 2002 phpBB Group
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|