Page Index Toggle Pages: [1] 2 3  Send TopicPrint
Very Hot Topic (More than 25 Replies) Custom Page Mod 0.3 (Read 4523 times)
James Andrews
Junior Member
**
Offline



Posts: 62
Location: Ipswich
Joined: Jan 7th, 2006
Gender: Male
Custom Page Mod 0.3
Jan 7th, 2008 at 9:35pm
Print Post  
[u][b]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.[/b][/u]

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.
  

Custom_Page_Mod_03.zip ( 8 KB | Downloads )
Back to top
WWWAIM  
IP Logged
 
qersys
Senior Member
****
Offline


Yes, I am

Posts: 342
Location: SF
Joined: Dec 29th, 2002
Gender: Male
Re: Custom Page Mod 0.3
Reply #1 - Jan 8th, 2008 at 2:38am
Print Post  
Thanks for the update James  Smiley
  
Back to top
IP Logged
 
D0T-C0M
God Member
*****
Offline



Posts: 806
Location: Tracadie
Joined: Sep 22nd, 2001
Gender: Male
Re: Custom Page Mod 0.3
Reply #2 - Jan 8th, 2008 at 3:43am
Print Post  
yes thank you James.  Are you going to at some point in the future convert your "allow html" mod too?
  
Back to top
 
IP Logged
 
ccarr
Ex Member


Re: Custom Page Mod 0.3
Reply #3 - Jan 8th, 2008 at 10:47am
Print Post  
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
  
Back to top
 
IP Logged
 
James Andrews
Junior Member
**
Offline



Posts: 62
Location: Ipswich
Joined: Jan 7th, 2006
Gender: Male
Re: Custom Page Mod 0.3
Reply #4 - Jan 8th, 2008 at 12:09pm
Print Post  
D0T-C0M wrote on Jan 8th, 2008 at 3:43am:
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.
  
Back to top
WWWAIM  
IP Logged
 
Rovin
New Member
*
Offline



Posts: 47
Joined: Dec 20th, 2007
Re: Custom Page Mod 0.3
Reply #5 - Jan 8th, 2008 at 8:45pm
Print Post  
Cheers for the updated version, the YaBB 2.1 version didn't work on my 2.2 board. Hopefully this will.
  
Back to top
WWW  
IP Logged
 
Outumuro
God Member
*****
Offline


Publisher - YaBB Toolbar

Posts: 569
Location: Los Angeles
Joined: Apr 14th, 2004
Gender: Male
Re: Custom Page Mod 0.3
Reply #6 - Jan 9th, 2008 at 7:12am
Print Post  
Thanks James.

Posted a news item for it. Smiley
  


Back to top
WWW  
IP Logged
 
PSS-Mag
Junior Member
**
Offline


Thanks members of boardmod!!!

Posts: 51
Location: Earth Mostly......
Joined: Dec 27th, 2007
Gender: Male
Re: Custom Page Mod 0.3
Reply #7 - Jan 10th, 2008 at 7:10am
Print Post  
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.
  

Back to top
WWW  
IP Logged
 
BlueMax
New Member
*
Offline


I love YaBB 1G - SP1!

Posts: 25
Joined: Jan 1st, 2003
Re: Custom Page Mod 0.3
Reply #8 - Jan 11th, 2008 at 8:24am
Print Post  
I am trying to install this MOD - I really like the idea for it - but I am running into an issue.

Code
Select All
$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.

  
Back to top
 
IP Logged
 
mattcch
New Member
*
Offline


Web

Posts: 45
Joined: Jun 8th, 2007
Gender: Male
Re: Custom Page Mod 0.3
Reply #9 - Jan 11th, 2008 at 1:36pm
Print Post  
BlueMax wrote on Jan 11th, 2008 at 8:24am:
I am trying to install this MOD - I really like the idea for it - but I am running into an issue.

Code
Select All
$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

  
Back to top
WWW  
IP Logged
 
James Andrews
Junior Member
**
Offline



Posts: 62
Location: Ipswich
Joined: Jan 7th, 2006
Gender: Male
Re: Custom Page Mod 0.3
Reply #10 - Jan 11th, 2008 at 3:52pm
Print Post  
BlueMax wrote on Jan 11th, 2008 at 8:24am:
I am trying to install this MOD - I really like the idea for it - but I am running into an issue.

Code
Select All
$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
Select All
		$yytabmenu .= qq~$tabsep~; 

  
Back to top
WWWAIM  
IP Logged
 
BlueMax
New Member
*
Offline


I love YaBB 1G - SP1!

Posts: 25
Joined: Jan 1st, 2003
Re: Custom Page Mod 0.3
Reply #11 - Jan 12th, 2008 at 1:31pm
Print Post  
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.

  
Back to top
 
IP Logged
 
Cable
Junior Member
**
Offline


I love YaBB 1G - SP1.2!

Posts: 97
Joined: Sep 28th, 2007
Re: Custom Page Mod 0.3
Reply #12 - Jan 12th, 2008 at 10:46pm
Print Post  
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

  
Back to top
 
IP Logged
 
qersys
Senior Member
****
Offline


Yes, I am

Posts: 342
Location: SF
Joined: Dec 29th, 2002
Gender: Male
Re: Custom Page Mod 0.3
Reply #13 - Jan 13th, 2008 at 3:38am
Print Post  
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
  
Back to top
IP Logged
 
Cable
Junior Member
**
Offline


I love YaBB 1G - SP1.2!

Posts: 97
Joined: Sep 28th, 2007
Re: Custom Page Mod 0.3
Reply #14 - Jan 14th, 2008 at 2:50am
Print Post  
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



  

hblog3.png ( 15 KB | Downloads )
hblog3.png
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 3 
Send TopicPrint