Jump to content

B_W_P

Clients
  • Posts

    7
  • Joined

  • Last visited

B_W_P's Achievements

  1. I ran various repair on the DB but get the following error on several of the tables Note: The storage engine for the table doesn't support repair I noticed that the tables were mixture of InnoDB and MyISAM And there was also a mixture of character sets. I tried changing all the tables to InnoDB, and all the character sets to utf8mb4_unicode_ci, and running repairs using various apps, but still couldn't get the updater to run without crashing my site and having to revert to a backup. It always seems to end up with a problem re: 'incorrect key files', and if I proceed beyond there the site ends up offline Incorrect key file for table 'x_table_name_x'; try to repair it Hey ho, I've run out of time for now - I'll maybe get a chance to have another run at it in a week or so.
  2. Thanks Randy. I've set a repair running just now. Fingers crossed...
  3. Hello all. I'm trying to upgrade from 4.6.10 to 4.7.14 with no success. I've tried the automatic and manual options I'm getting 19 similar database errors, such as: Incorrect key file for table 'core_members'; try to repair it I assume it's because it's a big jump between versions so the database schema will have changed along the upgrade chain at some point. Any suggestions? (and thanks in advance!)
  4. Thanks a million @Nathan Explosion! That worked perfectly My next quest is to figure out how to turn the 10 digit date string the IPS block is parsing from the RSS feed into a human readable format, for example: The RSS feed says "Sun, 21 Feb 2021 19:35:59 GMT" but the block is pulling out.... ["date"]=> int(1613939402) and it just shows the last time the feed was updated when the following default code in the block is used {datetime="$item['date']" I'm assuming it'll be something simple I'm missing! 🤔
  5. Hi all, I'm struggling to find a way to prevent/remove the <p> tags from text produced by the RSS Import block The following code in the 'content' section of the block... {{if !empty( $items ) }} <ul> {{foreach $items as $item}} <li> <div class="link"><a href="{$item['link']}" target="_blank"><h3>{$item['title']}</h3></a></div> <div>{$item['content']}</div> </li> {{endforeach}} </ul> {{endif}} ....produces text with a paragraph <p> around the content, e.g. Uber drivers are workers not self-employed, Supreme Court rules <p>The decision could mean thousands of Uber drivers are set to receive minimum wage and holiday pay.</p> High Court urged to overturn PM's decision to stand by Priti Patel <p>Boris Johnson's defence of the home secretary over bullying claims caused "dismay and anger", a union says.</p> Covid vaccine passports could discriminate, experts warn <p>They are 'feasible' but need to meet 12 tests before being brought in, the Royal Society says.</p> The <p> tag isn't in the original RSS feeds, and I've tried many feeds, so it's being introduced by the block. The above text was parsed from http://feeds.bbci.co.uk/news/rss.xml Do any of you know how I can prevent the tag being added, or strip the tag from the results? Thanks!
  6. Great plugin, thanks @newbie LAC. Is it possible to set the block to show the most recently active topics rather than most recently started topics?
  7. Hi all, I'm a newbie to the community. Edit: first of all, apologies for the size of the attachment. I didn't realise it was so big! -- I've recently upgraded my installation and I'm trying to rebuild some of the RSS functionality from my old site that I'd pieced together from various scripts. I'm trying to contain everything within IPS rather than use MySQL or server scripts. The old site pulled in a variety of feeds aggregated using www.rssmix.com and parsed using MagpieRSS: RSS for PHP. I've attached a screengrab of the old site for reference. Here's is an example of one of the old feed xml urls, although I am considering moving to a more robust commercial service such which produced a feed structured like this xml url. -- A key feature I need is the ability to include Google 'in-feed' ads to monetise the site. I don't need to pull in RSS items as individual articles with comments functionality or anything like that - I just need to render the feed as a regularly updated list, and each list item to contain the linked title, publisher's name, date, brief snippet of content and a thumbnail (if available) - I want to support the news websites by redirecting our visitors to them. -- I've had a go at customising the RSS Import block but I'm not sure if the functionality is available with IPS Javascript. I have the Pages application installed and was intrigued by this article but I'm not sure if Pages is the best was to proceed. Any help or advice would be warmly welcomed! Thanks in advance
×
×
  • Create New...