Jump to content

kherezae

Members
  • Posts

    74
  • Joined

  • Last visited

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Posts posted by kherezae

  1. On 4/30/2018 at 11:11 AM, opentype said:

    For the listing view, adding custom fields below the title was added as an option in the latest release. For the display view, you would need to turn off the “badge mode” and pick a different styling like “no formatting” or “Custom”. But as mentioned before: That’s not really a SuperGrid issue. It’s how to use custom fields in Pages so a separate peer-to-peer topic would be better to ask for help. Neither a new 4.x stock database nor SuperGrid come with a teaser field. 

    Hi, I know this is an older response, but it deals with what I'm trying to do. First, how would I use that option to display a custom field below the title in the Supergrid listings, and second, how do I hide the 'Summary:' label when there is no summary value entered? I'm trying to allow members to include a short summary viewable on the listing, like this:

    https://worldsmyths.com/library/public/

    But the 'Summary:' bit shows up even when there is no summary entered. So I'm looking to hide the summary field when there is no value entered, and/or display the summary under the title instead of over the image. I don't mind it over the image -- I tweaked the CSS to make it work okay -- but it limits it to something very short.

    I appreciate any help you can offer, thank you!

  2. Hello! I'm considering purchasing this modification, but there's a bit more functionality I'm really looking for in order to go ahead and buy it.

    How much work would it be to add functions to enable/disable reactions by Application (Blogs, Calendar) and for Pages to enable/disable by Database?

    My ultimate goal is to have a couple reactions (Like, Thanks) available site-wide, but have some other reactions only available in one Pages database. I have two Pages databases, so ideally the other database would only have the two main reactions that are on the rest of the site.

    If this is too involved of a modification, I understand, but I may just make do with a free plugin that allows me to disable the reaction system within the forums.

  3. 1 hour ago, opentype said:

    You downloaded an outdated version. Remove all SuperGrid templates and the plugin again. 
    Then download and install the files in supergrid_3_0_for_IPS4_3_only.zip

    Oh my goodness what a rookie mistake >< I missed the 4 and thought that version was for IPS v3, originally. 

    I installed the correct version, and of course it works perfectly! I appreciate your help and your patience.

  4. Hi there!

    I changed the site PHP to version 7.0, which seems to have gotten the templates working. However, I still have the problem of there being no "Add Record" button.

    In the default templates, under Listing > categoryHeader and under Category Index > index there is this code:

    {{if $database->can('add') or \IPS\Member::loggedIn()->member_id}}
    	<ul class="ipsToolList ipsToolList_horizontal ipsClearfix ipsSpacer_both ipsResponsive_hidePhone">
    		{{if $database->can('add')}}
    			<li class='ipsToolList_primaryAction'>
    				<a class="ipsButton ipsButton_medium ipsButton_important ipsButton_fullWidth" {{if $database->use_categories}}data-ipsDialog="1" data-ipsDialog-size="narrow" data-ipsDialog-title="{lang="cms_select_category"}"{{endif}} href="{$url->setQueryString( array( 'do' => 'form', 'd' => \IPS\cms\Databases\Dispatcher::i()->databaseId ) )}">{lang="cms_add_new_record_button" sprintf="$database->recordWord( 1 )"}</a>
    			</li>
    		{{endif}}
    	</ul>
    {{endif}}

    But I can't just copy-paste that into the Mind templates, I'm assuming because the classes references in this code don't exist in the Mind template code?

    I can add records from the Admin CP, but this is a database we want members to be able to submit to, so we need a button for it to show up. How would I go about fixing this issue?

    Thank you.

  5. 9 hours ago, opentype said:

    It means there is a critical PHP error and the page can’t be rendered at all. There are a couple of options:

    • check the Error Logs and System Logs in the Support section of the ACP. Do they show related errors?
    • Turn on the complete error display in the site’s php.ini so instead of a white page it actually shows the error. 
    • switch to 7.x and see it if helps. That’s usually just a few clicks in your host’s backend

    Okay, I switched the PHP version to 7.0, and now instead of a blank page I get an error log:

    Error: Call to undefined method IPS\cms\Records2::reputation() (0)
    #0 /home/(user)/public_html/ipb/applications/cms/sources/Theme/Theme.php(610) : eval()'d code(779): IPS\Theme\class_cms_database_supergrid_listing->recordRow(Object(IPS\Helpers\Table\Content), Array, Array)
    #1 [internal function]: IPS\Theme\class_cms_database_supergrid_listing->categoryTable(Object(IPS\Helpers\Table\Content), Array, Array, NULL, true)
    #2 /home/(user)/public_html/ipb/system/Helpers/Table/Table.php(548): call_user_func(Array, Object(IPS\Helpers\Table\Content), Array, Array, NULL, true)
    #3 /home/(user)/public_html/ipb/applications/cms/modules/front/database/category.php(533): IPS\Helpers\Table\_Table->__toString()
    #4 /home/(user)/public_html/ipb/applications/cms/modules/front/database/category.php(40): IPS\cms\modules\front\database\_category->view()
    #5 /home/(user)/public_html/ipb/system/Dispatcher/Controller.php(96): IPS\cms\modules\front\database\_category->manage()
    #6 /home/(user)/public_html/ipb/applications/cms/sources/Databases/Dispatcher.php(325): IPS\Dispatcher\_Controller->execute()
    #7 /home/(user)/public_html/ipb/applications/cms/widgets/Database.php(130): IPS\cms\Databases\_Dispatcher->run()
    #8 /home/(user)/public_html/ipb/applications/cms/sources/Pages/Page.php(1257): IPS\cms\widgets\_Database->render()
    #9 /home/(user)/public_html/ipb/applications/cms/sources/Pages/Page.php(2191): IPS\cms\Pages\_Page->getWidgets()
    #10 /home/(user)/public_html/ipb/applications/cms/modules/front/pages/page.php(73): IPS\cms\Pages\_Page->output()
    #11 /home/(user)/public_html/ipb/applications/cms/modules/front/pages/page.php(43): IPS\cms\modules\front\pages\_page->view()
    #12 /home/(user)/public_html/ipb/system/Dispatcher/Controller.php(96): IPS\cms\modules\front\pages\_page->manage()
    #13 /home/(user)/public_html/ipb/applications/cms/modules/front/pages/page.php(33): IPS\Dispatcher\_Controller->execute()
    #14 /home/(user)/public_html/ipb/system/Dispatcher/Dispatcher.php(146): IPS\cms\modules\front\pages\_page->execute()
    #15 /home/(user)/public_html/ipb/index.php(13): IPS\_Dispatcher->run()
    #16 {main}

    I edited the path to replace the username with (user) because, I dunno, paranoid? But otherwise that's just a copy-paste of the errorlog shown. 

    Here's the link to that website page: http://worldsmyths.com/ipb/index.php?/library/public/

    I'm going to switch the Homepage Articles template back to the default, but when I switched it to frontpage I got a similar error message:

    Error: Call to undefined method IPS\cms\Records2::reputation() (0)
    #0 /home/(user)/public_html/ipb/applications/cms/sources/Theme/Theme.php(610) : eval()'d code(697): IPS\Theme\class_cms_database_Supergrid_FrontPage->entry(Object(IPS\cms\Records2), Object(IPS\cms\Databases))
    #1 /home/(user)/public_html/ipb/applications/cms/modules/front/database/index.php(142): IPS\Theme\class_cms_database_Supergrid_FrontPage->index(Object(IPS\cms\Databases), Object(IPS\Patterns\ActiveRecordIterator), Object(IPS\Http\Url\Friendly), Array)
    #2 /home/(user)/public_html/ipb/applications/cms/modules/front/database/index.php(51): IPS\cms\modules\front\database\_index->view()
    #3 /home/(user)/public_html/ipb/system/Dispatcher/Controller.php(96): IPS\cms\modules\front\database\_index->manage()
    #4 /home/(user)/public_html/ipb/applications/cms/sources/Databases/Dispatcher.php(325): IPS\Dispatcher\_Controller->execute()
    #5 /home/(user)/public_html/ipb/applications/cms/widgets/Database.php(130): IPS\cms\Databases\_Dispatcher->run()
    #6 /home/(user)/public_html/ipb/applications/cms/sources/Pages/Page.php(1257): IPS\cms\widgets\_Database->render()
    #7 /home/(user)/public_html/ipb/applications/cms/sources/Pages/Page.php(2191): IPS\cms\Pages\_Page->getWidgets()
    #8 /home/(user)/public_html/ipb/applications/cms/modules/front/pages/page.php(73): IPS\cms\Pages\_Page->output()
    #9 /home/(user)/public_html/ipb/applications/cms/modules/front/pages/page.php(43): IPS\cms\modules\front\pages\_page->view()
    #10 /home/(user)/public_html/ipb/system/Dispatcher/Controller.php(96): IPS\cms\modules\front\pages\_page->manage()
    #11 /home/(user)/public_html/ipb/applications/cms/modules/front/pages/page.php(33): IPS\Dispatcher\_Controller->execute()
    #12 /home/(user)/public_html/ipb/system/Dispatcher/Dispatcher.php(146): IPS\cms\modules\front\pages\_page->execute()
    #13 /home/(user)/public_html/ipb/index.php(13): IPS\_Dispatcher->run()
    #14 {main}

    I could still try 7.1 or 7.2 for the PHP if that matters, or is there something else I should do to fix this?

    I appreciate your help.

  6. Hello! I just purchased and installed this plugin, but it isn't working correctly for me. I've had a similar problem with another plugin with database templates, so it's probably a problem with my host or settings or something, but I'm not sure what. Could you help?

    I set the templates in the database on this page:

    http://worldsmyths.com/ipb/index.php?/library/

    Initially I did use the frontpage template, but the page loaded as completely blank, so I switched it back to the default. I have the supergrid templates set for the other options, so you'll see that if you click into a category, it loads a blank page.

    The only thing I can think of is that my server currently runs PHP version 5.6.38, but I don't know much about it so I'm sure my thoughts on the problem aren't very creative.

    Thank you!

    ETA The Record Display template actually works fine... Just not the front page or the category listing.

    One more thing, the block template doesn't seem to work for me, perhaps just because I don't see a "database feed" block. I see "record feed" and have been using that, but it doesn't seem to have a template choice dropdown or anything.

  7. Hi there! This theme is so nice and it's really cool of you to offer it for free. I installed it on my site, but I ran into a problem with databases.

    When the Mind templates are selected, the button to add an article disappears, and even if I try to add an article through the Admin panel it just loads a completely blank page. Have you heard of this problem before, or have any idea what might cause it?

    Thank you!

    (Oh, notes: I'm viewing the site in Firefox at the moment, and if it matters the PHP version is 5.6.38. Let me know if any other details might help.)

  8. 1 minute ago, Adriano Faria said:

    You mean multi page? IPS4 already has this. Add [ page ] without spaces to the tutorial and it will create pages. 

    I guess? My friend used this mod a number of years ago and at the time it had a multi-chapter (I guess page- she used it for a forum for writers, so I guess that's probably why she said it had multi-chapters, rather than pages, because she used it for displaying people's writing) feature but I guess it was removed at some point over the years. The info/download page for this mod says

    Missing in this version:

    • Multi-page tutorials. It will be back in a future version.

    so I think that's what led the both of us to believe that it doesn't have the feature any more, but if the feature is there now then that makes things a little easier.

×
×
  • Create New...