Jump to content


Photo

Turn your Suite into a website


Best Answer Con, 07 June 2012 - 02:00 PM

Notes (20120607):

  • Step d4 - Sometimes there is no need to manually rebuild the FURL Cache (in which case, the message will not appear, so ignore the step).
  • Step e4 - An .htaccess might not exist at that location yet (in which case, create the file first, which can be blank).
Go to the full post


  • Please log in to reply
59 replies to this topic

#21 msg

msg

    Advanced Member

  • +Clients
  • 275 posts

Posted 16 June 2012 - 05:09 PM

System Settings > Applications and Modules >Manage Applications and Modules

You can move them around, just look at the left of each tab, grab it and drag it.

On the same page, click on "Edit Application Details" on the side (It's a pencil icon!) and change it where it says "Application Public Title"




Thank you very much it is real appreciate

#22 paul banks

paul banks

    IPB Newbie

  • +Clients
  • 45 posts

Posted 03 July 2012 - 06:52 AM

I've created a constants.php and my home is now css.
Everything ok but when I click on my banner is always the goal, the CSS home page.
how can I change when I click on the banner to get to the index page not css?

Thank you very much

#23 Nevo

Nevo

    Webmaster

  • +Clients
  • 796 posts

Posted 03 July 2012 - 08:45 AM

I've created a constants.php and my home is now css.
Everything ok but when I click on my banner is always the goal, the CSS home page.
how can I change when I click on the banner to get to the index page not css?

Thank you very much


You can change this easily by editing the skin of choice by going to the ACP -> Look & Feel - > Edit Skin - > Edit Template DefaultHeader under Global Template and change the URL to your index page instead of the default.

Did you like my Post? Did I Help you anyway with the contents of my Post? Well Than...

Please say Thank you by Pressing the Button on the right side of the my Post:  LikeThis.png


#24 paul banks

paul banks

    IPB Newbie

  • +Clients
  • 45 posts

Posted 03 July 2012 - 11:36 AM

You can change this easily by editing the skin of choice by going to the ACP -> Look & Feel - > Edit Skin - > Edit Template DefaultHeader under Global Template and change the URL to your index page instead of the default.




it worked many thanks :sorcerer:

#25 Clayyhouse

Clayyhouse

    IPB Newbie

  • +Clients
  • 7 posts

Posted 20 July 2012 - 12:15 AM

are there any tortorials for any of this..I really dont know where to find these places.

Where can i find someone to help me get started.. seriously.

#26 Con

Con

    XR3X

  • +Clients
  • 1,581 posts

Posted 31 July 2012 - 06:42 AM

are there any tortorials for any of this..I really dont know where to find these places.

Where can i find someone to help me get started.. seriously.


Can you be more specific? :baby:
sig.png

#27 wombat.sg

wombat.sg

    IPB Newbie

  • +Clients
  • 46 posts

Posted 04 August 2012 - 07:45 AM

Thanks for this tutorial, it helped heaps.

One question I have is if I want the forum to be located at forums.mydomain.com instead of mydomain.com/forum, what are the steps to go about doing it ?

Also, how do I adjust the breadcrumbs. After following this guide, when I go to my homepage, the breadcrumbs say:
But when I go to the forum, I get
Invision Power Board

How can I make the Homepage have the smaller breadcrumb and the forum with:
Invision Power Board -> Forum

#28 Expert Pixels

Expert Pixels

    IPB Member

  • +Clients
  • 54 posts

Posted 06 August 2012 - 03:30 PM

a)

Followed these steps, but would like to remove "page/index.html" from the front page.. am i missing something ?

Thanks for any assistance here, been a while since i worked with IPB.

Regards, Darren

#29 DoMMike

DoMMike

    IPB Newbie

  • +Clients
  • 1 posts

Posted 09 August 2012 - 05:34 PM

This article will help turn your IPS Suite into a website, with forums to the side (e.g. at website.com/forums). In addition, it has steps on getting your site nicer, cleaner URLs that not only better reflect the site's structure but that are also more optimized for search engines.

Note: as with anything involving editing of the core files, take extreme care and keep a copy of the original form of anything that you edit. I accept no responsibility for any issues that result, including but not limited to issues that result from (i) not following the steps to the dot, or (ii) attempting these steps on versions of the software other than what is noted in the requirements. Otherwise, if your site meets the requirements set out below, then it should be ready for action.


QUESTIONS

  • How do I set IP.Content as my default app (e.g. instead of the Forums)?
  • How do I make a homepage - and other unique pages - using IP.Content?
  • How do I make the homepage - and other unique pages - look 'separate' or completely different from the rest of the Suite?
  • How do I make the Forums appear at website.com/forums? And what about the other apps?
  • How do I get cleaner URLs?

REQUIREMENTS
Before you get started, ensure that you have had the following IP.Suite applications installed in the root public directory at the desired domain:
  • IP.Board (note: these steps have only been tested on 3.2.X and 3.3.X)
  • IP.Content (note: these steps have only been tested on 2.2.X and 2.3.X)

