Its because the code in the Private Message mod is from an older version of PunBB.

Fix below...

include/functions.php

#
#---------[ 11. FIND (line: 250) ]-------------------------------------------------
#

        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'].'&csrf_token='.pun_hash($pun_user['id'].pun_hash(get_remote_address())).'">'.$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'].'&csrf_token='.pun_hash($pun_user['id'].pun_hash(get_remote_address())).'">'.$lang_common['Logout'].'</a>'; 
        }
    
#
#---------[ 12. REPLACE WITH ]---------------------------------------------------------
#

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

77

(17 replies, posted in PunBB 1.3 troubleshooting)

I agree with Connorhd.


Just to make it clear... for all people not just SuperMAG.

If you have an error. REMOVE ALL EXTENSIONS. If error suddenly rectifys itself... then its not to be reported here.

78

(4 replies, posted in PunBB 1.2 show off)

Connorhd wrote:

Still rather unfinished, although better in firefox than in IE, but I thought i may as well post it for comments (please be gentle tongue) http://mypunbb.com/forum.php

At last... tongue

79

(3 replies, posted in PunBB 1.2 bug reports)

Ok I will remove it on my work site and deal with it when visiting 1.2 sites at work.

I didnt test 1.3, so glad to hear I won't have same problem. Will be happy when I update work site to 1.3. tongue

80

(3 replies, posted in PunBB 1.2 bug reports)

Ok...

I held my tongue because I thought it was my site doing it. But doing testing here on punbb I have found that it has the same problem. Plus I run another site.. read below. Work intranet site.

I have to click log out 5 times to logout of my site/this site/any site.
The fault I think is to do with the token.

I havent checked but im guessing the token is created via the IP address and AS im at work behind a proxy my ip address changes so often that the token does not match up with my changed ip address. Fair enough the token is a fix... but this must be a bug. I would not mind clicking twice to log out, but seriously 5 clicks.

I use PunBB for an intranet site I created for my work. When I updated to 1.2.17 I have been getting mails daily expressing issues with logging out. My work intranet is meant to be secure and people are meant to log out of the site at night so this is becoming a major issue now.

Any ideas smartys... tongue

81

(11 replies, posted in PunBB 1.3 troubleshooting)

Good point.

82

(11 replies, posted in PunBB 1.3 troubleshooting)

I dont see the point. You can see from the coloured tab what the sub-menu is. No harm in addding it I suppose, but its not really a deal breaker. tongue

83

(21 replies, posted in PunBB 1.2 troubleshooting)

IE6

84

(18 replies, posted in PunBB 1.2 discussion)

Back on topic guys. tongue

85

(18 replies, posted in PunBB 1.2 discussion)

SuperMAG wrote:

hello steven bullen ...what happened to you arcade extension .. are u gonno realease it soon .. that will be great extension

Its nearly complete.

My TO DO list is just way to long. tongue

86

(21 replies, posted in PunBB 1.2 troubleshooting)

SuperMAG wrote:
Smartys wrote:

Make sure you made the CSS tweaks it asks for.

yes i did exatly as the readme said ...

It looks fine to me.

87

(18 replies, posted in PunBB 1.2 discussion)

lie2815 wrote:

By the way, when will PunDemo be released???

I removed it from my signature as 1.3 looks like it wont be any time in the next few weeks.

I will be hunting for BETA testers soon though. tongue

88

(20 replies, posted in PunBB 1.3 troubleshooting)

Smartys wrote:

Perfect. I'll make the change now. smile

Many thanks. big_smile

Smartys wrote:

Google and many other search engines look at the meta description tag as a way to allow the webmaster to give input on what a good description for the page is. They may not always honor that description verbatim, but if it's good enough they'll use at least part of it.

Correct.

It does raise your chances if what is in the meta tag is on the page. In fact... I think it has to be on the page.

89

(1 replies, posted in General discussion)

This is not mypunbb helpdesk. Report it to connor not here EVER.

90

(13 replies, posted in General discussion)

MattF wrote:

Do they have a small version of that, or just the 32x32 that's in the download? Tried scaling that one down, but you can hardly tell what it is once it gets down to 12x12. big_smile

Fair comment.

I hate producing small pictures.... sad They never come out like you want them too.

91

(13 replies, posted in General discussion)

MattF wrote:

Incorporated it into the articles section too now. big_smile Does this 12x12 icon look okay, btw?

http://forums.bauchan.org/testforum/ima … pdfgen.png

Or is this one better?

http://forums.bauchan.org/testforum/ima … dfgen1.png

