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-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 :)


All times are GMT. The time now is 09:25 AM.

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.01646 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete