форум vBSupport.ru > vBulletin > vBulletin 4.2.x > Внешний вид 4.2.x
Register Меню vBsupport Изображения Files Manager О рекламе Today's Posts Search
  • Родная гавань
  • Блок РКН снят
  • Premoderation
  • For English speaking users
  • Каталог Фрилансеров
  • If you want to buy some product or script
  • Администраторам
VBsupport перешел с домена .ORG на родной .RU Ура! Пожалуйста, обновите свои закладки - VBsupport.ru
Блок РКН снят, форум доступен на всей территории России, включая новые терртории, без VPN
На форуме введена премодерация ВСЕХ новых пользователей

Почта с временных сервисов, типа mailinator.com, gawab.com и/или прочих, которые предоставляют временный почтовый ящик без регистрации и/или почтовый ящик для рассылки спама, отслеживается и блокируется, а так же заносится в спам-блок форума, аккаунты удаляются
for English speaking users:
You may be surprised with restriction of access to the attachments of the forum. The reason is the recent change in vbsupport.org strategy:

- users with reputation < 10 belong to "simple_users" users' group
- if your reputation > 10 then administrator (kerk, Luvilla) can decide to move you into an "improved" group, but only manually

Main idea is to increase motivation of community members to share their ideas and willingness to support to each other. You may write an article for the subject where you are good enough, you may answer questions, you may share vbulletin.com/org content with vbsupport.org users, receiving "thanks" equal your reputation points. We should not only consume, we should produce something.

- you may:
* increase your reputation (doing something useful for another members of community) and being improved
* purchase temporary access to the improved category:
10 $ for 3 months. - this group can download attachments, reputation/posts do not matter.
20 $ for 3 months. - this group can download attachments, reputation/posts do not matter + adds eliminated + Inbox capacity increased + files manager increased permissions.

Please contact kerk or Luvilla regarding payments.

Important!:
- if your reputation will become less then 0, you will be moved into "simple_users" users' group automatically.*
*for temporary groups (pre-paid for 3 months) reputation/posts do not matter.
Уважаемые пользователи!

На форуме открыт новый раздел "Каталог фрилансеров"

и отдельный раздел для платных заказов "Куплю/Закажу"

Если вы хотите приобрести какой то скрипт/продукт/хак из каталогов перечисленных ниже:
Каталог модулей/хаков
Ещё раз обращаем Ваше внимание: всё, что Вы скачиваете и устанавливаете на свой форум, Вы устанавливаете исключительно на свой страх и риск.
Сообщество vBSupport'а физически не в состоянии проверять все стили, хаки и нули, выкладываемые пользователями.
Помните: безопасность Вашего проекта - Ваша забота.
Убедительная просьба: при обнаружении уязвимостей или сомнительных кодов обязательно отписывайтесь в теме хака/стиля
Спасибо за понимание
 
 
 
 
Liked
Специалист
 
Liked's Avatar
Default URL- иконка после ссылки
5



Добавляет такую иконку после каждой ссылки.

Дабы не засорять additional.css, добавим следующий код в postbit.css :


Чтобы иконка отображалась после ссылки:
Code:
.postlist .postdetails .postbody .content .postcontent a {
 background: url("images/icons/url.gif") no-repeat scroll right center transparent !important;
 padding-right: 15px; 
}
Чтобы иконка отображалась перед ссылкой:

Code:
.postlist .postdetails .postbody .content .postcontent a {
 background: url("images/icons/url.gif") no-repeat scroll left center transparent !important;
 padding-left: 15px; 
}

Далее заливаем картинки из вложений (там красная и синяя, выберите подходящую) сюда:
images/icons/
Attached Images
  

Last edited by Liked : 11-19-2013 at 09:49 PM.
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 
 
Canny
Знаток
 
Canny's Avatar
Default
0

А у меня наоборот получается, 1й код - после ссылки, 2й - перед ссылкой )

Last edited by Canny : 11-19-2013 at 04:48 AM.
 
 
Sven
Front-End Developer
 
Sven's Avatar
Default
0

Потому, что так и есть, судя по коду.
 
 
kerk
k0t
 
kerk's Avatar
Default
1

 
 
Canny
Знаток
 
Canny's Avatar
Default
0

Оффтоп
 
 
Shestak
Эксперт
 
Shestak's Avatar
Default
3

Оффтоп
 
 
dhonchik
Продвинутый
Экстремал
 
dhonchik's Avatar
Default
0

Во так будет правильнее

Code:
.postlist .postdetails .postbody .content .postcontent a {
 background: url("images/icons/url.png") no-repeat scroll left center transparent !important;
 padding-left: 15px; 
}
dhonchik добавил 19.11.2013 в 08:52
И показывает эту тыцкалку везде, вложения и тд, все кривит

Last edited by dhonchik : 11-19-2013 at 09:53 AM. Reason: Добавлено сообщение
 
 
kerk
k0t
 
kerk's Avatar
Default
1

Quote:
Originally Posted by Canny View Post
такое можно поставить на 4ку ?
куда угодно
http://vbsupport.ru/forum/showthread.php?t=30078
 
 
Sellrion
Kernel panic
 
Sellrion's Avatar
Default
0

Ну во-первых такие иконки ставятся только на внешние ссылки, а не на совершенно любые. Поэтому одним CSS тут явно не обойтись. Во-вторых, у такого способа есть один недостаток: при наведении указателя мыши на саму иконку, он не меняет внешний вид на указатель для ссылок, а хотелось бы. Поэтому одним CSS тут снова не обойтись. Необходимо у каждой такой ссылки добавлять контейнер, в котором делать бекграунд с паддингом, потом на этот контейнер вешать событие OnClick и менять указатель мыши на Pointer. Ну это в идеале.)
 
 
kerk
k0t
 
kerk's Avatar
Default
0

пример внешней ссылки
http://www.microsoft.com/
пример внутренней ссылки
http://vbsupport.ru/forum/showthread.php?t=48244
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT +4. The time now is 07:12 PM.


Powered by vBulletin® Version 3.0.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.