• 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 (Module Add-Ons)

the fb module can definitely be sized in the EWRPorta_Block_?Facebook template

You can (for now) get to the permissions window options by re-sizing your display

Hey, and thanks for the reply. I more hinted at a sizing way that does not involve editing templates, but using options. I've made a few customizations to the RecentNews block, and every upgrade removes them unless I remember to properly edit the templates. Having it controlled in the options would be easier.

With that said, I do appreciate the tip, and will check it out :) Thanks.
 
Is there an easy way to make a recent news module that just displays the full original post without the avatar photo or continue reading link?
 
Is there an easy way to make a recent news module that just displays the full original post without the avatar photo or continue reading link?

Actually this is the wrong thread, you want to ask in the main XenPorta thread. This thread is for custom blocks.

But to answer your questions, yes.

To eliminate the "continue reading" link go into your Modules settings, select Recent News and enter 999999 as a value for the recentnews_truncate value.

To remove the avatar you will need to modify the template EWRporta_Block_RecentNews.
Code:
<div class="messageUserBlock">    
                    <div class="avatarHolder">
                        <xen:if is="{$news.attach}">
                            <a href="{xen:link attachments, $news.attach}"><img src="{$news.attach.thumbnailUrl}" alt="{$news.attach.filename}" /></a>
                        <xen:elseif is="{$news.medio}" />
                            <div style="background: url('data/media/{$news.medio.media_id}.jpg') no-repeat; background-size: 100%; -moz-background-size: 100%;">
                                <a href="{xen:link 'full:media/popout', $news.medio}" class="OverlayTrigger"><img src="js/8wayrun/EWRmedio_play.png" style="max-width: 240px;" /></a>
                            </div>
                        <xen:elseif is="{$news.image}" />
                            <a href="{$news.image}"><img src="{$news.image}" alt="{$news.image}" style="max-height: 150px; max-width: 150px;" /></a>
                        <xen:else />
                            <xen:avatar user="$news" size="m" itemprop="photo" />
                        </xen:if>
                    </div>
                </div>

I haven't test it, but pretty sure if you wrap the above code in a comment tag then you will have the look you want.
 
This did not work for me. I increased the heighth, but even a CTRL+F5 did not make any size differences whatsoever.

Code:
<fb:fan width="240" height="291" connections="12" stream="false" logobar="false" css="{$xenOptions.boardUrl}/js/8wayrun/facebook.css?1" profile_id="{$option.facebook_profile}"></fb:fan>

The height value in the above line of code should instantly modify the height of your fb block on your portal page. It works perfectly for me.

Any chance your templates are outdated? or you are using a different style then the template you modified?
 
Any chance your templates are outdated? or you are using a different style then the template you modified?

Ack. I was modifying the XML file. I did import and export it, but did not see any differences. I will have another go and just modify the template.

Thanks for the kick in the *rse. Sometimes one overlooks something obvious.
 
The height value in the above line of code should instantly modify the height of your fb block on your portal page. It works perfectly for me.

Thanks Oracle, that did the trick. Not sure why disabling and reimporting the altered XML did not.
 
This mod comes with NINE modules. They are NOT installed by default, but they are located in the /library/EWRporta/XML/ folder. If you wish to install them, just go to your modules page on your browser at /portal/modules/ and import the XML files you wish to use. You can find additional modules in this thread:

Going to /portal/modules with XenPorta enabled just takes me to a blank page with the XenPorta footer - Note that this is not an error page.

Did the install fail?

My assumption is, based on the post quoted above, that going to domain.tld/portal/modules/ should give me this module list. It is, however, not doing that.
 
Going to /portal/modules with XenPorta enabled just takes me to a blank page with the XenPorta footer - Note that this is not an error page.

Did the install fail?

My assumption is, based on the post quoted above, that going to domain.tld/portal/modules/ should give me this module list. It is, however, not doing that.

If you are not seeing an error message that says "You do not have permissions to view this page" then it is not a permissions issue. It would seem something did go wrong with the install. I would suggest performing a fresh upload of your install files. If you are on a windows system using FTP all you need to do is copy the contents of the "upload" folder (not the folder itself) and drop them into your xf install directory. The js and library folders and their contents will then copy to their correct locations. Select to overwrite all existing files.

Then try again. If that does not work, try a fresh install (uninstall your current version if necessary).
 
I did the reupload and then followed that with an uninstall and reinstall. Verified my group has permission to administrate and I'm still getting shot back to /.

EDIT:

Getting a 301 redirect from /portal/modules
 
I did the reupload and then followed that with an uninstall and reinstall. Verified my group has permission to administrate and I'm still getting shot back to /.

EDIT:

Getting a 301 redirect from /portal/modules

what is unique about your site? Do you have a modified htaccess file? Any other re-directs in use? or sub-domains?

Is your ACP > Options > Basic Board Information > Home URL set correctly?
 
Oracle,

I used the htaccess.txt provided by XenForo.

I have the following other mods installed (after I gave up on XenPorta the first time):
- DisplayStaffMembers
- OnlineUsers
- [GP] Donations

HomeURL = http://gominecraft.com/

Will try with FriendlyURLs off and remove the .htaccess, see if it has any impact.

EDIT:
No change. I was, in fact, told to set the HomeURL value to blank to get rid of the double "Home" button. Disabling the .htaccess just changed it from a 301 redirect to an expected 404.
 
No change. I was, in fact, told to set the HomeURL value to blank to get rid of the double "Home" button.

That MIGHT be your issue right there. Try putting your home page URL in the Board URL field. Follow the instructions and place your full address without the trailing "/" so in your case http://gominecraft.com

PS. sry I just realized this is the wrong thread for this issue. We are in the XenPorta ADDON thread, not the main XenPorta thread.
 
I added that back in during the previous test. Nothing came of it.

I've since reinstalled <in another directory> and it does the same thing (Default install + XenPortal only). The mod just slings a 301 redirect when I go to /portal/modules. No error page, just a 301.

I tried to follow the code a bit to see if there was some auth step that was failing, but I saw nothing of note (It's been a few years since I've done any PHP work). Something is going on, I just can't figure out what at this point.

I'm utterly stumped.

EDIT:
The other problem with doubled "Home" buttons comes back when that field is filled in. I was told in the main Xen Porta thread to actually empty that value.
 
I got this error when I trying to install any of the mods: The provided file is not an add-on XML file

I install them from library/EWRporta/RecentNews.xml and I can access the file from a FTP-client. I have also tried to install a mod from a file on my desktop but I still got this error.

I also want to get the same sidebar as the one in the forum, all I want is a simple news page under Home. How to get the same sidebar as in the forum and all the other pages? Anyone can help me with this?
 
Anyone can help me with this?
For future reference plz share any XenPorta questions here > http://xenforo.com/community/threads/8wayrun-com-xenporta-portal.7586/

To quickly reply, if you already have XenPorta installed, then ensure you have set your permissions to "administrate portal". Using an account with permissions go to your Home > Modules page, then select the blocks you wish to appear on your home page.

Two things to understand. Not all blocks will work in all positions. Recent News and Recent Threads are designed for Top/Bottom/Center if I recall correctly, whereas the other blocks are mostly designed for left/right.

Also, some blocks are dependent upon other add-ons. For example the Wiki block wont work if you do not have XenCarta installed.
 
Top Bottom