Well it seems like there are two things to add. I found these in post.php

<?php

}
else if (isset($_POST['preview']))
{
    require_once PUN_ROOT.'include/parser.php';
    $preview_message = parse_message($message, $hide_smilies);

?>
<div id="postpreview" class="blockpost">
    <h2><span><?php echo $lang_post['Post preview'] ?></span></h2>
    <div class="box">
        <div class="inbox">
            <div class="postright">
                <div class="postmsg">
                    <?php echo $preview_message."\n" ?>
                </div>
            </div>
        </div>
    </div>
</div>

and this goes next to where the Submit button is

<input type="submit" name="preview" value="<?php echo $lang_pms['Preview'] ?>" tabindex="<?php echo $cur_index++ ?>" accesskey="p" />

I tried stuffing it where I THINK it should go in message_send.php but I can't get it to work.

Thanks. I'll have a look.

Has anyone ever added a preview button to new messages or reply's? My users ask me if I can add one so they can preview their messages before they send or reply. I figured out how to add the BBCode mod in there so they can put smilies. Would adding preview be just as easy?

Thanks very much guys. That was the trick. But unfortunately it just doesn't look right. There seems to be a space (gap) in between the words. I can't get the desired effect.

Instead of this...

      Index | User list | Search | Profile | Administration | Messages | Logout

It looks like this...

      Index |    User list |    Search |    Profile |    Administration |    Messages |    Logout

I think I'll just bail on the idea.

Where in the code do I put that? after it?

That's the whole point...nothing is broken. I want to ADD to what is already there.

This what I have in the functions.php that creates my NAVLINKS

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

    if ($pun_user['is_guest'])
    {
        if ($pun_user['g_search'] == '1')
        $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="navindex"><a href="index.php">'.$lang_common['Index'].'</a>';
            $links[] = '<li id="navuserlist"><a href="userlist.php">'.$lang_common['User list'].'</a>';
            $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>';
            require(PUN_ROOT.'include/pms/functions_navlinks.php');
            $links[] = '<li id="navlogout"><a href="login.php?action=out&id='.$pun_user['id'].'&csrf_token='.sha1($pun_user['id'].sha1(get_remote_address())).'">'.$lang_common['Logout'].'</a>';
        }
        else
        {
            $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>';
            $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>';
            require(PUN_ROOT.'include/pms/functions_navlinks.php');
            $links[] = '<li id="navlogout"><a href="login.php?action=out&id='.$pun_user['id'].'&csrf_token='.sha1($pun_user['id'].sha1(get_remote_address())).'">'.$lang_common['Logout'].'</a>';
        }
    }

My navlinks bar looks like this...

    Index   User list   Search   Profile   Administration   Messages   Logout

I want it to look like this...

   Index | User list | Search | Profile | Administration | Messages | Logout

I know what you are saying. I know that each of the "words" at the top of the navlink are in lang_common. The code I put in the OP is the code I have NOW. I want to ADD (put into) to that code. I want to put a "|" in between those words. That "|" symbol is a 'Link separator' and it resides in the topic language file.

Repeating the original post:

What the navlinks bar looks like NOW:

    Index   User list   Search   Profile   Administration   Messages   Logout

What I WANT it it look like:

   Index | User list | Search | Profile | Administration | Messages | Logout

Does anyone know what I'm talking about?

Is there any way to specify what pip.gif to be used based on the users style? I can't find a color that makes everyone happy. lol

example Cobalt = pip.gif (blue image), Sadness = pip.gif (yellow image) and so on.

I have this entry in my topic.php language file.

'Link separator'            =>    ' | ',    // The text that separates links in posts (website, e-mail, report, edit etc.)

I don't see anything referring to the ' | ' in my common.php language file. Plus I have no idea how to put it in to the code without causing errors.

I'm trying to add "|" inbetween my navlinks.

It looks like this right now...

    Index   User list   Search   Profile   Administration   Messages   Logout

I want it to look like this...

   Index | User list | Search | Profile | Administration | Messages | Logout

I'm thinking that I have to edit functions.php because that is where the navlinks bar is created.

        {
            $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>';
            $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>';
            require(PUN_ROOT.'include/pms/functions_navlinks.php');
            $links[] = '<li id="navlogout"><a href="login.php?action=out&id='.$pun_user['id'].'&csrf_token='.sha1($pun_user['id'].sha1(get_remote_address())).'">'.$lang_common['Logout'].'</a>';
        }

