[Add-on] Display posts anywhere 1.2.0 Beta 2

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 Beta 2

Postby Handyman on 02 Jan 2007, 18:34

Modification name: Display posts anywhere

Author: Handyman

Modification description: - Enables you to display an ACP defined instance of posts on any page of your website..

Modification version: 1.2.0 Beta 2

Tested on phpBB version:
  • 3.0.1

Supported Languages: (Credits)
  • English by Handyman

Supported Databases:
  • MySQLi (the only DB in the instructions. I will provide more later)

Styles supported:
  • Prosilver
  • Instructions included for all styles

MOD Format:
Image

Requirements: phpBB3 version listed above.
Features:
  1. Database controlled through the ACP
  2. Easy implementation on any page, just insert 2 bits of code (code shown in the ACP).
  3. Can work with any style.
  4. Display most recent posts from a set of forums that you define through the ACP
  5. Display only 1 post per topic or multiple posts per topic.
  6. Display first post of each recent topic.
  7. Only displays posts from forums you have permission to see

Screenshots:
None yet.

Demo:
None yet.

Download file: This MOD is tested exclusively by the Supporters of STG
If you are an STG Supporter, you can download the current Beta from:
viewforum.php?f=116
You will be notified when the update is available.

You can become an STG Supporter by donating or wait until the full release is available at which time it will be released to the general public.
Last edited by Handyman on 22 Apr 2008, 12:24, edited 23 times in total.
Reason: Updated to 1.2.0 Beta 2
My Mods || My Mod Queue
Search Engine Friendly (SEO) URLs, AJAX Chat, Display Posts Anywhere, Cash MOD, AJAX Quick Reply, Photo Gallery, MOD Version Check
Image
User avatar
Handyman    
STG Jedi Master
STG Jedi Master
 
Posts: 6094
Joined: 08 May 2006, 04:45
Location: Where no man has gone before!
Blog: View Blog (1)
Favorite Team: Seattle Seahawks
Gender: Male

Re: [Add-on] Display posts anywhere

Postby Highway of Life on 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.

WARNING: Level 6 Security Clearance or above is required to enter Deck 15.
phpBB3 MOD QueueCo-host of phpBB Weekly
User avatar
Highway of Life    
STG Jedi Master
STG Jedi Master
 
Posts: 8925
Joined: 08 May 2006, 05:23
Location: Beware of Programmers carrying screwdrivers
Blog: View Blog (5)
Gender: Male
phpBB Knowledge: 10

Re: [Add-on] Display posts anywhere

Postby Handyman on 02 Jan 2007, 23:19

Highway, I just updated the code even further so it's even easier to use.
My Mods || My Mod Queue
Search Engine Friendly (SEO) URLs, AJAX Chat, Display Posts Anywhere, Cash MOD, AJAX Quick Reply, Photo Gallery, MOD Version Check
Image
User avatar
Handyman    
STG Jedi Master
STG Jedi Master
 
Posts: 6094
Joined: 08 May 2006, 04:45
Location: Where no man has gone before!
Blog: View Blog (1)
Favorite Team: Seattle Seahawks
Gender: Male

Re: [Add-on] Display posts anywhere

Postby Highway of Life on 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.

WARNING: Level 6 Security Clearance or above is required to enter Deck 15.
phpBB3 MOD QueueCo-host of phpBB Weekly
User avatar
Highway of Life    
STG Jedi Master
STG Jedi Master
 
Posts: 8925
Joined: 08 May 2006, 05:23
Location: Beware of Programmers carrying screwdrivers
Blog: View Blog (5)
Gender: Male
phpBB Knowledge: 10

Re: [Add-on] Display posts anywhere

Postby mashmight on 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 on 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.

WARNING: Level 6 Security Clearance or above is required to enter Deck 15.
phpBB3 MOD QueueCo-host of phpBB Weekly
User avatar
Highway of Life    
STG Jedi Master
STG Jedi Master
 
Posts: 8925
Joined: 08 May 2006, 05:23
Location: Beware of Programmers carrying screwdrivers
Blog: View Blog (5)
Gender: Male
phpBB Knowledge: 10

Re: [Add-on] Display posts anywhere

Postby Aratgel on 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    
Cadet III
Cadet III
 
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 on 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?

WARNING: Level 6 Security Clearance or above is required to enter Deck 15.
phpBB3 MOD QueueCo-host of phpBB Weekly
User avatar
Highway of Life    
STG Jedi Master
STG Jedi Master
 
Posts: 8925
Joined: 08 May 2006, 05:23
Location: Beware of Programmers carrying screwdrivers
Blog: View Blog (5)
Gender: Male
phpBB Knowledge: 10

Re: [Add-on] Display posts anywhere

Postby Handyman on 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)
My Mods || My Mod Queue
Search Engine Friendly (SEO) URLs, AJAX Chat, Display Posts Anywhere, Cash MOD, AJAX Quick Reply, Photo Gallery, MOD Version Check
Image
User avatar
Handyman    
STG Jedi Master
STG Jedi Master
 
Posts: 6094
Joined: 08 May 2006, 04:45
Location: Where no man has gone before!
Blog: View Blog (1)
Favorite Team: Seattle Seahawks
Gender: Male

Re: [Add-on] Display posts anywhere

Postby Aratgel on 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    
Cadet III
Cadet III
 
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: ccBot [Bot] and 2 guests