1

(2 replies, posted in PunBB 1.2 discussion)

I'm trying to post ed2k links but it's not clickable...
Is there a way to make ed2k links clickable?

I talked with the mod creator (Ju) very nice person!

and he told me what to do..

this is the mod:

open "viewtopic.php"

find:

    $post_count++;
    $user_avatar = '';
    $user_info = array();
    $user_contacts = array();
    $post_actions = array();
    $is_online = '';
    $signature = '';

    // If the poster is a registered user.
    if ($cur_post['poster_id'] > 1)
    {

after add:

        $rank_pips = "";
        if($cur_post['num_posts'] > 5000) { $num_pips = 10; }
        elseif($cur_post['num_posts'] > 3000) { $num_pips = 9; }
        elseif($cur_post['num_posts'] > 2000) { $num_pips = 8; }
        elseif($cur_post['num_posts'] > 1000) { $num_pips = 7; }
        elseif($cur_post['num_posts'] > 500) { $num_pips = 6; }
        elseif($cur_post['num_posts'] > 300) { $num_pips = 5; }
        elseif($cur_post['num_posts'] > 100) { $num_pips = 4; }
        elseif($cur_post['num_posts'] > 50) { $num_pips = 3; }
        elseif($cur_post['num_posts'] > 10) { $num_pips = 2; }
        else { $num_pips = 1; }

        for($pip=0; $pip<$num_pips; $pip++) {
            $rank_pips .= '<img src="img/pip.gif" alt="" />';
        }

Find:

           <dl>
                    <dt><strong><?php echo $username ?></strong></dt>
                    <dd class="usertitle"><strong><?php echo $user_title ?></strong></dd>

After, add :

                    <?php echo "<dd class=\"usertitle\">".$rank_pips."</dd>\n"; ?>

Save viewtopic.php and upload (overwrite)

I didn't creat this mod... all the credit goes to "Ju" !

Didn't understand exactly what to do..
Can anyone please translate it for me ?

Thanks in Advance ! smile

btw, that forum (CtrlAltSuppr.com) is amazing! didn't know you can make punbb look like this...

i want to creat new menu bar with pictures..

Hey, I created my own portal, but i have this problem..

I want to add a bar with pictures with link to logout, login, profile etc..

but logout and profile links dosn't work.. because it needs the id of the user..

and because i don't know php so much i don't know how to make it work...

tia. smile

You know, new member will have 1 star, active 2, addicted 3 etc..

Is there a mod like this for punbb ?

Connorhd tnx! problem fixed smile

I didn't mess anything, I followed everything in this guide..

Look at this
http://ph4t.ath.cx/viewforum.php?id=7

Wtf happend?
it happend only in the messeges index...

how can i fix this ?