[RC] Add Page MOD

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Anti-Spam Guide
User avatar
ameeck
Former Team Member
Posts: 6559
Joined: Mon Mar 21, 2005 6:57 pm

Re: [BETA] Add Page MOD

Post by ameeck » Fri Feb 27, 2009 12:39 pm

You see, I quite agree with the current phpBB policy about not allowing HTML in user (and admin) defined fields and content. The BBCode system is flexible enough to give you the markup you need and you should be able to format the content as you deem necessary.

This is a security precaution that is worth it in my opinion, that's it. The MOD is licensed under GPL2, so everybody is free to fork it and have HTML allowed :)

cisco007
Translator
Posts: 129
Joined: Mon Jul 14, 2008 1:49 am
Contact:

Re: [BETA] Add Page MOD

Post by cisco007 » Fri Feb 27, 2009 8:42 pm

thanks, works good so far, will stay tuned for the next release!
Image

userkiller
I've Been Banned!
Posts: 189
Joined: Sun Dec 07, 2008 5:02 am
Location: student

Re: [BETA] Add Page MOD

Post by userkiller » Fri Feb 27, 2009 10:51 pm

check my site http://gamehaxerz.com/page.php

this mod is not working it only showing a info and some russian letters.

i already added the page and how can i make it show in the main site botton
Requesting people that can develop softwares pm me.
example gaming trainers.
If you are a rpgmmo gamers pm me.

User avatar
COD3M4ST3R-X
Registered User
Posts: 2269
Joined: Sat Aug 02, 2008 5:47 am
Location: Lahore,Pakistan

Re: [BETA] Add Page MOD

Post by COD3M4ST3R-X » Sat Feb 28, 2009 4:44 am

userkiller wrote:check my site http://gamehaxerz.com/page.php

this mod is not working it only showing a info and some russian letters.

i already added the page and how can i make it show in the main site botton
Did you added any page from the ACP if yes.
access it using page id
http://gamehaxerz.com/page.php?id=x
x=your page id
where exactly you want it to be shown? the link.
“Need and struggle are what excite and inspire us.”

User avatar
ameeck
Former Team Member
Posts: 6559
Joined: Mon Mar 21, 2005 6:57 pm

Re: [BETA] Add Page MOD

Post by ameeck » Sat Feb 28, 2009 7:11 am

This is a beta stage MOD, you can't seriously go install it unless you can solve minor issues by yourself.

Anyways, what russian letters?

User avatar
Bruno36
Registered User
Posts: 287
Joined: Fri Mar 02, 2007 2:16 pm
Location: france
Name: bruno astie
Contact:

Re: [BETA] Add Page MOD

Post by Bruno36 » Sat Feb 28, 2009 10:02 am

Hello!

When I click http://localhost/page.php I receive an error
Information

Zvolen neexistující stránka
Excuse me for my poor English, I speak french
Bruno36

User avatar
ameeck
Former Team Member
Posts: 6559
Joined: Mon Mar 21, 2005 6:57 pm

Re: [BETA] Add Page MOD

Post by ameeck » Sat Feb 28, 2009 10:09 am

Ah, that's just untranslated "The page cannot be found". With the first beta, the MOD didn't show a list of pages but allowed only direct access to them (I suppose people will go to pages you will directly link to). It's added at the moment, I'll fix up a few more things and release it.

User avatar
ameeck
Former Team Member
Posts: 6559
Joined: Mon Mar 21, 2005 6:57 pm

Re: [BETA] Add Page MOD

Post by ameeck » Sat Feb 28, 2009 10:58 am

I have a question for those who want url rewrites.

What should be the format of the URLs? Some of you might be using SEO rewrite MODs so i want something that does not conflict with other MODs.

At the moment I have a simple /foobar-p1/ working for page.php?id=1

momentum
Registered User
Posts: 1505
Joined: Thu Sep 20, 2007 4:07 am
Location: Melbourne, Australia

Re: [BETA] Add Page MOD

Post by momentum » Sat Feb 28, 2009 11:44 am

I've installed this on my local test board running under xampp and have found a couple of problems.