ANSWERS
In each of the answers below, italicized unbolded text denote locations, bolded italicized text denote settings, and bolded unitalicized text denote values. Additionally, website.com refers to your website's root domain, public_html refers to your website's root public directory (the files of which should be accessible via FTP), and ACP refers to your IPS Suite's Admin CP.


a) How do I set IP.Content as my default app (e.g. instead of the Forums)?
  • If you are using IPB 3.3.X or above, skip to step 5 below, ignoring steps 2 through 4.
  • Download /public_html/initdata.php and make a copy of it.
  • Open one copy of that file, and in it, find IPS_DEFAULT_PUBLIC_APP. That variable would be set to 'forums' by default. Change 'forums' or whatever it is currently set to, to 'ccs'.
  • Then save the file, and upload it to replace the original at the location specified in step 2.
  • Find /public_html/constants.php if it already exists. If it doesn't exist, first create a blank file called constants.php at that location. In either case, download the file and make a copy of it.
  • Open one copy of that file, and in it, define 'ccs' as the default public app if it hasn't already been defined there, e.g. by adding the following on its own line at the very top of the file:
    <?php define( 'IPS_DEFAULT_PUBLIC_APP', 'ccs' ); ?>
  • Then save the file, and upload it to replace the original at the location specified in step 5.

b) How do I make a homepage - and other unique pages - using IP.Content?
  • Successfully complete the steps in Question a, above.
  • Go to ACP > Other Apps [tab] > Content > Settings > Basic.
  • There, at Default home page, set the URL filename for the homepage. By default, this is set as index.html, so index.html will be referred to in the next steps. Save the settings.
  • Go to ACP > Other Apps [tab] > Content > Settings > Advanced.
  • There, at URL to index.php, input the URL where the gateway file (index.php by default) is located. Given that your Suite is in the root public directory, this would normally just be your site's root domain - e.g. http://website.com/. Save the settings.
  • Go to ACP > Other Apps [tab] > Content > Page Manager.
  • If there is already an index.html at the Site Root, rename it or move it to a sub-folder, unless you want to use that index.html as the homepage, in which case you should modify its settings according to the steps below.
  • Create an index.html at the Site Root if there isn't one currently there, via Add Page. If there is already one there, see the preceding step.
  • Select to edit the index.html that is located at the Site Root.
  • In the editing area for index.html, go to Step 1 | Page Details.
  • There, for the Page URL, ensure that it is index.html. Do not select any sub-folder in the adjacent dropdown box, but enable (check) Omit page name in URL.
  • Adjust the remaining settings as you wish, but [given that it's the homepage] ensure that the setting Available to ALL users is set to Yes.
  • Still in the editing area, go to Step 2 | Content, and add/edit content if you wish.
  • Continue through the editing process, until the page is saved.
  • Repeat steps 6 through 14 for any other unique page(s) that you wish to add to your site, except with accordance to the page(s).

c) How do I make the homepage - and other unique pages - look 'separate' or completely different from the rest of the Suite?
  • Successfully complete the steps in Question b, above.
  • Go to ACP > Other Apps [tab] > Content > Page Manager.
  • There, click on the name of the page and enter the Step 1 | Page Details editing area.
  • Set Use IPB Wrapper? as No if it isn't already. Due to this step, you are now responsible for the entire content of the page - including the template - instead of just content that would have appeared within the IPB Wrapper.
  • Still in the editing area, go to Step 2 | Content, and add/edit content if you wish. If you wish for this page to have a unique template that is not to be used on other IP.Content pages, incorporate the template into this area. If, instead, you wish for this page to share a template with other IP.Content pages, then it's recommended to use a Page Template instead (more on that in step 7).
  • Continue through the editing process, until the page is saved.
  • (Optional) If you wish to create a template that can be shared among different IP.Content pages, go to ACP > Other Apps [tab] > Content > Templates > Page Templates. There, click Add Template and edit the template as you desire, using Template Tags where appropriate. Then save the template. Finally, at ACP > Other Apps [tab] > Content > Page Manager, with regards to any page(s) that you wish to apply the template to, select the template in the Template to start with? dropdown box in the Step 1 | Page Details section in the editing area of the page(s), and save the page.

d) How do I make the Forums appear at website.com/forums? And what about the other apps?
  • Download /public_html/admin/applications/forums/extensions/furlTemplates.php and make a copy of it.
  • Open one copy of that file, and in it, replace each instance of index with forums or the name that you prefer.
  • Then save the file, and upload it to replace the original at the location specified in step 1.
  • Go to the ACP > System [tab] > My Control Panel > My Dashboard, where there should now be a message that the FURL Cache needs to be rebuilt, along with a link that can be clicked to do just that. Click the link to rebuild the FURL Cache.
  • Repeat steps 1 through 4 for any other app you wish to customize the name in the URL for, except with accordance to the particular app being adjusted for (e.g. in step 1, go to the location of the FURL template for that particular app rather than the FURL template for the forums).

