Page Index Toggle Pages: [1] 2 3 4 Send TopicPrint
Very Hot Topic (More than 25 Replies) Custom Pages for YaBB 2.5AE - V.0.5.1 (Read 27492 times)
ThM
God Member
*****
Offline



Posts: 585
Location: Germany, Nds.
Joined: May 21st, 2006
Gender: Male
Custom Pages for YaBB 2.5AE - V.0.5.1
Oct 24th, 2010 at 2:30pm
Print Post  
Custom Pages - Version 0.5.1


Description:

Add unlimited custom pages as you want for your board.

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.


Known issues:

If you added a tab and onclick the new tab to open the page, the tab display not highlighted.

Note:

Special thanks goes to the mod author, James Andrews. I've contact them and he gave me the permission to update/modified and release her mods.

Contents mod package:

  • custom_page_mod_v_0_5_1.mod
  • custom_page_mod_german_du_patch.mod
  • custom_page_mod_german_patch.mod


Installation:

1) Use the BoardMod Programm to install the mod or edit the files manually.
2) Upload all modified files in ASCII mode.

  • YaBB.pl  
  • AdminIndex.pl  
  • Admin/Modlist.pl
  • Admin/AdminSubList.pl
  • Languages/English/Admin.lng


3) Upload all Files from the zip package folder.

  • Admin/CustomPageAdmin.pl (ASCII and CHMOD 755)
  • Sources/CustomPage.pl (ASCII and CHMOD 755)
  • Variables/Pages/*.* (ASCII)
  • Languages/English/CustomPage.lng (ASCII and CHMOD 666)
  • Languages/German/CustomPage.lng (ASCII and CHMOD 666) if you want
  • Languages/German_Du/CustomPage.lng (ASCII and CHMOD 666) if you want


How to use it:

Have you created a page and want to involve them in your forum, then copy the link, select the item in your forum "Add Tab" and fill out the required fields. The previously copied link from your custom page add in the URL field.

Mod History:

  • Version 0.5.1 - 19.10.2010 for YaBB 2.5AE (Small changes in the custom pages admin area)
  • Version 0.5 - 09.09.2010 for YaBB 2.5AE
  • Version 0.4 for myself only for YaBB 2.4
  • Version 0.3 Beta - 07.01.2008 for YaBB 2.2
  • Version 0.2 Beta - 24.06.2006
  • Version 0.1 Beta - 22.06.2006


A german description you find here: German Description
Eine deutsche Beschreibung findest Du hier: Deutsche Beschreibung


Have fun  Smiley
« Last Edit: Oct 27th, 2010 at 4:08pm by ThM »  

Custom_Pages_0_5_1.zip ( 12 KB | Downloads )

Greeting ThM
Back to top
 
IP Logged
 
Captain John
Senior Member
****
Offline


Pass to Port !

Posts: 264
Location: Reno Beach
Joined: Jan 18th, 2007
Gender: Male
Re: Custom Pages for YaBB 2.5AE - V.0.5.1
Reply #1 - Nov 5th, 2010 at 9:38pm
Print Post  
Love it ... works !!  Thanks ThM !
  

Love to live and love on the water
Back to top
 
IP Logged
 
ThM
God Member
*****
Offline



Posts: 585
Location: Germany, Nds.
Joined: May 21st, 2006
Gender: Male
Re: Custom Pages for YaBB 2.5AE - V.0.5.1
Reply #2 - Nov 12th, 2010 at 5:48pm
Print Post  
Thanks for feedback CJ. Nice to hear you like it ....  Wink
  

Greeting ThM
Back to top
 
IP Logged
 
Roderunner
New Member
*
Offline


I Love YaBB 2!

Posts: 27
Joined: Dec 18th, 2010
Re: Custom Pages for YaBB 2.5AE - V.0.5.1
Reply #3 - Dec 18th, 2010 at 9:27pm
Print Post  
I inherited a site last year that was prior to 2.4.  When I took over the forum, the previous web guru upgraded it to 2.4.  Previous to this, it had custompage and I have lots and lots of pages created, but through the upgrade to 2.4 it killed it.  

Last night I upgraded the 2.4 to 2.5ae and lost all my mods.  I'm trying to get them back and trying to get custom page to work.

I used boardmod to edit the files, uploaded the files and uploaded the mod files and went thru their permissions to cross check with what is listed above.

I'm thinking it is not working.  I do have an add tab and edit tab, but it is for hard links.  the pre 2.4 links where something along the lines of custompage.pl?=tech  or something of that nature.  I'm not seeing this.

Also in my admin page,  it doesn't show custompage on the left pain, only when I click installed mods on the left pane will it show it to me in the right pane.  Also in the admin panel, there are no settings,it just says installed.

any feedback on this matter, Id really appreciate.  I'm not a webmaster and never have and don't know code.

edit to add:
I have the add link, edit link in the top bar, and I think this is a yabb feature, not sure, but when ever I add a link, it comes up twice, not once.
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Custom Pages for YaBB 2.5AE - V.0.5.1
Reply #4 - Dec 18th, 2010 at 11:58pm
Print Post  
Roderunner wrote on Dec 18th, 2010 at 9:27pm:
I'm thinking it is not working.  I do have an add tab and edit tab, but it is for hard links.  the pre 2.4 links where something along the lines of custompage.pl?=tech  or something of that nature.  I'm not seeing this.

There's been quite a few changes to the YaBB TaB Menu since older versions, so you'll now have to add the new tab for your custom page with the built in 'Add Tab' feature yourself.

So, just enter the URL to you custom page there - something like:

Code
Select All
yoursite.com/yabb2/YaBB.pl?custompage=mypage 


Roderunner wrote on Dec 18th, 2010 at 9:27pm:
Also in my admin page,  it doesn't show custompage on the left pain, only when I click installed mods on the left pane will it show it to me in the right pane.  Also in the admin panel, there are no settings,it just says installed.

This really sounds like you haven't uploaded the files properly or to their correct directories. Double check that you have kept the file structure and uploaded all files that have been edited as well as the ones included with the Mod.

Roderunner wrote on Dec 18th, 2010 at 9:27pm:
I have the add link, edit link in the top bar, and I think this is a yabb feature, not sure, but when ever I add a link, it comes up twice, not once.

Yep - it is a YaBB feature. I have never seen it act in the way that it adds the tab twice though, so have no idea why that is happening. Undecided
  
Back to top
 
IP Logged
 
Roderunner
New Member
*
Offline


I Love YaBB 2!

Posts: 27
Joined: Dec 18th, 2010
Re: Custom Pages for YaBB 2.5AE - V.0.5.1
Reply #5 - Dec 19th, 2010 at 3:28am
Print Post  
Hmmmmm.

So here is an example if a link I have.
http://%my domain%/cgi-bin/yabb2/YaBB.pl?custompage=IPR
When I try to go there, I get a message on my main page that says IP does not exist.
But the txt file for this custompage is at
http://%my domain%/cgi-bin/yabb2/Variables/pages/IPR.txt

But I also noticed trying to call this file, It says it doesn't exist, yet this is the path.  

Permissions all the way down the url path in cpanel and filezilla show 755, no 777's
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Custom Pages for YaBB 2.5AE - V.0.5.1
Reply #6 - Dec 19th, 2010 at 3:35am
Print Post  
Oh, you haven't actually created any new pages since upgrading and re-installing the Mod have you? Are you just trying to call your pages which you had pre-2.4?

Have you got a back-up of your old forum which the custom pages were on?
  
Back to top
 
IP Logged
 
Roderunner
New Member
*
Offline


I Love YaBB 2!

Posts: 27
Joined: Dec 18th, 2010
Re: Custom Pages for YaBB 2.5AE - V.0.5.1
Reply #7 - Dec 19th, 2010 at 3:42am
Print Post  
Yes, I'm trying to call the pre 2.4 custompages already created with the newly installed mod.

Yes,  I have a full copy that I downloaded just before upgrading, but the custom pages didn't work in 2.4, it died when upgrading to 2.4 and I couldn't figure it out even after re-installing the mod.
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Custom Pages for YaBB 2.5AE - V.0.5.1
Reply #8 - Dec 19th, 2010 at 3:49am
Print Post  
Well, I'm really sorry to have to say this, but if you haven't got a back-up of your old 'Variables' folder from the forum which Custom Pages was installed on, unfortunately there's no way of getting them back.

But, just to make sure - take a look in your 'yabb2/Variables/' folder. If the pages are there, then you should have a 'Pages' folder within the 'Variables' folder with text file for your pages inside. You should also have a 'custompage.txt' file in there.

If they are not in your Variables folder and you haven't got a copy of your old forum, then I'm afraid you won't be able to get them back.

If by any chance you have got a back-up, all you need to do is upload the 'Pages' folder and 'custompage.txt' to the Variables folder and it should work.
  
Back to top
 
IP Logged
 
Roderunner
New Member
*
Offline


I Love YaBB 2!

Posts: 27
Joined: Dec 18th, 2010
Re: Custom Pages for YaBB 2.5AE - V.0.5.1
Reply #9 - Dec 19th, 2010 at 3:53am
Print Post  
All perms are 755, so I'm not sure why I'm getting the errors below.  Also,  the variable/pages are duplicated thru both the www and public_html from the root of the site.  Not sure why it isn't just looking in www


[2010-12-18 21:26:39]: error: directory is writable by others: (/home/%my domain%/public_html/cgi-bin/yabb2/Variables/pages)

[Sat Dec 18 21:37:05 2010] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: /home/%my domain%/public_html/cgi-bin/yabb2/Variables/pages/IPR.txt

[Sat Dec 18 21:35:44 2010] [error] [client 24.19.226.146] Premature end of script headers: /home/nwforddi/public_html/cgi-bin/yabb2/Variables/pages/IPR.txt
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Custom Pages for YaBB 2.5AE - V.0.5.1
Reply #10 - Dec 19th, 2010 at 3:58am
Print Post  
Derek Barnstorm wrote on Dec 19th, 2010 at 3:49am:
But, just to make sure - take a look in your 'yabb2/Variables/' folder. If the pages are there, then you should have a 'Pages' folder within the 'Variables' folder with text file for your pages inside. You should also have a 'custompage.txt' file in there.

Have you checked the above? Are the files actually there?

Not too sure about the warnings. Did you upload all of the files in ASCII mode?

Roderunner wrote on Dec 19th, 2010 at 3:53am:
Also,  the variable/pages are duplicated thru both the www and public_html from the root of the site.  Not sure why it isn't just looking in www

Sorry, not too sure what you mean?
  
Back to top
 
IP Logged
 
Roderunner
New Member
*
Offline


I Love YaBB 2!

Posts: 27
Joined: Dec 18th, 2010
Re: Custom Pages for YaBB 2.5AE - V.0.5.1
Reply #11 - Dec 19th, 2010 at 4:01am
Print Post  
Hmmm..  Yes, I have the txt files and some files called filename.count in my variables/pages directory, then in the variables folder I have a file called customepage.txt with the following inside the file.

securitycode|How to find Security Code|||1|
cps|CPS Troubleshooting|||1|
07showandshine|2007 NWFD Show and Shine|||1|
hpop|HPOP Guide|1||1|
IPR|IPR Rebuild|||1|
reardiff|Aluminum Rear Diff Cover|1||1|
60turboguide|6.0 Turbo Guide|||1|
73turboguide|7.3 Turbo Guide|||1|
200360turbo|2003.25 6.0 Turbo Guide|||1|
9497enginept2|94-97 Powerstroke Engine Part-2|||1|
9497enginept1|94-97 Powerstroke Engine Part-1|||1|
9497enginept3|94-97 Powerstroke Engine Part-3|||1|
9497enginept4|94-97 Powerstroke Engine Part-4|||1|
9899enginept1|98-99.5 Powerstroke Engine Part-1|||1|
9899enginept2|98-99.5 Powerstroke Engine Part-2|||1|
9899enginept3|98-99.5 Powerstroke Engine Part-3|||1|
995update|99.5 Powerstroke Update|||1|
acronyms|Acronyms|||1|
history|History of NWFD|||1|
pdf|pdf|||1|
lights|lights|||1|
calendar|calendar|0|0|1|0
events|Events|||1|
tech|tech|1||1|
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Custom Pages for YaBB 2.5AE - V.0.5.1
Reply #12 - Dec 19th, 2010 at 4:06am
Print Post  
Roderunner wrote on Dec 19th, 2010 at 4:01am:
Hmmm..  Yes, I have the txt files and some files called filename.count in my variables/pages directory, then in the variables folder I have a file called customepages.txt with the following inside the file.

Okay. This is great! At least we know nothing has been lost.

Try keeping the actual 'Pages' folder at 755, but change all of the files in that folder to something like 644...
  
Back to top
 
IP Logged
 
Roderunner
New Member
*
Offline


I Love YaBB 2!

Posts: 27
Joined: Dec 18th, 2010
Re: Custom Pages for YaBB 2.5AE - V.0.5.1
Reply #13 - Dec 19th, 2010 at 4:18am
Print Post  
I also found in custompage.pl located in my sources folder

states
----------------------
           } else {
                 if($useyabbc == 1) {
                       $message = $html;
                       require "$sourcedir/YaBBC.pl";
                       &DoUBBC;
                       $ubbchtml = $message;
                       $yymain .=qq~ $ubbchtml~;
                 } else {
--------------
I do not have a file called YaBBC.pl in my variables directory.
I have one in my cgi-bin\Yabb2\ folder though.
Is this required?
  
Back to top
 
IP Logged
 
Roderunner
New Member
*
Offline


I Love YaBB 2!

Posts: 27
Joined: Dec 18th, 2010
Re: Custom Pages for YaBB 2.5AE - V.0.5.1
Reply #14 - Dec 19th, 2010 at 4:19am
Print Post  
Derek Barnstorm wrote on Dec 19th, 2010 at 4:06am:
Try keeping the actual 'Pages' folder at 755, but change all of the files in that folder to something like 644

Derek Barnstorm wrote on Dec 19th, 2010 at 4:06am:
Try keeping the actual 'Pages' folder at 755, but change all of the files in that folder to something like 644...



OK, I'll try that real quick. and reply.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 3 4
Send TopicPrint