• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.1 3 questiones pls

#1
hi,
how can i have the best protect for the forum

and how can i change the icon here to Multiple icones 7.png

and the size for this font 8.png
 

Jake Bunce

XenForo moderator
Staff member
#2
how can i have the best protect for the forum
See this guide for protecting the Admin CP:

http://xenforo.com/community/thread...d-the-install-directory-using-htaccess.13768/

This is only needed if you want to add another login in addition to your admin login.

and how can i change the icon here to Multiple icones View attachment 21938
See this thread:

http://xenforo.com/community/threads/rc-1-custom-node-status-icons-read-unread.10886/

But in 1.1 you must also set the background-position unless you are using sprites that mirror the default node icons. Here is the code from that thread with the background-position added:

Code:
/* custom status icons */
.node .node_7 .forumNodeInfo .nodeIcon, .node .node_7 .categoryForumNodeInfo .nodeIcon {
    background-image: url("@imagePath/xenforo/widgets/forum-read-7.png");
    background-position: 0px 0px;
}
.node .node_7 .forumNodeInfo.unread .nodeIcon, .node .node_7 .categoryForumNodeInfo.unread .nodeIcon {
    background-image: url("@imagePath/xenforo/widgets/forum-unread-7.png");
    background-position: 0px 0px;
}
Admin CP -> Appearance -> Style Properties -> Breadcrumb -> Breadcrumb
 

Brogan

XenForo moderator
Staff member
#5
It's on the same sprite as the other node icons.

Change it in Style Properties -> Node Icons -> Node Icon: Page
 
#6
i used the code on EXTRA.css

/* custom status icons */
.node .node_7 .forumNodeInfo .nodeIcon, .node .node_7 .categoryForumNodeInfo .nodeIcon {
background-image: url("@imagePath/xenforo/widgets/forum-read-7.png");
background-position: 0px 0px;
}
.node .node_7 .forumNodeInfo.unread .nodeIcon, .node .node_7 .categoryForumNodeInfo.unread .nodeIcon {
background-image: url("@imagePath/xenforo/widgets/forum-unread-7.png");
background-position: 0px 0px;
}


so can you tell me what is right code

Thanks Brogan
 

Jake Bunce

XenForo moderator
Staff member
#7
For the link forum, add this code:

Code:
/* custom status icons */
.node.node_7 .linkNodeInfo .nodeIcon {
background-image: url("@imagePath/xenforo/widgets/forum-read-7.png");
background-position: 0px 0px;
}
You still need to specify the node_id and image location.