Page Index Toggle Pages: 1 [2] 3 
Topic Tools
Very Hot Topic (More than 25 Replies) Need to edit a file (Read 7,052 times)
Miss Emily
Junior Member
**
Offline



Posts: 93
Re: Need to edit a file
Reply #15 - Jun 19th, 2011 at 10:15pm
Post Tools
Derek Barnstorm wrote on Jun 19th, 2011 at 8:42pm:
Well, you obviously can't have two 'yabbfiles' directories, so you will need to change it.


This information should have been provided on the page for those who wish to upgrade. You have to assume that people don't know these things. So renaming the "yabbfiles" directory to anything for version 2.5 won't cause any errors I understand.


Derek Barnstorm wrote on Jun 19th, 2011 at 8:42pm:
You'll need to stick it into maintenance mode before you copy your files across, otherwise someone might post or make some other change when you are copying them.


True, but this can be done later. The important thing is to get the new forum to function properly and perform tests. Once I'm satisfied then I can put the old forum into maintenance mode when I'm ready to copy files across.
  
Back to top
 
IP Logged
 
Miss Emily
Junior Member
**
Offline



Posts: 93
Re: Need to edit a file
Reply #16 - Jun 20th, 2011 at 5:04am
Post Tools
Scripts can be run outside my cgi-bin folder. I would like to run YaBB from my root domain (www.whatever.com). Do I still need to upload files into the cgi-bin and yabbfiles directories for example.

How do I go about setting this up, do I follow the same procedures in the Quick Guide?

Any help would be really appreciated, thank you.
  
Back to top
 
IP Logged
 
Derek Barnstorm
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline



Posts: 1,269
Location: United Kingdom

None
Re: Need to edit a file
Reply #17 - Jun 20th, 2011 at 2:15pm
Post Tools
Just upload the 'yabb2' folder to your 'public_html' directory - the same place as 'yabbfiles'...
  
Back to top
 
IP Logged
 
Miss Emily
Junior Member
**
Offline



Posts: 93
Re: Need to edit a file
Reply #18 - Jun 20th, 2011 at 6:54pm
Post Tools
Thanks for the information Derek. So you mean I need to create a "yabb2" and "yabbfiles" directory first?

Also, usually the landing page of the forum is YaBB.cgi. How do you make index.html as the landing page/main page of the forum?
  
Back to top
 
IP Logged
 
Derek Barnstorm
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline



Posts: 1,269
Location: United Kingdom

None
Re: Need to edit a file
Reply #19 - Jun 20th, 2011 at 7:11pm
Post Tools
Miss Emily wrote on Jun 20th, 2011 at 6:54pm:
So you mean I need to create a "yabb2" and "yabbfiles" directory first?

You do it exactly the same as you would do as if it was in the cgi-bin, but you place the 'yabb2' folder in the 'public_html' directory instead. So both 'yabb2' and 'yabbfiles' are in the same place. Don't forget that if you already have a 'yabbfiles' folder there though, you still need to rename it.

Miss Emily wrote on Jun 20th, 2011 at 6:54pm:
Also, usually the landing page of the forum is YaBB.cgi.

I'd suggest to try running it as .pl first - it will save making quite a few edits if you can.

Miss Emily wrote on Jun 20th, 2011 at 6:54pm:
How do you make index.html as the landing page/main page of the forum?

You can't really. There are ways to do it with .htaccess, but totally hiding YaBB.pl is now unfortunately against the YaBB license (for the record, this is something that I disagree with). However, there is already an 'index.html' in the 'yabb2' folder, so it is already built in to redirect you when you don't include YaBB.pl in the URL - as you can see here for example:

http://ibrainstorm.net/modemos/forum/


« Last Edit: Jun 20th, 2011 at 7:12pm by Derek Barnstorm »  
Back to top
 
IP Logged
 
Derek Barnstorm
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline



Posts: 1,269
Location: United Kingdom

None
Re: Need to edit a file
Reply #20 - Jun 20th, 2011 at 7:22pm
Post Tools
Miss Emily wrote on Jun 20th, 2011 at 5:04am:
I would like to run YaBB from my root domain (www.whatever.com)

Oh, sorry. If you wanted to do this, so that ultimately the address would be:

www.whatever.com/YaBB.pl

Then you would need to upload all of the files in the 'yabb2' folder directly to the 'public_html' directory. Then you would be directed to the forum right from the domain name...
  
Back to top
 
IP Logged
 
Miss Emily
Junior Member
**
Offline



Posts: 93
Re: Need to edit a file
Reply #21 - Jun 20th, 2011 at 7:32pm
Post Tools
So you're saying I don't create a "yabb2" directory, but only "yabbfiles" directory?

.pl files doesn't work on my server, I've tried it with other perl programs.

www.whatever.com/YaBB.cgi is not really the root domain, but it's shorter.
  
Back to top
 
IP Logged
 
Derek Barnstorm
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline



Posts: 1,269
Location: United Kingdom

None
Re: Need to edit a file
Reply #22 - Jun 20th, 2011 at 7:50pm
Post Tools
Miss Emily wrote on Jun 20th, 2011 at 7:32pm:
So you're saying I don't create a "yabb2" directory, but only "yabbfiles" directory?

Yep. All of the files in the 'yabb2' folder go directly to your root directory.

Miss Emily wrote on Jun 20th, 2011 at 7:32pm:
www.whatever.com/YaBB.cgi is not really the root domain, but it's shorter.

