форум vBSupport.ru > vBulletin > vBulletin 3.8.x > Вопросы по vBulletin 3.8
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'а физически не в состоянии проверять все стили, хаки и нули, выкладываемые пользователями.
Помните: безопасность Вашего проекта - Ваша забота.
Убедительная просьба: при обнаружении уязвимостей или сомнительных кодов обязательно отписывайтесь в теме хака/стиля
Спасибо за понимание
 
 
 
 
sochie1
Простоузер
Question рекламу adsence в каждом сообщение
0

Есть форум
Как сделать рекламу adsence в каждом сообщение?
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 
 
ADDEN
Продвинутый
 
ADDEN's Avatar
Default
0

править шаблон postbit
и вставить код рекламы или до "подпись пользователя" или после "подпись пользователя"

Оффтоп
 
 
sochie1
Простоузер
Default
0

Quote:
Originally Posted by ADDEN View Post
править шаблон postbit
и вставить код рекламы или до "подпись пользователя" или после "подпись пользователя"

Оффтоп
а как это по англицки выглядит?
 
 
OldEr
Специалист
Master
 
OldEr's Avatar
Default
0

Quote:
Originally Posted by sochie1 View Post
Как сделать рекламу adsence в каждом сообщение?
Насколько я знаю гугль разрешает размещать не более двух блоков рекламы на одной странице.
 
 
sochie1
Простоузер
Default
0

Quote:
Originally Posted by OldEr View Post
Насколько я знаю гугль разрешает размещать не более двух блоков рекламы на одной странице.
серъезно?
 
 
lumos
Простоузер
Default
0

Оффтоп
 
 
OldEr
Специалист
Master
 
OldEr's Avatar
Default
0

Quote:
Originally Posted by sochie1 View Post
серъезно?
Вполне. = )
 
 
LordWeber54645645
Простоузер
Default
0

Оптимизация форума УГ
 
 
giovanni
Простоузер
Default
1

Admin CP -> Styles & Templates -> Style Manager -> « » -> Postbit Templates -> postbit or postbit_legacy (depending on which layout you are using)

Add the blue code to the very bottom of the template:


Code:
</div><!-- / post $post[postid] popup menu --><if condition="$show['spacer']"> </div> $spacer_close</if><!-- / post #$post[postid] --><if condition="$post[postcount] == 1">$spacer_open<div style="padding:0px 0px $stylevar[cellpadding]px 0px"><table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"><tr> <td class="thead" align="left">Sponsored Links</td></tr><tr> <td class="alt1" align="center"> BANNER CODE HERE </td></tr></table></div>$spacer_close</if>
Replace the red code with your own banner / ad code.

The end result will look like this:

Attachment 12473

Here are several other conditions you can use in the above code to show the banner in different places. Simply replace the first "if" statement.

...after the first post on every page (instead of just the first page):


Code:
<if condition="$post[postcount] % $vboptions[maxposts] == 1">
...after the first post, but only for guests:


Code:
<if condition="$post[postcount] == 1 AND !$bbuserinfo[userid]">
...after the first post, but only if the thread has at least 2 replies (so you never see a banner and only 1 post):


Code:
<if condition="$post[postcount] == 1 AND $GLOBALS[threadinfo][replycount] >= 2">
...after the first post, but only in specific forums (where X,Y,Z is a comma list of forumids):


Code:
<if condition="$post[postcount] == 1 AND in_array($GLOBALS[forumid], array(X,Y,Z))">
...after every X posts (replace X with a number):


Code:
<if condition="$post[postcount] % X == 0">
...after the last post on every page:


Code:
<if condition="$post['islastshown']">
...between the last and second to last post on every page (need to move the above code to the very top of the template instead of the bottom, then use the same condition as above):


Code:
<if condition="$post['islastshown']">
You can use pieces of these conditions to do different combinations. For example, this condition will show the banner after the first post on every page (instead of just the first page), but only for guests, and only in certain forums (where X,Y,Z is a comma list of forumids):


Code:
<if condition="$post[postcount] % $vboptions[maxposts] == 1 AND !$bbuserinfo[userid] AND in_array($GLOBALS[forumid], array(X,Y,Z))">
 


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 06:51 PM.


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