[8WR] XenPorta (Portal)

[8WR] XenPorta (Portal) 1.6.0

No permission to download
Does it mean that changes to the article applied after posting it are only visible after 1 hour?
Yes indeed. Vary the cache time if required. A lower cache time would refresh more frequently.
You can also, if required, refresh the cache manually by clicking the red cross next to that block in the ACP thus:

m_refresh_block_cache.webp
 
Hello
Can someone please show me where I can edit the HTML is the "RAW HTML" block? I'm so lost with this.

Thank you

Gabby:)
 
Howdy JH ;)

Trying to add my own HTML to that block and remove what was there when I downloaded it. :)

Thank You

Gabby
 
Question #1
Yesterday my site was spitting out General errors and Database errors, which led to the site being down for a number of hours. After looking at the Error Log, I found the following:

Zend_Db_Statement_Mysqli_Exception: Mysqli statement execute error : Prepared statement needs to be re-prepared - library/Zend/Db/Statement/Mysqli.php:214
Generated By: xxxx, Yesterday at 8:13 AM
Stack Trace

#0 /home/hackslas/public_html/library/Zend/Db/Statement.php(297): Zend_Db_Statement_Mysqli->_execute(Array)
#1 /home/hackslas/public_html/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 /home/hackslas/public_html/library/Zend/Db/Adapter/Abstract.php(753): Zend_Db_Adapter_Abstract->query('????SELECT atta...', 3)
#3 /home/hackslas/public_html/library/XenForo/Model/Attachment.php(94): Zend_Db_Adapter_Abstract->fetchRow('????SELECT atta...', 3)
#4 /home/hackslas/public_html/library/XenForo/ControllerPublic/Attachment.php(299): XenForo_Model_Attachment->getAttachmentById(3)
#5 /home/hackslas/public_html/library/XenForo/ControllerPublic/Attachment.php(18): XenForo_ControllerPublic_Attachment->_getAttachmentOrError(3)
#6 /home/hackslas/public_html/library/XenForo/FrontController.php(310): XenForo_ControllerPublic_Attachment->actionIndex()
#7 /home/hackslas/public_html/library/XenForo/FrontController.php(132): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#8 /home/hackslas/public_html/index.php(13): XenForo_FrontController->run()
#9 {main}

Request State

