vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Forums arranged in columns addon: Custom Header bit (https://vborg.vbsupport.ru/showthread.php?t=59808)

MaDCaT75 01-05-2004 10:00 PM

Forums arranged in columns addon: Custom Header bit
 
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

[high]* MaDCaT75 blushes
[/high]

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

Quote:

Originally Posted by base
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

Quote:

Originally Posted by base
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

Quote:

Originally Posted by romanticyao
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

Quote:

Originally Posted by MindTrix
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

Quote:

Originally Posted by Mist
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

Quote:

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

Quote:

Originally Posted by Mist
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 :(

Quote:

Originally Posted by romanticyao
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

Quote:

Originally Posted by Mist
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

Quote:

Originally Posted by MindTrix
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

Quote:

Originally Posted by Mist
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

Quote:

Originally Posted by MindTrix
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

Quote:

Originally Posted by MindTrix
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..


All times are GMT. The time now is 04:50 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01383 seconds
  • Memory Usage 1,809KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (38)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete