PDA

View Full Version : Forums arranged in columns addon: Custom Header bit


MaDCaT75
01-05-2004, 10:00 PM
First of all I give a big thanks to Xenon for creating the Forums Arranged in columns hack. You must have his hack (https://vborg.vbsupport.ru/showthread.php?t=41529) for this addon to work!

What this hack does:

It will give you the option of customizing the header part of the forum columns.

Attatched below is an example screenshot and the instructions.... please click install if you use this hack! :)

MindTrix
01-06-2004, 09:11 PM
Wouldnt let MadCat attach is so here is a screenshot attached.

Nice work girl :p And theres you saying you cant do PHP, I laugh at you:)

Congrats

Pady
01-06-2004, 09:50 PM
nice one madcat75 - you have just saved me the headache of having to actually work this one out myself :) much appreciated

clicks install

sabret00the
01-06-2004, 09:54 PM
nice work Kris

MaDCaT75
01-06-2004, 10:00 PM
* MaDCaT75 blushes

Thanks guys :)

base
01-06-2004, 10:01 PM
nice add-on, should also add 'colforumbit_posttop' to $templatesused as well, but that's only a small point :)

MaDCaT75
01-06-2004, 10:04 PM
nice add-on, should also add 'colforumbit_posttop' to $templatesused as well, but that's only a small point :)
you mean put it in index.php? If so.... I dont have it in mine and the hack works just fine cause I got it on my board :)

base
01-06-2004, 10:05 PM
yes, put it in $templatesused in index.php

romanticyao
01-06-2004, 10:32 PM
can someone do a Forums arranged in columns for VB3???

MaDCaT75
01-06-2004, 10:42 PM
yes, put it in $templatesused in index.php
Can anyone else see the need to do this? Cause I dont have it in my index.php and it works just fine.... did you test it to see if it needs it? I just want to be 100% sure before I change the instructions. Like I said before, I dont have it in $templatesused in my index.php and it works.

MindTrix
01-07-2004, 05:01 AM
can someone do a Forums arranged in columns for VB3???
Someone is already in the process of porting over Xenon's hack for vB3.

Just have too be patient ;)

MaDCaT75
01-07-2004, 05:48 AM
Someone is already in the process of porting over Xenon's hack for vB3.

Just have too be patient ;)
thats "to" and not "too" :p

Dean C
01-07-2004, 10:58 AM
You add templates to the $templateused list as it adds a query for every template not there :)

Anyways I don't get how this differs from Stefan's version?

base
01-07-2004, 12:40 PM
You add templates to the $templateused list as it adds a query for every template not there :)

yeah, i meant to say that too, but i found i couldn't edit my post up there for some reason... then i lost interest.

anyway, add the template name to the $templatesused part in index.php and it will save you a query. like i said originally, not a biggie, but for the time it takes, very much worth doing, don't you think?

MaDCaT75
01-07-2004, 06:52 PM
Anyways I don't get how this differs from Stefan's version?

I wasnt aware that there was one.... what is the link to his so I can compare?

sabret00the
01-07-2004, 07:17 PM
You add templates to the $templateused list as it adds a query for every template not there :)

Anyways I don't get how this differs from Stefan's version?i didn't know stefan did one, i know there was osmething in existence but couldn't find it when i wanted to use it :(

can someone do a Forums arranged in columns for VB3???i thought xenon would in his own time :)

MaDCaT75
01-07-2004, 10:22 PM
What I heard was there was one already but the author charged an insane amount of money for it.

Dean C
01-08-2004, 11:59 AM
Sorry well I can't see what this does? Maybe you can explain it for me?

MaDCaT75
01-08-2004, 04:02 PM
Sorry well I can't see what this does? Maybe you can explain it for me?
Er well it just gives your forum columns a custom header, like I explained..... it basically uses the same stuff as forumhome_level1_nopost except you can customize it to your liking :confused:

MindTrix
01-08-2004, 04:06 PM
Note its also only for Xenon's Hack, basically meaning you can alter the heading of the Columns hack blah blah :p

MaDCaT75
01-08-2004, 04:24 PM
Note its also only for Xenon's Hack, basically meaning you can alter the heading of the Columns hack blah blah :p
Correct

CMerritt
01-08-2004, 05:52 PM
I should probably ask this dumb question elsewhere, but thought I'd start here. I'm installing the columns addon that's required before this one and I'm unsure how to add the queries.

Xenon's instructions are:


