The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Custom Portal
I posted this on vBulletin.com and they directed me over here, so hopefully you guys could help me.
I am going to make a custom portal for my forum, and want to know what files I would need to use to integrate it. I was looking at global.php, I think that is the correct file for all the variables that I would need. But the problem is, I'm not sure if this is the correct file I would need to use or not, plus the file is HUGE, so it is hard to look through it all. I also need to know where the style's CSS listings are, so I can make my portal look like our forum also. I would REALLY appreciate it if someone could write a small tutorial (or long if you have time ) to explain what file to use, what variables would be useful, and where the CSS is located. Thanks in advance to anyone who is willing to do such a huge favor for me! |
#2
|
||||
|
||||
<a href="https://vborg.vbsupport.ru/showthread.php?t=62164" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=62164</a>
|
#3
|
|||
|
|||
Thanks, but he does not show how to get current posts put inside the table. Does anybody know what you would add into that code to do that?
|
#4
|
||||
|
||||
You'll need to use a few MySQL queries. You should really mess with this stuff unless you've got all the basic stuff down.
|
#5
|
|||
|
|||
What do you mean by the basic stuff? vBulletin's code, or other coding languages?
|
#6
|
|||
|
|||
vBulletins Code.
For example you would use this to read the database. $query = $vbulletin->db->query_read("QUERY HERE") Then to fetch the array you'd use while ($var = $vbulletin->db->fetch_array($query)) { } |
#7
|
||||
|
||||
vBulletin's systems/code and PHP (which is what vBulletin is coded in).
|
#8
|
|||
|
|||
I know my PHP pretty well, so I guess I have to get acquainted with vBulletin's code more before going on this venture.
|
#9
|
||||
|
||||
It's basically the same - just a matter of using classes to do all the work for you. You may do good to have a look at some of the Portals released here, there are several "lite" ones that are nice and simple, without all the bloat of others.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|