101

(1,382 replies, posted in General discussion)

great sex

102

(300 replies, posted in PunBB 1.2 discussion)

will you update this post with more [done] when you have done anything more?

103

(1,382 replies, posted in General discussion)

dude

104

(1,382 replies, posted in General discussion)

space

is there a demo somewhere?

Hi,

I've made myself a PMS and I wonder if anyone would like to comment my code and give suggestions to improve it (sorry for the Swedish text (if you can't understand it) that can be found on some places)? There are alot of queries... when I have 30 messages (maximum) in my "sent sessages" page there are 41 queries to be executed...
Will it work in punbb 1.2?

http://www2.hemsida.net/cog/mail.txt

I haven't made a function so you can edit your messages in the outbox yet...

107

(4 replies, posted in PunBB 1.2 discussion)

Smartys wrote:

I think he means a mod for private messaging within the forums wink

hehe, sorry: yes

108

(4 replies, posted in Feature requests)

I have found the 6 first suggestions very handy myself...

- Change the admmod so admins can have private forums that moderators (and the other guests) cannot see.
- There's a bug in the search page so everyone can view every forums in the dropdown list (you have written $extra instead of $extra_sql in the SQL almost at the bottom of the page...
- Make 2 checkboxes in the post.php file so admins and moderators can post new topics that are sticky and/or closed from the beginning (nice to have if you just want to make a statement and don't want any replys..)
- Change so guests can post messages without entering an email address! If they don't want to write their own email they will write something like: "olle@olle.se" anyway...
- Add a column in the profile database where members can write more information about themselves. And add it on the profile page...
- in admin_forums.php: delete the current radiobutton and add those three: "only admins", "Only admins and moderators" and "For all" (so admins can have their own forums that moderators cannot see or post in..). Add a new checkbox "Allow guests to post in this forum", so you can select which forums guests shall be able to post in and which not.
- Groups would be really nice to have (but you know this already..)!
- A mail system?
- An avatar gallery (if the forum administrator wants it).

Have you found any good way to solve the "new message"-icon problem? So they don't show un-read when you have read them. I solved it myself by adding a column to the user table and there store all read messages topic_id and id. Or, not all of them. I made the column empty every time the user logged in and every time the Visit timeout had gone out. I stored the topic_id and id as this: "topic_id:id" ex: "16:32" and when I was viewing the index or the forums I checked if the posts that had a later last-posed-time than my last-visit-time was in that column, if they weren?t; it had new posts for me. I hade to add 4-5 more database connections though =/

Feel free to comment my suggestions and ask if there's something you don't understand. The six first things isn't that hard to do, I have done them myself on my current punBB forum. The last three things is quite bigger though

It would be nice if you could say if you will add any of these features or if I have to mod them again...

btw. when do you think the new version will be up? whithin a month?

109

(4 replies, posted in PunBB 1.2 discussion)

Whitch mail mod is the best do you think (I've seen atleast 2 of them)?

110

(24 replies, posted in PunBB 1.2 discussion)

Thanks.

111

(24 replies, posted in PunBB 1.2 discussion)

One more thing.... At the top of the page it says "Last visit: Today 19:53:38"... If I'll just update the page now this time won't change... but if I wait a minute it will be updated... How long can I be inactive before it updates when I refresh the page? Where can I change that time?

112

(24 replies, posted in PunBB 1.2 discussion)

is there an error if the user don't accept cookies?

113

(24 replies, posted in PunBB 1.2 discussion)

ok, so they will allways be logged in when they visit the site... And the cookie destroys when you log out then...
Thanks for the answers!

114

(24 replies, posted in PunBB 1.2 discussion)

How long do you stay logged in before it has to logg you in again (if you dont refresh..)?

115

(24 replies, posted in PunBB 1.2 discussion)

Yes, but if I shall build punBB upon my other login system that would sure be messy I think! Is this cookie system a safe and good system? In that case I can build my whole site upon that...

Do I only have to include common.php on all pages to keep the folks in?

I haven't started on the site yet, so, there is no problem with building the site around punBB...

116

(24 replies, posted in PunBB 1.2 discussion)

OK, I have now looked into the login.php file and can't say I understand it 100% and neither how people stay logged in.

you save the username and a cryptated password in a cookie, then common.php uses this function check_cookie($cur_user) to get the info out from the database... So, you only use variables and no sessions!?

Is it enough to include this function:
function check_cookie(&$cur_user)
{
...
}
in all my pages and to check it with check_cookie($cur_user) to keep the members logged in or do I have to include something more (I guess I do)?

117

(24 replies, posted in PunBB 1.2 discussion)

oh, sorry, too late for me wink

Do you have any suggestions how to do this the most simple way? Just add the sessions to each page to keep it updated? The punBB itself does not use any sessions?

118

(24 replies, posted in PunBB 1.2 discussion)

That was what I meant! To be able to use the forums login system on the whole homepage...

119

(24 replies, posted in PunBB 1.2 discussion)

Hi,

I wonder if it's possible to add the forum to my homepage and to make the whole login system work with the entire site? OK, a login form shouldn't be a problem, but then there are some sessions I have to keep alive and so on + that I have to be able to make it safe. This qestion has probably been asked before, but I don't know what do search for...

Best regards,
Madoor