I'm not sure what to put in there to make the desired output. I've been trying to put in...

.$lang_topic['Link separator'].

But I can't figure out where to put it so that it works. That's what is used in the viewtopic page for the "report | delete | edit | quote" section.

Am I on the right track?

11

(154 replies, posted in Supported extensions)

mello757 wrote:

After upgrading this extension yesterday through the administrator page something is showing up in my footer that never used to be there.

This...Currently installed 6 official extensions. Copyright © 2003–2009 PunBB.

Can anyone tell me what I can change to make it be hidden again?

Nevermind. Went searching through stuff and found a difference in the old Manifest.xml file and the new one.

Old

        <hook id="ft_about_end" priority="10"><![CDATA[
if (!defined('PUN_EXTENSIONS_USED') && !empty($pun_extensions_used))
{
    define('PUN_EXTENSIONS_USED', 1);
    echo '<p id="extensions-used">Currently used extensions: '.implode(', ', $pun_extensions_used).'. Copyright &copy; 2008 <a href="http://punbb.informer.com/">PunBB</a></p>';
}
        ]]></hook>

New

        <hook id="ft_about_end" priority="9"><![CDATA[
if (!defined('PUN_EXTENSIONS_USED') && !empty($pun_extensions_used))
{
    define('PUN_EXTENSIONS_USED', 1);
    if (count($pun_extensions_used) == 1)
        echo '<p style="clear: both; ">The '.$pun_extensions_used[0].' official extension is installed. Copyright &copy; 2003&ndash;2009 <a href="http://punbb.informer.com/">PunBB</a>.</p>';
    else
        echo '<p style="clear: both; ">Currently installed <span id="extensions-used" title="'.implode(', ', $pun_extensions_used).'.">'.count($pun_extensions_used).' official extensions</span>. Copyright &copy; 2003&ndash;2009 <a href="http://punbb.informer.com/">PunBB</a>.</p>';
}
        ]]></hook>

12

(154 replies, posted in Supported extensions)

After upgrading this extension yesterday through the administrator page something is showing up in my footer that never used to be there.

This...Currently installed 6 official extensions. Copyright © 2003–2009 PunBB.

Can anyone tell me what I can change to make it be hidden again?

13

(3 replies, posted in PunBB 1.3 troubleshooting)

Worked like a charm. Thank you very much for your help.

14

(3 replies, posted in PunBB 1.3 troubleshooting)

I have the link New Alerts when I log in. It's there because 1.3.3 was released. How do I get it to go away? I'm not going to upgrade because I don't have the time yet to redo all my changes I've made and make my styles work with the new release.

Just want to know how to get rid of the link from showing up.

Thanks.

It was one of the language files. If you have changed any text in any of them try backing them up then copying the default files in to see if it fixes it.

Awesome. Great for getting the exact color theme that you want using a picture/website.

17

(3 replies, posted in PunBB 1.3 troubleshooting)

I only see Forums and Last post. the Topics and post don't even show. Did you change anything in your language file? I had a IE7 problem and it was there that caused it.

18

(4 replies, posted in PunBB 1.3 troubleshooting)

The only time I've ever seen that myself on my forums is when I have edited a style and made an error.

Nevermind I fixed it. Was the strangest thing too.

I'm having an issue with part of the forum being stretched way to the right. It only happens in IE7 on XP or Vista. IE6 and Firefox all versions look ok and everything is good.

It happens right after the main-subhead. It only is happening on the viewforum.php. The index and viewtopic display correct.

Any ideas? I'd appreciate any help or even a push in certain direction.

Thank you.

21

(4 replies, posted in PunBB 1.3 bug reports)

Ok I downloaded that file from the ftp and opened it with WORDpad and then immediatly saved it and uploaded it back. Error went away. Thanks for pointing me in the right direction.

22

(4 replies, posted in PunBB 1.3 bug reports)

Yes I believe I have. With notepad.

I believe this works...

To hide extensions, put this in your "name of style.css" file. At the bottom is where mine is at.

#extensions-used {
    visibility: hidden
    }

24

(4 replies, posted in PunBB 1.3 bug reports)

So no one has any ideas? sad

25

(1 replies, posted in Discussions)

To hide extensions, put this in your style.css file. At the bottom is fine

#extensions-used {
    visibility: hidden
    }