[8WR] XenPorta (Portal)

[8WR] XenPorta (Portal) 1.6.0

No permission to download
I want to use Globalized Custom Layouts for the articleview. But the blocks appears twice. One time at the bottom of the articles and a second time in the sidebar.
Is this a known bug? Want can I do?
 
@Jaxel
RecentFeatures Bug:

Adding this code to the extra.css template has no effect on the EWRblock_RecentFeatures block.
Code:
#recentFeatures .recentFeatures ul li { background position: left center; }
I had to edit the EWRblock_RecentFeatures.css to have any affect on the block. Changes:
Code:
#recentFeatures ul li { background-repeat: no-repeat; background-position: right center; }

Thanks,
Itworx4me
 
Bug on featured sliders

If I insert a image on the header of featured post, the BB code shows on the slider, does anyone else has similar problem?

Thanks

Screenshot_1.webp
 
Does anyone know how, in the RecentFeatures slider, to remove the text [ ATTACH] from the description (first sentance) teaser that shows on each slide, if you've post an image in at the very top?

Still hoping to find a fix for a little issue of mine. I'm wondering, on the featured slider, how to remove [ Attach] from the snippet that shows under the title? Or, since all my articles (at least so far) have the image at the very top, omit the first 8 or so characters from it?

See here: http://ballisticallyspeaking.com

Thanks for any help!

Edit: @Hrabal = Ha, I swear I came here, looked for an update on each page since my original post (turns out it got cut off when I put [ attach] without the space, since it is existing bbcode, oops!) then typed my reply before having seen yours. Good to know I'm not the only one seeking a fix. :)
 
Last edited:
@Jaxel
RecentFeatures Bug:

Adding this code to the extra.css template has no effect on the EWRblock_RecentFeatures block.
Code:
#recentFeatures .recentFeatures ul li { background position: left center; }
I had to edit the EWRblock_RecentFeatures.css to have any affect on the block. Changes:
Code:
#recentFeatures ul li { background-repeat: no-repeat; background-position: right center; }

Thanks,
Itworx4me
If that's the exact code you're using, you've forgotten the hyphen in background-position.
 
I tried installing this last night, used a very early version so I thought I would be fine. But got so bollixed up, I disabled it...and it will stay disabled til I figure out how to fix it. If someone could point me to the proper post or explain...
My home page is http://domainname.org/
That is where I want the portal. I know to do that, I need to move the forum to a forum folder (did that last night but) so that the forum itself becomes http://domainname.org/forum...every time I tried that, I ended up with the portal being http://domainname.org/portal I want to get rid of the portal. I want the portal at http://domainname.org

I found this a couple of pages back.

nvm thanks anyway since i found out that i had to add portal/ in basic board informaton and then i added this in the box named Index Page Route that got the main url fetch portal as http://domain.com/ while forum is http://domain.com/forums/

Now, all the XenForo files will go into domainname.org/forum folder. Do the portal files go into domainname.org and reside at the same level as the forum folder?

Oh and I am using XenForo version 1.2.4

Liz
 
I tried installing this last night, used a very early version so I thought I would be fine. But got so bollixed up, I disabled it...and it will stay disabled til I figure out how to fix it. If someone could point me to the proper post or explain...
My home page is http://domainname.org/
That is where I want the portal. I know to do that, I need to move the forum to a forum folder (did that last night but) so that the forum itself becomes http://domainname.org/forum...every time I tried that, I ended up with the portal being http://domainname.org/portal I want to get rid of the portal. I want the portal at http://domainname.org

I found this a couple of pages back.



Now, all the XenForo files will go into domainname.org/forum folder. Do the portal files go into domainname.org and reside at the same level as the forum folder?

Oh and I am using XenForo version 1.2.4

Liz
You dont need to move your forum to /forum folder.

What is your XF and XenPorta version?
 
@Jaxel Is it possible for you to add the category as an id to each threads into xenporta, in addition of the number of the thread? I'm asking that because I would like to stylize the RecentBlock with hover for each category but right now, it seems to be impossible :/
 
Well, got it sorted thanks to Sheratan...

Now in my Recent News block, I want to include just certain forums and they are NOT all in one place. I want the Data Forums (Data, DS Data, there are others) But control doesn't work...it's just the shift key (I am on a mac). I've tried selecting all and then going back and deselecting..all that does is highlight ONE! As a result, I currently am pulling stuff I don't want to get the stuff I DO want.