array(3) {
["url"] => string(55) "http://www.xxxx.com/attachments/slide-jpg.3/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}

Any suggestions? Seems to be something to do with the RecentSlider addon and/or it's thumbnail "slide.jpg" attachment...


Question #2
While I'm here, I also am trying to get my Google AdSense header and footer exactly as per 8WayRun.com. I have it pretty close, however mine seem to be one or two pixels "higher" in relation to the other elements. Jaxel, would you mind letting me where where and how exactly you placed your AdSense codes? My website is www.HackSlashRepeat.com.

HTML:
<!DOCTYPE html>
<html id="XenForo" lang="{$visitorLanguage.language_code}" dir="{$visitorLanguage.text_direction}" class="Public {xen:if {$visitor.user_id}, 'LoggedIn', 'LoggedOut'} {xen:if {$sidebar}, 'Sidebar', 'NoSidebar'}" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<xen:hook name="page_container_head">
    <meta charset="utf-8" />
    <xen:if is="{$requestPaths.fullBasePath}">
        <base href="{$requestPaths.fullBasePath}" />
        <script><xen:comment>/* Chrome bug and for Google cache */</xen:comment>
            var _b = document.getElementsByTagName('base')[0], _bH = "{xen:jsescape $requestPaths.fullBasePath}";
            if (_b && _b.href != _bH) _b.href = _bH;
        </script>
    </xen:if>
 
    <title><xen:if is="{$title}">{xen:raw $title} | {$xenOptions.boardTitle}<xen:else />{$xenOptions.boardTitle}</xen:if></title>
 
    <noscript><style>.JsOnly { display: none !important; }</style></noscript>
    <link rel="stylesheet" href="css.php?css=xenforo,form,public&amp;style={xen:urlencode $_styleId}&amp;dir={$visitorLanguage.text_direction}&amp;d={$visitorStyle.last_modified_date}" />
    <!--XenForo_Require:CSS-->
    {xen:helper ignoredCss, {$visitor.ignoredUsers}}
 
    <xen:include template="google_analytics" />
    <xen:include template="page_container_js_head" />
 
    <link rel="alternate" type="application/rss+xml" title="{xen:phrase rss_feed_for_x, 'title={$xenOptions.boardTitle}'}" href="{xen:link forums/-/index.rss}" />
    <xen:if is="{$pageDescription.content} AND !{$pageDescription.skipmeta} AND !{$head.description}"><meta name="description" content="{xen:string wordTrim, {xen:helper stripHtml, {xen:raw $pageDescription.content}}, 200}" /></xen:if>
    <xen:if is="{$head}"><xen:foreach loop="$head" value="$headElement">{xen:raw $headElement}</xen:foreach></xen:if>
</xen:hook>
</head>
<body{xen:if {$bodyClasses}, ' class="{$bodyClasses}"'}>
<xen:hook name="body">
 
<xen:if is="{$visitor.user_id}">
    <xen:include template="user_bar" />
<xen:elseif is="!{$visitor.user_id} && !{$hideLoginBar}" />
    <xen:include template="login_bar" />
</xen:if>
 
<div id="headerMover">
    <div id="headerProxy"></div>
 
<div id="content" class="{$contentTemplate}">
    <div class="pageWidth">
        <xen:hook name="page_container_content_top" />
 
        <xen:hook name="page_container_notices">
            <xen:include template="notices" />                   
        </xen:hook>
 
<div align="center" style="margin: -15px auto 12px;">
<script type="text/javascript"><!--
google_ad_client = "ca-pub-8582062123331678";
/* Leaderboard */
google_ad_slot = "5632425657";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
 
        <div class="pageContent">
            <!-- main content area -->
 
            <xen:if is="{$sidebar}">
                <div class="mainContainer"> 
                    <div class="mainContent"></xen:if>
                   
                        <xen:include template="ad_above_top_breadcrumb" />
 
                        <xen:hook name="page_container_breadcrumb_top">
                        <div class="breadBoxTop">
                            <xen:if is="{$topctrl}"><div class="topCtrl">{xen:raw $topctrl}</div></xen:if>
                            <xen:include template="breadcrumb"><xen:set var="$microdata">1</xen:set></xen:include>
                        </div>
                        </xen:hook>
                   
                        <xen:include template="ad_below_top_breadcrumb" />
 
                        <xen:hook name="page_container_content_title_bar">
                        <xen:if is="!{$noH1}">                 
                            <!-- h1 title, description -->
                            <div class="titleBar">
                                {xen:raw $beforeH1}
                                <h1><xen:if
                                    is="{$h1}">{xen:raw $h1}<xen:elseif
                                    is="{$title}" />{xen:raw $title}<xen:else
                                    />{$xenOptions.boardTitle}</xen:if></h1>
                           
                                <xen:if is="{$pageDescription.content}"><p id="pageDescription" class="muted {$pageDescription.class}">{xen:raw $pageDescription.content}</p></xen:if>
                            </div>
                        </xen:if>
                        </xen:hook>
 
                        <xen:include template="ad_above_content" />
                   
                        <!-- main template -->
                        {xen:raw $contents}
 
                        <xen:include template="ad_below_content" />
                   
                        <xen:if is="!{$visitor.user_id} && !{$hideLoginBar}">
                            <!-- login form, to be moved to the upper drop-down -->
                            <xen:include template="login_bar_form" />
                        </xen:if>
                   
                    <xen:if is="{$sidebar}"></div>
                </div>
           
                <!-- sidebar -->
                <aside>
                    <div class="sidebar">
                        <xen:hook name="page_container_sidebar">
                            <xen:include template="ad_sidebar_top" />
                        <xen:include template="sidebar_visitor_panel" />
                        {xen:raw $sidebar}
                        <xen:include template="ad_sidebar_bottom" />
                        </xen:hook>
                    </div>
                </aside>
            </xen:if>
       
            <div class="breadBoxBottom"><xen:include template="breadcrumb" /></div>
 
        </div>
        <xen:hook name="page_container_breadcrumb_bottom" />
    </div>
 
<div align="center" style="margin: 15px auto -18px;">
<script type="text/javascript"><!--
google_ad_client = "ca-pub-8582062123331678";
/* Leaderboard */
google_ad_slot = "5632425657";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
 
</div>
 
<header>
    <xen:include template="header" />
</header>
 
</div>
 
<footer>
    <xen:include template="footer" />
</footer>
 
<xen:include template="page_container_js_body" />
 
<xen:if is="{$cronLink}"><img src="{$cronLink}" width="1" height="1" alt="" style="display: none" /></xen:if>
 
</xen:hook>
</body>
</html>
 
[ARTICLES]
Can someone please explain how to use the Articles system?
I got you need to turn in on in the options area.
I understand you create layouts both Article and Articles.

Then

How does it all tie to Categories?


I see all the posts and the guide - but nothing - nothing - addresses this.


I actually understand all the items in the options area - except Articles:

Article (article-# > article > portal)
Categories (articles-#slug > articles > portal)

slug?

Please elaborate
 
Ok, I created a layout for my index, but didn't like the way it was working out so I deleted it. The problem is, all of the blocks are still showing up. I have cleared caches.

Everything clears out if I use a index layout without any blocks, but I don't want to have to do that on a permanent basis.
 
I've searched and cannot find the answer please help. I have the slider working and all but I want to do is change out one slide/article for another. How do I go about making one slide no longer show and another newer different one show in it's place?
 
Ok, I created a layout for my index, but didn't like the way it was working out so I deleted it. The problem is, all of the blocks are still showing up. I have cleared caches.

Everything clears out if I use a index layout without any blocks, but I don't want to have to do that on a permanent basis.

Did you uncheck "Index" in the AdminCP for Portal Options?
 
You should post in the XenPorta thread:

http://xenforo.com/community/threads/8wayrun-com-xenporta-portal.26838/

Enable the framework for the index:

View attachment 28824

Now you can edit the index layout to affect the forum index:

View attachment 28825
yeah...
That NEVER worked for me, I am looking for a solution.
To prove you that I've done that:
DJNAf.png

DiluP.png

LPoDa.png

I always thought it was style related - but it's not! It's not workin with any style and I am wondering what I am doing wrong...
Thanks in advance!
 
Bump - Anyone got any ideas?

Yesterday my site was spitting out General errors and Database errors, which led to the site being down for a number of hours. After looking at the Error Log, I found the following:

Zend_Db_Statement_Mysqli_Exception: Mysqli statement execute error : Prepared statement needs to be re-prepared - library/Zend/Db/Statement/Mysqli.php:214
Generated By: xxxx, Yesterday at 8:13 AM
Stack Trace

#0 /home/hackslas/public_html/library/Zend/Db/Statement.php(297): Zend_Db_Statement_Mysqli->_execute(Array)
#1 /home/hackslas/public_html/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 /home/hackslas/public_html/library/Zend/Db/Adapter/Abstract.php(753): Zend_Db_Adapter_Abstract->query('????SELECT atta...', 3)
#3 /home/hackslas/public_html/library/XenForo/Model/Attachment.php(94): Zend_Db_Adapter_Abstract->fetchRow('????SELECT atta...', 3)
#4 /home/hackslas/public_html/library/XenForo/ControllerPublic/Attachment.php(299): XenForo_Model_Attachment->getAttachmentById(3)
#5 /home/hackslas/public_html/library/XenForo/ControllerPublic/Attachment.php(18): XenForo_ControllerPublic_Attachment->_getAttachmentOrError(3)
#6 /home/hackslas/public_html/library/XenForo/FrontController.php(310): XenForo_ControllerPublic_Attachment->actionIndex()
#7 /home/hackslas/public_html/library/XenForo/FrontController.php(132): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#8 /home/hackslas/public_html/index.php(13): XenForo_FrontController->run()
#9 {main}

Request State

array(3) {
["url"] => string(55) "http://www.xxxx.com/attachments/slide-jpg.3/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}

Any suggestions? Seems to be something to do with the RecentSlider addon and/or it's thumbnail "slide.jpg" attachment...
 
Jaxel, this is a great mod
I will send you $50 once a client pays his bill.

I have a question regarding categories, what are they for and how do I use them?

I created a couple categories and when I read a post, it shows at the bottom( Categories:Uncategorized ) and allows me to edit and put it into a category.
I'm just wondering if I missed something or I am supposed to manually add each post to a category?
 
Man I have issues making this work. First I don't know how I can use categories. Why is there no updated documentation for categories?

Then I have an issue making a layout. I don't want the Recent News block to be in the left top or right top or sidebar or left bottom or right bottom field. I want it to look like at the homepage of this app: 8wayrun.com.

Any help please?

Edit: Nevermind.
 
Top Bottom