FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » how to show the last post on my web page
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
icon5.gif  how to show the last post on my web page [message #5243] Sat, 24 August 2002 17:11 Go to next message
laiskloom is currently offline  laiskloom   Estonia
Messages: 4
Registered: August 2002
Location: Estonia, Tallinn
Karma: 0
Junior Member
Hi!
i need to show the last post of my forum on my web page. can you help me with the php script?
thanks!


buffer overflow,
insert coin

[Updated on: Sat, 24 August 2002 17:11]

Report message to a moderator

Re: how to show the last post on my web page [message #5247 is a reply to message #5243] Sat, 24 August 2002 18:36 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
There is code which does exactly that inside logedin.inc.t review the source inside that file for clues.

FUDforum Core Developer
Re: how to show the last post on my web page [message #5254 is a reply to message #5247] Sat, 24 August 2002 20:49 Go to previous messageGo to next message
laiskloom is currently offline  laiskloom   Estonia
Messages: 4
Registered: August 2002
Location: Estonia, Tallinn
Karma: 0
Junior Member
ok, this is what i found in logedin.inc.t last_msg:
<br>{MSG: logedin_latest_post} <a href="{ROOT}?t={VAR: url}&goto={VAR: lmid}&{DEF: _rsid}"><b>{VAR: lsubj}</b></a>.

{MSG: logedin_latest_post} = "Last post on the forum: "

{ROOT}?t={VAR: url}&goto={VAR: lmid}&{DEF: _rsid} = the adress of the latest post

{VAR: lsubj} = the name of the post

now, (how) can i make a php script out of these FUD tags ? Confused


buffer overflow,
insert coin
Re: how to show the last post on my web page [message #5255 is a reply to message #5254] Sat, 24 August 2002 23:33 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
You are not looking at the correct file, what you are looking at is the template, you want to source code, which is found in a different file that was mentioned in my previous reply.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: User specific header/footer information
Next Topic: how to make a custom login page?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 18:22:53 GMT 2024

Total time taken to generate the page: 0.02862 seconds