[Beta] Custom Pages MOD 0.1.1

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! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
skarabbit
Registered User
Posts: 126
Joined: Fri Oct 27, 2006 3:49 pm
Contact:

Post by skarabbit » Mon Nov 27, 2006 7:59 pm

yes but if you turn html on, it allows html across the whole of the forum, so in normal posts people could post anything they want.

User avatar
igorw
Former Team Member
Posts: 8024
Joined: Fri Dec 16, 2005 12:23 pm
Location: {postrow.POSTER_FROM}
Name: Igor Wiedler

Post by igorw » Mon Nov 27, 2006 8:01 pm

skarabbit wrote: yes but if you turn html on, it allows html across the whole of the forum, so in normal posts people could post anything they want.


No. Not if you simply enable html just for that page... :roll: Just untick "parse bbcode", it should then use html...
Igor Wiedler | area51 | GitHub | trashbin | Formerly known as evil less than three

skarabbit
Registered User
Posts: 126
Joined: Fri Oct 27, 2006 3:49 pm
Contact:

Post by skarabbit » Mon Nov 27, 2006 8:06 pm

o gawd. thank you very much, i feel like a right noobling now (i am)

thanks for your patience


and great mod:)

User avatar
igorw
Former Team Member
Posts: 8024
Joined: Fri Dec 16, 2005 12:23 pm
Location: {postrow.POSTER_FROM}
Name: Igor Wiedler

Post by igorw » Mon Nov 27, 2006 8:08 pm

No i must apologize, it wasn't clear enough ;)
Igor Wiedler | area51 | GitHub | trashbin | Formerly known as evil less than three

skarabbit
Registered User
Posts: 126
Joined: Fri Oct 27, 2006 3:49 pm
Contact:

Post by skarabbit » Fri Dec 01, 2006 1:41 am

can you make it so you have to login to view these pages?

skarabbit
Registered User
Posts: 126
Joined: Fri Oct 27, 2006 3:49 pm
Contact:

Post by skarabbit » Fri Dec 01, 2006 1:43 am

can you make it so you have to login to view these pages?
i think we need a preview page button:)

skarabbit
Registered User
Posts: 126
Joined: Fri Oct 27, 2006 3:49 pm
Contact:

Post by skarabbit » Fri Dec 01, 2006 2:18 am

i have created about 20 pages, when i have done more with it i will show you. just so you can see hwo much i appreciate and use this mod:)

User avatar
igorw
Former Team Member
Posts: 8024
Joined: Fri Dec 16, 2005 12:23 pm
Location: {postrow.POSTER_FROM}
Name: Igor Wiedler

Post by igorw » Fri Dec 01, 2006 12:58 pm

I don't have a preview features atm. You can make people log in by adding this near the top of the page: (After the session stuff):

Code: Select all

if ( !$userdata['session_logged_in'] )
{
	redirect( append_sid ( "login.$phpEx?redirect=pages.$phpEx", true ) );
}
Igor Wiedler | area51 | GitHub | trashbin | Formerly known as evil less than three

skarabbit
Registered User
Posts: 126
Joined: Fri Oct 27, 2006 3:49 pm
Contact:

Post by skarabbit » Fri Dec 01, 2006 6:16 pm

Thanks you:)

skarabbit
Registered User
Posts: 126
Joined: Fri Oct 27, 2006 3:49 pm
Contact:

Post by skarabbit » Thu Dec 28, 2006 1:33 am

come on evil you know you wanna develope this some more:P

dcz
Registered User
Posts: 787
Joined: Sun Feb 13, 2005 5:37 am
Contact:

Post by dcz » Thu Dec 28, 2006 12:31 pm

nice one again eviL<3 :D

phpBB SEO || phpBB3 SEO Premod || SEO phpBB3
GYM Sitemaps & RSS for phpBB3: GYM Sitemaps & RSS

User avatar
igorw
Former Team Member
Posts: 8024
Joined: Fri Dec 16, 2005 12:23 pm
Location: {postrow.POSTER_FROM}
Name: Igor Wiedler

Post by igorw » Thu Dec 28, 2006 1:02 pm

I will rewrite it some time, but i have other things on my list right now...
Igor Wiedler | area51 | GitHub | trashbin | Formerly known as evil less than three

skarabbit
Registered User
Posts: 126
Joined: Fri Oct 27, 2006 3:49 pm
Contact:

Post by skarabbit » Sat Dec 30, 2006 7:53 am

hey evil....

is there a direct adress to access the page creation?

i have installed it on a heavily modded forum which has an admin tidy up mod..

i have installed it correctly but cant find a link in the acp because of said mod...

so is there an adress eg

www.myforum.com/admin/pagecreation.php i can click to get to it manually?


i know the way to get to the pages...

User avatar
igorw
Former Team Member
Posts: 8024
Joined: Fri Dec 16, 2005 12:23 pm
Location: {postrow.POSTER_FROM}
Name: Igor Wiedler

Post by igorw » Sat Dec 30, 2006 9:09 am

yoursite.com/admin/admin_custom_pages.php?sid={SID}

Replace {SID} with your SID ;)
Igor Wiedler | area51 | GitHub | trashbin | Formerly known as evil less than three

thunder88
Registered User
Posts: 158
Joined: Wed Dec 03, 2003 7:38 am

Post by thunder88 » Sat Dec 30, 2006 12:50 pm

Bit of a problem with the sql:
The following error occured:

Code: Select all

Error:
Unexpected or unknown attribute "PRIMARY KEY", in "page_id MEDIUMINT(8) NOT NULL AUTO_INCREMENT PRIMARY KEY", statement: 1, table: "phpbb_custom_pages"

SQL:
CREATE TABLE phpbb_custom_pages(page_id MEDIUMINT(8) NOT NULL AUTO_INCREMENT PRIMARY KEY,page_title CHAR(60) NULL,page_text TEXT NULL,page_use_bbcode TINYINT(1) DEFAULT '1' NOT NULL,page_bbcode_uid CHAR(10) DEFAULT '0' NOT NULL) 
What am I doing wrong?

Post Reply

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