[8WR] XenPorta (Portal)

[8WR] XenPorta (Portal) 1.6.0

No permission to download
Second bump - please help!

It looks like extra variables are being passed to the tweet, g+ and facebook buttons which contain the url of the thread, not the portal home page.


Code:
data-url="{xen:link canonical:threads, $news}"


So if you take that and add the bit in quotation marks it to the share this button it works:

Code:
<div class="shareControl" style="width:107px">
<div class="addthis_toolbox addthis_default_style ">
<a class="addthis_counter addthis_pill_style" addthis:url="{xen:link canonical:threads, $news}" {xen:if {$thread.title}, 'addthis:title="{xen:helper threadPrefix, $thread, escaped}{$thread.title}"'}></a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=yourid"></script>
</div>
 
If I understand your question properly ... I guess you cannot have RecentSlider in Xenforo demo ... there are extra files need to be uploaded and installed, and I don't think you will get that access.

About picture size, yes, you need to make the picture same size as you defined in your recentslider settings. This plugin cannot automatically scale the image.

If you look at the attatchment, then i posted a screenshot from 8wayrun and my site.
same slider, but how to i remove the thumbnail from left side?
 

Attachments

  • Untitled.webp
    Untitled.webp
    47.9 KB · Views: 18
You can just edit the template to remove the thumbnail. Use firebug to find the correct bit to remove, it's fairly obvious.
 
If you have any problems then post here but it should be straightforward. It's an obvious <div> that has just the thumbnail in it.
 
It looks like extra variables are being passed to the tweet, g+ and facebook buttons which contain the url of the thread, not the portal home page.


Code:
data-url="{xen:link canonical:threads, $news}"


So if you take that and add the bit in quotation marks it to the share this button it works:

Code:
<div class="shareControl" style="width:107px">
<div class="addthis_toolbox addthis_default_style ">
<a class="addthis_counter addthis_pill_style" addthis:url="{xen:link canonical:threads, $news}" {xen:if {$thread.title}, 'addthis:title="{xen:helper threadPrefix, $thread, escaped}{$thread.title}"'}></a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=yourid"></script>
</div>
Thanks, that worked, but it does not seem to carry over the thread's title. Is there a way to do this as well?
 
From the XenPorta User Guide and FAQ:

What does the “Set as Index Controller” feature do?

As the description below it says, it moves the forums to /forum (e.g. http://domain.com to http://domain.com/forum/) and sets the /portal/ page to be the index (e.g. http://domain.com/portal/ to http://domain.com/)

This assumes that your xenForo is installed at your document root (i.e. http://domain.com). But if you have your xenForo installed in, say, forums/ then your Index appears at http://domain.com/forums/ and your forums appear at http://domain.com/forums/forum.

If one has their xenForo installed in, say, http://domain.com/forums, is it possible to have the document root behave as the portal?
 
SUGGESTION: Sorry if I'm missing this or you've mentioned this or it's been suggested.

It would be great if we could choose which categories a thread is when we're promoting it.
 
Top Bottom