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


Posts: 1,037
Joined: May 2008
Reputation: 27
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.

New In 3.0

  • Password Protected Pages

  • New URL Structure

  • Orderable pages




Link to Mods DB: Get It
01-26-2009 07:26 PM
firefox334
Junior Member


Posts: 7
Joined: Aug 2008
Reputation: 0
Post: #2
RE: Custom Pages
Looks great, will test it right away, thanks.
01-28-2009 09:21 PM


okitai
Junior Member


Posts: 26
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
Nickman
Manager


Posts: 1,037
Joined: May 2008
Reputation: 27
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



Tutorials | Mods | Contest

Spoiler

01-29-2009 10:50 PM


okitai
Junior Member


Posts: 26
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:
  NavOKgood.JPG (Size: 19.78 KB / Downloads: 21)
Custom Page navigation:
  NavNOTgood.JPG (Size: 10.55 KB / Downloads: 18)


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
Matt_
Junior Member


Posts: 32
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.


Forum - Blog - Plugins
02-02-2009 04:16 PM


okitai
Junior Member


Posts: 26
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
Nickman
Manager


Posts: 1,037
Joined: May 2008
Reputation: 27
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 :P


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.


Attached File(s)
  pages.php (Size: 1.02 KB / Downloads: 6)



Tutorials | Mods | Contest

Spoiler

02-02-2009 05:19 PM


okitai
Junior Member


Posts: 26
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
Nickman
Manager


Posts: 1,037
Joined: May 2008
Reputation: 27
Post: #10
RE: Custom Pages
It has to be {$mybb->settings['bburl']} no?



Tutorials | Mods | Contest

Spoiler

02-03-2009 02:39 AM


 




New to MyBBSource?Need Assistance?

  



Theme created by AK-47. Find more great themes and skins at K! Dezign