Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A quick technical question about phpBB
#1
I want to put a "headline" on the frontpage of my site, basically, I've got a post on a phpBB installation that I want to be able to edit every so often as a kinda summary of what's happening at the site at the moment. Something similar to the front page of Qbasicnews.com, except there'd only be one entry and a lot less information.

Does anybody know what code I'd need to put on my frontpage to simply extract the body of the text from a specific post and reprint it there?

Thanks Smile
Reply
#2
The Current Activities Bar hack will put admin-editable text on top of pages, I made it for qbtk back in the days. If you want it to only be at the forum list page (if thats what you mean by "front page") you just put the code that the guide says to put in overall_header.tpl in index_body.tpl instead.

If you want it to extract from a post, combine it with the phpBB Fetch All hack, which will supply you with a set of functions to access posts (and more).

Or you could just browser around phpBBHacks.com and see if something suits you better Smile
url=http://www.copy-pasta.com]CopyPasta[/url] - FilePasta
Reply
#3
I'm still tinkering about with it, but that phpBB Fetch All utility is basically exactly what I wanted. Thank you, you rock!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)