e) How do I get cleaner URLs?
  • Go to ACP > System [tab] > System Settings > System [tab] > Search Engine Optimization.
  • There, set both Redirect to new friendly URL format and Use .htaccess mod_rewrite to Yes, and save the settings.
  • Below Use .htaccess mod_rewrite, there should be a message to 'add a file called .htaccess with the following contents.' Copy the contents that it is referring to, into a text file.
  • Download /public_html/.htaccess and make a copy of it.
  • Open one copy of that file, and in it, paste the copied contents from step 3, to the top of the .htaccess file.
  • Then save the file, and upload it to replace the original at the location specified in step 4.
  • Go to ACP > Other Apps [tab] > Content > Settings > Advanced.
  • There, set Use .htaccess mod_rewrite to Yes, and save the settings.


Feel free to post any questions or notes.



#30 Con

Con

    XR3X

  • +Clients
  • 1,581 posts

Posted 17 August 2012 - 05:01 AM

Thanks for this tutorial, it helped heaps.

One question I have is if I want the forum to be located at forums.mydomain.com instead of mydomain.com/forum, what are the steps to go about doing it ?


That would involve subdomains, which there should be tutorials for floating around the internet.



Also, how do I adjust the breadcrumbs. After following this guide, when I go to my homepage, the breadcrumbs say:

But when I go to the forum, I get
Invision Power Board

How can I make the Homepage have the smaller breadcrumb and the forum with:
Invision Power Board -> Forum


My homepage atm has only the Page Name of XR3X shown in the breadcrumbs. I applied sections a through e in the guide, disabled the setting Show 'Pages' navigation bar entry, and enabled the setting Remove default forums navigation. As for the forums, try changing the Community name value.



a)

Followed these steps, but would like to remove "page/index.html" from the front page.. am i missing something ?

Thanks for any assistance here, been a while since i worked with IPB.

Regards, Darren


Try applying a, b, and e.
sig.png

#31 wombat.sg

wombat.sg

    IPB Newbie

  • +Clients
  • 46 posts

Posted 17 August 2012 - 05:24 AM

That would involve subdomains, which there should be tutorials for floating around the internet.


Making a subdomain is the easy bit. I'm trying to understand if I can various menu items (forums, members, chat) resolve to subdomains (forums. Members. chat.) instead of how it is now (/forums, /members, /chat)


#32 Con

Con

    XR3X

  • +Clients
  • 1,581 posts

Posted 17 August 2012 - 05:58 AM

Making a subdomain is the easy bit. I'm trying to understand if I can various menu items (forums, members, chat) resolve to subdomains (forums. Members. chat.) instead of how it is now (/forums, /members, /chat)


Not sure whether that's currently feasible with one installation without significant editing. I recommend creating a new thread dedicated to that enquiry.

I've also found some relevant discussions:
http://community.inv...idomain-system/
http://community.inv...in#entry1972376
http://community.inv...help-with-link/
sig.png

#33 wombat.sg

wombat.sg

    IPB Newbie

  • +Clients
  • 46 posts

Posted 17 August 2012 - 07:57 AM

Thanks. Reading it through it doesn't seem easy nor does it help SEO.

I think I'll stick wit your instructions and leave it at that for now.

Thanks.
  • Con likes this

#34 Con

Con

    XR3X

  • +Clients
  • 1,581 posts

Posted 17 August 2012 - 04:12 PM

Thanks. Reading it through it doesn't seem easy nor does it help SEO.

I think I'll stick wit your instructions and leave it at that for now.

Thanks.


You're welcome.
sig.png

#35 Dmacleo

Dmacleo

    Needs Life

  • +Clients
  • 6,538 posts

Posted 18 August 2012 - 07:45 PM

I have tried that using single install and with promenu or something like that I could hack it to kind work by using url to the forum, the issue is breadcrumbs would not follow right.
am thinking there is a way using rewrites (htaccess or apache conf file) but I did not follow up on.
but I am curious about it again, I may try.

Dmac
 


#36 avrelob`

avrelob`

    Advanced Member

  • Visitors
  • PipPipPipPip
  • 365 posts

Posted 24 August 2012 - 06:26 PM

Hi, I went to change the forum link to www.domain.com/community, but now http://domain.com/index.php?/community

How do I remove the index.php? part

#37 Rimi

Rimi

    Strip Me

  • +Clients
  • 5,774 posts

Posted 24 August 2012 - 06:42 PM

Hi, I went to change the forum link to www.domain.com/community, but now http://domain.com/index.php?/community

How do I remove the index.php? part

Use the .htaccess settings.

#38 avrelob`

avrelob`

    Advanced Member

  • Visitors
  • PipPipPipPip
  • 365 posts

Posted 24 August 2012 - 07:02 PM

Use the .htaccess settings.


Okay, i'm trying to add a .htaccess file in public_html but it says that the file already exists. I can't find it anywhere, it doesn't seem to show in the list of files. Do you know why?

#39 Dmacleo

Dmacleo

    Needs Life

  • +Clients
  • 6,538 posts

Posted 24 August 2012 - 07:19 PM

cause you are not showing hidden files

Dmac
 


#40 avrelob`

avrelob`

    Advanced Member

  • Visitors
  • PipPipPipPip
  • 365 posts

Posted 24 August 2012 - 07:31 PM

cause you are not showing hidden files

Where do I go to show them? I don't see an option




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users