701

(1 replies, posted in PunBB 1.2 show off)

I use this site occasionaly and just noticed that powered by PunBB. Thought I would put it on here. Big user base as well on this.


BF2S Forums

702

(38 replies, posted in PunBB 1.2 discussion)

Just a little update...

Just voted... number 306. smile

We r now above UNB... sorry PunBB is now above UNB.... by 0.01 point lol....

703

(5 replies, posted in PunBB 1.2 troubleshooting)

I used your code but added .pun like the example shows and worked fine.

.pun .news_image {
  display : block;
  float : left;
  margin : 10px;
  border : 1px solid #000000;
}

704

(8 replies, posted in Feature requests)

I am sure there is a mod for this in punres.org

not sure how old it is though.

705

(5 replies, posted in PunBB 1.2 troubleshooting)

Arkivet du behöva är /lang/Swedish/common.php

lina 36-37

My swedish no good... Sorry!

ADMIN:
Some one move this please. As not a bug.

706

(9 replies, posted in PunBB 1.2 troubleshooting)

Rickard wrote:

I would very much like to know how that post was formatted because if you can break the page layout with a malformed quote tag, there's a bug somewhere in the BBCode parser.

Does this help??
By the way rickard... the posts r not in order was playing around trying to figure out the problem... But the problem is still viewable...

NOTE: This is a copy of the source file, just on the web. This is being hosted by my site only....
http://www.marine-hunters.co.uk/mhmain/test.php

Let me know when I can delete it...

Search for this code in the index.php file...can also be found in viewforum.php and viewtopic.php

$item_status = '';
$icon_text = $lang_common['Normal icon'];

Once you have found this code... post the next line. It should be something like...

$icon_type = 'icon';

Maybe someone a little more experienced can answer a little question...

What is 'inormal'? its in his code but not in mine or this forums code.

http://highschoolfever.com/forum/upload … 1411283274

It does work on your site... just not fully... wink

http://www.marine-hunters.co.uk/test.php

This was done by a bodge code in the stylesheets.

eddy81 wrote:

ok hold on ill put i now online

Cheers you can change it back now. I see the problem... not 100% on the fix. But I can post what I see...or find a fix smile

1 questions...
Do you have images turned off?

711

(9 replies, posted in PunBB 1.2 troubleshooting)

I think this...

Rickard wrote:

malformed quote tag

From post 16 down to the footer it had partially lost its CSS. So looked funky as well...

Apologies... sad

712

(9 replies, posted in PunBB 1.2 troubleshooting)

Not a problem. smile

Put it online right now and I will look straight away mate. Its hard to see what you mean without the code being on line...

Your code... My website...

http://www.marine-hunters.co.uk/mhmain/forum.php

It looks like you have been playing with code elsewhere.

715

(9 replies, posted in PunBB 1.2 troubleshooting)

Yeah...

Who ever posted number 15... Incorrectly coded the post. If you check the quote its not done properly.

Edit the post and correct the quote and everything should be fine. I cant explain why this would happen though... But it's a cure.

Come back if any problems.

Mark wrote:

I want to have my main site links work so that if you are not logged into the forum then some of the links wont work.
you need to be logged into forum for the links to work.

Could you possibly clarify?
Because above is for just the PunBB main site links. If you require external links from your home page to do the same (i.e. not PunBB links) then let me know.

If you play with this code in the /include/functions.php... should find what u r looking for...

