htmlbook.ru - настольная книга администратора

Файловый Архив

  • Неограниченное количество категорий и суб-категорий
  • Настройки прав доступа по группам
  • Настройки прав доступа по каждой категории
  • Предпросмотр медиа файлов: FLV, IFLV, F4A, F4V, MP4, MP3, MOV и других...
  • Мультизагрузка файлов - SWFUploader
  • Добавление файлов с сервера
Подробности и история обновлений продукта в этой теме
Loading

Go Back   форум vBSupport.org > > >
Register Изображения Меню vBsupport Files Manager Аллея Звёзд Реклама на форуме Search Today's Posts Mark Forums Read
  • Мемберка
  • Администраторам
  • Premoderation
  • For English speaking users
  • Изменения в правах
  • Каталог Фрилансеров
Пароли на скачивание файлов в Member Area меняются автоматически каждый день
Если вам нужно скачать какой то скрипт, за паролем ко мне в ЛС
привет какирам kerk
Ещё раз обращаем Ваше внимание: всё, что Вы скачиваете и устанавливаете на свой форум, Вы устанавливаете исключительно на свой страх и риск.
Сообщество vBSupport'а физически не в состоянии проверять все стили, хаки и нули, выкладываемые пользователями.
Помните: безопасность Вашего проекта - Ваша забота.
Убедительная просьба: при обнаружении уязвимостей или сомнительных кодов обязательно отписывайтесь в теме хака/стиля
Спасибо за понимание
На форуме введена премодерация ВСЕХ новых пользователей

Почта с временных сервисов, типа 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.
Не можете скачать вложение?
Изменения в правах групп пользователей
внимательно читаем эту и эту темы
Короткая версия - тут
Уважаемые пользователи!

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

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

 
 
Old  
zCarot
zМарковь
Хочет третью строчку =)
 
zCarot's Avatar
Default Качаем с официальных сайтов! Заявки принимаются. 118

Запросы на скачку с сайтов, к которым нет прямого бесплатного доступа.
название хака + версия хака + ссылка на хак
Помните, что тут просьбы, а не требования.


При запросе давайте не только линк на тему, но и оригинальное название хака.
Перед тем, как оформить запрос на скачку, воспользуйтесь поиском в теме и убедитесь, что этот хак ранее точно не выкладывался.

Запрещенные к запросу хаки/модули/продукты:
  • Read PM
  • Admin Login in as User
  • И им подобные
 
Old  
fuldon
Гуру
 
fuldon's Avatar
Default 0

Можно, пожалуйста, вот эти:
http://www.vbulletin.org/forum/showthread.php?t=96107
http://www.vbulletin.org/forum/showthread.php?t=95270
http://www.vbulletin.org/forum/showthread.php?t=91185
http://www.vbulletin.org/forum/showthread.php?t=95870

Заранее спасибо!
 
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
Old  
sequence
На пенсии
 
sequence's Avatar
Default 0

BIG THANKS AND RESPECT for this!

Reported post creates new thread
_http://www.vbulletin.org/forum/showthread.php?t=83074

masspm to all users
http://www.vbulletin.org/forum/attac...chmentid=34135
 
Old  
Alan
Был когда-то
Адекватный
 
Alan's Avatar
Default 0

vBGT [Google Talk Support]
By Spike223

Description::

This hack will add an icon which acts identically to the other four instant messager icons, it wil pop up a box and display the user's Google Talk Username. It will add this icon in three places, your member's list, postbit (both styles), and profile.


Version Info::

v 1.0:
- First Release
v 1.1:
- Added Image Alt Tags As Requested
v 1.2:
- Fixed Image Alt tage to match other 4 Im Clients'.
- Added bug so if GT is the only IM client the user has, it shows in their profile.
- vBulletin now pre-caches the template for faster load times.
v 1.3:
- the Google Talk Textbox shows by the other four when editing profiles.



Installation Instructions::

Firstly, you need to create a custom Profile Field. Make it a single-line textbox, and REMEMBER it's name. It should be something like "field__" where the __'s are a number.

Then, follow these directions. Sorry they're so crude, but I decided to document it 1/3 of the way in, and Notepad was the handiest way.

REMEMBER to replace, ANYWHERE you see "fieldXX" in this document, with your own field name from above, otherwise this hack will not function!

Here are the PHP and Template Modifications:

++ In sendmessage.php::

Replace:
PHP Code:
'aim' => 'AIM',



With:
PHP Code:
'aim' => 'AIM',
'gt' => 'Google Talk',




Replace:
PHP Code:
case 'icq':
$userinfo['icq'] = trim(htmlspecialchars_uni($userinfo['icq']));
break;



With:
PHP Code:
case 'icq':
$userinfo['icq'] = trim(htmlspecialchars_uni($userinfo['icq']));
break;
case 'gt':
$type = 'gt';
break;



