FusionBB
FusionBB Review (large)
Recent Members
Welcome them to our community!
FusionBB SWAG!

FusionBB golf shirts, t-shirts, mousepads and more.

Tagging
FusionBBDev Recent Topics
Username Post: Re-assign 'Main' ie the portal        (Topic#11088)
sb1963
FusionBB Fanatic
Total Posts: 1636
*
Location: UK
Average Post Ranks%:                       
 
03-12-09 03:43 PM - Post#80679    



After a good view months being live with FBB I've decided I don't need the portal. So today I thought I was being clever & set up the forum index as the main page via the admin panel & renamed 'Forums' to 'Home' & 'MAIN' to 'About us' & moved that button over to the right hand side of the nav bar. I've changed the language strings in common.php so these show correctly named in the breadcrumbs bar

BUT....
Is there way to make 'Forum Index' (aka Home) in the breadcrumbs the top level instead of 'Main Index'. I would be happy to lose 'Main Index' all together.

If not I will have to make the portal a basic 'Enter Here' page & create a custom 'About Us'


 
Stephen
Mostly Harmless
Total Posts: 2514
*
Birthday: 11-26 
Location: San Deigo
Average Post Ranks%:                       
 
03-12-09 05:46 PM - Post#80680    


    In response to sb1963

in includes > common.php

Code:

          // Setup the breadcrumb links         $this->breadcrumblist = "<span>" . $lang_str['BC_LOCATION'] . "</span>  ";         if (!$this->meta_refresh || defined('NO_ONLINE')) {             if(defined('IS_MAIN')) {                 $this->breadcrumblist .= $lang_str['MAIN_INDEX'];             }             else {                 //$this->breadcrumblist .= "<a href='{$conf['portal_url']}/index.php?$FBB_SESS'>{$lang_str['MAIN_INDEX']}</a> » ";                 if(defined('IS_INDEX')) {                     $this->breadcrumblist = $lang_str['FORUM_INDEX'];                 }                 else {                     $this->breadcrumblist .= "<a href='{$conf['full_url']}/".FORUM_INDEX."?$FBB_SESS'>{$lang_str['FORUM_INDEX']}</a>";                 }             }  





i commented out the one line and also removed the period from in front of the = $this->breadcrumblist .= $lang_str['FORUM_INDEX'];
Stephen Dolenski
FileMaker 7 Certified Developer
FileMaker 8 Certified Developer
FM Forums.com Administrator



 
sb1963
FusionBB Fanatic
Total Posts: 1636
*
Location: UK
Average Post Ranks%:                       
 
03-12-09 07:40 PM - Post#80683    


    In response to Stephen

Thankyou! Just the job!

Maybe worth a feature request to make the portal selectable by admin & thus the changes made by your common.php edit?


At a slight tangent - I'm amazed at the number of forums running FBB that run a default portal with default welcome particle box

  • Quote:
Welcome!

You are viewing the default welcome message. This message can be customized by editing the portal_index language file located in the /languages directory. Have fun and enjoy the next generation in Community Software:



I know this is only viewable to guests but it looks naff & I think reflects poorly on FBB IMHO. Maybe a prompt for the admin to change this message during set-up?


 
Jason Stix Buckley
FusionBB Fanatic
Total Posts: 1884
*
Location: Concord NC USA
Average Post Ranks%:                       
 
03-13-09 03:08 PM - Post#80708    


    In response to sb1963

I am the opposite.

For a few years, I have had the "main" link redirect to the forum. I did this on a redirect in the cpanel on the server end. Now, I am looking to actually add a portal from page, but make it more "professional" looking, so the site entrance looks good.

I, like you, am amazed many people still have the welcome. I think admins forget because they are logged in all the time, so they do not see it.
Jason "Stix" Buckley
Owner / Founder
Stix Fx Entertainment
www.stixfx.com


 
Icon Legend Permissions & Sharing Options Topic Options
Print Topic


1080 Views
Calendar
SMTWTFS
 1234
567891011
12131415161718
19202122232425
262728293031 
Current Quote
"Looks pretty neat so far!!"
~ Lori
FusionBB™ Version 3.2 | ©2003-2013 InteractivePHP, Inc.
Execution time: 0.113 seconds.   Total Queries: 106   Zlib Compression is on.
All times are (GMT-4). Current time is 03:14 AM
Top