//
// Generate the "navigator" that appears at the top of every page
//
function generate_navlinks()
{
    global $pun_config, $lang_common, $pun_user;

    // Index and Userlist should always be displayed
    $links[] = '<li id="navindex"><a href="index.php">'.$lang_common['Index'].'</a>';
    $links[] = '<li id="navuserlist"><a href="userlist.php">'.$lang_common['User list'].'</a>';

    if ($pun_config['o_rules'] == '1')
        $links[] = '<li id="navrules"><a href="misc.php?action=rules">'.$lang_common['Rules'].'</a>';

    if ($pun_user['is_guest'])
    {
        if ($pun_user['g_search'] == '1')
            $links[] = '<li id="navsearch"><a href="search.php">'.$lang_common['Search'].'</a>';

        $links[] = '<li id="navregister"><a href="register.php">'.$lang_common['Register'].'</a>';
        $links[] = '<li id="navlogin"><a href="login.php">'.$lang_common['Login'].'</a>';

        $info = $lang_common['Not logged in'];
    }
    else
    {
        if ($pun_user['g_id'] > PUN_MOD)
        {
            if ($pun_user['g_search'] == '1')
                $links[] = '<li id="navsearch"><a href="search.php">'.$lang_common['Search'].'</a>';

            $links[] = '<li id="navprofile"><a href="profile.php?id='.$pun_user['id'].'">'.$lang_common['Profile'].'</a>';
            $links[] = '<li id="navlogout"><a href="login.php?action=out&id='.$pun_user['id'].'">'.$lang_common['Logout'].'</a>';
        }
        else
        {
            $links[] = '<li id="navsearch"><a href="search.php">'.$lang_common['Search'].'</a>';
            $links[] = '<li id="navprofile"><a href="profile.php?id='.$pun_user['id'].'">'.$lang_common['Profile'].'</a>';
            $links[] = '<li id="navadmin"><a href="admin_index.php">'.$lang_common['Admin'].'</a>';
            $links[] = '<li id="navlogout"><a href="login.php?action=out&id='.$pun_user['id'].'">'.$lang_common['Logout'].'</a>';
        }
    }

    // Are there any additional navlinks we should insert into the array before imploding it?
    if ($pun_config['o_additional_navlinks'] != '')
    {
        if (preg_match_all('#([0-9]+)\s*=\s*(.*?)\n#s', $pun_config['o_additional_navlinks']."\n", $extra_links))
        {
            // Insert any additional links into the $links array (at the correct index)
            for ($i = 0; $i < count($extra_links[1]); ++$i)
                array_splice($links, $extra_links[1][$i], 0, array('<li id="navextra'.($i + 1).'">'.$extra_links[2][$i]));
        }
    }

    return '<ul>'."\n\t\t\t\t".implode($lang_common['Link separator'].'</li>'."\n\t\t\t\t", $links).'</li>'."\n\t\t\t".'</ul>';
}

What links would you like disabled until they r logged in??
Plus... This wont help with any additional links you may have added through the admin options.

eddy81 wrote:

but do you have a idea how it comes, because when i put this online then i dont see anything at all so just a empty table. next to the topics.

Check out the last few posts in this topic...

http://punbb.org/forums/viewtopic.php?id=9258

Connorhd wrote:

Well, the problem with that code is it will show to people who aren't allowed to use the PM mod, but if you add that then surely to lookup a username just put a link to userlist.php?

This is true...  and because my user base is small I am going to remove the 'Send New Message' and put 'Send Message' in the menu on the left which will direct to userlist.php

eddy81
Is it online right now? that code?

eddy81 wrote:

Hmm i did this but it doesnt work anybody a idea why??

What this is the exact code you used? or different code?

Because if you used this exact code then you have no pictures at the url your directing too. If it is different code then maybe you could post that.

Here is another post with simliar code to above for the effect u r looking for.
http://punbb.org/forums/viewtopic.php?id=9258

Well out of my requests... I did the top one with this code... please comment if you would see a problem in this?

<th class="tc3" scope="col">Message</th>

and

<td class="tc3"><?php echo '<a href="message_send.php?id='.$user_data['id'].'">PM</a>' ?></td>

This done what is needed for my site as userlist.php is only open to registered users.

2nd request... Working on a 'User List Box' for the Message_send.php at the moment.

Connorhd: What do you mean by the same... !

723

(6 replies, posted in PunBB 1.2 show off)

Nice colour...

BUT!
on Internet Explorer 6
The forum is sitting about 50% left. All I can see is 'Posts' and 'Last Post'.

724

(114 replies, posted in PunBB 1.2 discussion)

Ok I have a question.

How much change will be made with the .tpl files? if any?

Understand if you're not certain yet.

725

(7 replies, posted in PunBB 1.2 troubleshooting)

j2k4b wrote:
Ludo wrote:
Connorhd wrote:

huh? you just need to edit main.tpl

I agree !!!

Ludo,

I agree too...

Just for the sake of it...

I agree too....