XF2 [8WR] XenPorta 2 (Portal) PRO

XF2 [8WR] XenPorta 2 (Portal) PRO [Paid] 2.3.0.4

No permission to buy ($40.00)
After upgrading to XF 2.3 and XenPorta 2.3.0.4 all looks to be working except for article promotion 'Icon' I no longer see 'Image' for new articles, just 'disabled' and 'avatar' even though an image is present. Oddly the older articles that existed before the 2.3 upgrade show the image option. Anyone else see this?
 
Update to previous - Inserting an "Image" still not working on new articles, workaround is instead of adding an image to the post I insert the image as an attachment. The attachment is seen as an option for the icon. Would still prefer to use image.
 
Update to previous - Inserting an "Image" still not working on new articles, workaround is instead of adding an image to the post I insert the image as an attachment. The attachment is seen as an option for the icon. Would still prefer to use image.
-8WR-XenPorta-2-Portal-PRO-8WAYRUN-com-Admin-control-panel.webp
 
I may be one of the few that use the "Enable external image icons" but would still like to continue to use it. @Jaxel can you check on your end if it is working with XF 2.3?
 
Thanks for checking. In my case I prefer to use the XenForo image gallery to upload the image so the article images are organized. The image link is on the same domain as the other links on the site.
 
Hello,
I upgraded XenForo from 1.2.1 to 2.3.2. That part has been completed successfully, and I am now working to upgrade my XenPorta from 1.6.0 to 2.3.0.4

I followed the upgrade instructions for add-ons, and the XenPorta 2 comes up as a completely different add-on (i.e. it doesn't give me the option to upgrade, only to install). I'm assuming, based on the instructions for upgrading XenPorta from 1.x, that this is expected. Continuing to follow the instructions, I have gone to the Tools page and selected the 'Import data' option, which presents me with a page to:

Import target: [8WR] XenPorta 2.x.x
[8WR] XenPorta 1.0.0
[8WR] XenPorta 1.2.1

I select XenPorta 1.2.1 and then click 'Continue...'

On the next screen, I provide my database configuration information and click 'Continue...'

On the next screen, I take all of the defaults:
'Articles' checked
'Features' Checked
'Authors' Checked
'Categories' Checked
'Category Links' Checked
'Retain content IDs' NOT Checked
and the generated 'Import log table name'
and then click 'Continue...'

On the next screen 'No step configuration necessary' I click 'Continue...'

I then get a screen telling me I'm ready to start the import, and I click 'Start import'

I immediately get an error screen with the following:

XF\Db\Exception: MySQL statement prepare error [1146]: Table 'staging_gol_xenforo.EWRporta2_articles' doesn't exist in src/XF/Db/AbstractStatement.php at line 230
  1. XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 207
  2. XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 43
  3. XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 61
  4. XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 96
  5. XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 152
  6. XF\Db\AbstractAdapter->fetchOne() in src/addons/EWR/Porta/Import/Importer/Porta121.php at line 124
  7. EWR\Porta\Import\Importer\Porta121->getStepEndArticles() in src/XF/Import/Runner.php at line 210
  8. XF\Import\Runner->setupRunnableStep() in src/XF/Import/Runner.php at line 83
  9. XF\Import\Runner->initializeRun() in src/XF/Import/Runner.php at line 54
  10. XF\Import\Runner->run() in src/XF/Admin/Controller/ImportController.php at line 247
  11. XF\Admin\Controller\ImportController->actionRun() in src/XF/Mvc/Dispatcher.php at line 362
  12. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 264
  13. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 121
  14. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 63
  15. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2813
  16. XF\App->run() in src/XF.php at line 802
  17. XF::runApp() in admin.php at line 15
Any help?
 
I may be one of the few that use the "Enable external image icons" but would still like to continue to use it. @Jaxel can you check on your end if it is working with XF 2.3?
It's working fine. External images are any images within the [IMG][/IMG] tags.

Hello,
I upgraded XenForo from 1.2.1 to 2.3.2. That part has been completed successfully, and I am now working to upgrade my XenPorta from 1.6.0 to 2.3.0.4

I followed the upgrade instructions for add-ons, and the XenPorta 2 comes up as a completely different add-on (i.e. it doesn't give me the option to upgrade, only to install). I'm assuming, based on the instructions for upgrading XenPorta from 1.x, that this is expected. Continuing to follow the instructions, I have gone to the Tools page and selected the 'Import data' option, which presents me with a page to:

Import target: [8WR] XenPorta 2.x.x
[8WR] XenPorta 1.0.0
[8WR] XenPorta 1.2.1

I select XenPorta 1.2.1 and then click 'Continue...'

On the next screen, I provide my database configuration information and click 'Continue...'

On the next screen, I take all of the defaults:
'Articles' checked
'Features' Checked
'Authors' Checked
'Categories' Checked
'Category Links' Checked
'Retain content IDs' NOT Checked
and the generated 'Import log table name'
and then click 'Continue...'

On the next screen 'No step configuration necessary' I click 'Continue...'

I then get a screen telling me I'm ready to start the import, and I click 'Start import'

I immediately get an error screen with the following:

XF\Db\Exception: MySQL statement prepare error [1146]: Table 'staging_gol_xenforo.EWRporta2_articles' doesn't exist in src/XF/Db/AbstractStatement.php at line 230
  1. XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 207
  2. XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 43
  3. XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 61
  4. XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 96
  5. XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 152
  6. XF\Db\AbstractAdapter->fetchOne() in src/addons/EWR/Porta/Import/Importer/Porta121.php at line 124
  7. EWR\Porta\Import\Importer\Porta121->getStepEndArticles() in src/XF/Import/Runner.php at line 210
  8. XF\Import\Runner->setupRunnableStep() in src/XF/Import/Runner.php at line 83
  9. XF\Import\Runner->initializeRun() in src/XF/Import/Runner.php at line 54
  10. XF\Import\Runner->run() in src/XF/Admin/Controller/ImportController.php at line 247
  11. XF\Admin\Controller\ImportController->actionRun() in src/XF/Mvc/Dispatcher.php at line 362
  12. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 264
  13. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 121
  14. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 63
  15. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2813
  16. XF\App->run() in src/XF.php at line 802
  17. XF::runApp() in admin.php at line 15
Any help?
You can not upgrade from XP1 for XF1 to XP2 for XF2.
The included upgrade path is for XP2 for XF1 to XP2 for XF2.
 
It's working fine. External images are any images within the [IMG][/IMG] tags.

Thx for the info. I think I see the issue, may be something new with XF 2.3, in my test case I'm inserting an image with dimensions 813x1078. Instead of [IMG][/IMG] I see it inserts it as [IMG size="813x1078"][/IMG].

If I remove the size info and save it as [IMG][/IMG] the Image option appears in XenPorta.
 
You can not upgrade from XP1 for XF1 to XP2 for XF2.
The included upgrade path is for XP2 for XF1 to XP2 for XF2.

Ah! Ok, so I need to upgrade to XP2 FIRST, THEN upgrade my forum from XF1 to XF2? In that case, which version of XP2 should I upgrade to? I've searched the forum but can't seem to find any clear indication of what XP2 version is compatible with XF1?

I'm testing all of this on my staging system, so it isn't a problem for me to wipe out and start again. This is why we test things first, folks. ;)
 
Ah! Ok, so I need to upgrade to XP2 FIRST, THEN upgrade my forum from XF1 to XF2? In that case, which version of XP2 should I upgrade to? I've searched the forum but can't seem to find any clear indication of what XP2 version is compatible with XF1?

I'm testing all of this on my staging system, so it isn't a problem for me to wipe out and start again. This is why we test things first, folks. ;)

