Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product
Vanilla 2.6 is here! It includes security fixes and requires PHP 7.0. We have therefore ALSO released Vanilla 2.5.2 with security patches if you are still on PHP 5.6 to give you additional time to upgrade.

Official Basic Pages Feedback Thread

This discussion is related to the Basic Pages addon.
ShadowdareShadowdare π Moderator
edited August 2013 in Feedback

Basic Pages is an application that provides a way for you to create basic public pages for static content in Garden.

Post general questions and feedback about this application here.

Thank you for checking out the Basic Pages application!

Add Pages to Vanilla with the Basic Pages app | Publish articles with the Articles app

UnderDoghgtonightphreakTamavrijvlinderDaysjeongweeBleistivtperegrine
«13

Comments

  • phreakphreak VanillaAPP - White label iOS and Android App MVP
    edited August 2013

    I have to admit... cool shit! :)

    Great and good successor for Custom Pages as Mark wrote here:
    "Lets you add custom pages to your Vanilla forum. This is really a stop-gap solution until we can get something a little more user-friendly."

    Shadowdare
  • ShadowdareShadowdare π Moderator
    edited August 2013

    @phreak: Thank you for your comment! :)

    Version 1.1 of Basic Pages has been released.

    Notable changes include:

    • Options fly-out menu with a link to edit the page is now shown when viewing a page.
    • Setting for showing link to a page in header site menu is now saved in the database.
    • Small optimizations and extra HTML classes added for the pages.

    Updating from version 1.0:

    Simply download version 1.1, replace all the files of the application with the new ones, and re-enable the application.

    • If you get an error page when viewing your forum, you will need to run /utility/structure to add the new SiteMenuLink column to the database table.
    • If you already have pages with the header menu link setting checked in 1.0, you will need to recheck them.
    • The conf.php setting $Configuration['BasicPages']['Pages']['ShowSiteMenuLink'] is no longer used and you can remove it from your config if it still exists.

    Add Pages to Vanilla with the Basic Pages app | Publish articles with the Articles app

    UnderDog
  • hgtonighthgtonight ∞ · New Moderator

    I am really pleased by how this feels. It really feels like an organic add-on. It still feels Vanilla!

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

    Shadowdare
  • vrijvlindervrijvlinder Papillon-Sauvage MVP
    edited August 2013

    I have been mighty busy lately , but will have some pages as soon as possible .. Great app to have for sure.

    Mil Gracias !!

  • I installed 1.1 on a fresh install of Vanilla (Version 2.0.18.8), and after enabling it, I get the error below when I visit the Settings page for.

    Fatal error: Call to undefined method Gdn_Theme::Section() in /srv/data/web/vhosts/forge.cnfsd.org/htdocs/vanilla/applications/basicpages/controllers/class.pagessettingscontroller.php on line 268

    Have I missed a prerequisite? Would really appreciate any pointers.

  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    I think this has to do with the routings, try disabling and re enabling the plugin.

  • ShadowdareShadowdare π Moderator
    edited August 2013

    @Days said:
    I installed 1.1 on a fresh install of Vanilla (Version 2.0.18.8), and after enabling it, I get the error below when I visit the Settings page for.

    Fatal error: Call to undefined method Gdn_Theme::Section() in /srv/data/web/vhosts/forge.cnfsd.org/htdocs/vanilla/applications/basicpages/controllers/class.pagessettingscontroller.php on line 268

    Have I missed a prerequisite? Would really appreciate any pointers.

    Go ahead and remove the line that says Gdn_Theme::Section('Dashboard'); near the end of /basicpages/controllers/class.pagessettingscontroller.php. It is a new method added since Vanilla 2.1 development and it is not required for the application to work. Please let me know if the error goes away.

    Add Pages to Vanilla with the Basic Pages app | Publish articles with the Articles app

    UnderDog
  • ShadowdareShadowdare π Moderator
    edited August 2013

    @Days, never mind my last post. The Basic Pages application requires Vanilla 2.1b1 or newer.

    Version 1.2 of Basic Pages has been released.

    Changes include:

    • A requirement for Vanilla 2.1b1 or newer.
    • Page body formatting can be disabled, allowing the output of raw HTML.
    • Some minor bug fixes.

    Updating from version 1.1:

    Download version 1.2, replace all the files of the application with the new ones, and then re-enable the application.

    • If you get an error page when viewing a page, you will need to run /utility/structure to add the new RawBody column to the database table.
    • The file /basicpages/controllers/class.pagescontroller.php (that is pages with an 's') has been renamed and you can remove it from the /basicpages/controllers directory if it still exists.

    Add Pages to Vanilla with the Basic Pages app | Publish articles with the Articles app

    hgtonightUnderDog
  • ShadowdareShadowdare π Moderator
    edited August 2013

    Version 1.3 of Basic Pages has been released.

    Changes include:

    • Fix for the problem that comes up when you have text formatting plugins other than ButtonBar enabled that break the format value of the page body text box and don't load CSS assets in the admin dashboard. The HTML format is now used for all pages. A button bar is shown when creating and editing a page if you have the ButtonBar plugin enabled.
    • Added body class for each page.
    • Minor bug fix with page meta description tag.

    Updating from version 1.2:

    Download version 1.3, replace all the files of the application with the new ones, and then re-enable the application.

    Add Pages to Vanilla with the Basic Pages app | Publish articles with the Articles app

    hgtonight
  • ShadowdareShadowdare π Moderator
    edited August 2013

    Thank you, @hgtonight, for helping test the application before it was released.

    Add Pages to Vanilla with the Basic Pages app | Publish articles with the Articles app

    hgtonight
  • ShadowdareShadowdare π Moderator
    edited August 2013

    Version 1.3.1 of Basic Pages has been released.

    Fixed a bug for the page format not getting saved by adding a hidden field with the format value.

    Add Pages to Vanilla with the Basic Pages app | Publish articles with the Articles app

    hgtonight
  • DenisSDenisS My brain hurts Buriram ✭✭

    Will this ever be able to work on earlier Version 2.0.18.8. As the latest download on here and my Hosting with Bluehost is 2.0.18.8.

  • ShadowdareShadowdare π Moderator

    @DenisS said:
    Will this ever be able to work on earlier Version 2.0.18.8. As the latest download on here and my Hosting with Bluehost is 2.0.18.8.

    It won't be able to work on 2.0.18.8. I suggest giving Vanilla from the 2.1 branch on GitHub a try, and if you find no problems with your installation, then make a backup of your 2.0.18.8 install and upgrade to the 2.1 branch.

    Add Pages to Vanilla with the Basic Pages app | Publish articles with the Articles app

  • ShadowdareShadowdare π Moderator
    edited August 2013

    @Days and @DenisS, Basic Pages 1.4 will be released soon. It will support Vanilla 2.0 versions and has been tested on 2.0.18.8.

    Add Pages to Vanilla with the Basic Pages app | Publish articles with the Articles app

  • ShadowdareShadowdare π Moderator
    edited August 2013

    Version 1.4 of Basic Pages has been released.

    Changes include:

    • Vanilla 2.0 is now supported. This release have been tested on 2.0.18.8.
    • Every page has a proper canonical URL now.

    Note: some extra functionality found in Vanilla 2.1+ cannot and will not be backported to 2.0 due to framework restrictions.

    Updating from version 1.3:

    Download version 1.4, replace all the files of the application with the new ones, and then re-enable the application.

    Add Pages to Vanilla with the Basic Pages app | Publish articles with the Articles app

    hgtonightvrijvlinder
  • DenisSDenisS My brain hurts Buriram ✭✭

    Thank Shadowdare, I installed a basic pages http://www.basicpages.org/ on one of my forums and was just writing the pages when i see yours here. I'll download the your 1.4 now and see how i get on.

  • DenisSDenisS My brain hurts Buriram ✭✭
    edited August 2013

    I have had a look at this, I have tried with HTML and basic text. I'm getting this error:
    Parse error: syntax error, unexpected '[' in /home3/hannahas/public_html/udon-expatsforum/applications/basicpages/controllers/class.pagecontroller.php on line 98

    This is line 98>>
    $DefaultControllerRoute = Gdn::Router()->GetRoute('DefaultController')['Destination'];

    I don't know what to do about it

    Sorry using Ver 2.0.18.4 and basic pages ver 1.4

  • DenisSDenisS My brain hurts Buriram ✭✭
    edited August 2013

    I'll try and figure it out but i won't hold my breath while doing it!

  • ShadowdareShadowdare π Moderator

    @DenisS, the first step to troubleshooting any problem is to use the latest recommended version of Vanilla. The latest stable version is 2.0.18.8 and introduces fixes for security vulnerabilities.

    Add Pages to Vanilla with the Basic Pages app | Publish articles with the Articles app

    vrijvlinder
  • DenisSDenisS My brain hurts Buriram ✭✭
    edited August 2013

    I touched upon upgrading before this and most say it's a minefield and don't do it if you don't know how to. I'm a newbe to coding only 6 months now so i just keep what i have. There was an upgrade facility plugin on here, but the more i read about it the less confidence i had in it.

  • ShadowdareShadowdare π Moderator
    edited August 2013

    @DenisS said:
    I touched upon upgrading before this and most say it's a minefield and don't do it if you don't know how to. I'm a newbe to coding only 6 months now so i just keep what i have. There was an upgrade facility plugin on here, but the more i read about it the less confidence i had in it.

    Most people don't say that it's a minefield to upgrade. Most people actually say that it is a simple process. Most people on this forum who know how to do something with Vanilla started off with not knowing how to do something in the first place. Most people on these forums are volunteers who have taken some time out of their day to help people like yourself for free.

    Nearly everything that you think seems like a big deal is probably not be a big deal at all, so go ahead and make a backup of your Vanilla forum files and database, and upgrade to 2.0.18.8.

    Here is a wiki page with a list of what to do: how to upgrade your Vanilla forum. All you have to do is follow the list from top to bottom. It's that easy. Look at the number of steps there are on the page. In fact, the upgrade from 2.0.18.4 to 2.0.18.8 is very simple because it is a minor version update, and you don't need skills in programming and development to upgrade your forum.

    If you do not learn how to upgrade your Vanilla forum, then you will be stuck with 2.0.18.4 forever. By staying with 2.0.18.4, you won't be able to receive support by other people who have moved on to the latest releases.

    Knowing how to do something as simple as upgrading your Vanilla forum is not a curse. It is a kind of freedom.

    It is time to get with the program and get on the same page as everyone else. It is time to upgrade, and it is time to start learning as we all have.

    Add Pages to Vanilla with the Basic Pages app | Publish articles with the Articles app

    hgtonight50sQuiff
  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    look Denis the upgrade involves three files in the library for mysql it is not a big deal. Your problem is , you don't seem to follow or try to understand instructions. You need to try harder and get rid of the unfounded fear you have of the unknown.

    please just try a little harder

    Shadowdare
  • DenisSDenisS My brain hurts Buriram ✭✭

    Thank's everyone for your help and the time you put in developing new plugins, but it's not a matter of not trying things, I do this everyday on plugins some i get working some i don't, but when i could bring the whole forum down it's very worrying the last quote on this auto upgrade topic was>>
    adriansonline Marketing Jedi vanilla
    July 17
    @DenisS don't at this point. It is not recommended . @underdog can you close this thread. It has gone way off topic

  • ShadowdareShadowdare π Moderator

    @DenisS said:
    Thank's everyone for your help and the time you put in developing new plugins, but it's not a matter of not trying things, I do this everyday on plugins some i get working some i don't, but when i could bring the whole forum down it's very worrying the last quote on this auto upgrade topic was>>
    adriansonline Marketing Jedi vanilla
    July 17
    DenisS don't at this point. It is not recommended . underdog can you close this thread. It has gone way off topic

    @adriansonline was referring to the Auto Upgrade plugin, which clearly states on its addon page that it's an alpha release and that it should not be downloaded.

    Follow the steps outlined in the wiki page and report back when you are using 2.0.18.8.

    Add Pages to Vanilla with the Basic Pages app | Publish articles with the Articles app

  • vrijvlindervrijvlinder Papillon-Sauvage MVP
    edited August 2013

    Look you don't need a plugin , just download a fresh 2.0.18.8 copy and only ftp to the library/database folder all the files in that folder and then change the version number in your config.php .

    It is that simple. It is about the drivers and it should not affect absolutely anything in your forum. I did this to 6 forums I did not want to overwrite everything .

    So just follow this

    1.Download new copy

    2.extract the database folder

    3.ftp the files inside of the database folder into the database folder of forum and overwrite.

    4.Change the version of Vanilla in the config.php

    That is all.

    but when i could bring the whole forum down it's very worrying

    yes and who fixed your forum when it was down ? me that is who so please get a grip and trust then follow instructions and you can't go wrong.

  • ShadowdareShadowdare π Moderator
    edited August 2013

    Follow this from top to bottom and your forum will be successfully upgraded:

    1. Download 2.0.18.8. http://vanillaforums.org/get/vanilla-core
    2. Overwrite all of the files in your current forum install with everything from the 2.0.18.8 download.
    3. Delete every .ini file from the /cache folder.
    4. Go to http://YOURFORUM.com/index.php?p=/utility/update

    Add Pages to Vanilla with the Basic Pages app | Publish articles with the Articles app

  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    lol @shadowdare that is what he does not want to do and I don't blame himI am sure he hacked the core and will lose some changes.... as per Todd either approach will work. It is a matter of choice... I wager you $50 bucks that DenisS will use my approach :)

  • ShadowdareShadowdare π Moderator
    edited August 2013

    @vrijvlinder, it's not our problem if he hacked the core. If he hacked the core, then he should at least make a backup of his whole site before the upgrade.

    The error he's getting with Basic Pages is probably from one of the core files getting changed in an update, not just the database drivers. He should replace everything to be sure we are all on the same page, then see if he is still getting the error.

    Add Pages to Vanilla with the Basic Pages app | Publish articles with the Articles app

    vrijvlinder
  • vrijvlindervrijvlinder Papillon-Sauvage MVP
    edited August 2013

    I see what you are getting at , yes it is a good idea to purge some stuff he has on there too. Maybe after this all his plugins even the V1 plugins will miraculously work ;) one can only hope ....
    all I know is that this is the panacea of make your own unlimited pages plugin and it is an awesome donation to the community and people should donate ....at the very least try to get it to work and then testify ...

    Shadowdare
«13
Sign In or Register to comment.