[8WR] XenPorta (Portal) PRO

[8WR] XenPorta (Portal) PRO [Paid] 1.2.2b

No permission to buy ($40.00)

RobParker

Well-known member
Try doing the tests yourself. Turn each on and off and test the page reloads
That doesn't really work as

1) We only experience problems when we're under massive traffic so we'd need to wait until then to do any tests.
2) As things fluctuate so much, any tests might end up meaningless anyway.

As Jaxel obviously knows what he's done and why he's done it, it makes sense to ask him.
 

Jaxel

Well-known member
I can fix this problem is not ? @Jaxel
Uhh yeah... revert your custom settings?
"Exclude featured threads from articles list" and "Auto promote" seems to have stopped working since last update.
Fixed in today's update. I hate the auto-promote feature, any little change seems to break it.
Unfortunately changes to the extra.css do not take affect as the templates for this addon seems to take priority. I have asked if this can be changed, still waiting on response.
This is not true. XP2 uses the default page_container, so extra.css is always applied. However, there are rules of inheritance for templates, as well as CSS, which you are probably overlooking. If you customize extra.css, then edit a parent extra.css, it will not apply your settings to the child. Secondly, CSS follows a hierarchy of most descriptive to least descriptive. If you want to overwrite css, you need to make your element calls more descriptive than the defaults.
 

Jaxel

Well-known member
Not sure If I'm missing it in the styles, but how do I change the color of the Timer bar on the Features?
There are no style options for this mod... YET.
Is there any advice on which options have a bigger affect on improving the performance? I'd say performance is probably the key issue for us (when we have 5000 users online XenPorta used to grind to a standstill).
Read the patch notes.
 

Jaxel

Well-known member
I am not referring to XenPorta's article categories, but the standard forum category, like when you enter a subforum. I cannot get XenPorta to hook in to force a certain layout, and the global layout is ignorant of its presence.
http://prntscr.com/5rc65f
http://prntscr.com/5rc6a3
Its the same as for a forum, you just change the word forum to category:

Layout ID: category_view_15
Title: category 15 (the title of this category)
Template: category_view
Evalutation:
Code:
$params['category']['node_id'] == 15
 
Its the same as for a forum, you just change the word forum to category:

Layout ID: category_view_15
Title: category 15 (the title of this category)
Template: category_view
Evalutation:
Code:
$params['category']['node_id'] == 15
http://prntscr.com/5rcmcc
http://prntscr.com/5rcmpi

This should be correct right? Still not showing at all...
Yes, the layout is fine, I have applied it to other pages just fine, it just will not work specifically on categories.
Even without the Evaluation so it applies globally to category_view, nothing.
 

Frode789

Well-known member
Would be much better if the copyright notice for XP2 was at the bottom, alongside the Xenforo copyright notice (which also is as most other addons/styles have it) . It looks so cluttered when it is in the middle of the page..
 
Last edited:
http://prntscr.com/5rcmcc
http://prntscr.com/5rcmpi

This should be correct right? Still not showing at all...
Yes, the layout is fine, I have applied it to other pages just fine, it just will not work specifically on categories.
Even without the Evaluation so it applies globally to category_view, nothing.
Fixed it.
I needed to add 'XenForo_ViewPublic_Category_View' manually to ViewPublic Extensions and add in
Code:
<xen:include template="EWRporta2_Global_Above" />
to the top of category_view and
Code:
<xen:include template="EWRporta2_Global_Below" />
<xen:include template="EWRporta2_Global_Side" />
to the bottom. Then it worked fine
 
Last edited:

Jaxel

Well-known member
Fixed it.
I needed to add 'XenForo_ViewPublic_Category_View' manually to ViewPublic Extensions and add in
Code:
<xen:include template="EWRporta2_Global_Above" />
to the top of category_view and
Code:
<xen:include template="EWRporta2_Global_Below" />
<xen:include template="EWRporta2_Global_Side" />
to the bottom. Then it worked fine
Ah yes, you're right. I never added in hooks for the category view.

But as you can see, I made it every easy expand the system. I will add them in by default in the next version.
 
Top