У Вас в настройках PHP register_globals=ON? какеры идут к Вам!!!

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

  • Неограниченное количество категорий и суб-категорий
  • Настройки прав доступа по группам
  • Настройки прав доступа по каждой категории
  • Предпросмотр медиа файлов: 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  
AdamInc
Простоузер
Default 0

Google Serach In Search Box
http://www.vbulletin.org/forum/showthread.php?t=91438

Top X Stats
http://www.vbulletin.org/forum/showt...846#post743846

Inferno Warning System
http://www.vbulletin.org/forum/showthread.php?t=93669

vBSupport System v0.3c
http://www.vbulletin.org/forum/showthread.php?t=94023

Welcome Hack 1.0
http://www.vbulletin.org/forum/showthread.php?t=83124

Sorry if they've been posted before just searched for some
 
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
Old  
tintintin
Простоузер
Red face 0

Thanks Alan, these info. are useful with me!

A lot of request :o :

Inactive User Management
http://www.vbulletin.org/forum/showthread.php?t=94041

Yahoo Search Intergation
http://www.vbulletin.org/forum/showthread.php?t=93504

vBRecycle v2.5.2
http://www.vbulletin.org/forum/showthread.php?t=91961

compare hooks xml
http://www.vbulletin.org/forum/showthread.php?t=92363

[How to] Turn on the debug mode
http://www.vbulletin.org/forum/showthread.php?t=82835

[HowTo] Create Custom Usergroup Permissions
http://www.vbulletin.org/forum/showthread.php?t=82844

List of changed var/array/function names
http://www.vbulletin.org/forum/showthread.php?t=82632

Last edited by tintintin : 08-13-2005 at 05:40 PM.
 
Old  
Alan
Был когда-то
Адекватный
 
Alan's Avatar
Default 0

AdamInc,
1) Go to your Google adsense account and choose Search Settings, choose your language, country etc and make the Length of text box 10, tick Google logo above text box, then update code.

In your navbar template place your Google code between:
PHP Code:
<tr>
<
td class="vbmenu_option"><a href="search.php?$session[sessionurl]accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
</
tr>
</
table
and
PHP Code:
</div>
<!-- / 
header quick search form --> 
Attached Files
File Type: zip topXstats_1.2.1 (vB3.5.0 RC1).zip (6.8 KB, 38 views)
File Type: zip Warning System.zip (12.5 KB, 27 views)
File Type: zip vBSupportv0.3c.zip (171.7 KB, 26 views)
File Type: zip Welcome Panel.zip (15.5 KB, 36 views)
 
Old  
AdamInc
Простоузер
Default 0

thanks alot
 
Old  
Alan
Был когда-то
Адекватный
 
Alan's Avatar
Default 0

tintintin,
[How to] Turn on the debug mode
Quote:
Originally Posted by MrNase
You can turn on the debug mode simple by adding:

