• 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)

Status
Not open for further replies.
Hi Jaxel,

Great mod, just been having a little play around with it, however ive come across one small problem and was wondering if you would be able to help.

When im on the portal home page, part of the navbar isnt showing. Ive attached a couple of pictures as it would be easier then me trying to explain it!

This picture shows the nav area using your portal
1.webp

This picture shows the nav area on all other pages of my site
2.webp

The blue area seems to be missing.

Any help greatly appreciated :)
 
So if I have xenforo installed at www.mywebsite.com/community/ how do I make the portal homepage be at www.mywebsite.com ?
You need to either install XenForo to the root, or use htaccess.

Hi Jaxel,

Great mod, just been having a little play around with it, however ive come across one small problem and was wondering if you would be able to help.

When im on the portal home page, part of the navbar isnt showing. Ive attached a couple of pictures as it would be easier then me trying to explain it!
Did you disable the option for "Show Navigation Tab?"... you shouldn't.

That option is for people who DONT use the portal part of this mod and are only using it as a sidebar framework.
 
Thanks Jaxel. I did have it ticked thinking it meant show the tab, but ive unticked it now and it works a treat :)
 
Hi,
Im using the built in events module, but for some reason its not displaying correctly. Ive got it set to show next 7 days worth of events.

Ive added a screenshot if that helps at all!
 

Attachments

  • event.webp
    event.webp
    5.7 KB · Views: 16
Does anyone know how to remove the board title and breadcrumbs from the portal page only. It's driving me nuts..... :confused:

I got it.... :whistle:
  1. For breadcrumb:
    To make JUST disappears from the portal, edit the breadcrumb template and put at very top:
    Code:
    <xen:if is="{$contentTemplate} != 'EWRporta_Portal'">
    and put at very bottom:
    Code:
    </xen:if>
    Save changes
  2. For forum title:
    To make JUST disappears from the portal, edit PAGE_CONTAINER template and search:
  3. Code:
                            <xen:hook name="page_container_content_title_bar">
                           <xen:if is="!{$noH1}">                        
                                 <!-- h1 title, description -->
                                 <div class="titleBar">
                                     <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>
    Change by:
    Code:
                            <xen:hook name="page_container_content_title_bar">
     <xen:if is="{$contentTemplate} != 'EWRporta_Portal'">
                             <xen:if is="!{$noH1}">                        
                                 <!-- h1 title, description -->
                                 <div class="titleBar">
                                     <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:if>
                             </xen:hook>
  4. SAVE CHANGES
Salud2
 
this will do simple HTML

Code:
<?xml version="1.0" encoding="utf-8"?>
<module>
  <module_name>Html</module_name>
  <module_cache>now</module_cache>
  <module_settings/>
  <module_template><![CDATA[<div class="messageText ugc baseHtml">
    <div class="secondaryContent">
        <center>
        <div><img src="/images/image.jpg"></div>
    </div></center>
<div><h3>Welcome to my website!</h3>

this is some text.<BR><BR>

lorum ipsom dolor<BR><BR>

blah blah blah.<BR><BR>

click <a href="http://google.com/forum/">google</a> to link<
</div>
</div>]]></module_template>
</module>

Hi, Has anything changed since you posted this as I just received this error when trying to import

Server Error

SimpleXMLElement::__construct() [simplexmlelement.--construct]: /tmp/phph8xRtO:2: parser error : XML declaration allowed only at the start of the document
  1. XenForo_Application::handlePhpError()
  2. SimpleXMLElement->__construct() in EWRporta/Model/Modules.php at line 79
  3. EWRporta_Model_Modules->importModule() in EWRporta/ControllerPublic/Portal.php at line 165
  4. EWRporta_ControllerPublic_Portal->actionImport() in XenForo/FrontController.php at line 310
  5. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
  6. XenForo_FrontController->run() in /home/mydover/public_html/DCR/index.ph
 
I made a Custom Google search that will search the xenporta thread only.
HTML:
<div id="cse" style="width: 100%;">Loading</div>
<script src="http://www.google.com/jsapi" type="text/javascript"></script>
<script type="text/javascript">
  google.load('search', '1', {language : 'en'});
  google.setOnLoadCallback(function() {
    var customSearchControl = new google.search.CustomSearchControl('011890629337310223035:haqxwbojv1i');
    customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
    customSearchControl.draw('cse');
  }, true);
</script>
<link rel="stylesheet" href="http://www.google.com/cse/style/look/default.css" type="text/css" />
 
I made a Custom Google search that will search the xenporta thread only.
HTML:
<div id="cse" style="width: 100%;">Loading</div>
<script src="http://www.google.com/jsapi" type="text/javascript"></script>
<script type="text/javascript">
  google.load('search', '1', {language : 'en'});
  google.setOnLoadCallback(function() {
    var customSearchControl = new google.search.CustomSearchControl('011890629337310223035:haqxwbojv1i');
    customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
    customSearchControl.draw('cse');
  }, true);
</script>
<link rel="stylesheet" href="http://www.google.com/cse/style/look/default.css" type="text/css" />
Thanks. Better in http://xenforo.com/community/threads/8wayrun-com-xenporta-module-add-ons.7611/

Salud2
 
Thank you so much for that :)

Ive been trying to read through the threads on this thread and the main mod thread on my phone at work earlier looking for little bits of info! Tried yours and it worked a treat!
 
Sorry, One more quick question! Using the custom code from your link above - How would I go about getting the titles to match in style?

Ive attached a screenshot - How would I get "Become a Member of DCR" to match the same style as "Upcoming Events" and "Events for August 2011"

Im presuming its stored somewhere in a CSS file? Or hopefully its something nice anc easy like a bit of code I can wrap the title in!

Any help much appreciated :)
 

Attachments

  • 3.webp
    3.webp
    24.8 KB · Views: 8
Sorry, One more quick question! Using the custom code from your link above - How would I go about getting the titles to match in style?

Ive attached a screenshot - How would I get "Become a Member of DCR" to match the same style as "Upcoming Events" and "Events for August 2011"

Im presuming its stored somewhere in a CSS file? Or hopefully its something nice anc easy like a bit of code I can wrap the title in!

Any help much appreciated :)
Try changing all contents in EWRporta_Block_Html (or the module name is given) template in the appropriate(s) style(s)
Code:
<div class="section">
    <div class="secondaryContent id="Html">
        <center>
            <div><img src="/images/image.jpg"></div>
        </center>
        <h3>Welcome to my website!</h3>
    </div>

    this is some text.</BR></BR>

    lorum ipsom dolor</BR></BR>

    blah blah blah.</BR></BR>

    click <a href="http://google.com/forum/">google</a> to link<

</div>

Salud2
 
  1. For breadcrumb:
    To make JUST disappears from the portal, edit the breadcrumb templateand put up at all:





    Code:
    <xen:if is="{$contentTemplate} != 'EWRporta_Portal'">
    put down completely:​
    Code:
    </xen:if>
    Save change​

fir this step could you give me a copy paste of your breadcrumb template so i can see what you mean?

I dont understand it.

Thanks!
 
Status
Not open for further replies.
Top Bottom