phpBBHacks.com - [ALPHA] phpBB Fetch All
Find affordable web hosting packages at iFroggy Hosting
StatsForums Home   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in
FAQFAQ   SearchSearch   MemberlistMemberlist   TutorialsTutorials   ContactContact Us
Username:    Password:
Remember Me?    
   I Lost My Password!
[ALPHA] phpBB Fetch All
Goto page 1, 2  Next
 
Bookmark and Share
Post new topic   Reply to topic    phpBBHacks.com Support Forums Forum Index -> phpBB 3 Hack Requests and Development
 See a User Guidelines violation? Please contact us.
Author Message

Thoul
VIP

Joined: 30 Jul 2002
Posts: 18040
Location: USA

PostPosted: March 9th 2009, 6:06 pm    Post subject: [ALPHA] phpBB Fetch All Reply with quote

Title: phpBB Fetch All
Description: Display information from phpBB on any page of your website.

Version: 0.0.4
phpBB 3 Version: 3.0.4
Download: phpBB Fetch All 0.0.4

On my phpBB 2 sites, I've long used the phpBB 2 add-on Fetch All to put news posts and recent discussions on the main page of the site. Now that I'm upgrading to phpBB 3, I need a new version, but the official site is gone after a long period of inactivity, so I decided to upgrade it myself. This is my preliminary version, which I'm putting out in hopes of getting some testing/feedback.

Version 0.0.3 Notes:
I've not included very detailed instructions, but users familiar with the old Fetch All can probably figure out how things work from the comments in the php files. An example portal.php is included (note it uses subsilver2 for the theme; that doesn't have to be installed, just uploaded). Better documentation will come in the future.

This is a very early version that is mostly a rewrite of all the core fetching features in the old Fetch All. This version can fetch:
  • First or last post from topics by forum id, topic id, or just all topics
  • Number of new posts since last visit
  • A entire thread by topic id
  • New posts since last visit
  • Forum structure
  • Name of a style being used by a particular user
  • General board stats: total posts, topics, and users; newest user; numbers of online users.
  • Users, listed by: top posters, a random user, specific groups, online users
  • Polls, by forum id or topic id
  • Poll voters


Non-fetching features from the phpBB 2 modification, like inserting posts, are not in this version. I may add them in the future.
_________________
Fringes of Algo - Phantasy Star Community
TV Blitz Forums - Television Discussion Community
phpBB Smith: Modifications

70+ Listings @ phpBBHacks.com


Last edited by Thoul on March 19th 2009, 12:19 am; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website

Patrick
Admin/Webmaster

Joined: 11 May 2001
Posts: 17279
Location: Harbinger, NC, U.S.A.

PostPosted: March 11th 2009, 4:00 pm    Post subject: Reply with quote

Awesome, this was a very popular hack for phpBB 2 and I am sure it would be for phpBB 3, as well. Great to see this being written. Thanks.

Patrick
_________________
Patrick O'Keefe - phpBBHacks.com Administrator - Feedback? Questions? Please Contact Me!
User Guidelines - Featured phpBB - Featured Author - phpBBHacks.com Awards - Supported Sites - About Us
Author, Managing Online Forums - A Practical Guide to Community Management
phpBB 3 Tutorials: Add Hacks | Clear Your Cache | Fix Missing Images | phpBB 3 Permissions Guide
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger

Thoul
VIP

Joined: 30 Jul 2002
Posts: 18040
Location: USA

PostPosted: March 16th 2009, 6:03 pm    Post subject: Reply with quote

Thanks for the comments.

I've put a new version up; see the first post for the download and details. This version is much more complete and usable. I included an example portal.php as a proof of concept and partial guide to use.

It could still use some more polish in a few areas and I haven't yet included the submit/edit post aspects of the old modification, but even so this version should be a big improvement.
_________________
Fringes of Algo - Phantasy Star Community
TV Blitz Forums - Television Discussion Community
phpBB Smith: Modifications

70+ Listings @ phpBBHacks.com
Back to top
View user's profile Send private message Visit poster's website

Eric Paxton
New User

Joined: 08 Jun 2009
Posts: 2

PostPosted: June 8th 2009, 6:25 am    Post subject: Reply with quote

I'm glad someone is finally doing this for 3.0. I do have a problem. This mod is different from the old one in that it seems like it has to be used as a portal. I am wanting to use it like I did the old one. I want to be able to just load up the variables at the start of the page and then just insert the parts of the portal that I want into the page. You can look at my home page ( local675.com ) and see what I'm talking about. I don't see any way to separate all the parts out as it is now. It doesn't help that I'm no coder but I know enough to edit what I have to.
Back to top
View user's profile Send private message

Thoul
VIP

