форум vBSupport.ru > Форумные движки и CMS (Порталы) > CMS (Portals) > vBadvanced CMPS
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'а физически не в состоянии проверять все стили, хаки и нули, выкладываемые пользователями.
Помните: безопасность Вашего проекта - Ваша забота.
Убедительная просьба: при обнаружении уязвимостей или сомнительных кодов обязательно отписывайтесь в теме хака/стиля
Спасибо за понимание
 
 
 
 
Kirent
Простоузер
Default vBShout on all pages! [AJAX] vBShout v2.0 on vBadvanced CMPS 2.0.0
0

Сабж..., очень нужно., где взять? дайте плиз ссылку!
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 
 
kerk
k0t
 
kerk's Avatar
Default
5

vBShout on all pages!


Works for vBShout version 2.0

This hack will make vBShout show on all pages of your side. BUT, will only alow the shoutbox to be placed under the navbar.

1) Install vBShout (Download here)

2) Edit plugin "vBShout [Template Alteration]" and make the following changes:

a) Change the Hook Location to "global_start"

b) Find and delete:
PHP Code:
 function isBanned($user

    return (
isBanned_Check($user['userid'], 'shout_banned_users') || isBanned_Check($user['usergroupid'], 'shout_banned_usergroups'));     
}

function 
isBanned_Check($bash$against

    global 
$vbulletin
    return 
in_array($bashiif($vbulletin->options[$against], explode(','$vbulletin->options[$against]), array())); 

c) Find:
PHP Code:
 $vbulletin->templatecache['FORUMHOME'] = str_replace($Position$Position ' $Shoutbox'$vbulletin->templatecache['FORUMHOME']); 
and replace with:
PHP Code:
 $Position '<!-- / nav buttons bar -->'
$vbulletin->templatecache['navbar'] = str_replace($Position$Position '<br /> $Shoutbox'$vbulletin->templatecache['navbar']); 
3) Edit plugin "vBShout [Template Cache]" and make the following change:

Find:
PHP Code:
 if (THIS_SCRIPT == "index"
Replace with:
PHP Code:
 if (VB_AREA == "Forum"
Attached Files
File Type: zip vBShout on all pages.zip (764 Bytes, 121 views)
File Type: zip vBShout.zip (10.8 KB, 158 views)

Last edited by kerk : 11-18-2005 at 09:50 PM.
 
 
Kirent
Простоузер
Default
0

Спасибо конечно но можно по русски и еще выложить вторую версию?



Я е понял как зделать чтоб на всех страницах отображалось., и поему смайлы не отображаються? а только текст смайлов?



помогите настроить функцию отображения чата на всех страницах



**************************************

что то у меня ничего не получаеться.....

установил..., далее захожу в понель админа.,

захожу в темплейты "vBShout [Template Alteration]", меняю место хака на "global_start"

ищу и удаляю этот текст :

function isBanned($user) { return (isBanned_Check($user['userid'], 'shout_banned_users') || isBanned_Check($user['usergroupid'], 'shout_banned_usergroups')); }
function isBanned_Check($bash, $against) { global $vbulletin; return in_array($bash, iif($vbulletin->options[$against], explode(',', $vbulletin->options[$against]), array())); }

удалил..., далее..

в этих же темплейтак нахожу строку :

$vbulletin->templatecache['FORUMHOME'] = str_replace($Position, $Position . ' $Shoutbox', $vbulletin->templatecache['FORUMHOME']);

и меняю ее на:

$Position = '<!-- / nav buttons bar -->'; $vbulletin->templatecache['navbar'] = str_replace($Position, $Position . '<br /> $Shoutbox', $vbulletin->templatecache['navbar']);

Далее сохраняю...

потом перехожу вот сюда "vBShout [Template Cache]" (при этом стоят установки места хака по умолчанию)

потом ищу текст:

if (THIS_SCRIPT == "index")


и заменяю его на:

if (VB_AREA == "Forum")


и после этих операций.., чат просто не отображаеться.., подскажите может я что то не то делаю?



Памагите!

Last edited by Kirent : 11-19-2005 at 07:19 AM. Reason: Добавлено сообщение
 
 
Shvonder
Простоузер
Default
0

все равно работает только на главной странице форума..... гдето ошибка?
очень хороший модуль но сделать бы чтобы работал на всех
 
 
Kirent
Простоузер
Default
0

в том то и дело, что только на главной
 
 
Shvonder
Простоузер
Default
0

Quote:
Originally Posted by Kirent
в том то и дело, что только на главной
дык а как сделать то? описанный способ не работает :(
 
 
Kirent
Простоузер
Default
0

Ну вот я и сам не знаю, и все остальные молчат.. наверное военная тайна =)
 
 
Shvonder
Простоузер
Default
0

палево то какое.... этот хак тока мне нужен?
 
 
StirolXXX
Продвинутый
 
StirolXXX's Avatar
Default
0

Хмм... в архиве vbshout версии 1.5 а в хаке требуеться 2.0!
Quote:
| ------------------------------- |
| vBShout |
| Version: 1.5 |
| Created By Zero Tolerance |
| An Inferno Technologies Product |
| ------------------------------- |
 
 
kerk
k0t
 
kerk's Avatar
Default
0

я пару хаков (панель ссылок и Scrolling News) сделал уже с такими же настройками модулей и хуков, как и у этого чата - все показывает на всех страницах... =))
что то вы неправильно делаете
 


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:29 AM.


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