Queries:(2)
--------
Querie #1
---------------
INSERT INTO setting (settingid,settinggroupid,title,varname,value,desc ription,optioncode,displayorder) VALUES (NULL,5,'Parent forums column arranged subforums','columnparent','0','Choose a Parent Forumid. All Subforums will be displayed in column arrangement (seperat with spaces)','','8')

Querie #2
-----------
INSERT INTO setting (settingid,settinggroupid,title,varname,value,desc ription,optioncode,displayorder) VALUES (NULL,5,'Display Forum Columns','forumcols','4','','','9')

I'm assuming the mods should be made in the setting.php file... but is there a certain place to add these for them to be included in admin? I tried replacing the existing setting.php INSERT INTO setting command with the Query 1 part above, but it didn't work. And I have no clue where to put Query 2.

Sorry for the newbie stuff, but I'm just unsure. ANy help you can give would be appreciated so I can glory in column wonder. ;)

MindTrix
01-08-2004, 05:59 PM
Sure mate. Querys are special code that when ran, alters your MYSQL database.

Too run the querys you need to log into your hosts admin cp, click on DATABASE or MYSQL, then scoll to the bottom and look for a link called PHPMYADMIN.

Click this then wait for the page too load. Click QUERY WINDOW link that is in the very bottom left corner of the screen.

Once there you will have a window to run these querys!

Goodluck!

Dean C
01-08-2004, 06:57 PM
So your saying you can have a unique forumhome_forumbit_level1_nopost for the columned forums?

MindTrix
01-08-2004, 07:18 PM
Bingo Mist :)

MaDCaT75
01-08-2004, 08:57 PM
So your saying you can have a unique forumhome_forumbit_level1_nopost for the columned forums?
Exactly what this hack does :)

CMerritt
01-08-2004, 09:11 PM
Thanks for the help MindTrix. I went in and did it through phpMyAdmin and got the fields in Admin. I also verified that I needed to add two more templates.

But, I'm still not getting columns. If you get a chance, take a look at http://fwrestling.com/fwc. The Test forum should have two subforums showing up. In admin, I have the depth at 2, forum 164 as the parent, and 'display forum columns' as 2. Unfortunately, it just shows a colored line under the parent forum heading on the forum home.


I've also set up all the following templates:

colforumbit [edit] [remove]
colforumtablefooter [edit] [remove]
colforumtableheader [edit] [remove]
forumhome_nohead_level1_nopost [edit] [remove]
forumhome_nohead_level2_nopost [edit] [remove]

Any suggestions? I'm hoping to get that one out of the way so I can get this one up and running. Thanks all!

-C

MindTrix
01-08-2004, 09:18 PM
Did you make all the PHP edits as told in Xenon's instructions? Also have you actually created any forums to appear there?

CMerritt
01-08-2004, 09:56 PM
Did you make all the PHP edits as told in Xenon's instructions? Also have you actually created any forums to appear there?

I did. It looks like the problem was I had created the templates under the 'Default' set of templates, instead of the one it looks like I'm using. I still haven't been able to figure out how to set things up so a user can choose one of the two skins that are active, etc. I'm clueless on templates.

But this is making me learn. :) I think I've got things set up so that now I'm ready to install your hack. Thanks again for the help.

-C

MaDCaT75
01-08-2004, 09:56 PM
Also you need to specify in the admin CP what parent forum will be for the columns :)

MindTrix
01-08-2004, 10:01 PM
Isnt my hack mate :) Its madcat's.

You need to select in your Admin Control Panel, underneath vBulletin Options, whether or not users can change styles, or select styles.This will allow them too do so ;)

Remember whenever adding Templates to your styles for a hack, add them to EVERY style you have, and make sure if you need to do any template EDITS do that to every style too.

MaDCaT75
01-09-2004, 01:47 AM
Isnt my hack mate :) Its madcat's.


And dont be forgettin it either :p

MindTrix
01-09-2004, 05:19 AM
As if we would ;)

MaDCaT75
01-09-2004, 05:42 AM
Come on you people who are clicking on the instructions to download em..... click the install button :)

Buddha
04-21-2004, 11:26 PM
this is excellent. would you happen to know how i'd change it so that the same applies to subforums in forumdisplay?

that would be greatly appreciated. thanks.

Jae Dot
06-19-2004, 07:48 AM
How do I get it so I can display a unique picture beside each of the forums?.. Like you did in your picture?..

NawkOut
06-20-2004, 10:27 PM
^Hi there link!

Jae Dot
06-23-2004, 12:07 PM
^Howdy there penis head..