[Add-on] Display posts anywhere 1.2.0 RC5

Stand-alone scripts designed for a specific function, but not neccessarily part of normal forum browsing.
Forum rules
Image Please feel free to download any Scripts here, support for each Script is located it's own thread.

To post your own Script, please first read the MOD / Script Guidelines

[Add-on] Display posts anywhere 1.2.0 RC5

Postby Handyman » 02 Jan 2007, 18:34

Modification name: Display posts anywhere

Author: Handyman

Modification description: - Display a list of posts or topics anywhere on your website - defined through the ACP.

Modification version: 1.2.0 RC5

Tested on phpBB version:
  • 3.0.6

Supported Languages: (Credits)
  • English by Handyman

Supported Databases:
  • All phpBB supported database types through UMIL

Styles supported:
  • Prosilver
  • SubSilver2

MOD Format:
Image

Requirements: phpBB3 version listed above.
Features:
  1. Database controlled through the ACP
  2. Easy implementation on any page, just a small bit of code in any php page of your website (code shown in the ACP).
  3. Can work with any style.
  4. Display Topics or Posts in a number of formats including
    1. Recent Topics
    2. Recent Posts
    3. New Topics
    4. New Posts
  5. Display posts in either first post of topic or last post of topic.
  6. Only displays posts from forums you have permission to see
  7. Utilizes MOD Version Check, you can see when a new version is available through the ACP (if you have MOD Version Check installed: viewtopic.php?f=87&t=3584)

Screenshots:
thumbnail
[ Click to Enlarge ]


Demo:
Coming Soon

Acknowledgements:
Special thanks to Manik for his support. Without him, this MOD would still be in progress due to delays at work.

Download file: This MOD is only available to the supporters of StarTrekGuide/phpBBAcademy.
If you're a StarTrekGuide supporter, you can download the current version from:
viewforum.php?f=116

You can become an STG Supporter by Donating to StarTrekGuide.
Last edited by Handyman on 16 Jan 2010, 18:11, edited 28 times in total.
Reason: 1.2.0 RC5 Released. Added screenshot.
Please contact me if you have any news to submit to SCOFF News.
SCOFFing at the candidates while you sleep.
My Mods || My Mod Queue
Image
User avatar
Handyman    
Rear Fleet Admiral
Rear Fleet Admiral
 
Posts: 7454
Joined: 08 May 2006, 04:45
Location: Where no man has gone before!
Favorite Team: Seattle Seahawks
Gender: Male


Re: [Add-on] Display posts anywhere

Postby Highway of Life » 02 Jan 2007, 23:09

Handy and I collaborated on the code for a few minutes (via SubEthaEdit), and here is our most current version...
Edit: Updated code is now in the first post


This is a VERY basic implementation of it, and probably the easiest.
Watch out! I might do a code wheelie!

User avatar
Highway of Life    
STG Jedi Master
STG Jedi Master
 
Posts: 10458
Joined: 08 May 2006, 05:23
Location: Beware of Programmers carrying screwdrivers
Gender: Male
phpBB Knowledge: 10

Re: [Add-on] Display posts anywhere

Postby Handyman » 02 Jan 2007, 23:19

Highway, I just updated the code even further so it's even easier to use.
Please contact me if you have any news to submit to SCOFF News.
SCOFFing at the candidates while you sleep.
My Mods || My Mod Queue
Image
User avatar
Handyman    
Rear Fleet Admiral
Rear Fleet Admiral
 
Posts: 7454
Joined: 08 May 2006, 04:45
Location: Where no man has gone before!
Favorite Team: Seattle Seahawks
Gender: Male

Re: [Add-on] Display posts anywhere

Postby Highway of Life » 02 Jan 2007, 23:21

Yeah, saw that... I edited my copy out, so to keep in the first post, now that it has more details.
Watch out! I might do a code wheelie!

User avatar
Highway of Life    
STG Jedi Master
STG Jedi Master
 
Posts: 10458
Joined: 08 May 2006, 05:23
Location: Beware of Programmers carrying screwdrivers
Gender: Male
phpBB Knowledge: 10

Re: [Add-on] Display posts anywhere

Postby mashmight » 06 Jan 2007, 00:47

what does this look like?

are there any screen shots?
Image
mashmight
Cadet IV
Cadet IV
 
Posts: 46
Joined: 22 Oct 2006, 19:40
Gender: Male

Re: [Add-on] Display posts anywhere

Postby Highway of Life » 06 Jan 2007, 00:52

It basically gives you the ability to display a post anywhere on a website that has phpBB3 installed on it...
So, for example, lets say you have:
http://mywebsite.tld/index.php <-- on this page, you would use this script and display, for example, the most recent post in the announcements forum.
-- only requirement is that you would have to have phpBB3 installed on your website... anywhere on your website... location is not an issue.
Watch out! I might do a code wheelie!

User avatar
Highway of Life    
STG Jedi Master
STG Jedi Master
 
Posts: 10458
Joined: 08 May 2006, 05:23
Location: Beware of Programmers carrying screwdrivers
Gender: Male
phpBB Knowledge: 10

Re: [Add-on] Display posts anywhere

Postby Aratgel » 15 Jan 2007, 17:58

I can't see your webpage Highway of Life, so, I want to see the last 5 post of a specific forum ans subforums from my main website page can you help me to do this??
Aratgel    
Translator
Translator
 
Posts: 31
Joined: 14 Jan 2007, 19:43
Location: Montréal Québec
Favorite Team: Canadiens
Gender: Male

Re: [Add-on] Display posts anywhere

Postby Highway of Life » 15 Jan 2007, 18:56

sorry... it turned it into a link. It's not a real website/page, it's just an example.
Whenever I give a website example, I always use .tld, (Top Level Domain), it is not a real domain extension.

Did you try downloading the Zip file Handyman posted?
Watch out! I might do a code wheelie!

User avatar
Highway of Life    
STG Jedi Master
STG Jedi Master
 
Posts: 10458
Joined: 08 May 2006, 05:23
Location: Beware of Programmers carrying screwdrivers
Gender: Male
phpBB Knowledge: 10

Re: [Add-on] Display posts anywhere

Postby Handyman » 15 Jan 2007, 19:11

There... download the zip file again... it has instructions on how to get the last number of posts (the number is customizable)
Please contact me if you have any news to submit to SCOFF News.
SCOFFing at the candidates while you sleep.
My Mods || My Mod Queue
Image
User avatar
Handyman    
Rear Fleet Admiral
Rear Fleet Admiral
 
Posts: 7454
Joined: 08 May 2006, 04:45
Location: Where no man has gone before!
Favorite Team: Seattle Seahawks
Gender: Male

Re: [Add-on] Display posts anywhere

Postby Aratgel » 16 Jan 2007, 16:57

great, but I can't use the methode get_last_posts,get_post_contents work great but i don't know how to use get_last_posts what exatly it return? and how can I use the returned values for my template?
Last edited by Aratgel on 16 Jan 2007, 17:57, edited 1 time in total.
Aratgel    
Translator
Translator
 
Posts: 31
Joined: 14 Jan 2007, 19:43
Location: Montréal Québec
Favorite Team: Canadiens
Gender: Male

Next

Return to Scripts

Who is online

Users browsing this forum: No registered users and 4 guests