Screenshot is below:Screen Shot 2014-01-02 at 7.58.54 PM.webp
 
Good morning guys,
today I a problem with my XenPorta 1.6 recentnews. After a few changes to get the avatar out of the news-block a thumbnail of an image appears on a really tiny stage ( width and height at 150px and as link ).

So my question is:
Is it possible to remove the thumb and link but keep that image on a 100% scale resolution on that news-block?

Direct-link to our forum: http://dayzworld.de/

Template-code:
Code:
<xen:require css="message_user_info.css" />
<xen:require css="bb_code.css" />
<xen:require css="EWRblock_RecentNews.css" />

<div id="recentNews">
    <xen:foreach loop="$RecentNews" value="$news">
        <div class="section sectionMain recentNews" id="{$news.thread_id}">

            <div class="primaryContent {xen:if {$option.leftdate}, 'leftDate'}">
                <div class="subHeading">
                    <div style="float: right; white-space: nowrap;">
                        <a href="{xen:link threads, $news}"><xen:datetime time="$news.promote_date" /></a>
                        <xen:if is="{$visitor.permissions.EWRporta.canPromote}">
                            &nbsp; (<a href="{xen:link 'threads/edit', $news}" class="OverlayTrigger">{xen:phrase edit}</a>)
                        </xen:if>
                    </div>

                    <h2><a href="{xen:link threads, $news}" class="newsTitle">{xen:helper threadPrefix, $news}{$news.title}</a></h2>
                </div>

                <div class="newsDate secondaryContent">
                    <div class="newsMonth heading">{$news.month}</div>
                    <div class="newsDay">{$news.day}</div>
                </div>

                <xen:if is="{$news.promote_icon} != 'disabled'">
                <xen:if hascontent="true">
                    <div class="messageUserBlock">
                        <div class="avatarHolder">
                            <xen:contentcheck>
                            <xen:if is="{$news.attach}">
                                <a href="{xen:link threads, $news}"><img src="{$news.attach.thumbnailUrl}" alt="{$news.attach.filename}" /></a>
                            <xen:elseif is="{$news.medio}" />
                                <div style="background: url('{xen:helper medio, $news.medio}') no-repeat;">
                                    <a href="{xen:link 'full:media/media/popout', $news.medio}" class="OverlayTrigger"><img src="styles/8wayrun/EWRmedio_play.png" width="160" height="90" /></a>
                                </div>
                            <xen:elseif is="{$news.image}" />
                                <a href="{xen:link threads, $news}"><img src="{$news.image}" alt="{$news.image}" style="max-height: 150px; max-width: 150px;" /></a>
                            <xen:else />
                              
                            </xen:if>
                            </xen:contentcheck>
                        </div>
                    </div>
                </xen:if>
                </xen:if>

                <div class="messageContent baseHtml">
                    <div class="postedBy">
                        <span class="posted iconKey"><div class="sticky"></div>{xen:phrase by_x_at_y,
                            'user=<a href="{xen:link members, $news}" class="username">{$news.username}</a>',
                            'date=<a href="{xen:link threads, $news}">{xen:time $news.post_date, 'absolute'}</a>'}</span>
                        <span class="views">({xen:number $news.view_count} {xen:phrase views} / {xen:number $news.first_post_likes} {xen:phrase likes})</span>
                        <span class="comments iconKey"><div class="new"></div><a href="{xen:link threads/unread, $news}">{xen:number $news.reply_count} {xen:phrase comments}</a></span>
                    </div>

                    <div class="newsText">{xen:raw $news.messageHtml}</div>
                    <div class="clearFix"></div>
                </div>

                <div class="sectionFooter">
                    <xen:if is="{$option.social}">
                        <xen:if hascontent="true">
                            <div class="sharePage">
                                <xen:require css="share_page.css" />

                                <xen:contentcheck>
                                    <xen:hook name="recentnews_share_page_options" params="{xen:array 'url={xen:link canonical:threads, $news}'}">
                                    <xen:if is="{$xenOptions.tweet.enabled}">
                                        <div class="tweet shareControl">
                                            <a href="http://twitter.com/share" class="twitter-share-button"
                                                data-count="horizontal"
                                                data-lang="{xen:helper twitterLang, $visitorLanguage.language_code}"
                                                data-url="{xen:link canonical:threads, $news}"
                                                {xen:if {$news.title}, 'data-text="{$news.title}"'}
                                                {xen:if {$xenOptions.tweet.via}, 'data-via="{$xenOptions.tweet.via}"'}
                                                {xen:if {$xenOptions.tweet.related}, 'data-related="{$xenOptions.tweet.related}"'}>{xen:phrase tweet}</a>
                                        </div>
                                    </xen:if>
                                    <xen:if is="{$xenOptions.plusone}">
                                        <div class="plusone shareControl">
                                            <div class="g-plusone" data-size="medium" data-count="true" data-href="{xen:link canonical:threads, $news}" data-lang="{$visitorLanguage.language_code}"></div>
                                        </div>
                                    </xen:if>
                                    <xen:if is="{$xenOptions.facebookLike}">
                                        <div class="facebookLike shareControl">
                                            <xen:container var="$facebookSdk">1</xen:container>
                                            <fb:like href="{xen:link canonical:threads, $news}" layout="button_count" action="{$xenOptions.facebookLikeAction}" font="trebuchet ms" colorscheme="@fbColorScheme"></fb:like>
                                        </div>
                                    </xen:if>
                                    </xen:hook>
                                </xen:contentcheck>
                            </div>
                        </xen:if>
                    <xen:else />
                        <div class="categories">
                            <ul>
                                <xen:if is="{$visitor.permissions.EWRporta.canPromote}">
                                    <a href="{xen:link 'threads/category', $news}" class="button OverlayTrigger">+</a>
                                </xen:if>
                                <xen:foreach loop="$news.categories" value="$subCat">
                                    <li><a href="{xen:link 'articles', $subCat}" class="button">{$subCat.category_name}</a></li>
                                </xen:foreach>
                            </ul>
                        </div>
                    </xen:if>

                    <div class="continue">
                        <a class="iconKey button" href="{xen:link threads, $news}">
                            <div class="redirect"></div>
                            {xen:phrase continue_reading}
                        </a>
                    </div>
                </div>
            </div>
        </div>
    </xen:foreach>

    <xen:if hascontent="true">
    <div class="section sectionMain">
        <xen:contentcheck>
        <xen:if is="{$option.pagenav} && {$option.count} > {$option.limit}">
            <xen:pagenav link="articles" linkdata="{$category}" page="{$page}" perpage="{$option.limit}" total="{$option.count}" />
        </xen:if>
        </xen:contentcheck>
    </div>
    </xen:if>
