Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
Some basics of vB3(mini howto)
Zachery
Join Date: Jul 2002
Posts: 11,440

Ontario, Canada
by Zachery Zachery is offline 09 Jan 2004

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 )

Last edited by Faranth; 10 Jan 2004 at 07:23.. Reason: fixing mistakes ;D
Views: 27346
Reply With Quote
Comments
  #2  
Old 09 Jan 2004, 05:24
Hobbes's Avatar
Hobbes Hobbes is offline
 
Join Date: Dec 2002
Real name: Tyler
...Nice....good for n00bs like me
Reply With Quote
  #3  
Old 09 Jan 2004, 05:36
paddysplace paddysplace is offline
 
Join Date: Apr 2003
Real name: Patrick Paul
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
Reply With Quote
  #4  
Old 09 Jan 2004, 05:40
Apoco's Avatar
Apoco Apoco is offline
 
Join Date: Mar 2003
Originally Posted by Hobbes
...Nice....good for n00bs like me
I agree you really need it hobbierz :-p, rofl, jk GreatJob Faranthierz!!
__________________
Welcome to The New Era of Gaming.

Last edited by Apoco; 09 Jan 2004 at 05:57.
Reply With Quote
  #5  
Old 09 Jan 2004, 06:01
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Real name: Matthew Gordon
Yeah, nice job. ^^
Reply With Quote
  #6  
Old 09 Jan 2004, 06:33
Brad Brad is offline
 
Join Date: Nov 2001
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.
Reply With Quote
  #7  
Old 09 Jan 2004, 07:24
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Real name: Zachery Woods
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
__________________
Looking for ImpEx?
Reply With Quote
  #8  
Old 09 Jan 2004, 17:12
MindTrix's Avatar
MindTrix MindTrix is offline
 
Join Date: Apr 2002
Real name: Liam Hawkins
Handy // Confusing tips there Thanks
__________________
Hacks Made :
Store 3.0 Color Name Add On.
Last 5 Attachments On Forum Home
Rap Battle System -=RBS=-

Tutorials Made :
The Basics Of PHP For Beginners and The Basics Of PHP [Part 2]

Running away from that Thousand Post Mark
Reply With Quote
  #9  
Old 09 Jan 2004, 17:16
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Real name: Zachery Woods
confusing?
__________________
Looking for ImpEx?
Reply With Quote
  #10  
Old 09 Jan 2004, 17:34
MindTrix's Avatar
MindTrix MindTrix is offline
 
Join Date: Apr 2002
Real name: Liam Hawkins
If you want too be
__________________
Hacks Made :
Store 3.0 Color Name Add On.
Last 5 Attachments On Forum Home
Rap Battle System -=RBS=-

Tutorials Made :
The Basics Of PHP For Beginners and The Basics Of PHP [Part 2]

Running away from that Thousand Post Mark
Reply With Quote
  #11  
Old 09 Jan 2004, 17:49
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Real name: Zachery Woods
/me is now confused
__________________
Looking for ImpEx?
Reply With Quote
  #12  
Old 09 Jan 2004, 18:18
MindTrix's Avatar
MindTrix MindTrix is offline
 
Join Date: Apr 2002
Real name: Liam Hawkins
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
__________________
Hacks Made :
Store 3.0 Color Name Add On.
Last 5 Attachments On Forum Home
Rap Battle System -=RBS=-

Tutorials Made :
The Basics Of PHP For Beginners and The Basics Of PHP [Part 2]

Running away from that Thousand Post Mark
Reply With Quote
  #13  
Old 09 Jan 2004, 18:19
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Real name: Zachery Woods
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
__________________
Looking for ImpEx?
Reply With Quote
  #14  
Old 09 Jan 2004, 18:50
Floris Floris is offline
 
Join Date: Jan 2002
Originally Posted by Faranth
you worried me for a moment :P

hope it helped
Good job faranth, looks complete and hopefully helps some noobs
__________________
My community; http://wetalknation.net
Reply With Quote
  #15  
Old 10 Jan 2004, 04:28
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Real name: Zachery Woods
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 >.<
__________________
Looking for ImpEx?
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Article Options

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


New To Site? Need Help?

All times are GMT. The time now is 09:23.

Layout Options | Width: Wide Color: