The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
vb index question
Hello,
I am not quite sure where to post this question, I though here would be good I was looking at guildportal.com, and I like how they have their clan/monarchy/etc sub forums set up, when you go to one like the Hibernian Guard's forum: http://www.guildportal.com/Guild.asp...23&TabID=67809 It has its own little front end. Would it be possible to modify vb index by el3m3nt/NTLDR to work like that? so that say the sub forum for the clan opens to that, and from there they could go to their private or public forums? |
#2
|
|||
|
|||
i am in the process of basically doing that exact thing.. for instance.. i have a site, http://www.dbcenter.org, and since it is the site where vBindex is installed, the news forum, poll forum and latest threads work for everything on that page.. now, i wanted another site, it will be a CNAME dns record with the address of bloodpit.dbcenter.org, and since it is a subdirectory of the main site, i figured just to create a page and modify the vbindex main php file.. but there is a lot more to it..
i had to edit the reference to the file itself.. THIS_SCRIPT == 'bloodpit_index' instead of THIS_SCRIPT == 'vbindex'.. i also wanted that site to have its own news forum, polls forum and latest threads only being pulled from its opwn forums and not the rest of the site.. also custom colors for the site itself.. you can see what i have got so far for it at http://www.dbcenter.org/bloodpit/index_test.php you can also get help and info at http://www.coreforums.net - that's the official site for vbindex.. if what i am talking about here is what you want, it's actually not that hard once you just dive into it.. but if you plan on doing this for a lot of "embedded" sites, like i plan on doing, it can get messy.. you will have to either do a ton of if conditions, like i am doing now, or copy many templates and rename them as well as make sure the naming convention is passed into the php file as well.. a lot to keep up with, but i think the multiple templates deal is the way to go.. NTLDR has mentioned possibly making it so you can have multiple vbindex.php files in an upcoming release.. so maybe he can help answer your question and provide a more thorough overview of what i am talking about and how what you are looking for relates to vbindex itself.. |
#3
|
|||
|
|||
I will have to go there and check out coreforums to see what I can turn up.
A though I had today, was you could modify the link to the clan forum sub, and then set it to only draw its news from the clan forum. But then I do not know what would happen in the admin userCP with a bunch of vbindex installs. That could get messy. |
#4
|
|||
|
|||
nothing really happens with the admin section and multiple vbindex files.. i just renamed mine, as i said, then specifically call the required forums in the new index page.. it is messy, to an extent.. but none of the "portal/ cms" hacks out right now allow for multiple news pages, so to speak.. so i am hacking my way around that.. NTLDR has been especially helpful and has even talked about making multiple vbindex.php files for this reason.. i think i mentioned that before, not sure.. but until he has the ability to control multiple pages, i have to figure out a way around that.. and this way workd very well.. it is a bit tedious, but i don't mind..
i have no life.. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|