</div>
 
Hello, happy new year.
Any idea everyone about "EWRporta_blocks" error when it installed?
Other addon is very well.

Code:
Mysqli prepare error: Table 'polipress.EWRporta_blocks' doesn't exist

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 EWRporta/Install.php at line 104
EWRporta_Install->_install_50() in EWRporta/Install.php at line 46
EWRporta_Install::installCode()
call_user_func() in XenForo/Model/AddOn.php at line 214
XenForo_Model_AddOn->installAddOnXml() in XenForo/Model/AddOn.php at line 169
XenForo_Model_AddOn->installAddOnXmlFromFile() in XenForo/ControllerAdmin/AddOn.php at line 178
XenForo_ControllerAdmin_AddOn->actionInstall() in XenForo/FrontController.php at line 310
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
XenForo_FrontController->run() in /home/www/html/polipress/admin.php at line 13
 
Well, got it sorted thanks to Sheratan...

Now in my Recent News block, I want to include just certain forums and they are NOT all in one place. I want the Data Forums (Data, DS Data, there are others) But control doesn't work...it's just the shift key (I am on a mac). I've tried selecting all and then going back and deselecting..all that does is highlight ONE! As a result, I currently am pulling stuff I don't want to get the stuff I DO want.

Screenshot is below:View attachment 64056
On a Mac it's CMD (the Apple key) plus click which is equivalent to Shift click on Windows.
 
Is there a way to manually add a page break into a XenForo post? I am asking because I am trying to figure out a way to control how much of the post is shown on the XenPorta page and it looks like we can set it to cut off at a page break. I skimmed through the previous comments (not all, 193 pages is a lot lol) but I did not see anything.
 
Top Bottom