phpBB Modders Article System?

Discuss phpBB 3.0.x in general.
Forum rules
Please post any phpBB 3.1.x related topics in the phpBB 3.1.x discussion forum.
Post Reply
ZakRhino
New member
New member
Posts: 4
Joined: 07 May 2009, 20:15

phpBB Modders Article System?

Post by ZakRhino »

Hello I see the article system here on phpBB Modders and have not been able to find any type of article system in any research I done so far. Below is says, "articles system written by igor (and not hidde)" I wanted to know if the user Igor has release this as a mod or where I can find this mod at or something close to a article system out there somewhere?
Thanks
igorw
Past Contributor
Past Contributor
Posts: 1967
Joined: 01 Jun 2006, 20:48
Real name: Igor

Re: phpBB Modders Article System?

Post by igorw »

Hi. I am Igor. And I've not released the code so far, sorry. I may consider it in the future, though.
ZakRhino
New member
New member
Posts: 4
Joined: 07 May 2009, 20:15

Re: phpBB Modders Article System?

Post by ZakRhino »

No problem thanks now I know whom you are. Thanks you did make a great mod. :) Can't wait for it to come out. Till then you have any good directions to point me to check out where I can find something like the article system you mad? I check phpBB mod list but no good.
User avatar
Obsidian
Supporter
Supporter
Posts: 736
Joined: 13 May 2008, 15:20
Real name: Damian
Contact:

Re: phpBB Modders Article System?

Post by Obsidian »

I know Mr_Bond (a.k.a. Deadpool) has something similar that he's built and is currently developing over on [url=http://the-webmasters-resource.info]his site[/url].

It's not released yet though, since it hasn't stabilized in the development lifecycle. ;)
ZakRhino
New member
New member
Posts: 4
Joined: 07 May 2009, 20:15

Re: phpBB Modders Article System?

Post by ZakRhino »

Thanks :)
v1r
New member
New member
Posts: 1
Joined: 14 Mar 2008, 23:37

Re: phpBB Modders Article System?

Post by v1r »

Any new release ?
ZakRhino
New member
New member
Posts: 4
Joined: 07 May 2009, 20:15

Re: phpBB Modders Article System?

Post by ZakRhino »

Just waiting :)
Nathan
New member
New member
Posts: 5
Joined: 26 Oct 2009, 04:21

Re: phpBB Modders Article System?

Post by Nathan »

Is it going to be released? :P
imkingdavid
Supporter
Supporter
Posts: 32
Joined: 12 Aug 2009, 16:16
Real name: David
Contact:

Re: phpBB Modders Article System?

Post by imkingdavid »

I have cloned it for someone else but won't be releasing it. The clean urls took more than 5 days to get them to work properly because phpBB uses relative paths. The issue is that for PHP includes, the path is relative to the actual file that is calling it, but for images and CSS and such, the path is relative to the URL in the browser. So I had to do some crazy PHP to switch around phpbb_root_path depending on where you are in the file and what you're trying to do. :P

I wonder how Igor got it working... :mrgreen:
phpBB.com Development Team Member | View My MODs | View My Website
Please do NOT contact for support via PM or email.
igorw
Past Contributor
Past Contributor
Posts: 1967
Joined: 01 Jun 2006, 20:48
Real name: Igor

Re: phpBB Modders Article System?

Post by igorw »

Simple: A template::display() hook that does a preg_replace, converting all URLs to something usable. That fixes the URLs for phpBB's template variables. The custom site variables are generated directly as "cute URLs" and need no conversion.
User avatar
Obsidian
Supporter
Supporter
Posts: 736
Joined: 13 May 2008, 15:20
Real name: Damian
Contact:

Re: phpBB Modders Article System?

Post by Obsidian »

I do believe there's a hook in the [url=http://phpbbmodders.net/board/viewforum.php?f=94]library[/url] that does this, as well. ;)
igorw
Past Contributor
Past Contributor
Posts: 1967
Joined: 01 Jun 2006, 20:48
Real name: Igor

Re: phpBB Modders Article System?

Post by igorw »

imkingdavid
Supporter
Supporter
Posts: 32
Joined: 12 Aug 2009, 16:16
Real name: David
Contact:

Re: phpBB Modders Article System?

Post by imkingdavid »

eviL<3 wrote:Oh yeah, I actually published it: http://phpbbmodders.net/board/viewtopic.php?p=20651#p20651

:o Wow I should have asked sooner. That would have saved me a good few days of scratching my head and threatening my computer that I would toss it out the window if it didn't start working.

Thanks a ton for the share! :beer:
Last edited by imkingdavid on 10 Mar 2010, 10:49, edited 1 time in total.
phpBB.com Development Team Member | View My MODs | View My Website
Please do NOT contact for support via PM or email.
Nathan
New member
New member
Posts: 5
Joined: 26 Oct 2009, 04:21

Re: phpBB Modders Article System?

Post by Nathan »

imkingdavid wrote:
eviL<3 wrote:Oh yeah, I actually published it: http://phpbbmodders.net/board/viewtopic.php?p=20651#p20651

:o Wow I should have asked sooner. That would have saved me a good few days of scratching my head and threatening my computer that I would toss it out the window if it didn't stop working.

Thanks a ton for the share! :beer:


At least you got it working :D
Post Reply