The 'index.html' will redirect it though, so you won't need to include YaBB.cgi in the URL. Or if you can run .htaccess on your server then you could use that instead - which would work more smoothly. Take a read through this for a few examples of redirecting with .htaccess:

http://www.yabbforum.com/codex/YaBB.pl?num=1208533906

Also note, that the 'index.html' files in the package include the 'YaBB.pl' extension:

Code (HTML)
Select All
<html>
    <head>
        <meta http-equiv="refresh" content="0; url=YaBB.pl" />
    </head>
    <body>
        <a href="YaBB.pl">Go to the site forum.</a>
    </body>
</html>  


So if you run it as CGI, then you will have to open these in a text editor and change them.
« Last Edit: Jun 20th, 2011 at 7:51pm by Derek Barnstorm »  
Back to top
 
IP Logged
 
Miss Emily
Junior Member
**
Offline



Posts: 93
Re: Need to edit a file
Reply #23 - Jun 20th, 2011 at 8:03pm
Post Tools
Okay thanks Derek, I'll try it. Does the landing page of the forum have to be called "YaBB.cgi", or is it possible to rename it to something else?
  
Back to top
 
IP Logged
 
Derek Barnstorm
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline



Posts: 1,269
Location: United Kingdom

None
Re: Need to edit a file
Reply #24 - Jun 20th, 2011 at 8:12pm
Post Tools
Miss Emily wrote on Jun 20th, 2011 at 8:03pm:
Does the landing page of the forum have to be called "YaBB.cgi", or is it possible to rename it to something else?

It is possible, and it is actually very easy, but unfortunately I can't tell you how to do it, because like I said in my above post, it is now against the YaBB license to rename or totally hide YaBB.pl.

One of the old developers made a change in the code to make it possible to change YaBB.pl to anything you want to a couple of years ago, but then the license changed so you now have to pay $50 for the privilege.

http://www.yabbforum.com/licenses.php

If you have any objections to this, then have a read of this thread and please feel free to post your opinions there.

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


« Last Edit: Jun 20th, 2011 at 8:13pm by Derek Barnstorm »  
Back to top
 
IP Logged
 
Miss Emily
Junior Member
**
Offline



Posts: 93
Re: Need to edit a file
Reply #25 - Jun 20th, 2011 at 8:45pm
Post Tools
That's something I'll keep in mind.

Is $50 a one time fee for life. Even if I upgrade to a new version in the future, I don't need to pay again?
  
Back to top
 
IP Logged
 
Derek Barnstorm
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline



Posts: 1,269
Location: United Kingdom

None
Re: Need to edit a file
Reply #26 - Jun 20th, 2011 at 8:56pm
Post Tools
I think it just covers the major releases, so it would just cover you for the 2.* versions and you would then have to pay again if you upgraded to YaBB 3 in the future. But you would have to contact Corey (the project leader) about that.

Quote:
Buying a license gives you the right to remove the copyright at the bottom of one forum on your website and/or rename/hide the main executable file (YaBB.pl) of the forum, although it does not give you priority support. However, we will help you with the aforementioned items. Licenses apply for the major version of YaBB you purchase it for and any service pack or upgrade that may exist in the future for that major version.

http://www.yabbforum.com/licenses.php
« Last Edit: Jun 20th, 2011 at 9:02pm by Derek Barnstorm »  
Back to top
 
IP Logged
 
Miss Emily
Junior Member
**
Offline



Posts: 93
Re: Need to edit a file
Reply #27 - Jun 21st, 2011 at 1:25am
Post Tools
How can I get in touch with him?

I managed to install version 2.5 finally. Where can I get the 2.3 template that you mentioned? I don't like the greyish colour of the page. Blue is more clear to the eye.

And the default number of attachment is 1. How do I enable more attachments?

Thank you.
  
Back to top
 
IP Logged
 
Derek Barnstorm
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline



Posts: 1,269
Location: United Kingdom

None
Re: Need to edit a file
Reply #28 - Jun 21st, 2011 at 1:53am
Post Tools
Miss Emily wrote on Jun 21st, 2011 at 1:25am:
How can I get in touch with him?

You could send him a PM. He's the third one down in the member list - Corey Chapman.

Or you could just order it from the bottom of the license page: http://www.yabbforum.com/licenses.php

Miss Emily wrote on Jun 21st, 2011 at 1:25am:
I managed to install version 2.5 finally.

Great! Smiley

Miss Emily wrote on Jun 21st, 2011 at 1:25am:
Where can I get the 2.3 template that you mentioned? I don't like the greyish colour of the page. Blue is more clear to the eye.

I've attached the files that you need to this post. Just overwrite yours with these - there's a chance that the CSS file could have been cached though, so you may have to refresh your browser a few times after.

Miss Emily wrote on Jun 21st, 2011 at 1:25am:
And the default number of attachment is 1. How do I enable more attachments?

Admin Center => Advanced Settings => File Attachments:

Number of file attachments allowed in Posts:


Edited:
Edited to remove attachment.


« Last Edit: Jun 21st, 2011 at 11:14am by Derek Barnstorm »  
Back to top
 
IP Logged
 
Miss Emily
Junior Member
**
Offline



Posts: 93
Re: Need to edit a file
Reply #29 - Jun 21st, 2011 at 2:59am
Post Tools
Thank you for your help.

The display is still the same. The templates seems to be from YaBB 2.5 according to the header?
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 3 
Topic Tools