Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
Forums arranged in columns on forumhome Details »»
Forums arranged in columns on forumhome
Version: 1.0, by Xenon Xenon is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 10-31-2005 Last Update: 11-21-2005 Installs: 264
DB Changes Uses Plugins Template Edits
Code Changes  
No support by the author.

As requested several times, this hack allows you to arrange forums on forumhome in xx columns instead of just one per row as it is in standart vb3. It is a plain port of my 3.0 version you can find here.

Look at the screenshot to know what i mean

The design is changeable in the templates of course


I've tested it, and it should work, but as i don't use it myself, i cannot do a longtime test, so if you find any bugs, report them

Right now, it's just working on forumhome.
I'll add changes for forumdisplay later

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 11-24-2005, 05:09 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't remeber of such a modification, but it should work quite similiar, just a few variables have changed, so you might reneame those whaen porting that mod.
Reply With Quote
  #53  
Old 11-25-2005, 05:17 AM
DJ XtAzY DJ XtAzY is offline
 
Join Date: Feb 2005
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i cant wait till u have time to work on the forumdisplay version
Reply With Quote
  #54  
Old 11-25-2005, 06:08 AM
fridayweb's Avatar
fridayweb fridayweb is offline
 
Join Date: Jun 2002
Location: F13 Headquarters
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for your quick response before, I know you're a busy person!

From Forums arranged in columns on forumhome (3.0.3):

Quote:
Originally Posted by Xenon
as said create a new custom profile field just allowing yes/no as option, and afterwards open functions_forumlist.php

find:
PHP Code:
if (THIS_SCRIPT == 'index' AND $forum['subforumcolumns'] != AND ($subsonly OR $depth MAXFORUMDEPTH)) 
and change into
PHP Code:
if ($bbuserinfo['fieldxx'] == 'yes' AND THIS_SCRIPT == 'index' AND $forum['subforumcolumns'] != AND ($subsonly OR $depth MAXFORUMDEPTH)) 
replace the xx with the fieldid of your new custom field

that's all
Quote:
Originally Posted by Xenon
glad you could solve it

oh yes, i know the second problem
i forgot to tell you, that you ahve to manipulate the template forumhome_forumbit_level1_nopost as well.

find there
HTML Code:
<if condition="$forum['subforumcolumns'] > 1">
and change it to
HTML Code:
<if condition="$bbuserinfo['fieldxx'] == 'yes' AND $forum['subforumcolumns'] > 1">
I made those two conditional adjustments. On 3.0 it worked great for me, but on 3.5, this is what I'm seeing. The yescolumn.gif and the nocolumn.gif show you what my forum looks like. I've been playing with the fields and it's driving me crazy! (it's not a problem of the yes/no being case-sensitive or a wrong field number)

Oh and when I don't have the conditional in there, the columns work perfectly and I love them. I just know that some of my users want to have the 'old style' rows. If you could give me any advice, I'd really appreciate it. This is the last thing I need to fix for my 3.5 update and my forum will be ready.

Help me, Xenon. You're my only hope!
Reply With Quote
  #55  
Old 11-25-2005, 01:26 PM
Allan's Avatar
Allan Allan is offline
 
Join Date: Jun 2003
Location: France
Posts: 1,513
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Click Install

but, i'm this error:
Code:
Fatal error: Call to undefined function: construct_forum_columns() in /xxxxxxxxxxx/xxxxxxx/public_html/forum/includes/functions_forumlist.php on line 296
Reply With Quote
  #56  
Old 11-25-2005, 05:32 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Allan: you missed a step during the installation:

Quote:
then add this new function to the file:
Quote:
Originally Posted by fridayweb
PHP Code:
if ($bbuserinfo['fieldxx'] == 'yes' 
should be:
PHP Code:
if ($vbulletin->userinfo['fieldxx'] == 'yes' 
then it should work.
Quote:
Originally Posted by XtAzY
cant wait till u have time to work on the forumdisplay version
shouldn be too long
Reply With Quote
  #57  
Old 11-25-2005, 05:41 PM
Allan's Avatar
Allan Allan is offline
 
Join Date: Jun 2003
Location: France
Posts: 1,513
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not understand this:
Code:
replace the xx with the fieldid of your new custom field
Which custom field ???
Reply With Quote
  #58  
Old 11-25-2005, 07:03 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

he is referring to an old addon, look into the 3.0 thread to find out
Reply With Quote
  #59  
Old 11-25-2005, 07:34 PM
Allan's Avatar
Allan Allan is offline
 
Join Date: Jun 2003
Location: France
Posts: 1,513
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Xenon
he is referring to an old addon, look into the 3.0 thread to find out
https://vborg.vbsupport.ru/showpost....&postcount=375

but not anderstand

I does not see the report with the hack, why creates one custom field ?
Reply With Quote
  #60  
Old 11-25-2005, 09:35 PM
fridayweb's Avatar
fridayweb fridayweb is offline
 
Join Date: Jun 2002
Location: F13 Headquarters
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Xenon, that works PERFECT!!! Is there someway I can donate some money to you? Seriously, you just cured a four day headache for me! Much appreciated.

Allan, sorry to confuse you, I was asking about an old setup that would allow this to be user selectable. Check the other thread, and then make the small correction Xenon suggested above.
Reply With Quote
  #61  
Old 11-27-2005, 01:41 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@friday: well, you don't have to, but if you want, xenon@vbulletin.org is my paypal addy

@Allan: that mod was never officially added to the hack, it's normal for such sub addons
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:31 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10060 seconds
  • Memory Usage 2,322KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (2)bbcode_html
  • (4)bbcode_php
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete