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

Not Safe For Work (NSFW)

xfrocks

Well-known member
#6
I tried to install and had an "invalid callback method" error.
Also, the phrase under mode detection should not be "everytime you visit Xenforo" but "everytime you visit this website"
Make sure you uploaded correctly.
Also, the text "XenForo" is my test forums title, it will be replaced with yours when you install it.
 

Andy.N

Well-known member
#7
Make sure you uploaded correctly.
Also, the text "XenForo" is my test forums title, it will be replaced with yours when you install it.
Yes, I uploaded it correctly.
Delete the folder under /library
upload it again.
import XML
Still same error.
 
R

ragtek

Guest
#13
thx for this!:)
really gread add-on, specially the idea with the computer id!

BUT
all custom add-ons are having empty add-on boxes

is this because of my add-ons? i'm using <xen:avatar for the avatar output

Edit: OK it seems to fail for avatars within the span instead of img tag

Code:
.avatarHolder,         .avatar img, .avatarScaler img         {             display: none;         }
and mine isn't a img.

Code:
<a data-avatarhtml="true" class="avatar Av2s Tooltip" href="members/test2.2/"><span style="background-image: url('styles/default/xenforo/avatars/avatar_s.png')" class="img s">test2 (Yesterday at 10:58 AM)</span></a>
 

Attachments

#14
Hmm. That's not an ideal look :(
Looking at the code, those avatars are not inside an avatarHolder div so the layout doesn't get hidden - just the image. Annoyingly, the class of each avatar link in the sidebar is unique (eg. class="avatar Av9464m") so you can't specifiy an a.class bit of CSS to remove them altogether.
 

xfrocks

Well-known member
#15
BUT
all custom add-ons are having empty add-on boxes

is this because of my add-ons? i'm using <xen:avatar for the avatar output

Edit: OK it seems to fail for avatars within the span instead of img tag
The empty box is by design. I target <span /> with this

Code:
span.img
{
background-image: none !important;
}
Probably it's better to display a default image? Please share if you have an idea.

Btw, the original post has been updated with a correct version of the xml (stupid typo).

PS: And can someone split this to another thread in the Add-on area? Please?
 

Andy.N

Well-known member
#16
Installed and confirmed to work.

I understand the limitation of this approach. Ideally, we would remove the <span> class completely from postbit template. The left column where avatar used to show can be removed if we turn this one on. The avatar near quick reply box still have a hint of the span class border.

I think this will get better in the next version. Always like that with xfrocks addons ;)

The no smilies option is great ;)
 
R

ragtek

Guest
#17
The empty box is by design. I target <span /> with this

Code:
span.img
{
background-image: none !important;
}
Probably it's better to display a default image? Please share if you have an idea.

Btw, the original post has been updated with a correct version of the xml (stupid typo).

PS: And can someone split this to another thread in the Add-on area? Please?
lol
now i feeel really stupid because i didn't see
Code:
span.img
        {
            background-image: none !important;
        }
 
R

ragtek

Guest
#18
Hm, another place where they don't disappear:

FireShot capture #145 - 'poll I XenForo' - localhost_xenforo_threads_poll_216.png
Code:
<div class="placeholderContent">

        <a data-avatarhtml="true" class="avatar Av1s" href="members/ragtek.1/"><img width="48" height="48" alt="ragtek" src="data/avatars/s/0/1.jpg?1310841412"></a>
        
        <div class="messageInfo primaryContent">
            <div>
                This message by <a class="username" href="members/ragtek.1/">ragtek</a> has been removed from public view.
                
                
                    Deleted by <a class="username" href="members/ragtek.1/">ragtek</a>,
                    <abbr data-timestring="8:23 AM" data-datestring="Oct 6, 2011" data-diff="4670" data-time="1317882195" class="DateTime" title="Oct 6, 2011 at 8:23 AM">Today at 8:23 AM</abbr>.
                
            </div>
            
            <div class="messageMeta">
                <div class="privateControls">
        <input type="checkbox" data-target="#post-404" class="InlineModCheck item" value="404" name="posts[]">
        
        <abbr data-timestring="10:00 AM" data-datestring="Oct 3, 2011" data-diff="258037" data-time="1317628828" class="DateTime muted item" title="Oct 3, 2011 at 10:00 AM">Monday at 10:00 AM</abbr>
        
        <a data-messageselector="#post-404" class="MessageLoader control item show" href="threads/poll.216/show-posts?post_id=404"><span></span>Show</a>        
    </div>
            </div>
        </div>
        
    </div>