• This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

[8wayRun.Com] XenPorta (Portal)

Not open for further replies.
Noticed as well on the forum- where it says ID if you enter nothing it uses the default portal layout for them all? :)

Great work Jaxel - Where do you get the donations block?

I see these in my install what are they for?

Also on the URL at the top on the header where it says "Forums", Xenporta as the forum URL as /forum/ any idea how to change it to /forums/ like it says on the text?
Found it but got an error - Fatal error: Call to undefined function money_format() in C:\Program Files (x86)\Zend\Apache2\htdocs\library\EWRporta\Block\Donations.php on line 47
added .xml one inside addons - I installed using admin.php?ewrporta/blocks/install-confirm
Leave 1.5.1 addon for spanish installation (is translated) and XML and XML_Addons translated to spanish.

In zip file i add files for change /forum/ to /foro/ in URl (in Helper and Route folders).

Leave phrases for translation to spanish.



  • language-Espanol-(Neutro)-Tu.zip
    2.9 KB · Views: 1
  • XenPortal ES v1.5.1.zip
    50 KB · Views: 4
Found it but got an error - Fatal error: Call to undefined function money_format() in C:\Program Files (x86)\Zend\Apache2\htdocs\library\EWRporta\Block\Donations.php on line 47
I get same error but it solved just. I remove donations block fron public view and just has been placed back in its place. Now, run fine. host error?

I get same error but it solved just. I remove donations block fron public view and just has been placed back in its place. Now, run fine. host error?


Still wont work for me, to change your forum url to foro all I need to do is edit helper/index.php and route/index.php?

