• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
  • 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.

[XFStyles.net] XenColor pro

Status
Not open for further replies.

SonicRC

Well-known member
#1
Version: XenColor pro 0.2

Bildschirmfoto 2010-12-15 um 13.58.45.png
Bildschirmfoto 2010-12-15 um 13.59.03.png

It`s very easy to change the colors:


colors.png

ZIP Contents:
-xencolor image directory
-style-XenColor pro.xml
-Readme.txt

XenColor pro 0.2 changelog:
- updated to RC2!

If you find any bugs or need support please post in this thread and not via private message. Thank you

Note: XenColor is a beta version. Stay tuned for further updates!

Demo

Enjoy!

SonicRC
 

Attachments

melbo

Well-known member
#10
I really like the post icons! Just installed it on my RC1 test and the only problem I've found is that the lightbox is not working on attachments. It works fine on my default style. How can I fix this?

Thanks for a great style
 

SonicRC

Well-known member
#11
Thanks. Hm Attachments works for me. But you can try this:

- search for template "attached_files"
- replace it with:

Code:
<xen:require css="attached_files.css" />

<div class="attachedFiles secondaryContent">
    <h4 class="attachedFilesHeader">{xen:phrase attached_files}:</h4>
    <ul class="attachmentList">
        <xen:foreach loop="$post.attachments" value="$attachment">
            <li class="attachment{xen:if {$attachment.thumbnailUrl}, ' image'}" title="{$attachment.filename}">
                <div class="boxModelFixer primaryContent">

                    <div class="thumbnail">
                        <xen:if is="{$attachment.thumbnailUrl} AND {$canViewAttachments}">
                            <a href="{xen:link attachments, $attachment}" target="_blank" class="LbTrigger"
                                data-href="{xen:link misc/lightbox}"><img
                                src="{$attachment.thumbnailUrl}" alt="{$attachment.filename}" class="LbImage"
                                data-src="{xen:link attachments, $attachment, 'embedded=1'}" /></a>
                        <xen:elseif is="{$attachment.thumbnailUrl}" />
                            <a href="{xen:link attachments, $attachment}" target="_blank"><img src="{$attachment.thumbnailUrl}" alt="{$attachment.filename}" /></a>
                        <xen:else />
                            <a href="{xen:link attachments, $attachment}" target="_blank"><img
                                src="@imagePath/xenforo/widgets/page2.png" alt="{$attachment.filename}" /></a>
                        </xen:if>
                    </div>

                    <div class="attachmentInfo pairsJustified">
                        <h6 class="filename"><a href="{xen:link attachments, $attachment}" target="_blank">{$attachment.filename}</a></h6>
                        <dl><dt>{xen:phrase file_size}:</dt> <dd>{xen:number $attachment.file_size, size}</dd></dl>
                        <dl><dt>{xen:phrase views}:</dt> <dd>{xen:number $attachment.view_count}</dd></dl>
                    </div>
                </div>
            </li>
        </xen:foreach>
    </ul>
</div>

<xen:comment><xen:require css="xenforo.css" /></xen:comment>
 

melbo

Well-known member
#12
I think my problem is with imported attachments (images)

If I add a new image as attachment in your style, it works fine, if I click on the imported ones, they look and behave differently (open in new window)

Also, when viewing attachments that I uploaded after the import and within xencolor, I've lost the controls in the upper right hand side.

imported.jpg attached_after_XF.JPG no_controls.JPG
 

kkm323

Well-known member
#13
this is a pro work and i should thank you so much for sharing
i also want to see more work done and i can't wait to use as my official style
 

SonicRC

Well-known member
#14
XenColor pro 0.2 changelog:
- updated to RC2!

@melbo
Please update XenColor to RC2. If the problem still appears, please check if it only appears with XenColor or with the default style too. It doesn`t sound like an style issue to me.
 

melbo

Well-known member
#15
Wow! Thanks for the update.
The lightbox now works for thumbnails and attached images but it still doesn't show the 'X' and Pop-Out control in the upper right corner. Those controls do show on the RC2 default style. They are there since they work if you click them but they don't show up. This is a great style and I'm thinking of using it as my default when I go live. Thanks again!

Default RC2
control.png


XenColor RC2
nocontrol.png
 

melbo

Well-known member
#18
OK, new to XF styles. Templates in custom styles like xenColor show as needing reverting. Should they be reverted or is the customization of the style what makes them show as needing reverting?
 
Status
Not open for further replies.