There is no upgrade path from the free version of XP1 from XF1.
 
There is no upgrade path from the free version of XP1 from XF1.

Umm...Ok, so what are my options here? Am I just boned and I have to recreate all of the articles I had in XP1? If so, that's gonna really suck.

edit:
Please forgive my dumb questions; I'm not the one who normally uses this add-on, and I'm just trying to understand what needs to happen so I can explain it to my Moderators.

If I'm understanding things correctly here, all I really need to do is fix some permissions related to XP2 (since the permissions from XP1 didn't come over) and then just go edit the threads to promote them to articles? That doesn't seem so bad, since I can mass-edit the threads.
 
Last edited:
Ok, just following up here.

I found the mention about the admin.php?ewr-porta/promote function, and was able to promote all of the old threads into articles using that (since the articles were all in specific forums), which made things MUCH easier. I've still got to edit the tags on the articles, but that's not terrible.

Updated the permissions on the users for the new XP2 add-on and now things appear to be working.

Thanks for your patience with my questions, and also for the great add-on. (y)
 
Does anyone know if it has a widget that displays threads attachment thumbnail and a excerpt?
I'm using default new threads widget but it uses the full size attachment, I need a widget that uses XF thumbnails.
 
Thx for the info. I think I see the issue, may be something new with XF 2.3, in my test case I'm inserting an image with dimensions 813x1078. Instead of [IMG][/IMG] I see it inserts it as [IMG size="813x1078"][/IMG].

If I remove the size info and save it as [IMG][/IMG] the Image option appears in XenPorta.

@Jaxel Do you get the above behavior on a new post inserting an image in XenForo 2.3?
 
It's a bit annoying now, the process of using an external image I need to do now is:

1. insert image in post.
2. Edit post, Toggle off bb code
3. Remove the size from [IMG], save.
4. Toggle back on bb code.
5. create or edit article promotion.

Before I didn't need to do steps 2- 4. Also the image can't be custom resized or the option to use external image disappears again (this behavior was present in the previous version).
 
Last edited:
It's a bit annoying now, the process of using an external image I need to do now is:

1. insert image in post.
2. Edit post, Toggle off bb code
3. Remove the size from [IMG], save.
4. Toggle back on bb code.
5. create or edit article promotion.

Before I didn't need to do steps 2- 4. Also the image can't be custom resized or the option to use external image disappears again (this behavior was present in the previous version).
Edit the file:
EWR\Porta\Repository\Article.php

Change line 29:
Code:
            if (preg_match_all('#\[IMG](.+?)\[/IMG]#i', $message, $matches))
To:
Code:
            if (preg_match_all('#\[IMG.*?](.+?)\[/IMG]#i', $message, $matches))

Tell me if that fixes it.
 
Back
Top Bottom