I dont like it. sad

Nick the wordpress pdf icon, thats pretty cool.

92

(20 replies, posted in PunBB 1.3 troubleshooting)

UPDATE:
big_smile big_smile big_smile big_smile big_smile big_smile
Guess what... try the same link in the first post... Googled demo.pundemo.org

Instead of

24 Feb 2008 ... Skip to forum content. Powered by PunBB. Live Demo PunBB 1.3. Updated with latest revision every 6 hours. ...

you now get

Live Demo PunBB 1.3 - Updated with latest revision every 6 hours.

This fix will be required on 1.3. wink


I only submitted a sitemap of 3 urls, I done this to point out the differences.
Index.php, Viewforum.php?id=1 and Viewtopic.php?id=1.

If you check the link above you will find what difference it makes. It does remove that annoying "Skip to forum content" which I like as well.

SuperMAG wrote:

looking at the every code line and testing it in the demo place will make you found almost all the bugs

Not at all...
Considering majority of files interact with each another... A fix for one place can be a problem for somewhere else. So you have to start again going over files... which puts you in a continous loop.

Majority of the bugs have just been missed by accident/fat fingers. Thats the point of the BETA.

94

(18 replies, posted in PunBB 1.3 troubleshooting)

Tried to repeat the bug on my demo site (in my sig) and cant. So cant really help you. Will leave Smartys for this one. smile

What is weird is that

The first url works fine... but the correct url (the second one) does not.

Also if you go to one of your users profile and click "Show all posts" it does not work. Where if you use the default (default SEF) link it does.

95

(18 replies, posted in PunBB 1.3 troubleshooting)

Are you using the latest revision? or the BETA download?

96

(18 replies, posted in PunBB 1.2 discussion)

Spot on Smartys as usual.
Hopefully I will have the benefit with PunHosting that I don't need to worry about old mods. I have custom code in places, but it is set up as an hidden extension so works out pretty well.

The only problem I see with upgrading in the long run is that people use different mods for the same thing. So when 1.3 extension is created it wont cater an upgrade for all old mods that do the same thing. So I see many people with 1.2 for a long time... forever even.

Only the hardcore PunBB people will look to do an upgrade when lots of extensions are available.


Anyway all that said... I should of rephrased my question because I didn't really get my intentional result.
REPHRASED: When 1.3 is released with a fair few (major/minor) extensions would you still use 1.2?

SuperMAG wrote:
Smartys wrote:

delete from prefixconfig where conf_name="o_max_users_online" or conf_name="o_max_guests_online"
where prefix is your db prefix

didnt realy understand that ... isnt there any easy way to just paste and excute these things ....

If you have access to your DB... normally through PHPMyadmin.

Go to the config table and browse the entries. Then remove "o_max_users_online" and "o_max_guests_online".

If you have a prefix, which you would of set when installing PunBB. Then you will need to find example_config. example being the prefix you set.


SuperMAG wrote:

but what i dont understand is why there is no restore button in install_mod.php ... all the other mods have restore buttons ...

1.2 it was not mandatory to have a restore option. It was just a nice addition by the person creating the mod.
Ideally we will want all 1.3 extensions to remove these entries when uninstall is clicked.

grudon66 wrote:

How many percent is it to have all bugs done?

The problem is that bugs/flaws come up all the time.... plus more will appear as we keep going. If this was not the case then 1.2 would stay at 1.2 and not become 1.2.17 and so on.

Thankfully with a BETA released then the average user can find the bugs/flaws and they (PunBB team) can fix them before the initial release. BUT! even after initial release bugs will appear.... more specifically bugs/flaws that will appear when 1.3 is used in a large (and small) production scale. We hope they dont... but really it is inevitable.

Plus this question is exactly the same as this topic here... When is 1.3 going to be released?. No difference just what question was asked.

A long time ago I was on the "when will it be here" band wagon. But now that I want to produce a few extensions for 1.3 at release date. I hope it dont come to quick... tongue

99

(5 replies, posted in Programming)

I have misread the original topic. Doh!
Does your board send a mail out to ALL members when something is posted?

A major note... and I am sure smartys and co will agree. If your running 1.2.8 you really should upgrade... Been some major security fixes since then. wink

100

(3 replies, posted in Programming)

Smartys wrote:

http://www.seoconsultants.com/meta-tags … -after.asp

The revisit-after META tag is not supported by any major search engines, it never was supported and probably never will be. It was developed for, and supported by, Vancouver Webpages and their local search engine searchBC.

Thanks Smartys