Version: 1.00, by borbole
Developer Last Online: Oct 2015
Category: Major Additions -
Version: 4.0.1
Rating:
Released: 02-08-2010
Last Update: 03-28-2010
Installs: 165
DB Changes Uses Plugins Auto-Templates
Additional Files Translations
No support by the author.
Lite Version
The lite mod attached here will add only one basic custom page at your forum.
Installation: Upload the custompage.php to your forum root and the includes folder inside the mod package to your forum 's include folder and import the xml file through the Plugins & Products at your Acp.
Premium Version
You can view screenshots below of a more advanced version that will allow you to add unlimited php and html custom pages to your forum.
At the premium version you can add unlimited pages and manage them with ease from the mod settings in the Acp.
For each page you can do the following:
1) Enable/disable
2) Enter the url name. That is what will appear in the browser.
3) Choose the type of the page, php or html. You can also use smilyes and bb codes.
4) Enter the Nabar Link Name. You have also the option to show the custom page tab/s in the navigation bar or not. If you choose for No, you will have to either add it manually yourself or through the Navigation Manager.
5) Enter the breadcrumb name.
6) Enter the title of your custom page.
7) Enter the content of your custom page. You can use php and html.
Use the $output variable to output the php code.
8) Open the custom page in a new window.
9) You can also restrict a group/groups per each custom page from viewing it.
10) Set the page appearance order.
Also the users browsing the custom pages will appear at the online list.
If you want to purchase the premium version, you can contact me in private here.
Giving away free copies of the premium version. If you are interested please contact me in private.
For the Premium version the Installation Instruction can be found inside the mod package.
Second ,when I select the custompgae the selection color goes to the homepage not this page
how to make it selected ???
is that reply is the answer ?
If yes,where to put this code ???
Many thanks
Quote:
Originally Posted by Disco_Stu
I may have found the problem. I think the tabs the mod creates are not being added into the tab collection that's checked in the navbar_tabs code to determine which tab should be marked as selected and highlighted:
ok..here's a solution to getting the tabs for the new pages to stay selected when displaying the new page.. It's not pretty but it does work:
1)Use the mod to create your new pages
2)Display each page and copy the url in notepad or something because you need it in the following steps.
3) Disable this mod (don't uninstall it - just disable it). This will cause the tabs that the mod created to not show on the nav bar.
4) If you created more than 1 new page then for each page create a copy of custompages.php in your forum root. I named my cloned php files as custompages2.php, custompages3.php....
5) In each cloned php file change the script name in the THIS_SCRIPT entry. I changed mine to the name of the cloned file (custompages2, custompages3,....)
6) Now go to the Navigation Manager and for each new page you created add a new tab and put the new page URL's in the URL setting and put the corresponding script name from your clone php file in the script entry.
Now close your site and open it again to open of your existing pages. Then click on one of the new tabs and it should display your new page that you created with this mod and the tab should stay selected.
I'm not happy about having to clone files but it does solve the problem
I need to point out that if you do not change the script names in your cloned php files then the first tab for your new pages will always be marked as selected whenever you display any of the new pages. This is because all the tabs for the new pages will be set with the same script name.
I tried this solution and no result.
I have 4.1.11 version ,when disabled the product the tab didn't disappear ,it is still present and leads to a white page !!
Sorry but I've only used this mod with 4.2 so I can't help you with the 4.1 issues. Maybe someone else that's used this mod with that version can help you out.