The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#21
|
|||
|
|||
I learned PHP basically just by guessing and checking, but I also own Core PHP Programming Second Edition, which I use to look up functions/etc that I don't understand or have a question about. It's a personal choice for which way you want to learn a language, websites, tutorials, books, whichever is easiest for you is the best way to do it.
|
#22
|
||||
|
||||
Quote:
|
#23
|
|||
|
|||
Quote:
Ive got that as an E-Book on my PC... ^^ And Kier.. those images are awesome... I know ALOT of realy good designers... and i only know 1 that can do stuff like that... lol But he just left the net... O.o -Syphin |
#24
|
|||
|
|||
Can we stay on topic please? |
#25
|
||||
|
||||
I learned PHP in a haphzard way... and am still learning.
It started when our board got hacked. Social engineered, actually. And he took away all our admin's access. All of our16 staff were admins, mainly because the Mod CP didn't have all the functions we needed. And having 16 admins is a real security hole. So... I took it upon myself to make things work better. The key was to give them user profile editing but with limits... So I figured.... this can't be too hard. I don't know PHP... but I had taken 1 semester of intro Turbo Pascal back in HS 6 years back... so reading code shouldn't be THAT hard. Syntax is syntax, right? I could read it and figure out what did what... Then I'd just copy/paste the edit user function from the admin CP into the Mod CP and edit out al the bits I don't want to allow. Well... it was a bit harder than that. But I read so much code it started to stick. So... that post was a success. And the other staff were happy. For about 5 minutes. Then they needed feature-x from the admin CP... so I had to copy/paste the code for that over. Then feature-y. And z. Finally... there came a point where the Mod CP needed strictly limited usergroup editing. This required more than copy/paste. So I read the code... and learned the commands to send the query, as well as the right query. I tried it... and it worked! Now... I figured I had this usergroup part down... So my next project was... figuring out how custom titles and avatars were controlled (requirements for use) and to change them to match some of our usergroups. And that worked! Now I needed to change everyone over ot the new usergroups and change their title status.... so ripping yet another example out of the vb source, I wrote my first standalone script... all it did was go through the DB, find everyone who has customtitle==1 and display them, with links to edit their profiles. Now... i had this coding thing down... So, using my trusty manual (http://www.php.net/manual/en) I set off... to write my own complex script which would automate many of our tedious tasks. And I did it... in only 3 days. Admittedly, the core was based around code snippets from the vb... but you know what they say about reinventing the wheel. But over 95% of the code, and 100% of the concept, was original. Thus was born my Automated Store. Needless to say... both the members, and more importantly, the other staff, were floored and delighted by it. And then came further tweaks. I'm working on the simple, unified Points hack add-on now, which grew out of this. Now the staff keep trying to find new things they want me to do for them. Earlier today, I set it up so that people can have bbcode in their titles... Basically... I learned by reading the code and working with it hands-on and using the manual as a reference to figure out how to do a few things, and how some things worked. |
#26
|
||||
|
||||
I learned Perl the same way Palmer learned PHP. My script of choice was the Ultimate Guest Book. I doubled the size of the admin .cgi file, and significantly enlarged one other file. I hacked that script into a beast. And guess what.. I don't use Perl anymore. =P
I honestly can't say that I know anyone who knows a language well enogh that they never have to look at the manual.. There are always those small things you want to double check. Like "Is it needle then haystack, or haystack then needle for in_array()?" [BTW, for in_array() it's needle then haystack. Whereas in strstr(), it's haystack then needle.] |
#27
|
|||
|
|||
I don't know anything except for VB and QB...
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|