English Amiga Board Amiga Lore



Go Back   English Amiga Board > abime.net - Home Projects > project.EAB

 
 
Thread Tools
Old 04 October 2001, 18:11   #1
LaundroMat
Junior Member
LaundroMat's Avatar
 
Join Date: Apr 2001
Location: In the cellar. With your mum.
Age: 39
Posts: 404
Question on the board itself

Does anyone know where vBulletin stores what messages are new for a user and which ones aren't?
If I visit the board today and read half of the topics containing new messages, will by those topics have no 'new messages' icon by tomorrow (provided no new messages were added, natch) or will the new messages icons remain until I actually read them?
Consequently, when does the system decide that a forum (such as Off-Topic, can't think of another classification right now) has new messages?
Is it:
- checking last visit date of the user & comparing them with the date of the message added last?
- a flag for each topic/user indicating whether the user has read the message/topic?

Why do I want to know? Well, I'm just fiddling about with forum systems, and as vBulletin looks to me as one of the best board systems around, I'd like to take it as an example (although I'm fiddling about in asp instead of php). I should have a look at PHP however...

Thanks in advance.
LaundroMat is offline  
AdSense AdSense  
Advertisement:
Old 04 October 2001, 20:36   #2
RCK
Administrator

RCK's Avatar
 
Join Date: Feb 2001
Location: Paris / France
Age: 35
Posts: 2,741
Re: Question on the board itself

Quote:
Originally posted by LaundroMat
[B]Does anyone know where vBulletin stores what messages are new for a user and which ones aren't?[b]
It is actually done with the "last visit" time of the user, comparing it with the date/time of the new posts.
Quote:
If I visit the board today and read half of the topics containing new messages, will by those topics have no 'new messages' icon by tomorrow (provided no new messages were added, natch) or will the new messages icons remain until I actually read them?
no all those new unread topic will be mark as read tomorrow.
user have actually 15 minuts of inactivity to considered that all those message are "read"
Quote:
Consequently, when does the system decide that a forum (such as Off-Topic, can't think of another classification right now) has new messages?
comparing timestamp of messages & user last visit date&time.

Quote:
- checking last visit date of the user & comparing them with the date of the message added last?
yes, vB use this method.

Quote:
Why do I want to know? Well, I'm just fiddling about with forum systems, and as vBulletin looks to me as one of the best board systems around, I'd like to take it as an example (although I'm fiddling about in asp instead of php). I should have a look at PHP however...
I'm both coding in PHP & ASP, and of course I prefer php
(more easy, more powerfull, more docs on the net, linux compliant)
RCK is offline  
Old 04 October 2001, 21:50   #3
LaundroMat
Junior Member
LaundroMat's Avatar
 
Join Date: Apr 2001
Location: In the cellar. With your mum.
Age: 39
Posts: 404
I'd rather do PHP too, but...

I'm at a loss at how to install all that.

Excuse me if this is way out of topic, but:
Currently I'm running PWS on a Win98 system, and that went super easy in order to have local ASP pages. On the other hand, with PHP, I just don't see how I should begin with it.
I'm a total loser when it comes to servers and all that; I just don't see how I can let PWS (or another Server utility) understand that I want to give PHP a try.

Anyway, thanks for the excellent answers to my previous questions!
LaundroMat is offline  
Old 04 October 2001, 22:03   #4
RCK
Administrator

RCK's Avatar
 
Join Date: Feb 2001
Location: Paris / France
Age: 35
Posts: 2,741
so here I go with the second bath of excellent reply

To make php dev on your local computer, just download & install the excellent french package EasyPhp

Once done, you will have apache 1.3.20 - php 4.0.6 - mysql 3.23.40 - phpmyadmin 2.2.0rc4 running on your system, so you will be able to test your php work without any external server.

note: "Download" in French is "TÚlÚchargement", and the last version of phpEasy is 1.5
RCK is offline  
Old 05 October 2001, 17:06   #5
LaundroMat
Junior Member
LaundroMat's Avatar
 
Join Date: Apr 2001
Location: In the cellar. With your mum.
Age: 39
Posts: 404
Smile Thanks!

Thanks, I'll have a look tomorrow (drink-fest planned for tonight).

Oh, and don't bother translating French for me (although I appreciate it ): I'm the only Dutch-speaking guy in this Brussels office here
LaundroMat is offline  
Old 06 October 2001, 20:04   #6
RCK
Administrator

RCK's Avatar
 
Join Date: Feb 2001
Location: Paris / France
Age: 35
Posts: 2,741
- 'localhost' is good to access the mysql server
- no need to user name to access the mysql DB, only 'root' for name and '' for password
- don't forget to create one database first with the mysql interface.

So in order to connect to the Mysql database, you should use something like that:
Code:
<?php
$mysql_link=mysql_connect('localhost', 'root', '')
$db=mysql_select_db('your database name', $mysql_link);
?>
RCK is offline  
Old 13 October 2001, 20:22   #7
andreas
Zone Friend
 
Join Date: Jun 2001
Location: Germany
Age: 40
Posts: 5,858
Send a message via ICQ to andreas Send a message via AIM to andreas
why not move this to 'abime.net'? It doesn't belong here quite well, methinks :smileek
andreas is offline  
AdSense AdSense  
Advertisement:
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
A4000 Rev D daughter board daughter board multivac support.Hardware 1 13 July 2010 20:22
A600 8mb board question.. amiga600user support.Hardware 50 15 July 2009 15:37
This board levartemit186 project.EAB 7 03 November 2008 17:31
/X Board zACK! Amiga scene 17 27 April 2006 22:31
Some tech questions about an apparently modified A1200 board and a Zorro board eLowar support.Hardware 10 18 April 2004 19:06

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 02:26.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Page generated in 0.13200 seconds with 12 queries