Replace:
PHP Code:
// pre-cache templates used by specific actions
$actiontemplates = array(
'im' => array(
'im_send_aim',
'im_send_icq',
'im_send_yahoo',
'im_send_msn',
'im_message'



With:


PHP Code:
// pre-cache templates used by specific actions
$actiontemplates = array(
'im' => array(
'im_send_aim',
'im_send_icq',
'im_send_yahoo',
'im_send_msn',
'im_message',
'im_send_gt'






Replace:
PHP Code:
if (empty($userinfo["$type"]))
{
// user does not have this messaging meduim defined
eval(print_standard_error('error_immethodnotdefined'));
}



With:
PHP Code:
if (empty($userinfo["$type"]) and empty($userinfo['fieldXX']))
{
// user does not have this messaging meduim defined
eval(print_standard_error('error_immethodnotdefined'));
}




++ In includes/functions_user.php::

Replace:
PHP Code:
$optionalfield = '';

if ($profilefield['required'] == 1 AND $profilefield['form'] == 0) // Ignore the required setting for fields on the options page



With:
PHP Code:
$optionalfield = '';
if($profilefieldname !== "fieldXX") {
if ($profilefield['required'] == 1 AND $profilefield['form'] == 0) // Ignore the required setting for fields on the options page




Replace:
PHP Code:
}
}
}

}



With:
PHP Code:
}
}
}
}
}





++ In Template modifyprofile::

Replace:
Code:

<td>$vbphrase[msn_messenger_handle]:<br /><input type="text" class="bginput" name="msn" value="$bbuserinfo[msn]" size="25" maxlength="50" /></td>
<td>$vbphrase[yahoo_messenger_handle]:<br /><input type="text" class="bginput" name="yahoo" value="$bbuserinfo[yahoo]" size="25" maxlength="30" /></td>
</tr>


With:
Code:

<td>$vbphrase[msn_messenger_handle]:<br /><input type="text" class="bginput" name="msn" value="$bbuserinfo[msn]" size="25" maxlength="50" /></td>
<td>$vbphrase[yahoo_messenger_handle]:<br /><input type="text" class="bginput" name="yahoo" value="$bbuserinfo[yahoo]" size="25" maxlength="30" /></td>
</tr><tr>
<td>Google Talk:<br /><input type="text" class="bginput" name="fieldXX" id="ctb_fieldXX" value="$bbuserinfo[fieldXX]" size="25" maxlength="125" /></td>
</tr>


++ In Template MEMBERINFO::

Replace:


Code:

<if condition="$userinfo['showyahoo']">
<tr>
<td>$userinfo[yahooicon]</td>
<td><a href="#" onclick="return imwindow('yahoo', '$userinfo[userid]', 400, 200)">$userinfo[yahoo]</a></td>
</tr>
</if>


With:


Code:

<if condition="$userinfo['showyahoo']">
<tr>
<td>$userinfo[yahooicon]</td>
<td><a href="#" onclick="return imwindow('yahoo', '$userinfo[userid]', 450, 200)">$userinfo[yahoo]</a></td>
</tr>
</if>
<if condition="$userinfo[fieldXX]">
<tr>
<td><a href="#" onclick="return imwindow('gt', '$userinfo[userid]', 450, 200)"><img src="images/misc/im_gt.gif" border="0" alt="Send a message via Google Talk to $userinfo[username]"></a></td>
<td><a href="#" onclick="return imwindow('gt', '$userinfo[userid]', 450, 200)">$userinfo[fieldXX]</a></td>
</tr>
</if>


Replace:
Code:

<if condition="$show['hasimicons']>


With:
Code:

<if condition="$show['hasimicons'] or $userinfo[fieldXX]">


++ In template memberlist_resultsbit:

Replace:


Code:

<if condition="$show['imicons'] AND exec_switch_bg()"><td class="$bgclass">$userinfo[icqicon] $userinfo[aimicon] $userinfo[msnicon] $userinfo[yahooicon]</td></if>


With:


Code:

<if condition="$show['imicons'] AND exec_switch_bg()"><td class="$bgclass">$userinfo[icqicon] $userinfo[aimicon] $userinfo[msnicon] $userinfo[yahooicon] <if condition="$userinfo[fieldXX]"><a href="#" onclick="return imwindow('gt', '$userinfo[userid]', 400, 200)"><img src="images/misc/im_gt.gif" border="0" alt="Send a message via Google Talk to $userinfo[username]"></a></if></td></if>


++ In postbit and postbit_legacy Templates::

Find:


Code:

<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div>


Replace:


Code:

<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] <if condition="$post[fieldXX]"><a href="#" onclick="return imwindow('gt', '$userinfo[userid]', 400, 200)"><img src="images/misc/im_gt.gif" border="0" alt="Send a message via Google Talk to $post[username]"></a></if></div>



