The Arcive of vBulletin Modifications Site. |
|
new user group Details »»
|
|||||||||||||||||||||||||
how to make a new user group to be able to bold and italic like an admin..
anybody ? Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
just create a new usergroup and then in index.php (or online.php depends on where you want to have it)
find: PHP Code:
PHP Code:
|
|
#3
|
||||
|
||||
|
You like that in_array thingie Stefan.
![]() Me to, is a tip from Chen I got... saves alot of code to be written. |
|
#4
|
||||
|
||||
|
hehe yes Floren, and also it looks much better and is much easier to update
![]() The first time i saw it in my small PHP-book i knew i'd use it as much as possible
|
|
#5
|
||||
|
||||
|
Where can I learn the uses of in_array and other stuff
I want to increase my php![]() Please and Thanks |
|
#6
|
||||
|
||||
|
well, learning by doing
![]() just look into hacks and coding parts of other good coders to learn from them. That's what i did, when new codes from PPN, Chen or Flore for example came up ![]() also php.net can help sometimes
|
|
#7
|
||||
|
||||
|
See this code
PHP Code:
PHP Code:
$var is 12,23? If so, then I got a new hack coming up :-p *Copyright, registered, patent & pending *
|
|
#8
|
||||
|
||||
|
I couldn't agree more with what Xenon said, its supprising how much you can pickup and learn from installing hacks and just by playing with code to make even minor changes
|
|
#9
|
||||
|
||||
NTLDR@Arunan: Nope, as i know this would genererate an array with two entries, one has the entry "6" and the other one has the entry "12,23" it will handle the $var as a string ... for usch things use the explode function look for systax in php.net or in some vb-files
|
|
#10
|
||||
|
||||
|
You are right, but sometimes it takes more then usual to figure out the EXACT (bold, and underline) function of anything, by just looking at the code.
|
![]() |
|
|