Joined: 30 Jul 2002
Posts: 18040
Location: USA

PostPosted: June 12th 2009, 11:48 am    Post subject: Reply with quote

It can be used in much the same way as the old one. I just haven't had a chance to document it fully yet.
_________________
Fringes of Algo - Phantasy Star Community
TV Blitz Forums - Television Discussion Community
phpBB Smith: Modifications

70+ Listings @ phpBBHacks.com
Back to top
View user's profile Send private message Visit poster's website

Eric Paxton
New User

Joined: 08 Jun 2009
Posts: 2

PostPosted: June 17th 2009, 1:58 am    Post subject: Reply with quote

ok, that was my fault for getting in a hurry and not reading through everything. I don't see any code anywhere to display the users personal info. What would the code be for that or am I just missing it?
Back to top
View user's profile Send private message

Quiff Boy
Dedicated User

Joined: 07 Feb 2002
Posts: 531
Location: Manchester, UK

PostPosted: January 25th 2011, 7:44 am    Post subject: Reply with quote

oooh, now this may be what i'm looking for...

did it ever get beyond "alpha"?
_________________
Heartland - The Sisters Of Mercy Discussion Forums
http://www.myheartland.co.uk
Back to top
View user's profile Send private message Send e-mail Visit poster's website

Thoul
VIP

Joined: 30 Jul 2002
Posts: 18040
Location: USA

PostPosted: January 25th 2011, 7:39 pm    Post subject: Reply with quote

The version up there is the last one I made available. It's pretty much done at that point. The only things I really need to do are write up all the documentation (blegh) and maybe optimize a forum query a bit.
_________________
Fringes of Algo - Phantasy Star Community
TV Blitz Forums - Television Discussion Community
phpBB Smith: Modifications

70+ Listings @ phpBBHacks.com
Back to top
View user's profile Send private message Visit poster's website

Quiff Boy
Dedicated User

Joined: 07 Feb 2002
Posts: 531
Location: Manchester, UK

PostPosted: January 26th 2011, 3:16 am    Post subject: Reply with quote

cool, thanks.

i'll have a play at upgrading an existing phpbb2/fetchall-powered site using your version and let you know how it goes.

documentation-wise, i'm pretty au-fait with the old version so if it's a direct port i'm sure it will be straightforward.

thanks for the effort you put in porting the script
_________________
Heartland - The Sisters Of Mercy Discussion Forums
http://www.myheartland.co.uk
Back to top
View user's profile Send private message Send e-mail Visit poster's website

Quiff Boy
Dedicated User

Joined: 07 Feb 2002
Posts: 531
Location: Manchester, UK

PostPosted: January 26th 2011, 4:35 am    Post subject: Reply with quote

fab! that seems to work pretty much exactly the same out of the box for my purposes (showing the last 5 posts from a specific forum)

the only thing is it seems to truncate the posts, eg:

using the old phpBB2 version: http://marchviolets.co.uk/index.php
and with phpBB3 version: http://marchviolets.co.uk/index_new.php

i've had a look in the mods/fetchall/common.php and both posts_trim_text_number and posts_trim_text_words are set to 0 (disabled), and just to make sure i've re-set them myself before making the query, eg:

Code:
$fetch->set_cfg('posts_limit', 5);
$fetch->set_cfg('posts_trim_text_number', 0);
$fetch->set_cfg('posts_trim_text_words', 0);
$news = $fetch->fetch_posts(7);


where 7 is the id of the forum the posts are pulled from

i realise your updated version of fetch_all was written a while ago, but i wondered if you had any ideas?
_________________
Heartland - The Sisters Of Mercy Discussion Forums
http://www.myheartland.co.uk
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    phpBBHacks.com Support Forums Forum Index -> phpBB 3 Hack Requests and Development All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Links: Big Message Boards - Free JavaScript - phpBB2 - phpbb styles - Suporte phpBB - phpBB Česky - phpBB Turkiye - phpBBArabia.com - phpBB-fr.com - Romanian phpBB online community - phpBB-TW.net - phpBBservice.nl - phpBB Brasil - phpBB Portugal - phpBBpersian.com

Network: iFroggy Hosting - PhotoshopForums.com - Managing Online Forums - ManagingCommunities.com - CommunityAdmins.com - KarateForums.com - Bad Boy Blog - SodaRatings.com - Patrick O'Keefe

< Advertising - Contact Us - Disclosure Policy - Staff - User Guidelines >

Copyright © 2001-2012. iFroggy Network, phpBBHacks.com. All Rights Reserved. Privacy Policy. We Support phpBBHacks.com (of course!).
Powered by phpBB © phpBB Group. phpBB SEO. We are in no way affiliated with the phpBB Group. phpBB is copyright to the phpBB Group.