Firstly, the board has two custom styles installed both of which are derived from subsilver2. I have created a "tabled" version of the page_body.html file for each. I have also modified the board so that links open in a new page/tab.

Problem 1: When viewing the board under the second style new pages generated by this MOD are shown with the default style. I haven't yet been able to make pages disply under the non-default style.

Problem 2: When using builtin BBCodes all seems fine but I also have several custom BBCodes installed (center, left, right, strikethrough) and when using any of these text is shrunk to about 75% of it's normal size. See pics below...

BBCodes in the forum.
Image

Same BBCodes in a new page.
Image

Problem 3: Not sure if this is because it's running on a local server, but any time I access the new page it seems I'm not longer logged in.

Craig.
QOTY: phpBB is free, good hosting is not. - robert (Lumpy Burgertushie)

User avatar
ameeck
Former Team Member
Posts: 6559
Joined: Mon Mar 21, 2005 6:57 pm

Re: [BETA] Add Page MOD

Post by ameeck » Sat Feb 28, 2009 12:09 pm

1) The page uses normal phpBB templates and headers, it should show the style the user has chosen in its UCP.

2) In prosilver, I put font-size: 1.25em to the div surrounding the content, the formatting is then same as in the posts.

3) The page should hold normal phpBB sessions, it probably is caused by not fully functional cookies and the SID not being included to substitute the cookies.

momentum
Registered User
Posts: 1505
Joined: Thu Sep 20, 2007 4:07 am
Location: Melbourne, Australia

Re: [BETA] Add Page MOD

Post by momentum » Sat Feb 28, 2009 12:34 pm

ameeck wrote:1) The page uses normal phpBB templates and headers, it should show the style the user has chosen in its UCP.
Unfortunately it doesn't. Maybe this is related to problem number 3 in that the session isn't carried over.
2) In prosilver, I put font-size: 1.25em to the div surrounding the content, the formatting is then same as in the posts.
The font size is fine up until I apply one of the custom BBCodes. It's only then that the size changes.
3) The page should hold normal phpBB sessions, it probably is caused by not fully functional cookies and the SID not being included to substitute the cookies.
Not sure how to go about testing this aside from installing the MOD on the live board. :|

Craig.
QOTY: phpBB is free, good hosting is not. - robert (Lumpy Burgertushie)

User avatar
WhiteWolfSix
Registered User
Posts: 258
Joined: Sun May 15, 2005 5:43 am

Re: [BETA] Add Page MOD

Post by WhiteWolfSix » Sat Feb 28, 2009 3:45 pm

This looks great, it could be a basis for a some phpBB-CMS system. :D
Image
WhiteWolfSix (WW6)

User avatar
ameeck
Former Team Member
Posts: 6559
Joined: Mon Mar 21, 2005 6:57 pm

Re: [BETA] Add Page MOD

Post by ameeck » Sat Feb 28, 2009 5:12 pm

ww6: Thanks :)

momentum: try adding that font-size, it should fix it up in whole.


everybody: a new version 0.1.2 is released - it fixes some things, deletes some additional queries etc. to update just re-upload the root folder from the mod package, no file edits or sql changes are necessary.
Last edited by ameeck on Sat Feb 28, 2009 5:17 pm, edited 1 time in total.

Matthew1992
Registered User
Posts: 43
Joined: Tue Jan 13, 2009 12:14 am

Re: [BETA] Add Page MOD

Post by Matthew1992 » Sat Feb 28, 2009 5:16 pm

Hi,
I'm very interested in installing this MOD as it will benefit my forum. Will this implement a button beside like search, memberlist, ect?

User avatar
ameeck
Former Team Member
Posts: 6559
Joined: Mon Mar 21, 2005 6:57 pm

Re: [BETA] Add Page MOD

Post by ameeck » Sat Feb 28, 2009 5:19 pm

A link to what? The list of pages?

The MOD does not do that but it you can add them yourself:
http://www.phpbb.com/kb/article/adding- ... ur-header/

Locked

Return to “[3.0.x] MODs in Development”