Create Template Called "im_send_gt", put this in it, but replace with HTML where it says __CONTENT HERE__.

The user's GT s/n for use in this template is "$userinfo[fieldXX]", no quotes.


Code:

<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<tr>
<td class="tcat">
<span class="smallfont" style="float:right"><a href="#" onclick="self.close()">Close this window</a></span>
Google Talk
</td>
</tr>
<tr>
<td class="panelsurround" align="center">
<div class="panel">

*** __CONTENT HERE__ ***

</div>
</td>
</tr>
</table>

</body>
</html>


Add whatever you like in it, but whatever you add will be displayed in the popup window for contacting that user. HTML is allowed in the template as usual.


Files To Upload::

Here's a GT logo:


Upload it to FORUM ROOT/images/misc/.


If you liked this hack, please click INSTALL!

Добавлено через 03 минут(ы)
Quote:
Originally Posted by wirewolf
I've been fooling around with a Chat module for my CMPS and I got it to work. I took part of the stock onlineusers.php file and part of the vBchat php coding that is edited into the index.php file. Making the template was the easy part. I just copied a stock mini module and inserted the html coding from the FORUMHOME edit in the vBChat install. Heres' my adv_portal_chatroom template:
HTML Code:
<script type="text/javascript">
<!--
function OpenvBChat(){
vBChat = window.open('/yourforumdirectory/vBChat.php?$session[sessionurl]','vBChat','directories=no,height='+window.screen.height+',width='+window.screen.width+',location=no,menubar=no,scrollbars=yes,status=no,toolbar=no')

return false;
}
-->
</script>
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><b>$vba_options[portal_blockbullet] <b>The Chat Room</b></span></td>
</tr>
<tr>
<td class="alt1" colspan="2"><span class="smallfont">Users Currently Inside the Chat Room</span></td>
</tr>
<tr>
<td class="alt2" width="100%">
<div class="smallfont">{$invBChat}</div>
</td>
</tr>
<tr>
<td class="alt1" align="center"><a href="/yourforumdirectory/vBChat.php?$session[sessionurl]" onclick='return OpenvBChat();'><span class="smallfont">Open Chat Room</span></a></td>
</tr>
</table>
<br />
If you already have a link to your Chat in the navbar, and your navbar is displayed on your CMPS Pages, you probally don't need to include the java script in the template file.

Here's my module file - chat_portal.php:
PHP Code:
<?php

$forumusers 
'';


    
$forumusers $DB_site->query("
            SELECT session.userid, username, usergroupid, (user.options & 
$_USEROPTIONS[invisible]) AS invisible,
                session.location
            FROM " 
TABLE_PREFIX "session AS session
            LEFT JOIN " 
TABLE_PREFIX "user AS user USING (userid)
            WHERE session.lastactivity > " 
. (TIMENOW $vboptions['cookietimeout']) . "
            ORDER BY invisible ASC, username ASC
    "
);
    
            
    if (
$DB_site->num_rows($forumusers))
    {
        
// Get the users in vBChat
    
$vbchat_users = array();

    while (
$loggedin $DB_site->fetch_array($forumusers))
    {
        
$userid $loggedin['userid'];
        if (!
$userid)
        {    
// Guest
            
$numberguest++;
            
$inforum["$loggedin[inforum]"]++;
        }
        else if (empty(
$userinfos["$userid"]) OR ($userinfos["$userid"]['lastactivity'] < $loggedin['lastactivity']))
        {
            
$userinfos["$userid"] = $loggedin;
        }

        if(
preg_match("/vBChat.php/",$loggedin['location']) && $loggedin['userid']){
        
$vbchat_users[$loggedin['userid']] = $loggedin;
        }

    }

    
// Configure Peeps In vBChat
    
$invBChat "";

    if(
is_array($vbchat_users)){
        foreach(
$vbchat_users as $invbc){
            if(
$invBChat == ""){
            
$extra "";
            } else {
            
$extra ", ";
            }

        
// Get Username Style
        
$invbc['musername'] = fetch_musername($invbc);

        
$invBChat .= "{$extra}<a href='/yourforumdirectory/member.php?{$session['sessionurl']}&u={$invbc['userid']}'>{$invbc['musername']}</a>";
        }
    }

    if(
$invBChat == ""){
    
$invBChat "<i>No one is currently in the Chat Room</i>";
    }
    
        eval(
'$home[$onlineid][\'content\'] = "' fetch_template('adv_portal_chatroom') . '";');
                            

unset(
$forumusers);

    }

?>
And adding the settings (add new module) to CMPS:
Attached are three screenshots, before and after logging in to Chat, and of the module settings for my test News Page.

