Home
>
Outdated forums
>
Phorum 3 forums (READ ONLY)
>
Finished Mods and Plug-ins (READ ONLY)
>
Topic
A spcified post allways be shown on top ?
Posted by DZ
A spcified post allways be shown on top ? February 20, 2002 05:39AM |
Hi all,
I searched for a solution, but didn't find any, so here's my problem:
Is it possible, to have a specified message always be listed on top of the messages ?
e.g. as a moderator i'd like to set a flag like "always on top" so the message will always be the first one in the list.
(maybe set the last-post-date to a date int eh future)
Is there a hack for this or can anyone help me for a solution ?
Thanks in advance
and greetings,
Al
I searched for a solution, but didn't find any, so here's my problem:
Is it possible, to have a specified message always be listed on top of the messages ?
e.g. as a moderator i'd like to set a flag like "always on top" so the message will always be the first one in the list.
(maybe set the last-post-date to a date int eh future)
Is there a hack for this or can anyone help me for a solution ?
Thanks in advance
and greetings,
Al
That's possible February 20, 2002 02:47PM |
If you have acces to your forum tabel, you can change the "time stamp" value of the specified message. Changing only the first digit to a 9 will result in a date like this: 01-01-70 00:59. Phorum will use the "time stamp" (or whatever) value to determine the place of a message.
So your message will stay on top till january 1st 2070. I hope that's long enough ;)
So your message will stay on top till january 1st 2070. I hope that's long enough ;)
Re: That's possible February 20, 2002 03:23PM |
Re: That's possible February 21, 2002 02:34AM |
Hi and thanks,
Sadly i have no access to the table cause I have no idea how to change it.
The Forum is hosted by Strato, so i dont know how to access the database manually.
I tried to change the modifystamp by modifying the post-functions.php for test, and it worked, but as my php-knowledge is limited, i am not able to insert some checkbox in the related page, that activates it.
Greetings,
Al :)
Sadly i have no access to the table cause I have no idea how to change it.
The Forum is hosted by Strato, so i dont know how to access the database manually.
I tried to change the modifystamp by modifying the post-functions.php for test, and it worked, but as my php-knowledge is limited, i am not able to insert some checkbox in the related page, that activates it.
Greetings,
Al :)
Re: That's possible February 21, 2002 08:32AM |
Hank
Re: That's possible March 08, 2002 11:44AM |
Kaegan
Re: That's possible November 23, 2003 09:09PM |
Re: A spcified post allways be shown on top ? December 18, 2003 01:59PM |
Registered: 23 years ago Posts: 61 |
also on your message board list "Last Post" will always be set to the date of the "top" message.
I think a better way would be to look at how Phorum 5 handles it and recreate the same behavior for Phorum 3. I think it's a matter of having a boolean field and when listing posts, order them by the ones that have "STICKY" to true.
I think a better way would be to look at how Phorum 5 handles it and recreate the same behavior for Phorum 3. I think it's a matter of having a boolean field and when listing posts, order them by the ones that have "STICKY" to true.
Sorry, you do not have permission to post/reply in this forum.