1 dubird Jul 29, 2024 22:33
2 amoun Jul 29, 2024 21:42
in response to: Exporting posts to external file
.
If you want, I'll work on that page so it's more functional if you think others might want to use it too.
That's very kind of you and I would love to see what you did and how it works, but note there are very few using this forum now, so don't feel any obligation etc. just because you offered.
3 dubird Jul 29, 2024 21:22
in response to: Exporting posts to external file
So, I pulled the database and was able to sort it by category, which got me the posts I needed. It's not neat or easy, but it'll work ok for what I want. I did do a simple page that just pulled the posts from the database based on category, but trying to format it is proving a pain, so I'll have to work on that some more.
If you want, I'll work on that page so it's more functional if you think others might want to use it too.
4 amoun Jul 29, 2024 20:15
in response to: Exporting posts to external file
Nothing easy that I've found.
There used to be an export option but I don't see it in the most recent version.
Will check again.
There is this but it would take a bit of work to run it. If I have time . . . .
Anyway what do you want to do?
Do you want each post to be converted to a single HTML file with images etc. or do you just want the bare text ??
I have a skin that reformats a page content so it can be printed. In theory I could make a script to.
- Select a post or comment by it's 'number'
- Call the print skin
- Save to {*&~}
However I'm far too busy to think much on it currently.
So how many posts do you want to export?
5 dubird Jul 29, 2024 16:46
in response to: Major errors updating from an older version
It's controlled by the host. They did add an exception for my site, though, so it's working again. Thank you!
6 amoun Jul 29, 2024 15:53
in response to: Major errors updating from an older version
A host can run more than one version of php. ~ if they are willing.
So who is your host and do you have a cpanel or some other control panel as usually it is a user choice.
[image:13811:-:-]7 dubird Jul 29, 2024 05:32
in response to: Major errors updating from an older version
I don't know if I can. I'll ask the host and see.
8 amoun Jul 28, 2024 20:58
in response to: Major errors updating from an older version
Take your php back to 7.4 for b2evo and see how that goes, it's not setup for php 8
https://forums.b2evolution.net/php-8-0-and-b2evolution-7-2-2
9 amoun Jul 19, 2024 21:41
in response to: Script to migrate to Wordpress
Thank you :)
10 nanahuatl Jul 03, 2024 12:44
in response to: Is centralized antispam still working?
Quick update: we are making some progress on this.
We have a new system that will allow anyone to run a central antispam blacklist if they wish to (so you don't have to be dependent on us for updates if you don't want to).
Noticing the latest antispam blacklist timestamp and the status of b2evolution as effectively orphaned, I checked the b2evo manuals hosted at this site and have not found an update on the 'Quick update... allowing anyone to run a central antispam blacklist if they so wish...'
Fact is, if your server(s) get hacked due to lack of diligence applying updates to an already orphaned PHP App, any of the remaining third-parties' b2evo instances out there who poll the central antispam blacklist may potentially get malware in return.
That is, I disabled the antispam blacklist polling job precisely because I am encountering:
The following scheduled task has ended with an error:
Poll the antispam blacklist (#abcdxy):
Error code: 100
Result message: Latest update timestamp: 2020-07-16 14:22:50
Requesting abuse list from antispam.b2evo.net...
Manually triggering the polling of the antispam blacklist is refused.
11 amoun Jun 13, 2024 12:05
in response to: Add DB backup to heavy db maintenance cron
- It's a bit beyond what I want to learn, so glad you fixed it.
)
12 fede Jun 13, 2024 02:12
in response to: Add DB backup to heavy db maintenance cron
Now it works
What I did was to copy start_backup(), backup_database() and has_included() functions from _backup.class.php (removing all $this->... and so on) into /tools/_maintenance.funcs.php (which is already loaded in _heavy_db_maintenance.job).
At the end of this program, I added
$results = start_backup();
And voilá! After optimizing all tables, the DB backup process starts and do its job.
13 fede Jun 12, 2024 00:54
in response to: Add DB backup to heavy db maintenance cron
Hi
What I do is to add the following code to the end of _heavy_db_maintenance.job.php (before return 1; / ok /)
load_class( 'maintenance/model/_backup.class.php', 'Backup' );
$results = Backup::start_backup();
And in _backup.class.php I added static to function start_backup.
But nothing happens...
14 amoun Jun 08, 2024 21:53
in response to: Add DB backup to heavy db maintenance cron
the heavy db maintenance cron
Hi I'm not clear as to what that is, I never use 'crons' so you could enlighten me if you like. Exact details so I can try that to begin with.
Currently I can save my Database via a link via cPanel which is a bookmark on my browser.
I usually clear the [items-versions] and [sessions] before I back up, but it's only a 4 or 5 MB
15 amoun Apr 22, 2024 20:51
in response to: Merge different Instances
I had problems with 7.2.5 and php > 7.4.# :(
I had to backtrack from 8.1
I may try again.
You may be better off running your own server with php 7.4 and installing b2evo there.
I use a raspberry pi with apache 2.4
The Pi can be as cheap as £45
You can install a server on any computer, and using LAMP to install with php and Maria Database.
Here's my server, I chose not to use a domain name as my broadband provider gives a static IP address.
Here's the server/host front page
http://217.155.51.23
and here's an example of b2evo 7.2.5
http://217.155.51.23/unveiled/raspi/server/
16 saunders Apr 22, 2024 12:50
in response to: Merge different Instances
@amoun Thanks for your having an eye on this forum and your willingness to provide support with your knowledge and experience.
The reason why I have to act is, my b2e versions run with PHP 7.3. And one hoster told me, the he will end offering this version. Now I have the choice between upgrading to at least PHP 8.1 - for which support will soon be discontinued - i.e. actually to PHP 8.3, or paying a disproportionately high amount for Extended PHP support. This pushes me.
Because my b2e Version 6.11.7 is also rather old and I noticed some security risks which could not be fixed for this version, I think about closing this Instance with four collections.
So I've started archiving the pages of the collections that are more important to me on archive.org, so at least they won't get lost.
In 40 days I will upgrade to PHP 8.3, just to see how it breaks my version of b2e.
I will keep my second instance for the time being, as this hoster will continue to offer PHP 7.3 for the time being.
I could try upgrading my instances to the latest version of b2e, but the last time I tried this I failed miserably.
Again; thanks a lot and I hope I'll meet you here again in case of other asks for support.
Best wishes and keep up your great work
Will
17 amoun Apr 21, 2024 22:15
in response to: Merge different Instances
There was a way to import from even wordpress for example and phpbb, so inputting collections should be 'easy enough'. Yet I haven't found a way to do it, but your wants will prompt me to look again. Not that I have much inclination, time or hope.
Whilst nosing around I found a relevant file or two, so will have a look for and at them and update their locations.
UPDATE:
/inc/tools/model/
contains files relating to Wordpress and phpbb and there's an 'abstractimport.class'
Edit. 2
I have three or more installs, each with multiple collections :(
Edit 3
Have you seen
https://b2evolution.net/man/?s=import&submit=Search&disp=search
18 amoun Jan 20, 2024 18:50
in response to: b2evolution hack for PHP 8 preliminary release.
Is there any advantage of using php8? if b2evo was designed around 7 ?/
I have other things I'm working on currently so won't be of much use me thinks. :(
19 nanahuatl Jan 20, 2024 01:12
in response to: b2evolution hack for PHP 8 preliminary release.
'The front end is completely broke.'
This is the major fatal error attempted fix by the hack above:
Fatal error: Uncaught Error: Object of class WidgetContainer could not be converted to string in /path/to/b2evolution/inc/skins/skin.funcs.php, i.e.,
https://github.com/b2evolution/b2evolution/issues/122#issue-2009151128
It is a show stopper. Notwithstanding, the other two fatal errors in the backend tabs referenced above are no less infuriating / exasperating. Yet, all have been apparently resolved to make PHP 8 display appropriately, as well, with relevant hacks.
20 amoun Jan 18, 2024 11:30
in response to: b2evolution hack for PHP 8 preliminary release.
Thanks, will have a look. I did try something a while back but went back to php7, though I have php8 installed on my server I think I avoided using it. Will try again.
All the best
Yeah, but now I'm curious. XD I've got something similar I used on my portfolio and art sites, so I'll pull it out and update it and see what happens.