[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

Re: [Add-on] Display posts anywhere 0.3.1

Postby Handyman » 27 May 2007, 20:40

Hi leon,

The reason you aren't able to download is because you have an empty referrer.
Usually caused by being behind a proxy of some sort? we have had a couple people have that problem.
Otherwise it could be an add-on you have installed on your browser.
Also, make sure you are using FireFox as your browser.

I hope that helps sort it out a little? I'm not sure how you would go about solving the issue since I've never had an empty referrer while browsing a site before.
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




phpBB Academy at StarTrekGuide
Support STG
Using PayPal Donate

Re: [Add-on] Display posts anywhere 0.3.1

Postby leon » 28 May 2007, 10:26

For me it displayed the oldest post and only one from forum ID=2 when i installed it =P

Would be nice if you created a guide later..

And also make a demo where no avatar and sh-it is in the way...
Only the posts like this (3 post is added here):

##################
#(TOPICNAME)
#By (NAME) - (TIME)
#
#(CONTENT)
##################

##################
#(TOPICNAME)
#By (NAME) - (TIME)
#
#(CONTENT)
##################

##################
#(TOPICNAME)
#By (NAME) - (TIME)
#
#(CONTENT)
##################
Leon
leon
Crewman
Crewman
 
Posts: 6
Joined: 26 May 2007, 10:32
Gender: Male

Re: [Add-on] Display posts anywhere 0.3.1

Postby Handyman » 28 May 2007, 13:37

yeah, I will create an example page later when I release the next version.
And looking at my instructions now, I didn't do very well with them :nea:
I'm getting better with instructions ;)
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 0.3.1

Postby DKY » 29 May 2007, 19:08

I'm having the hardest time following these instructions. I added the code to the functions.php and now I'm lost, what else am I supposed to do to add this to my index_body.html page?
Image
DKY
Cadet I
Cadet I
 
Posts: 12
Joined: 26 May 2007, 16:35
Gender: Male

Re: [Add-on] Display posts anywhere 0.3.1

Postby Handyman » 29 May 2007, 21:09

Hey DKY,

Check out the sample page at the bottom of the instructions file (it's in the Find box).
If you copy that and paste it into a file and do include the html file, that will be all you need to display this on any page.

Sorry the instructions aren't very straightforward? when I get time I'll updated them as well as add a few more features.
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 0.3.1

Postby MegaMan1311 » 31 May 2007, 15:59

Does this mod allow you to only display the first posts of all topics in a forum? This is the kind of mod that I needed to show news on my site. Thanks for making it!
MegaMan1311
Cadet II
Cadet II
 
Posts: 28
Joined: 13 Jan 2007, 17:10
Gender: Male

Re: [Add-on] Display posts anywhere 0.3.1

Postby Handyman » 31 May 2007, 17:44

currently there is no option to only show the first post of a topic.
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 0.3.1

Postby DKY » 01 Jun 2007, 19:19

Handyman wrote:Hey DKY,

Check out the sample page at the bottom of the instructions file (it's in the Find box).
If you copy that and paste it into a file and do include the html file, that will be all you need to display this on any page.

Sorry the instructions aren't very straightforward? when I get time I'll updated them as well as add a few more features.


I created a page based off of the sample page and saved it in my prosilver/templates folder and named it LastPosts.php. Here's what it looks like.
http://dky.sytes.net/phpBB3rc1/styles/p ... tPosts.php
What am I missing here?
Image
DKY
Cadet I
Cadet I
 
Posts: 12
Joined: 26 May 2007, 16:35
Gender: Male

Re: [Add-on] Display posts anywhere 0.3.1

Postby Handyman » 01 Jun 2007, 22:40

DKY wrote:
Handyman wrote:Hey DKY,

Check out the sample page at the bottom of the instructions file (it's in the Find box).
If you copy that and paste it into a file and do include the html file, that will be all you need to display this on any page.

Sorry the instructions aren't very straightforward? when I get time I'll updated them as well as add a few more features.


I created a page based off of the sample page and saved it in my prosilver/templates folder and named it LastPosts.php. Here's what it looks like.
http://dky.sytes.net/phpBB3rc1/styles/p ... tPosts.php
What am I missing here?

well? you'll have a difficult time getting the path to the commen.php correct with your page being inside the templates? I don't recommend leaving it there.
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 0.3.1

Postby DKY » 02 Jun 2007, 08:01

LOL, I love the way you put things. LOL!

I tried putting the page in the root directory and got the following error.
Fatal error: Call to undefined function get_last_posts() in D:\path\to\LastPosts.php on line 24

So I guess that's some progress, huh.

Line 24 is
Code: Select all
get_last_posts(5, 26, 'topic');
Image
DKY
Cadet I
Cadet I
 
Posts: 12
Joined: 26 May 2007, 16:35
Gender: Male

PreviousNext

Return to Scripts

Who is online

Users browsing this forum: No registered users and 2 guests