Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

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
  #167  
Old 07-01-2006, 05:08 AM
satfox360's Avatar
satfox360 satfox360 is offline
 
Join Date: Jun 2006
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I figured out how to install the product with the "manage products" in the admincp.

I have followed all of the other instuctions and am still having some small problems. When I change the number of columns to 3 I get the err below. If I change it back to 1 there are no problems with the home page but still no columns.

Fatal error: Call to undefined function: construct_forum_columns() in /home/httpd/vhosts/ftalife.com/httpdocs/includes/functions_forumlist.php on line 296

Any suggestions anyone?

Thank you in advance for any assistance.
Reply With Quote
  #168  
Old 07-01-2006, 05:27 AM
satfox360's Avatar
satfox360 satfox360 is offline
 
Join Date: Jun 2006
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
290     { // no permission to view current forum
291     continue;
292     }
293
294     if (THIS_SCRIPT == 'index' AND $forum['subforumcolumns'] != 1 AND ($subsonly OR $depth < MAXFORUMDEPTH))
295     {
296     $childforumbits = construct_forum_columns($forum['forumid'], $forum['subforumcolumns']);
297     }
298     else if ($subsonly)
299     {
300
301     // ###################### Start construct_forum_columns #######################
Reply With Quote
  #169  
Old 07-01-2006, 09:52 PM
satfox360's Avatar
satfox360 satfox360 is offline
 
Join Date: Jun 2006
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

After running through it over and over I ran into another problem when deleting the product.

Invalid SQL:
ALTER TABLE forum ADD subforumcolumns TINYINT(3) UNSIGNED DEFAULT '1' NOT NULL;

MySQL Error : Duplicate column name 'subforumcolumns'


I seen that Xenon told someone else to go to phpmyadmin and manually delete that table.

This brought a whole new task on to a noobie like me. So I had to learn how to install the phpmyadmin and it was tough to start.

Here is a good spot to learn about that.
http://www.aota.net/PHP_and_MySQL/phpmyadmin.php4
I was still having problems downloading it correctly so instead of using their config.inc.php layout I used the (libraries/config.default.php) and just resaved it as config.inc.php in the main folder not in the libraries folder.
Also if you try to save it as config.inc in the save as it saves as config.php for some reason. So I had to "save as" name it config.inc.php then change the save as type to php.

Be sure to follow the instructions exactly. Also if you are new you should start with How To Install a vbulletin Hack: Guide to Newbies. Learned quite a bit there.
https://vborg.vbsupport.ru/showthread.php?t=39142


Thanks to Xenon and all of the other contributors!
Reply With Quote
  #170  
Old 07-06-2006, 06:00 AM
mIRCnet's Avatar
mIRCnet mIRCnet is offline
 
Join Date: Nov 2001
Location: UAE
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

After installing this hack in my company forum , my manager says "Thanks to the programmer of this hack, now we have a special look" , and he never think to go back to the old normal style

Thanks a bunch Xenon
Reply With Quote
  #171  
Old 07-06-2006, 06:50 AM
Cheertobi Cheertobi is offline
 
Join Date: Aug 2004
Location: Germany
Posts: 178
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does anyone use this with vB3.6?

Tobi
Reply With Quote
  #172  
Old 07-19-2006, 08:06 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 Cheertobi
Does anyone use this with vB3.6?

Tobi
yes, it work with vB3.6 ?
Reply With Quote
  #173  
Old 07-20-2006, 12:48 AM
thenetbox thenetbox is offline
 
Join Date: Mar 2002
Posts: 184
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Allan
yes, it work with vB3.6 ?
I'm using 3.6 and it works
Reply With Quote
  #174  
Old 07-20-2006, 05:23 AM
Allan's Avatar
Allan Allan is offline
 
Join Date: Jun 2003
Location: France
Posts: 1,513
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by thenetbox
I'm using 3.6 and it works
Thanks
Reply With Quote
  #175  
Old 07-21-2006, 11:49 AM
thenetbox thenetbox is offline
 
Join Date: Mar 2002
Posts: 184
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^ no problem

Does any one know how to have a space in between the blocks like on this persons forum http://www.tripforums.com/

Blocks that look seperate from each other?
Reply With Quote
  #176  
Old 07-21-2006, 08:15 PM
Allan's Avatar
Allan Allan is offline
 
Join Date: Jun 2003
Location: France
Posts: 1,513
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Don't work on vB3.6 RC1:
Code:
Fatal error: Cannot redeclare fetch_forum_lightbulb() (previously declared in c:\program files\easyphp1-8\www\forum\includes\functions_forumlist.php:315) in c:\program files\easyphp1-8\www\forum\includes\functions_forumlist.php on line 315
A idea to problem ?
Reply With Quote
  #177  
Old 07-21-2006, 09:12 PM
thenetbox thenetbox is offline
 
Join Date: Mar 2002
Posts: 184
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very strange. It is working on mine ( http://www.darkforum.com/ ) on the bottom under "The Pen".

It might be a different plugin causing the error?

What is on line 315 in functions_forumlist.php?
Reply With Quote
  #178  
Old 07-21-2006, 09:48 PM
Allan's Avatar
Allan Allan is offline
 
Join Date: Jun 2003
Location: France
Posts: 1,513
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Line 315:
Code:
// ###################### Start getforumlightbulb #######################
// returns 'on' or 'off' depending on last post info for a forum
function fetch_forum_lightbulb(&$forumid, &$lastpostinfo, &$foruminfo) <== line 315
{
Reply With Quote
  #179  
Old 07-22-2006, 04:49 PM
Allan's Avatar
Allan Allan is offline
 
Join Date: Jun 2003
Location: France
Posts: 1,513
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It work !

It's necessary to put the function at the beginning of the php file
Reply With Quote
  #180  
Old 07-25-2006, 09:48 AM
snowlion snowlion is offline
 
Join Date: Mar 2005
Location: STY
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
It work !

It's necessary to put the function at the beginning of the php file
can you post it here ?

i want to use this mod for specific style and forum(not use for all forums), can anyone modified to do this?
Reply With Quote
  #181  
Old 08-09-2006, 05:18 AM
soletrader soletrader is offline
 
Join Date: Jul 2006
Posts: 340
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can anyone post the working hack please?
Reply With Quote
Reply


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 11:56 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.05741 seconds
  • Memory Usage 2,362KB
  • Queries Executed 30 (?)
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
  • (3)bbcode_code
  • (4)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
  • (2)pagenav_pagelinkrel
  • (16)post_thanks_box
  • (16)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (16)post_thanks_postbit_info
  • (15)postbit
  • (16)postbit_onlinestatus
  • (16)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