The BoardMod Project
 The Project | News | Downloads | Mods | FAQ | Templates | Chat | Forum
BoardMod Support Forum
[ Home | Help | Search | Login | Register ]  

24.05.13 at 20:53:18, Welcome, Guest. Please Login or Register

Choose Language:
Pages: 1 2 3 
Custom Page Mod 0.3 (Read 10909 times)
James Andrews
Hacker Wannabe
**
Offline

Ipswich, United Kingdom
Posts: 62



07.01.08 at 21:35:53  
Its been well over a year since its first release and it has grown to be very popular, so here is a BETA version for YaBB 2.2.

This mod is for YaBB 2.2 only !! There is another version of this mod for YaBB 2.1 at: http://www.boardmod.org/yabb/YaBB.pl?board=newsy2;action=display;num=1155118838.

General Features:

- Add as many custom web pages as you like.
- Enables you to transform your board into a website, while keeping the same template used for everypage.
- Easily add in the HTML for the body of the page in admin center and it will give you a link for your new page.
- Modify and delete current pages.
- URL helpers in case you change the location of your board. Use <yabb url> for the URL of YaBB.pl/.cgi. E.g. <yabb url>?action=ml.
- Add a title for each page.
- Add counters to pages.
- Add pages to the menu.
- Disable guest access to pages.

Mod History:
- 0.3 BETA (7/1/08)      - Updated to support YaBB 2.2
- 0.2                  - No Changes. No bugs found, stable version.
- 0.2 BETA (24/6/06)      - Added page counters.
                 - Added menu.
                 - Added disable guest access.
- 0.1 BETA (22/6/06)      - First version released.

Installation:

Use BoardMod or manually edit files.

Upload:

- Sources/CustomPage.pl CHMOD 777 (ASCII)
- Admin/CustomPage.pl CHMOD 777 (ASCII)
- Languages/English/CustomPage.lng CHMOD 777 (ASCII)
- Variables/Pages/.htaccess (ASCII)
- Paths.pl , YaBB.pl (CHMOD 755), Admin/AdminIndex.pl (CHMOD 755), Admin/AdminSubList.pl, Sources/Subs.pl, yabbfiles\Templates\default\default.html, Sources/TabMenu.pl (Modified files).

Any bugs please post any error messages.
 
IP Logged
 
qersys
Moderator
*****
Offline

SF, California, USA
Posts: 342



Reply #1 - 08.01.08 at 02:38:33  
Thanks for the update James  Smiley
 
IP Logged
 
D0T-C0M
Hacker God
*****
Offline

Tracadie, New Brunswick, Canada
Posts: 806



Reply #2 - 08.01.08 at 03:43:40  
yes thank you James.  Are you going to at some point in the future convert your "allow html" mod too?
 
IP Logged
 
ccarr
Ex Member





Reply #3 - 08.01.08 at 10:47:07  
Quote:
Are you going to at some point in the future convert your "allow html" mod too?
That's on my wish list too.

Thanks also for the Custom Page Mod. I use it a lot.  Smiley
 
IP Logged
 
James Andrews
Hacker Wannabe
**
Offline

Ipswich, United Kingdom
Posts: 62



Reply #4 - 08.01.08 at 12:09:35  
D0T-C0M wrote on 08.01.08 at 03:43:40:
yes thank you James.  Are you going to at some point in the future convert your "allow html" mod too?


Maybe.

And for anyone that is having errors saying that pages don't exist from upgrading from Custom Page Mod 0.2, then you must move your pages from the folder /Pages to Variables/Pages/. This fixes a bug when people modify their Paths.pl.
 
IP Logged
 
Rovin
Bloody Novice
*
Offline

Posts: 47



Reply #5 - 08.01.08 at 20:45:56  
Cheers for the updated version, the YaBB 2.1 version didn't work on my 2.2 board. Hopefully this will.
 
IP Logged
 
Outumuro
Hacker God
*****
Offline

Los Angeles, California, USA
Posts: 569



Reply #6 - 09.01.08 at 07:12:49  
Thanks James.

Posted a news item for it. Smiley
 
IP Logged
 

...
... ... ... ... ...
PSS-Mag
Hacker Wannabe
**
Offline

Posts: 51



Reply #7 - 10.01.08 at 07:10:42  
Awesome job James!!

I used it to appear to integrate a photo album into my forum. "Among other things....." and even more to come. The possibilities are only limited by the users imagination and their ability to click a mouse.
Works like a charm!!!!

