форум vBSupport.ru > vBulletin > Old vB versions (3.0.x & 2.x.x) > vBulletin 3.6.x > Hacks, mods and scripts [3.6.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'а физически не в состоянии проверять все стили, хаки и нули, выкладываемые пользователями.
Помните: безопасность Вашего проекта - Ваша забота.
Убедительная просьба: при обнаружении уязвимостей или сомнительных кодов обязательно отписывайтесь в теме хака/стиля
Спасибо за понимание
 
 
 
 
ssmol
Специалист
 
ssmol's Avatar
Default BBcode Manager 1.22b
1

BBcode Manager
-Version 1.22b-
Works with vB 3.5 and vB 3.6
*********************************************
By Cédric Claerhout


-Description-
This modification allows you to have new looks for quote, code, phg and html bbcodes. The setup is very easy.


-Functionalities-
>5 news looks for bbcodes in order to enhance your messages : Light bbcode set ; Dark bbcode set ; Pastel bbcode set ; Simple bbcode set and Simple bbcode with transparency b/g
>Configure this sets according to your styles
>gif or png formats available for pictures
>Autodetect IE 6 function to use gif extension for this browser
In order to work efficiently the Cached Posts Lifespan must be set to 0 in vB options
>Mono or double bubbles for simple quote bbcode
>If you forget or don't want to specify a set for a style, it will use the defaut vB display.
>vBadvanced option to use a special vBadvanced bbcodes set in the first message of a topic. Configure it for all your forums or just a few ones.

-Installation-
1-Upload "bbcodemanager" pictures directory in vBulletin images directory :
/forums/images/
2-Import the product xml file
3-Configure the mod in vBulletin options -> "BBcode templates manager"
4-Modify includes/class_bbcode.php as described in 02_modification.txt file included in the archive.

-Updates-
-15/07/2006 : version 1.22b released ; link to a picture corrected
-14/07/2006 : version 1.22 released ; code is simpler ; use now $style[styleid] variable instead of $styleid ->allow guests to see the right bbcode set
-12/07/2006 : version 1.21 released ; now you can config several style ids (for real this time)
-12/07/2006 : version 1.2 released ; new installation procedure ; many big problems corrected ; html code of new bbodes templates updated ; tested and validated XHTML
-03/07/2006 : now you can config several style ids



-Important-

To uninstall version 1.1, you have to follow a specific procedure described in the archive or in the message below.

BBcode Manager - Uninstall version 1.1 product file


Loading Master style

Sorry for this, i'm guilty. You have to import again your vB Master templates

---Why this ?---

The xml product installation file of BBcode Manager version 1.1 replaces bbcodes original vbulletin templates. It means when you uninstall the product file, it delete quote, code, php and html bbcodes templates ! The good news is that the version 1.2 installation file corrects this. The bad news : before install it, you have to import vB Master style templates.

---How to do this ?---

0-Delete BBcode manager version 1.1 (or less) with product file manager.
1-Download on vbulletin.com the same version of vB than the one you're using (your forum works with 3.5.1, so download 3.5.1 archive)
2-Import on your ftp server, the install directory (/install)
3)Launch the update procedure (/install/upgrade.php) ; Click on "next" until the end.
The update is only going to import master template and master language. It won't affect your forum.
4)Delete the install directory from your ftp server.


Update includes/class_bbcode.php file

With 1.2 version, you have to modify includes/class_bbcode.php file. If you have already made the modifications of 1.1 version, update the file like discribed below.

Find (4 times) :
Code:
    // BBcode Manager start
    if ($vbulletin->options['quote_vba'] and !$GLOBALS['FIRSTPOSTID'])
    {
        if ($vbulletin->options['quote_vba_forums_all'] or in_array($GLOBALS[forumid], array($vbulletin->options['quote_vba_forums'])))
        {
            switch ($template)
            {
            case 'bbcode_quote': 
            $template = 'bbcode_quote_vba';
            break;
            case 'bbcode_code': 
            $template = 'bbcode_code_vba';
            break;
            case 'bbcode_php': 
            $template = 'bbcode_php_vba';
            break;
            case 'bbcode_html': 
            $template = 'bbcode_html_vba';
            break;
            }
        }
    }
    // BBcode Manager end
Replace with (4 times) :
---------------------------------------------------------------------------------


Code:
    // BBcode Manager start
    if ($vbulletin->options['quote_vba'] and !$GLOBALS['FIRSTPOSTID'])
    {
        if ($vbulletin->options['quote_vba_forums_all'] or in_array($GLOBALS[forumid], array($vbulletin->options['quote_vba_forums'])))
        {
            switch ($template)
            {
            case 'bbcode_quote': 
            $template = 'bbcode_quote_vba';
            break;
            case 'bbcode_code': 
            $template = 'bbcode_code_vba';
            break;
            case 'bbcode_php': 
            $template = 'bbcode_php_vba';
            break;
            case 'bbcode_html': 
            $template = 'bbcode_html_vba';
            break;
            }
        }
    }
    elseif ($GLOBALS[bbcodeset] == 'bbsetlight')
    {
        switch ($template)
        {
        case 'bbcode_quote': 
        $template = 'bbcode_quote_light';
        break;
        case 'bbcode_code': 
        $template = 'bbcode_code_light';
        break;
        case 'bbcode_php': 
        $template = 'bbcode_php_light';
        break;
        case 'bbcode_html': 
        $template = 'bbcode_html_light';
        break;
        }
    }
    elseif ($GLOBALS[bbcodeset] == 'bbsetdark')
    {
        switch ($template)
        {
        case 'bbcode_quote': 
        $template = 'bbcode_quote_dark';
        break;
        case 'bbcode_code': 
        $template = 'bbcode_code_light';
        break;
        case 'bbcode_php': 
        $template = 'bbcode_php_light';
        break;
        case 'bbcode_html': 
        $template = 'bbcode_html_light';
        break;
        }
    }
    elseif ($GLOBALS[bbcodeset] == 'bbsetpastel')
    {
        switch ($template)
        {
        case 'bbcode_quote': 
        $template = 'bbcode_quote_pastel';
        break;
        case 'bbcode_code': 
        $template = 'bbcode_code_pastel';
        break;
        case 'bbcode_php': 
        $template = 'bbcode_php_pastel';
        break;
        case 'bbcode_html': 
        $template = 'bbcode_html_pastel';
        break;
        }
    }
    elseif ($GLOBALS[bbcodeset] == 'bbsetsimple')
    {
        switch ($template)
        {
        case 'bbcode_quote': 
        $template = 'bbcode_quote_simple';
        break;
        case 'bbcode_code': 
        $template = 'bbcode_code_simple';
        break;
        case 'bbcode_php': 
        $template = 'bbcode_php_simple';
        break;
        case 'bbcode_html': 
        $template = 'bbcode_html_simple';
        break;
        }
    }
    elseif ($GLOBALS[bbcodeset] == 'bbsetsimpletr')
    {
        switch ($template)
        {
        case 'bbcode_quote': 
        $template = 'bbcode_quote_simple_tr';
        break;
        case 'bbcode_code': 
        $template = 'bbcode_code_simple_tr';
        break;
        case 'bbcode_php': 
        $template = 'bbcode_php_simple_tr';
        break;
        case 'bbcode_html': 
        $template = 'bbcode_html_simple_tr';
        break;
        }
    }
    // BBcode Manager end
Attached Files
File Type: rar BBcodes Manager 1.22b.rar (474.2 KB, 37 views)
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 


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 02:37 AM.


Powered by vBulletin® Version 3.5.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.