Firefox PHP

Display Last 5 Phorum Posts -script

Posted by dagon 
Re: Display Last 5 Phorum Posts -script
May 22, 2004 05:52PM
Does anybody have a working 'last 5 phorum posts' up and running, that displays the forum it came from and/or checks for forum permissions?
Re: Display Last 5 Phorum Posts -script
June 05, 2004 04:05AM
How to make that messages were shown from the selected forum?
Re: Display Last 5 Phorum Posts -script
June 08, 2004 11:54PM
No clue. Nothing's changed since the last attachment. I tried playing around with it myself, but I'm still new, only know the basics, so nothing extra I tried worked.
Syntax Error
June 13, 2004 09:52PM
For some reason, this module has somehow treats announcements, I think, differently, or maybe this is just random. A new announcement was added to my board, and I get the following when I try to click the link from the recent posts module to get there:

"You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1: select phorum_messages.* from phorum_messages where thread=3621 AND phorum_messages.status > 0 order by message_id LIMIT 0,"

When going to the announcement from a forum, the link is:
/boards/read.php?1,3621

but when you click it from the recent posts seen module, it tries taking you to:
/boards/read.php?0,3621,3621#3621

Other messages are read fine. For example, going to a message from a forum has the link:
/boards/read.php?31,3612,3620#3620

and when you click the regular message from the seen module:
/boards/read.php?31,3612,3620#3620

Same thing. Was this because it was an announcement or was it because of something else?



Edited 1 time(s). Last edit at 08/24/2004 02:19AM by portal of curiousity.
Re: Syntax Error
June 14, 2004 04:50AM
The mod also displays posts that have been hidden..
Display Forums
June 15, 2004 03:59PM
I'm trying to get this mod to display what forum it came from, but msg_id for phorum_messages looks something like: <9b806887f3e0bf98199c4e0596d02e09.NewBoard>

I'm guessing unserialize won't work on this field? If it does, what would I put for $data[?]
Re: Display Last 5 Phorum Posts -script
June 15, 2004 04:30PM

here you go.
Attachments:
open | download - newest.php (1.1 KB)
Re: Display Last 5 Phorum Posts -script
June 15, 2004 04:44PM
That's excellent, but how can I get the message part to show again, with a limit to characters or words?
Re: Display Last 5 Phorum Posts -script
June 15, 2004 04:47PM

again?

i didn't know it was before.. where is that version?
Re: Display Last 5 Phorum Posts -script
June 15, 2004 04:51PM
And all the same...
How to make that messages were shown from the _selected_, not all, forum?
Sorry, only registered users may post in this forum.

Click here to login