Marcher Technologies

+Clients
  • Content count

    17,130
  • Joined

  • Last visited


About Marcher Technologies

  • Rank
    $life=FALSE;$code=TRUE;$time--;
  • Birthday 05/02/1986

IPS Marketplace

  • Resources Contributor Total file submissions: 56

Recent Profile Visitors


111,012 profile views

Marcher Technologies's Activity

  1. Marcher Technologies added a post in a topic Why is there such a disconnect between databases and Pages?   

    ok.... no idea why the code above doesn't suit, but I think I would be better off just answering the question posed in the topic title directly. It is because of the separation of concerns.
    To put it quite literally, \IPS\cms\Databases sole responsibility is the data in cms_databases, no less, no more. \IPS\cms\Records1 is responsible for the records in cms_custom_database_1, no less, no more. \IPS\cms\Pages is responsible for the data in cms_pages, again, no more, no less. To have such a method baked into \IPS\cms\Databases would break encapsulation, and end up with there being far too many ways to access the data. THAT is why there is such a 'disconnect', and it's not going anywhere, it's good programming practice.
  2. Marcher Technologies added a post in a topic Why is there such a disconnect between databases and Pages?   

    ... Ok, do you really, really, expect the core to go out and retrieve the value of every record in the database and list them based on such a call? How would that code possibly work?(I am honestly wondering on this one, apologies for bluntness, by your wording one would think you would be expecting an array/iterator as the result, yet no looping suggests otherwise, so I'm lost...)
    I gave the most basic of code, that would load a given record from a given database and display a given field from that record. While what you ask is still indeed possible, it does however  reach into the area of utterly custom. Which is why I can't see IPS providing an easy way to access such by default. Selecting out specific records by their primary_id_field is alone an odd request I can't see a widget/feed being able to fulfill, much less the type of expectations you seem to have of the app code.... I think by your wording you are maybe looking for getItemsWithPermission, but still feel like that could be a bad assumption.
    You are going about a mile outside the things the app will *help* you do, while much remains possible, this is custom code, really. The standard database usage is embedded on a page replete with urls, follows, comments etc. Misusing them to do other things requires a developer.
  3. Marcher Technologies added a post in a topic Why is there such a disconnect between databases and Pages?   

    That's... not something they are going to provide by default. I would ask that you reconsider your data design, I think I'd be less than pleased to have to edit a massive form on a single record that could affect multiple pages, and so will you in the long term.
    Regardless, what you ask is still possible:
    {{$databaseId = 1;}} {{$recordId = 2;}} {{$recordsClass = '\\IPS\\cms\\Records' . $databaseId;}} {{$record = $recordsClass::load($recordId);}} {$record->customFieldDisplayByKey('myFieldKey')|raw}  
  4. Marcher Technologies added a comment Cant delete status updates   

    hrmm... shouldn't it just delete all the account's status' and status replies when the account is deleted? Maybe I'm missing something, but it does not seem like they can function without the account they belong to...
  5. Marcher Technologies added a comment [This Site] Searching contributor forum always no results   

    Contributor status on this site is no more than a profile field editable by staff only micromanaged with custom hooks. hence me asking farber to login as me, I don't think this is a 'bug' as such anymore, I'm nearly dead certain it is specific to this site's setup.
  6. Marcher Technologies added a comment [This Site] Searching contributor forum always no results   

    Hrmm.... farber, could this be a permissions-related thing or something maybe specific to contributor status workings on this site? I'm getting the same still, you getting results says to me something's up... feel free to log in as me to test.
  7. Marcher Technologies added a comment [this site]Gfycat images showing blank.   

    Possibly feedback, but... shouldn't posting a HTTP embed URL on a HTTPS site embed as HTTPS? Your average end user isn't going to specifically change the URL they post to HTTPS.
  8. Marcher Technologies added a post in a topic Changing Block Titles - Why can't we do it?   

    If I understand the wording used correctly, this will make a return in 4.0.9:
  9. Marcher Technologies added a post in a topic IP.Content to Pages: the nightmare on IPS Street   

    Let me ask you something directly then. Of those 100+ blocks, how many are stuffed into a sidebar somewhere or contents of a page somewhere?
    Have you actually sat down and played with the page builder/block manager? While some options have yet to be added to the blocks(coming soon by the roadmap) the base concept is quite good.... you can accomplish a LOT more without getting your hands dirty or hiring a dev with mere drag and drop.... you will likely end up spending a LOT less time than you think. In the end, if you'll step back for a second, you'll also realize any further additions will be much easier and cheaper.
  10. Marcher Technologies added a post in a topic IP.Content to Pages: the nightmare on IPS Street   

    I'll just leave this here...
    /run
  11. Marcher Technologies added a comment Spoiler content loads when page loads   

    in ipb 3.x, it was still loaded on page load, there was merely js hiding it by default and showing it on click, similar to how 4 does it. That is to say, this functionality really hasn't changed in the way it works, though it has changed in the way it looks...
  12. Marcher Technologies added a comment [4.0.7] Emoticon issue when calling a template in an external website   

    echo \IPS\Output::i()->parseFileObjectUrls(\IPS\Theme::i()->getTemplate('topics', 'forums')->postContainer($myTopic, $myPost)); 
  13. Marcher Technologies added a post in a topic PM Email notification....   

    It's there, but like the content is waaay down at the bottom of the email. Considering the title and pm/reply content is the actual focus of the email, I'd think it would make more sense to have this as every other notification type does, title, content, then link. I'm honestly not sure if I should be reporting a bug, the email actually looks and feels like two email templates squished together, like it was redesigned but the old html never removed. There are two 'Read the full message' buttons, one at the top, and another at the bottom. 
  14. Marcher Technologies added a post in a topic IP.Content to Pages: the nightmare on IPS Street   

    I see. That explanation would have saved our kneejerk reaction.
    I'd say at the very minimum, needed 'now now', filtering by Nodes, Status and allowing sorting by fields that make sense(and as much as I hate to say it, by RAND() as well, the end user will have to take responsibility for that weight, maybe add a warning) globally for all feeds. Database feeds however, we really really need the ability to filter by custom fields back. These would get most of the most basic usages and allow you to focus on the rest in subsequent releases.
  15. Marcher Technologies added a post in a topic IP.Content to Pages: the nightmare on IPS Street   

    Excellent. Thanks for the clarification.