How to Remove "(Page 1)" "(Page 2)" etc from topic title

so when someone views a thread that page part is not there

How to Remove "(Page 1)" "(Page 2)" etc from topic title

so when someone views a thread that page part is not there

Thanks a lot man

I Have Modified it little so that if the post name is big it is shortened automatically if any one wants

Go To Functions.php in includes folder

Add

function limit_characters ($str)
{
        if ( strlen ( $str ) <= 30 )
        {
            return $str;
        }
        else {
            return substr ( $str, 0, 30 ) . '...';
        }
}

After

//
// Common helpers and forum's wrappers for PHP functions
//

Then do the above first modification as Slavok said

and in the second change use this code instead

$forum_page['item_body']['info']['lastpost'] = '<li class="info-lastpost"><span class="label">'.$lang_index['Last post'].'</span> <strong><a href="'.forum_link($forum_url['post'], $cur_forum['last_post_id']).'">'.limit_characters(forum_htmlencode($cur_forum['subject'])).'</a></strong> <cite>'.sprintf($lang_index['Last poster'], forum_htmlencode($cur_forum['last_poster'])).'</cite><strong>'.format_time($cur_forum['last_post']).'</strong></li>';

First i was looking for this myself now Slavok posted a solution so ill put a modified version of his and mine in this post


Go to 68 line of index.php. And replace array "$query" with this:

$query = array(
    'SELECT'    => 'c.id AS cid, c.cat_name, f.id AS fid, f.forum_name, f.forum_desc, f.redirect_url, f.moderators, f.num_topics, f.num_posts, f.last_post, f.last_post_id, f.last_poster, t.subject',
    'FROM'        => 'categories AS c',
    'JOINS'        => array(
        array(
            'INNER JOIN'    => 'forums AS f',
            'ON'            => 'c.id=f.cat_id'
        ),
        array(
            'LEFT JOIN'     => 'topics AS t',
            'ON'            => 't.last_post_id=f.last_post_id'
        ),
        array(
            'LEFT JOIN'     => 'forum_perms AS fp',
            'ON'            => '(fp.forum_id=f.id AND fp.group_id='.$forum_user['g_id'].')'
        )
    ),
    'WHERE'        => 'fp.read_forum IS NULL OR fp.read_forum=1',
    'ORDER BY'    => 'c.disp_position, c.id, f.disp_position'
);


Next

Find

    $forum_page['item_body']['info']['lastpost'] = '<li class="info-lastpost"><span class="label">'.$lang_index['Last post'].'</span> <strong><a href="'.forum_link($forum_url['post'], $cur_forum['last_post_id']).'">'.format_time($cur_forum['last_post']).'</a></strong> <cite>'.sprintf($lang_index['Last poster'], forum_htmlencode($cur_forum['last_poster'])).'</cite></li>';    

Change It Too

$forum_page['item_body']['info']['lastpost'] = '<li class="info-lastpost"><span class="label">'.$lang_index['Last post'].'</span> <strong><a href="'.forum_link($forum_url['post'], $cur_forum['last_post_id']).'">'.limit_characters(forum_htmlencode($cur_forum['subject'])).'</a></strong> <cite>'.sprintf($lang_index['Last poster'], forum_htmlencode($cur_forum['last_poster'])).'</cite><strong>'.format_time($cur_forum['last_post']).'</strong></li>';

Go To Functions.php in includes folder

Find

//
// Common helpers and forum's wrappers for PHP functions
//

After That Add

function limit_characters ($str)
{
        if ( strlen ( $str ) <= 30 )
        {
            return $str;
        }
        else {
            return substr ( $str, 0, 30 ) . '...';
        }
}

You Are Done. Punbb Rocks wink

Credit to Slavok &  Some to me tongue

5

(0 replies, posted in Feature requests)

Hey,

Now in the homepage under last post we have the time of last post,

Maybe we have a feature which shows the topic name instead like in vbulletin, ipb

what say ?

6

(5 replies, posted in General discussion)

Yes its quite expensive prices will drop soon

7

(5 replies, posted in General discussion)

What Do You Guys Think Of Ps3

Is It Really Worth

I Think Its Cool

Rickard wrote:

seva: It might be useless information for you, but I'm sure there are people out there who will want this.

fakhrudin: Thanks for the mod big_smile

Welcome Rickard smile

Hope This Is Still Working With Punbb 1.24 or ill update it

10

(95 replies, posted in News)

Good To Know Punbb Has Reached 1.2.14 now waiting to see 1.3

11

(0 replies, posted in General discussion)

Thier New Site - http://www.galaxyscripts.com/

Enjoy

yuor welcome

Mini File Host

Official Forum - http://www.fscripting.com
Demo - http://minifilehost.j-fx.ws

Mini File Host is a free file hosting service script. It is modeled
after the many popular free file hosts like rapidshare
and megaupload. It is easy to set up and use and it
doesn't even require a MySQL database!

Features

User Features:
- Upload Files On The Server
- Email link to themselves or a friend (If enabled by admin)
- Progress bar while uploading
- Get the download and delete link which can be shared
- Report file links that violate terms of service
- Extra Stats Shown at the download page.
- View list of uploaded files (If enabled by admin)
- File Description (If enabled by admin)
- Password Protect (If enabled by admin)
- Catogeries (If enabled by admin)


Admin Features:
- Set Maximum file size for users to upload
- Block certain file types and extensions
- Expire files after X ammount of days without use
- Add Your Own Ads
- Set timer countdown on download page
- Enable/disable "Files List" viewable by public
- Reported illegal files stand out for deletion
- Ban IP addresses of offending users

Download From
http://www.fscripting.com

i could help you

hey html would make it better do something

16

(4 replies, posted in PunBB 1.2 discussion)

Hey Guys
Check This Blog
http://punbb.blogspot.com/

Do Comment
Its NEw Just Started

will try to do it for next version

##
##
##        Mod title:  Profile Times Viewed Counter.
##
##      Mod version:  1.0
##   Works on PunBB:  1.2.*
##     Release date:  2005-10-14
##           Author:  Fakhruddin (admin@mastiland.com)
##
##      Description:  This Mod Will Count How Many Times A Profile Was Viewed By Others!
##
##   Affected files:  profile.php
##                    /lang/English/profile.php
##
##
##       Affects DB:  No
##
##            Notes:  1) CHMOD 777 The Folder 'profile'
##
##
##       DISCLAIMER:  Please note that "mods" are not officially supported by
##                    PunBB. Installation of this modification is done at your
##                    own risk. Backup your forum database and any and all
##                    applicable files before proceeding.
##
##
##

Download Here

hey rickard i have replied to ur email

thnks and bye

ok i put it here now can ull help

Chipmunk Bloghost is a blog hoster based on the chipmunk blogger script. It lets users create and maintain their own blog and includes features like calendar, hyperlink photo gallery, guestbook, and more. Future version will have an announcement module for admins and more features.


Download

Now hAPPY

22

(9 replies, posted in PunBB 1.2 discussion)

na not showin off or somethin just wanna get all the punbb stuff together in 1 site thats it

23

(2 replies, posted in General discussion)

Punbb Scripts

Another forum containing al punnb mods , plugins, skins language packs etc etc

The Ultimate Source For Punbb.

address of the forum http://script.mypunbb.com/index.php

Thank You

Hey Guys I Have Started A New For Regarding Punbb Discussion

We Will Have ALL The Resources Available There

Address

http://script.mypunbb.com/index.php

Thanks

there should be some more cool functions in punbb 1.3 so more people feel nice to use it