PHP Code:
$config['Misc']['debug'] = true
to your includes/config.php just before
Code:
/*======================================================================*\
|| ####################################################################
(which is at the end of the file ;))


To turn it off you may remove that line or change it to:
PHP Code:
 $config['Misc']['debug'] = false
[HowTo] Create Custom Usergroup Permissions
Quote:
Originally Posted by KirbyDE
Usergoup Permissions are being controlled through XML files, you don't have to edit usergroup.php anymore

To create your own usergroup permissions, the first thing to do is to modify table usergroup (keep table prefixes in mind!):

[sql]ALTER TABLE usergroup ADD myhackpermissions INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL ;[/sql]

If your hack does need some integer settings as well (and not just On/Off-Options):

[sql]ALTER TABLE usergroup ADD myhackintset INT( 10 ) DEFAULT '100' NOT NULL ;[/sql]

Then you must create a an XML-File bitfield_myhack.xml and place it in includes/xml:

HTML Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<bitfields product="vBulletin">
	<bitfielddefs>
		<group name="ugp">
			<group name="myhackpermissions">
				<bitfield name="canfoo" group="my_hack_permissions"  phrase="can_foo_forum" install="1,2,3,4,5,6,7">1</bitfield>
				<bitfield name="canbaa" group="my_hack_permissions"  phrase="can_baa_forum" install="">2</bitfield>
				<bitfield intperm="true" name="myhackintset" group="my_hack_permissions"  phrase="myhack_int_desc"></bitfield>
			</group>
		</group>
	</bitfielddefs>
</bitfields>
As you can see, you must create a new permission group below group ugp (short for usergroup permissions).

Paramater name of Tag group must match the column name in table usergroup.

The Parameters for Tag bitfield are:
  • name is the identifier you can use in your hack code (eg. $permissions['myhackpermissions'] & $vbulletin->bf_ugp['myhackpermissions']['canfoo'])
    In case of integer options this name must match the column name in table usergroup.
  • intperm indicates that this Option is a integer value
  • group is the varname for the Phrase that should be displayed as Permission Group Title.
    This is also being used to set up different Groups for your permissions.
  • phrase is the varname of the Phrase that should be displayed for this option in Usergroup Manager
  • install is a comma-separated list of the usergroups where this permission should be visible
    If this parameter is empty or omitted, this Option will be used for all Usergroups

The value of <bitfield> is the decimal value of the bit (eg. 1 for the first, 2 for the second, 4 for the third, and so on).
In case of an Integer Option this is the default value.

If you want to hide certain permission groups for some usergroups, for fxample from Guests as they don't make sense for them:

HTML Code:
<ignoregroups>
        <group name="myhackpermissions" ignoregroups="1" />
</ignoregroups>
Parameter name is the name of teh permission group you want to hide, ignoregroups is a comma seperated list of usergoup IDs where this permission group should not show up.
Place this section below the <bitfielddefs>-Section.

Now create the necessary phrases (in Phrasegroup Permissions) at this point.

As vBulletin caches Bitfields in Datastore, you must rebuild this cache before the new usergroup permissions can be actually used (They will already show up in Usergroup Manager, but cannot be saved - you will get an error).
To do so, point your browser to admincp/index.php?do=buildbitfields.

If you install/upgrade vBulletin and custom bitfield_xxx.xml files are already in place, they will be used - you don't have to update the Bitfield Cache in this case.

This How-To is (C) 2005 by KirbyDE and you are not allowed to redistribute it in any way without my explicit consent.
List of changed var/array/function names
Quote:
Originally Posted by Brad
A lot of things changed in 3.5 and you might find yourself lost for awhile as you figure out how to work with the new var/array/function names. This list should help you port your old 3.0.x hacks quicker, if you have anything to add to the list reply to this thread and I will edit the first post!

Note that some of these might not work in some parts of the new code, OOP changes a lot of things, in some cases you might be using $this-> or some other alternative to get to these.

On the front end they will work for the most part. Do remember that there are hooks littered in the 'build' functions like the one that builds postbit. For an example of working with such hooks you can check out a plug-in I released, I spend 5 minutes wondering why $post would not work until I realized I was begin an idiot!

Anyway check out the .xml file: http://www.vbulletin.org/forum/showthread.php?t=82623

Turned out I needed to use $this->post because that hook was inside of a function! Doh!

[high]The big list...[/high]

3.0.x version of the var will be on the left, 3.5 on the right as so:

3.0.x => 3.5

[high]Global[/high]

$DB_site-> => $db->
$bbuserinfo[] => $vbulletin->userinfo[]
$vboptions[] => $vbulletin->options[]
$_GET/$_REQUEST/$_POST/$_COOKIE => $vbulletin->GPC[]
globalize() => $vbulletin->input->clean_array_gpc()
Attached Files
File Type: zip inactiveusers.zip (4.2 KB, 27 views)
File Type: zip YahooSearch-VbIntergation.zip (5.7 KB, 26 views)
File Type: zip vBRecycle [2-5-2].zip (242.5 KB, 27 views)
File Type: zip compare hooks xml 0.1.zip (1.5 KB, 18 views)
File Type: xml Last_Seen_Online.xml (497 Bytes, 21 views)
 
Old  
~NART~
Продвинутый
Default 0

Automatic Welcome PM http://www.vbulletin.org/forum/showthread.php?t=91729
 
Old  
tintintin
Простоузер
Default 0

Thanks Alan!

But in the "List of changed var/array/function names" request
http://www.vbulletin.org/forum/showthread.php?t=82632
I want to see post #5 (posted by Wayne Luke). I'm sorry!


I found this link:

http://rapidshare.de/files/3946560/A...L_DGT.rar.html

This is Mods, Extentions, Plugins and Template Modifications pack nulled by DTG
(on 07-07-2005 from vbulletin.org).

I hope it is useful for somebody!

Last edited by tintintin : 08-14-2005 at 04:43 AM.
 
Old  
Alan
Был когда-то
Адекватный
 
Alan's Avatar
Default 0

tintintin,
Quote:
Originally Posted by Wayne Luke
The following was written by Kier for the developers. He has agreed to release it here.


Variables in the $vbulletin (vB_Registry) class


Just about all the variables that used to get set up by init.php have now been migrated to the $vbulletin class.

When migrating the old code, I don't want to see this sort of thing unless there's a specific reason for it:
PHP Code:
function foo()
{
    global 
$forumcache$vbulletin$vboptions;

    
$forumcache =& $vbulletin->forumcache;
    
$vboptions =& $vbulletin->options;

    foreach (
$forumcache AS $forumid => $forum)
    {
        if (
$vboptions['something'])
        {
            
// do stuff
        
}
    }

Rather, the code should look like this:
PHP Code:
function foo()
{
    global 
$vbulletin;

    foreach (
$vbulletin->forumcache AS $forumid => $forum)
    {
        if (
$vbulletin->options['something'])
        {
            
// do something
        
}
    }

Database

The MySQL database class has been totally rewritten, and the object is now called $db, rather than the old $DB_site.

You can also reference the database object via $vbulletin->db, so there is no real need to put $db into the list of globals in functions.
PHP Code:
function foo()
{
    global 
$vbulletin;

    
$items $vbulletin->db->query_read("SELECT * FROM " TABLE_PREFIX "user");
    while (
$item $vbulletin->db->fetch_array($items))
    {
        
// do stuff
    
}
    
$vbulletin->db->free_result($items);

Outside of function scope however, continue to use $db rather than $vbulletin->db.

Whereas we used to have a single $DB_site->query() function to run SQL queries, there are now three public functions to execute SQL. They are:

$db->query_read
Use this function to execute SELECT and SHOW queries only. If the user is using MySQL replication, these queries will execute on their slave server.
PHP Code:
$db->query_read("SELECT * FROM customer WHERE clue > 0"); 
$db->query_write
Use this function to execute UPDATE, ALTER and all other data-modifying queries. query_write() will execute on the master server in a replication situation.
PHP Code:
$db->query_write("UPDATE customer SET description = 'Clueless' WHERE clue <= 0"); 

addslashes() and addslashes_like() should be dropped in query strings, as it's problematic for some non-MySQL systems. Right now, the correct way to replace these functions is to use the newly defined functions in the database class, like this:
PHP Code:
$item $db->query_first("
    SELECT * FROM table
    WHERE foo = '" 
$db->escape_string($foo) . "'
    AND bar LIKE('%" 
$db->escape_string_like($bar) . "%')
"
); 
Please also note that when escaping quotes for Javascript strings, you should no longer use 'addslashes()', but rather use 'js_addslashes()'.

Datastore

All items from the datastore now get fed directly into the $vbulletin class.
They become $vbulletin->itemname.

If their title is in the $unserialize array in the datastore class, they will be automatically unserialized when they are fetched.

Note that the code currently has a lot of code that is equivalent to
PHP Code:
if (isset($datastore_item)) 
That will not work any more, as the datastore item variables are initialized with the datastore class.

Therefore, instead of checking 'isset' you will need to check
PHP Code:
if ($vbulletin->datastore_item !== null
Bitfields

The old $_BITFIELDS, $_FORUMOPTIONS, $_USEROPTIONS etc. arrays no longer exist as individual entities. They are now part of the $vbulletin data registry object and go by different names. All the data they contained is still there, but you'll need to talk to them differently.

If you look at the top of includes/class_core.php I have left a 'translation lookup table' so that it's easier to see where the data you are looking for has gone.

To avoid too much $object->array[key1][key2][key3][key4] stuff, there are references set up to allow you to talk to deep elements quickly. For example, $vbulletin->bf_ugp_adminpermissions is a reference to $vbulletin->bf_ugp['adminpermissions']... it makes more sense when you start using them

Oh... 'ugp' stands for usergroup permissions.

vB_Input Class

If you read includes/class_core.php, you'll notice that there's a class called vB_Input. This class deals with input into vBulletin and stuff that's related to the superglobal arrays ($_REQUEST, $_ENV, $_SERVER etc.)


Misc


As lots of variables have been shuffled around, you'll need to keep your eyes open for them. For example, $scriptpath is now $vbulletin->scriptpath and $nozip is now $vbulletin->nozip.

I strongly suggest that you read and familiarize yourself with the new init.php and the contents of includes/class_core.php before diving in.
 
Old  
AdamInc
Простоузер
Default 0

i'm wondering if you are able to get the hack from http://rpginferno.net/ i dont think so since its not from the vbulletin site. if you cant get the one above can you get this one http://www.vbulletin.org/forum/showthread.php?t=71855 but i would really like the one from rpginferno
http://www.vbulletin.org/forum/showthread.php?t=68161 is another hack i'll need
thanks a million

Last edited by AdamInc : 08-16-2005 at 03:06 PM.
 
Old  
pilsentico
Продвинутый
Default 0

i need this four ;)
Please!!!

Warning Hack V1.5
http://www.vbulletin.org/forum/showt...utation+system

Give Reputation For New Posts & Threads
http://www.vbulletin.org/forum/showt...utation+system

Information Bar for Guests
http://www.vbulletin.org/forum/showt...ght=SP2+guests

"Express" Registration
http://www.vbulletin.org/forum/showt...hlight=vbpopup

Last edited by pilsentico : 08-20-2005 at 10:01 AM.
 
 

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 08:36 PM.


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