Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Page Manager Problems.../...Pages w/ Forum Look
This discussion has been closed.
Comments
btw: is that my improved sidepanel extension I see on your vanilla board? ^.^
For example, if I'm on the search tab, here's where the custom tab points to:
http://mysite.com/search.php?Page=custompage
Which means when you click on the custom tab, it displays the page you are coming from, except for the discussion page.
So are you saying that you want to have the same links in your sidepanel on your discussions page be displayed on your custom pages too?
Example
* Crazyotaku
* CommentTime20 hours ago edited
yep there's a quick fix that you can use in all your extensions that require you to add the pages you want it to show up on manually. Here's a link to a discussion I made about it that explains how to do it. http://lussumo.com/community/discussion/4399/applying-extensions-to-multiple-custom-pages-with-ease/#Item_11
"i'm not sure what this older version that you speak of is." Hello... the old pagemanager version, it was just updated on November 24th to 2.4.1. The old version is from September 30th which was 2.3.1.
$BadPanelItems = array($Context->GetDefinition('Feeds'), $Context->GetDefinition('DiscussionFilters')); while(list($ky, $v) = each($Panel->PanelElements)) if(in_array($v['Key'], $BadPanelItems)) unset($Panel->PanelElements[$ky]); reset($Panel->PanelElements);
Maybe this is just a temp fix, I dont have any more time right now to mess with it
((((EDITED DISCUSSION NAME TO WHAT IT REALLY IS))))
<?php return array(0 => array('tab' => 'Welcome', 'page' => 'welcome', 'url' => '', 'html' => '<br><p align="center"><font size="4" color="#3366CC">A Big Thank You To Everyone Who Has Come Up To The Airport Beach To Watch Our Wednesday Night Shows</font></p> <center> <script src="http://voap.weather.com/weather/oap/54601?template=GENXH&par=null&unit=0&key=849ed6e17cdf728d8743875c1d33e868"> </script> </center> <p align="center"> <a href="http://www2.mvr.usace.army.mil/WaterControl/stationinfo2.cfm?sid=LACW3&fid=LACW3&dt=S"> <font color="#FF0000">Click Here for the La Crosse Area River Stage</font></a></p> <p align="center" style="margin-top: 0; margin-bottom: 0"> <font size="4" color="#3366CC">Welcome to the New Website</font></p> <p align="center" style="margin-top: 0; margin-bottom: 0"><font face="Arial" color="#3366CC">It will allow for easier updating and access...</font></p> <p align="center" style="margin-top: 0; margin-bottom: 0"><font color="#3366CC"> I would be glad to hear your input</font></p>', 'point' => 0, 'custom' => 1, 'attribs' => '', 'roles' => array(0 => 0, 1 => 2, 2 => 3, 3 => 4)), 1 => array('tab' => 'Discussions', 'page' => 'discussions', 'url' => 'http://rivercity.waterski.org/Forum/', 'html' => '', 'point' => 1, 'custom' => 0, 'attribs' => '', 'roles' => array(0 => 0, 1 => 2, 2 => 3, 3 => 4)), 2 => array('tab' => 'Categories', 'page' => 'categories', 'url' => 'http://rivercity.waterski.org/Forum/categories.php', 'html' => '', 'point' => 1, 'custom' => 0, 'attribs' => '', 'roles' => array(0 => 3, 1 => 4)), 3 => array('tab' => 'Search', 'page' => 'search', 'url' => 'http://rivercity.waterski.org/Forum/search.php', 'html' => '', 'point' => 1, 'custom' => 0, 'attribs' => '', 'roles' => array(0 => 3, 1 => 4)), 4 => array('tab' => 'Settings', 'page' => 'settings', 'url' => 'http://rivercity.waterski.org/Forum/settings.php', 'html' => '', 'point' => 1, 'custom' => 0, 'attribs' => '', 'roles' => array(0 => 0, 1 => 2, 2 => 3, 3 => 4)), 5 => array('tab' => 'Account', 'page' => 'account', 'url' => 'http://rivercity.waterski.org/Forum/account.php', 'html' => '', 'point' => 1, 'custom' => 0, 'attribs' => '', 'roles' => array(0 => 0, 1 => 2, 2 => 3, 3 => 4)), 6 => array('tab' => 'Members', 'page' => 'Members', 'url' => 'http://rivercity.waterski.org/Forum/extension.php?PostBackAction=Members', 'html' => '', 'point' => 1, 'custom' => 0, 'attribs' => '', 'roles' => array(0 => 0, 1 => 2, 2 => 3, 3 => 4)), 7 => array('tab' => 'Sponsors', 'page' => 'sponsors', 'url' => '', 'html' => '<br><center><a href="http://www.usawaterski.org/"> <font size="5"><img border="0" src="http://rivercity.waterski.org/images/USAwaterskilogo.jpg" width="218" height="103"></font></a> <a href="http://wwsf.waterski.org/"><font size="5"> <img SRC="http://rivercity.waterski.org/images/WWSFLogo.gif" ALT BORDER="0" width="282" height="115"></font></a></p> <p><a href="http://www.tranefcu.org"> <><><>Page Content Removed to lower character count<><><> <img height="88" src="http://rivercity.waterski.org/logo4.gif" width="279" border="0"></a></font></p> <p align="center"> </td> </tr> </table> <p align="center"> <a href="http://mercurymarine.com"><img border="0" src="http://rivercity.waterski.org/images/MercuryLogo.jpg" width="500" height="151"></a></p>', 'point' => 0, 'custom' => 1, 'attribs' => '', 'roles' => array(0 => 0, 1 => 2, 2 => 3, 3 => 4)), 8 => array('tab' => 'History', 'page' => 'history', 'url' => '', 'html' => '<br><p><font size="5" color="#3366CC" face="Arial"><b>The Beginning 1972...</b></font></p> <p><font color="#3366CC" face="Arial"><b><font size="5">In June of 1972, a group of La Crosse area skiers, interested in promoting the sport of water skiing, decided to form a team that was, and still is, known as the River City Water Ski Show Team. Their main goal was to <><><>Page Content Removed to lower character count<><><> Our community has been very good to us over the last 33 years and anything we can do to promote the La Crosse Area is just our way of telling the community how thankful we are.</b></font></p>', 'point' => 0, 'custom' => 1, 'attribs' => '', 'roles' => array(0 => 0, 1 => 2, 2 => 3, 3 => 4)), 9 => array('tab' => 'OLD Site', 'page' => 'old_site', 'url' => 'http://rivercity.waterski.org', 'html' => '', 'point' => 1, 'custom' => 1, 'attribs' => '', 'roles' => array(0 => 0, 1 => 2, 2 => 3, 3 => 4)), 10 => array('tab' => 'Contacts', 'page' => 'contacts', 'url' => '', 'html' => 'To be added', 'point' => 0, 'custom' => 1, 'attribs' => '', 'roles' => array(0 => 0, 1 => 2, 2 => 3, 3 => 4)), 10; ?>
For some reason or other the Custom Pages file looks like it was corrupted slightly. At the end, the )), 10; ?> is screwing it up. That last bit should be ))); ?> (note the extra parenthesis instead of the , 10 part). That shouldn't be happening, though... Did she/you do anything to the site/extension right before this happened?
EDIT: And the newer version should only display pages in the side panel that are hidden. If it's displaying all of them and none are hidden then something's wrong...
But was the 'crash' completely spontaneous? Did it just one day decide to not work? Surely there was some sort of cause...