Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom Pages
Author Message
Nickman Offline
Manager
*******
Management

Posts: 2,699
Joined: May 2008
Reputation: 67
Post: #1
Custom Pages
Mod Description: Allows you to create custom pages that can run PHP and also use MyBBs style. Each page can have usergroup permissions assigned to it and this mod includes a WYSIWYG so you can easily design your pages.<br/>
<font color='red'>New In 3.0</font>
<ul>
<li>Password Protected Pages</li>
<li>New URL Structure</li>
<li>Orderable pages</li>
</ul>


Link to Mods DB: Get It
01-26-2009, 07:26 PM
Visit this user's website Find all posts by this user
firefox334 Offline
Junior Member
**

Posts: 35
Joined: Aug 2008
Reputation: 0
Post: #2
RE: Custom Pages
Looks great, will test it right away, thanks.
01-28-2009, 09:21 PM
Find all posts by this user
okitai Offline
Member
***

Posts: 79
Joined: Oct 2008
Reputation: 0
Post: #3
RE: Custom Pages
Hi,
I keep getting the 404 (not found) page when I try to access a test page I created. Should be: http://www.ithelp.co.il/forum/pages/test (I think - I gave it the name "test" and this is the first one, so id=1).
Can you direct me to solve this?

Please, do remember that my forum is fully in Hebrew, so If you need any translation, I'll be glad to provide.



Ori...

Of two equivalent theories or explanations, all other things being equal, the simpler one is to be preferred.
simplified translation of Occam's razor

[Image: 82pwtx]
(This post was last modified: 01-29-2009, 04:22 PM by okitai)
01-29-2009, 03:56 PM
Visit this user's website Find all posts by this user
Nickman Offline
Manager
*******
Management

Posts: 2,699
Joined: May 2008
Reputation: 67
Post: #4
RE: Custom Pages
I think it it /pages/test/. Not sure at the moment. But check that out. If not, you can try the other method which is pages/index.php?page=test
01-29-2009, 10:50 PM
Visit this user's website Find all posts by this user
okitai Offline
Member
***

Posts: 79
Joined: Oct 2008
Reputation: 0
Post: #5
RE: Custom Pages
OK, The "pages/index.php?page=test" works. I think this is a problem with my host dealing with the '.htaccess' file. I know that to get the 404 page to what I wanted (to work only inside the forum), I had to write the full sites address ('http://www.ithelp.co.il/forum/404.php' and not, just, './404.php'; although that's the way the original "plugin" creator wrote in his instructions).

Edit: I found another bug (small, but just to alert you): this plugin does not fully comply with MyBB's navigation. as I modified it to the 'vbnavbar', I see that the page's name and the main page don't have the picture in front of them.
good navigation:[attachment=210]
Custom Page navigation: [attachment=211]


Ori...

Of two equivalent theories or explanations, all other things being equal, the simpler one is to be preferred.
simplified translation of Occam's razor

[Image: 82pwtx]
(This post was last modified: 01-30-2009, 01:01 AM by okitai)
01-30-2009, 12:19 AM
Visit this user's website Find all posts by this user
MattR Offline
Sitting in Jacob's Cabin
Premium Users

Posts: 54
Joined: Oct 2008
Reputation: 0
Post: #6
RE: Custom Pages
Yeah you have to go pages/index.php?page=test to get it to work, ./pages/ redirects to the forum index and ./pages/test/ = 404. Also when you're creating a page one of the settings is 'Show On Pages.php list?' but that doesn't exist now.

[Image: mybbsig.php]
Learn MyBB - My Blog
MyBB Support Team
02-02-2009, 04:16 PM
Visit this user's website Find all posts by this user
okitai Offline
Member
***

Posts: 79
Joined: Oct 2008
Reputation: 0
Post: #7
RE: Custom Pages
Thanks. This isn't the worst thing for me as all the custom pages I'll create will have a link somewhere on the forum and so, will not be accessed directly (only threw the links).
What about the navigation problem? Do you have a solution or any way to correct it?


Ori...

Of two equivalent theories or explanations, all other things being equal, the simpler one is to be preferred.
simplified translation of Occam's razor

[Image: 82pwtx]
02-02-2009, 04:31 PM
Visit this user's website Find all posts by this user
Nickman Offline
Manager
*******
Management

Posts: 2,699
Joined: May 2008
Reputation: 67
Post: #8
RE: Custom Pages
(02-02-2009 04:16 PM)Matt_ Wrote:  Yeah you have to go pages/index.php?page=test to get it to work, ./pages/ redirects to the forum index and ./pages/test/ = 404. Also when you're creating a page one of the settings is 'Show On Pages.php list?' but that doesn't exist now.

Pages.php does exist now...But I think I forgot to add the file Tongue


It's attached. I will update the download when I figure out some of the errors here. I don't understand. It works fine, and it is coded correctly. It's probably your modifications that make it not look right. Make sure the full URL to the image is in the nav_sep_active template and nav template.

What happens is since we're a folder down, it doesn't see the file because it's looking in /pages/images/theme/nav_end.gif or whatever.

As for the .htaccess thing, if you have them set for SEO in MyBB, on pages.php they will show as /test/ otherwise they show up as pages/index.php?page=test.
02-02-2009, 05:19 PM
Visit this user's website Find all posts by this user
okitai Offline
Member
***

Posts: 79
Joined: Oct 2008
Reputation: 0
Post: #9
RE: Custom Pages
OK. I now see what you meen about the images. But, when I add '{$settings[bburl]}' to the 'src= ' of the image, it doesn't add anything to the address of the image (it should add my forum's URL. Not?).


Ori...

Of two equivalent theories or explanations, all other things being equal, the simpler one is to be preferred.
simplified translation of Occam's razor

[Image: 82pwtx]
02-02-2009, 08:21 PM
Visit this user's website Find all posts by this user
Nickman Offline
Manager
*******
Management

Posts: 2,699
Joined: May 2008
Reputation: 67
Post: #10
RE: Custom Pages
It has to be {$mybb->settings['bburl']} no?
02-03-2009, 02:39 AM
Visit this user's website Find all posts by this user




User(s) browsing this thread: 4 Guest(s)