Zero, you may want to look at the coding in my chat_portal.php file. It works, but some of the coding may not be needed, or I may have some essential parts missing (any security problems). Warning to others, this does work, but if you want to experiment with it, go ahead. But it may not be 100% yet.

One odd thing. I set this up on one of my CMPS pages to experiment with, http://shipmodeling.net/cmps_index.php?page=news
It was set up for the Chat Module to be on the right hand side, my News Module in the center and the Online Users to be on the left (see screenshot #3).
However as you can see, the Chat shows up on the left where the Online Users should be, the News is ok in the center, but there is a blank space on the right side. It's probally someting stupid that I missed. But I'll keep checking it out.

John

BTW Zero, great script. I invited some of my members to try out vBChat before releasing it to the whole forum. They loved it!

Add on:
Found the problem with the Module showing in the wrong side. The eval statement was wrong in my chat_portal.php file.
PHP Code:
eval('$home[$onlineid][\'content\'] = "' fetch_template('adv_portal_chatroom') . '";'); 
Has to be:
PHP Code:
eval('$home[$mods[\'modid\']][\'content\'] = "' fetch_template('adv_portal_chatroom') . '";'); 
The $onlineid referred to the onlineusers template. If you're using a custom module without a module identifier, you have to use the $home[$mods[\'modid\'] in that part of the eval statement. See last screenshot.
Attached Files
File Type: zip Mass PM 2.0.zip (74.6 KB, 25 views)
File Type: txt Reported-post-as-thread.txt (896 Bytes, 14 views)
File Type: xml Reported-post-as-thread.xml (1.0 KB, 13 views)
 
Old  
Glazier
Администратор
 
Glazier's Avatar
Default 0

This..
http://www.vbulletin.org/forum/showthread.php?t=75916
And this...
http://www.vbulletin.org/forum/showthread.php?t=78934
And...
http://www.vbulletin.org/forum/showt...threadid=78486

Вроде пока все...
 
Old  
КотЪ
Администратор
Неадекватный
 
КотЪ's Avatar
Default 0

Вот:
Attached Files
File Type: zip GAS3[1].53.zip (100.9 KB, 10 views)
File Type: zip GAS3fromV3.zip (6.9 KB, 8 views)
File Type: zip mysqlbackup10901.zip (47.5 KB, 106 views)
 
Old  
КотЪ
Администратор
Неадекватный
 
КотЪ's Avatar
Default 0

И вот:
http://www.vbsupport.org/forum/showt...=5214#post5214 )

Добавлено через 01 минут(ы)
(записывает: не савацца попЭрЭк батьки ф пекло)
 
Old  
fuldon
Гуру
 
fuldon's Avatar
Default 0

Можно, пожалуйста, вот эти:
http://www.vbulletin.org/forum/showthread.php?t=95921
http://www.vbulletin.org/forum/showthread.php?t=95960
http://www.vbulletin.org/forum/showthread.php?t=96336

Заранее спасибо!
 
Old  
КотЪ
Администратор
Неадекватный
 
КотЪ's Avatar
Default 0

1) http://www.vbsupport.org/forum/attac...tachmentid=638

2) http://www.vbsupport.org/forum/attac...tachmentid=639

3) http://www.vbsupport.org/forum/attac...tachmentid=641
 
Old  
fuldon
Гуру
 
fuldon's Avatar
Default 0

Полезные хаки:
http://www.vbulletin.org/forum/showthread.php?t=83486
http://www.vbulletin.org/forum/showthread.php?t=96398
http://www.vbulletin.org/forum/showthread.php?t=94128
http://www.vbulletin.org/forum/showthread.php?t=96351
http://www.vbulletin.org/forum/showthread.php?t=92588

Если будет время и возможность.
 
Old  
КотЪ
Администратор
Неадекватный
 
КотЪ's Avatar
Default 0

NNTP Gateway for Usenet ( Newsgroups ), Mailing Lists

Admin Edit of Post Username & Dateline

vBookie for vBulletin 3.5
vB Version: 3.5.0 RC2

Add a Header / Footer option to each forum
vB Version: 3.5.0 RC3

vBouncer: reduce server load by unsubscribing bouncing members from threads
vB Version: 3.5.0 RC2
Attached Files
File Type: zip nntp_gw_V3_5_alpha1.zip (39.5 KB, 19 views)
File Type: zip Spoilt Advanced vB Post Edits.zip (11.1 KB, 15 views)
File Type: zip vbookie.zip (32.6 KB, 52 views)
File Type: zip add hf.zip (13.7 KB, 24 views)
File Type: zip vBouncer-1-3-1.zip (15.9 KB, 17 views)
 
 

Tags
addon, hack, module, product, request, skin, style, template, theme, vbulletin, vbulletin.org, дизайн, дополнения, модули, продукты, скачать, скин, стили, хак, хаки, шаблон

Thread Tools

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 12:16 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.