$routesPublic['foro'] = array(
return XenForo_Link::buildBasicLink('foro', $action, $extension);

Get this now.
Template Errors: EWRblock_Donations

  1. Invalid argument supplied for foreach() in C:\Program Files (x86)\Zend\Apache2\htdocs\internal_data\templates\S.1,L.1,EWRblock_Donations.php, line 53
See files in zip: http://xenforo.com/community/threads/8wayrun-com-xenporta-portal.7586/page-174#post-294259
EWRporta/Route/Categories.php, line 25,
return XenForo_Link::buildBasicLink('foro', $action, $extension) . strval($link);
EWRporta/Route/Index.php, line 37
return XenForo_Link::buildBasicLink('foro', $action, $extension);
and EWRporta/Helper/Index.php
In line 69
        $routesPublic['foro'] = array(
            'build_link'  => 'none',
            'route_class' => 'EWRporta_Route_Forum'

  • You will need to add these template edits manually if you plan on Globalizing Thread and Forum Layouts respectively... as these hooks do not yet exist in XenForo and I'm having trouble convincing Kier to add them.

    At the absolute bottom of "thread_view"
    <xen:hook name="thread_view_share_after" params="{xen:array 'thread={$thread}'}" />
    At the absolute bottom of "forum_view"
    <xen:hook name="forum_view_pagenav_after" params="{xen:array 'forum={$forum}'}" />
Do these need to be added if I'm adding the default right blocks to the forum view and thread view? (OnlineUsers // BoardTotals // SharePage)

Also is ther donations block bugged as its not on your website and when I add it, it comes up with random bugs like my above psot and another 500 internel server error.
I have Jaxel's XenPorta add-on that I never use and was going to uninstall it but it won't let me.

I keep getting this error:

Fatal error: Using $this when not in object context in /home/me/public_html/forum/library/EWRporta/Install.php on line 161

So I re-uploaded the same version and upgraded the add-on (same version) and tried to uninstall again. Same error.

How do I uninstall this? Do I have to drop the tables then just delete all xenporta files?
As a noob to this can someone tell me where to start reading to implement...with 174 pages and many of the first being no longer relevant I don't want to only confuse and add many unneeded questions to the discussion. I appreciate any pointers an a push in the right direction. Thanks
I received this error when I tried to change the cache time from 1 hour to 1 minute.

An exception occurred: Mysqli prepare error: You have an error in your SQL syntax;
check the manual that corresponds to your MySQL server version for the right syntax to use near
') OR EWRporta_promotes.promote_date < ?) AND xf_thread.discussion_state = 'v' at line 10 in /var/www/skial.com/library/Zend/Db/Statement/Mysqli.php on line 77
    Zend_Db_Statement_Mysqli->_prepare() in Zend/Db/Statement.php at line 115
    Zend_Db_Statement->__construct() in Zend/Db/Adapter/Mysqli.php at line 381
    Zend_Db_Adapter_Mysqli->prepare() in Zend/Db/Adapter/Abstract.php at line 478
    Zend_Db_Adapter_Abstract->query() in Zend/Db/Adapter/Abstract.php at line 734
    Zend_Db_Adapter_Abstract->fetchAll() in EWRporta/Block/RecentNews.php at line 24
    EWRporta_Block_RecentNews->getModule() in EWRporta/Model/Blocks.php at line 112
    EWRporta_Model_Blocks->getBlockParams() in EWRporta/ViewPublic/Custom.php at line 67
    EWRporta_ViewPublic_Custom->renderHtml() in XenForo/ViewRenderer/Abstract.php at line 215
    XenForo_ViewRenderer_Abstract->renderViewObject() in XenForo/ViewRenderer/HtmlPublic.php at line 67
    XenForo_ViewRenderer_HtmlPublic->renderView() in XenForo/FrontController.php at line 533
    XenForo_FrontController->renderView() in XenForo/FrontController.php at line 156
    XenForo_FrontController->run() in /var/www/skial.com/index.php at line 13
Post the code for the block up, I guess someone may debug it for you.
/font is depreciated, so I'd avoid that.

Thanks Trilogy! I took the </font> and the <br /> out and although the font size went back to what it should have been for the rest of the columns, it is still distorted, pulled apart. And the 'forum statistics' block is smacked right onto this extra box without any spacing (perhaps this was what the <br /> was for?).

Here is the full code I have in that extra EWR porta html box (sorry, I got carried away) :p :

<div class="messageText ugc baseHtml">
<div class="secondaryContent">
<h3><font face="verdana" size="2"><marquee direction="right" bgcolor="#99CCFF" scrollamount="1.5" >Law of Attraction Activator Tool</marquee></font></h3>
<p><center><!-- 25Pix.com Widget -->
<script type="text/javascript" src="http://widgets2.25pix.com/w25widgets/LOA/cz/var-rot1-v/load.js.php?wid=993ffd84&gen=1"></script><div id="w25id-993ffd84" style="color:#edfbed;font-size:9px;">Our appreciation to: <a class="w25a" style="color:#edfcea;text-decoration:none;" href="http://corefreedom.com" title="Blueprint4Love">Blueprint4Love</a>, <a class="w25a" style="color:#edfcea;text-decoration:none;" href="http://corefreedom.com/forum" title="Blorum">Blorum</a>, <a class="w25a" style="color:#edfcea;text-decoration:none;" href="http://www.idreamcatcher.com">law of attraction</a></div>
<!-- 25Pix.com Widget -->
<h3><font face="verdana" size="2"><marquee direction="left" bgcolor="#99CCFF" scrollamount="1.5" >Ho'oponopono Cleansing Tool</marquee></font></h3>
<!-- 25Pix.com Widget -->
<script type="text/javascript" src="http://widgets2.25pix.com/w25widgets/Hooponopono.cz/ACTIVE/var-rot1-v/load.js.php?wid=c062fb00&gen=1"></script><div id="w25id-c062fb00" style="color:#edfcee;font-size:9px;">With appreciation to: <a class="w25a" style="color:#edfbed;text-decoration:none;" href="http://corefreedom.com" title="Blueprint4Love">Blueprint4Love</a>, <a class="w25a" style="color:#edfbed;text-decoration:none;" href="http://corefreedom.com/forum">Blorum</a>, <a class="w25a" style="color:#edfbed;text-decoration:none;" href="http://www.idreamcatcher.com" title="Law of Attraction">The secret and The Law of Attraction</a></div>
<!-- 25Pix.com Widget --></center>
<center><b style="color: dark grey; font-weight: normal;">
<p style="padding: 7px; background-color: #E1E8F2; border: dotted 2px #00518A;"><font face="verdana" size="1.25">Calling all <b>law of attraction leaders, coaches, healers and shape shifters!</b> In our quest to create a better world please help us install <b>1 million</b> of these <b>power tools</b> across the cyber platform by the end of 2012. How? First place these <i>cleansing</i> and <i>manifesting tools</i> on your own blog or site and then give them away as <b>free power gifts</b> from your own site. To learn more,<a href=" http://corefreedom.com/pages/powertools/ "target="blank"> click here. </a><br> *** <br> <a href=" http://corefreedom.com/threads/how-to-install-the-power-duo-widgets-on-your-own-site.143/ "target="blank">Click here</a> for instructions on how to install these power tools. <br> *** <br> Although our power tools are free we thank you for making a <a href="http://corefreedom.com/page/donations/ "target="blank">donation </a>and so keeping the energy flow going and karma balanced. </center></p>
Your first div is unclosed, add a </div> at the end. And there are two other unclosed tags as indicated below, not sure what the first <b style= tag is for, but it's not closed, and you actually did need to close the </font>(it's deprecated, but you opened it so it must be closed somewhere)(in between the last</center> and the next</p>


I may be off here but try that and see if it helps.

EDIT: I actually made these edits and tried it on my portal, seems to work fine. Here is the package in a zip file.


  • HtmlBlock.zip
    1.6 KB · Views: 19
Not open for further replies.
Top Bottom