XF2 [8WR] XenPorta 2 (Portal) PRO

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

No permission to buy ($40.00)
@Jaxel is branding removal just for Xenporta2 or is it a one time that includes your other addons. curious if I own also Discord Integration that branding would have to be purchased separately.
 
Hello,

I have a question about Google Mobile Usability test.
When I promote article and choice "Format thread as an article" there will be problems.

Mobile Usability issues
Search Console has identified that my site is affected by 2 Mobile Usability issues:
Content wider than screen
Clickable elements too close together

But If I don't choice "Format thread as an article" there will be perfect usability for mobile.
 
hello, can anyone explain how prebreak tag work?

I tried to insert a paragraph inside a prebreak tag and it didn't render when reading (that's intentional I guess) but it wouldn't render as excerpt on the portal page neither.

basically the tag just hide whatever text in it?
hello, bump my question again asking for help... is there any support offer by add-on author?
 
Hey Jaxel, wondering if you could spot an error.

I'm trying to add some extra options to the XenPorta category edit/save page, which are stored in a separate entity.
I created a new entity called PortaCategoryOptions and got the relations working ok.

Here's my controller extension:
EWR\Porta\Admin\Controller\Category
PHP:
namespace Nulumia\XPImprovements\EWR\Porta\Admin\Controller;

use XF\Mvc\ParameterBag;

class Category extends XFCP_Category
{
    
    public function actionEdit(ParameterBag $params)
    {
        return parent::actionEdit($params);
        $categoryOptions = $category->getRelationOrDefault('PortaCategoryOptions');
    }
    
    public function actionSave(ParameterBag $params)
    {
        $form = parent::actionSave($params);
        $categoryOptions = $category->getRelationOrDefault('PortaCategoryOptions');
        
        $inputOptions = $this->filter('options', 'array');
            
        $categoryOptions->option_one = $inputOptions['option_one'];
        $categoryOptions->option_two = $inputOptions['option_two'];
        $categoryOptions->option_three = $inputOptions['option_three'];
        
        return $form;
    }
}

For clarity's sake, I've simplified some naming schemes.

When I try saving the page, it gives this error:

ErrorException: [E_NOTICE] Undefined variable: category in src\addons\Nulumia\XPImprovements\EWR\Porta\Admin\Controller\Category.php at line 21

..which points to here:
$categoryOptions = $category->getRelationOrDefault('PortaCategoryOptions');

I'm confused that dumping the $category variable on the edit form works ok.

Thanks for any advice,
 
Hello.

I'm new at this. So my forum is in the directory: site.com/forum.

I understand the portal will be in the main /public_html directory.

does the main public_html directory need to be empty of all files before I install?

Thank you.
 
Edit: I figured out that I did not have permissions set right. Works now.
 

Attachments

  • Screen Shot 2020-04-16 at 9.34.00 AM.webp
    Screen Shot 2020-04-16 at 9.34.00 AM.webp
    14.9 KB · Views: 18
Last edited:
Every time I post or promote to an article I get double posts and the format is all screwed up and also some article posts stopped showing. Also, my feature post does not show up? Can someone help me with this?

Screen Shot 2020-04-16 at 5.17.02 PM.png
 
Last edited:
Back
Top Bottom