vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=59939

Some basics of vB3(mini howto)
by Zachery
09 Jan 2004 05:16

Some basics of vB3(mini howto)
also some basic php junk
the most important thing if you want to make pages based on templates or anything of the such would be to first know how to "

connect" to vbulletin, and then learn how to call and eval templates. so lets take a look at the most BASIC page we can do

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

So theres a basic file, if your going to make one, that would i think be the mininum needed. now if you are going to be making

somthing abit more advanced. suchas calling more than one template, or doing an action it becomes abit more complicated



Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

one more note

if your going to write a script that is ALL actions you should add somthing like this right after the call to gobal.php

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

this will ensure that if the usergoes to foo.php instead of foo.php?do=small they will still see the correct page :)

Mini Tut by Faranth
(with some help from Brad.loo fixing my silly newbie mistakes :) )

Hobbes 09 Jan 2004 05:24

...Nice....good for n00bs like me :)

paddysplace 09 Jan 2004 05:36

Quality work there Faranth. DEFINITELY a good resource for those wanting to make a custom page but don't know where to start! This might inspire me to chime in myself and write up a few mini tutorials. Keep up the good work bro! Cheers!

Regards,
Patrick

Apoco 09 Jan 2004 05:40

Quote:

Originally Posted by Hobbes
...Nice....good for n00bs like me :)

I agree you really need it hobbierz :-p, rofl, jk GreatJob Faranthierz!!

Link14716 09 Jan 2004 06:01

Yeah, nice job. ^^ :)

Brad 09 Jan 2004 06:33

Just a little note, if you are going to be writing scripts that are a bit more advanced. Sometimes you will need to retrive information from vBulletin datastore templates, to do so add this above the call to global.php


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

That will pull the smilie and bbcodecache which would be needed if you where say, pulling post information from the database (think news scripts). If you need to pull something from the datastore look in the vBulletin file that emulates what you would like to do and find out what it is pulling from the datastore.

Zachery 09 Jan 2004 07:24

Quote:

Originally Posted by Brad.loo
Just a little note, if you are going to be writing scripts that are a bit more advanced. Sometimes you will need to retrive information from vBulletin datastore templates, to do so add this above the call to global.php


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

That will pull the smilie and bbcodecache which would be needed if you where say, pulling post information from the database (think news scripts). If you need to pull something from the datastore look in the vBulletin file that emulates what you would like to do and find out what it is pulling from the datastore.

thanks brad :)

MindTrix 09 Jan 2004 17:12

Handy // Confusing tips there :) Thanks

Zachery 09 Jan 2004 17:16

confusing?

MindTrix 09 Jan 2004 17:34

If you want too be ;)

Zachery 09 Jan 2004 17:49

/me is now confused :(

MindTrix 09 Jan 2004 18:18

Yup that was my main aim :) Lol, nah i meant at first that it was confusing because i was reading too fast, and still scratching up on the ol' PHP

Zachery 09 Jan 2004 18:19

Quote:

Originally Posted by MindTrix
Yup that was my main aim :) Lol, nah i meant at first that it was confusing because i was reading too fast, and still scratching up on the ol' PHP

you worried me for a moment :P

:) hope it helped

Floris 09 Jan 2004 18:50

Quote:

Originally Posted by Faranth
you worried me for a moment :P

:) hope it helped

Good job faranth, looks complete and hopefully helps some noobs :)

Zachery 10 Jan 2004 04:28

Quote:

Originally Posted by Mr. HillBilly
Nice jobs, could you make a mini guide for making templates?

whatcha mean? templates are simple to make, its just html >.<


All times are GMT. The time now is 21:05.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.