By far the most time saving mod that I've found so far.
If your time is worth anything, and you want to add a page for any reason, this mod is for you.
 
IP Logged
 

...
BlueMax
Bloody Novice
*
Offline

Posts: 25



Reply #8 - 11.01.08 at 08:24:30  
I am trying to install this MOD - I really like the idea for it - but I am running into an issue.

Code:
$yytabmenu .= qq~$tabsep~; 



That is not being found in the TabMenu.pl file.  

Any suggestions to help me get this MOD running?

I tried the manual install, but that code is not to be found in the TabMenu.pl file.

 
IP Logged
 
mattcch
Bloody Novice
*
Offline

Posts: 45



Reply #9 - 11.01.08 at 13:36:27  
BlueMax wrote on 11.01.08 at 08:24:30:
I am trying to install this MOD - I really like the idea for it - but I am running into an issue.

Code:
$yytabmenu .= qq~$tabsep~; 



That is not being found in the TabMenu.pl file.  

Any suggestions to help me get this MOD running?

I tried the manual install, but that code is not to be found in the TabMenu.pl file.




$yymcmenu  <--- found in TabMenu.pl

$yytabmenu .= qq~$tabsep~;


Yes,maybe updated with it.
Change $yytabmenu to $yymcmenu.
After I change the above variable,it works ok.

Demo:http://wh.sytes.net/cgi-bin/yabb2/YaBB.pl?custompage=tools

 
IP Logged
 
James Andrews
Hacker Wannabe
**
Offline

Ipswich, United Kingdom
Posts: 62



Reply #10 - 11.01.08 at 15:52:58  
BlueMax wrote on 11.01.08 at 08:24:30:
I am trying to install this MOD - I really like the idea for it - but I am running into an issue.

Code:
$yytabmenu .= qq~$tabsep~; 



That is not being found in the TabMenu.pl file.  

Any suggestions to help me get this MOD running?

I tried the manual install, but that code is not to be found in the TabMenu.pl file.



Line 85 in Sources/TabMenu.pl:

Code:
		$yytabmenu .= qq~$tabsep~; 

 
IP Logged
 
BlueMax
Bloody Novice
*
Offline

Posts: 25



Reply #11 - 12.01.08 at 13:31:52  
It works fine.

There is however a small bug.  

I added a few tabs, then deleted them and added them back with different names.

The changed names appear on the main index of the site, but the new and the old both still appear in the PM section.

It's purely cosmetic, but I thought I would let you know.

Here is a link to my site:

http://www.valleychatter.com

Create an account and just check the PM section to see what I am talking about.

 
IP Logged
 
Cable
Hacker Wannabe
**
Offline

Posts: 97



Reply #12 - 12.01.08 at 22:46:24  
Hi James, thanks for this great mod!

Couple of things:

That line 85 in Sources/TabMenu.pl was changed by a recent update which you can get as part of the attached zip here:

http://www.yabbforum.com/community/YaBB.pl?num=1198603183

Other thing.. small point... the instructions tell the user to upload this file: Admin/CustomPage.pl  but the actual name is:  Admin/CustomPageAdmin.pl

 
IP Logged
 
qersys
Moderator
*****
Offline

SF, California, USA
Posts: 342



Reply #13 - 13.01.08 at 03:38:07  
Quote:
That line 85 in Sources/TabMenu.pl was changed by a recent update which you can get as part of the attached zip here:

http://www.yabbforum.com/community/YaBB.pl?num=1198603183


Mods are written for the release version. that update hasn't been made a part of an official relase yet
 
IP Logged
 
Cable
Hacker Wannabe
**
Offline

Posts: 97



Reply #14 - 14.01.08 at 02:50:10  
True, however how many users are going to use the stock 2.2 files and live with known bugs when the fixes are readily available and updated as files change?  Those fixed files also contain the changes.

If the Mod needs to stay pure to the stock version, that's fine, but it would be nice to have this difference noted in the mod package so users are aware they will get an error both in installing the mod, AND using the mod.

The option to Show Link in Custom Page menu doesn't work correctly with updated files.  See attached pic.  Also note it did that before I made my own button for it



« Last Edit: 14.01.08 at 03:13:59 by Cable »  
IP Logged
 

hblog3.png (15 KB | 132 )
hblog3.png
Pages: 1 2 3 
© 2000-2012 by - All rights reserved.

Project website hosting proudly sponsored and provided by UK2 Hosting
 The Project | News | Downloads | Mods | FAQ | Templates | Chat | Forum