vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Forums arranged in columns on forumhome (https://vborg.vbsupport.ru/showthread.php?t=99829)

Xenon 10-31-2005 10:00 PM

Forums arranged in columns on forumhome
 
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

Cheertobi 11-01-2005 11:43 AM

First to thanks you for that hack!

My members still love you for that one ;)

[high]* Cheertobi clicks install!
[/high]

Tobi

Yorixz 11-01-2005 12:05 PM

Looks interesting, I might use this for a few chat forums; I suppose this only affects the category you select and not your whole forum?

bpn 11-01-2005 12:31 PM

Thank you so much :)

Cheertobi 11-01-2005 12:51 PM

Hi,

I found two small typos within the filemodifications:

Code:

find:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                // Set Defaults;
                $forum = array(
                        'title' => '',
                        'description' => '',
                        'link' => '',
                        'displayorder' => 1,
                        'daysprune' => -1,
                        'parentid' => $vbulletin->GPC['parentid'],
                        'newthreademail' => '',
                        'newpostemail' => '',
                        'moderatenewpost' => 0,
                        'moderatenewthread' => 0,
                        'moderateattach' => 0,
                        'warnall' => 0,
                        'styleid' => '',
                        'styleoverride' => 0,
                        'password' => '',
                        'canhavepassword' => 1,
                        'cancontainthreads' => 1,
                        'active' => 1,
                        'allowposting' => 1,
                        'indexposts' => 1,
                        'allowhtml' => 0,
                        'allowbbcode' => 1,
                        'allowimages' => 1,
                        'allowsmilies' => 1,
                        'allowicons' => 1,
                        'allowratings' => 1,
                        'countposts' => 1,
                        'showonforumjump' => 1,

There is no comma after 'showonforumjump' => 1.

Code:

find:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
$forumbits = construct_forum_bit($forumid);

Seems now to be:
Code:

$forumbits = construct_forum_bit($foruminfo['forumid']);
Regards,

Tobi

99SIVTEC 11-01-2005 01:36 PM

Thanks xenon. I'll install and report back ;)

Andreas 11-01-2005 01:41 PM

To get rid of the index.php edit:

cache_templates
PHP Code:

if (THIS_SCRIPT == 'index')
{
    
$globaltemplates[] = ''forumhome_forumbit_columncell';


To get rid of the admincp/forum.php edits
forumadmin_add_default
PHP Code:

$forum['subforumcolumns'] = '1'

forumadmin_edit_form
PHP Code:

print_table_header($vbphrase['subforum_settings']);
print_input_row($vphrase['show_subforums_in_x_columns'], 'forum[subforumcolumns]'$forum['subforumcolumns']); 


forumdata_start
PHP Code:

$this->validfields['subforumcolumns'] = array(TYPE_UINTREQ_NO); 


Cheertobi 11-01-2005 03:11 PM

Hi,

seems to work great, but when I press on a categoryname to view only this categoeries forums I got a wrong table!

Picture is attached, seems like something in forumdisplay is wrong for me.

Tobi

Xenon 11-01-2005 03:44 PM

@Cheertobi: i have not yet worked out the forumdisplay parts.

as sai i did not have enough time yet to code it in a way i would like it myself, and it's jsut released so the missing functionaly time could be reduced ;)
Quote:

Originally Posted by Yorixz
I suppose this only affects the category you select and not your whole forum?

yep

@Andreas: thx ;)

99SIVTEC 11-01-2005 03:50 PM

works perfectly for me. http://www.automotivearena.com or a direct link to the forums http://www.automotivearena.com/forums/

Snake 11-01-2005 04:27 PM

Wow perfect hack! Thanks X! :)

Nutz 11-01-2005 04:52 PM

Thanks for this Xenon :)

Thanks,
Mat

Reminder 11-02-2005 09:45 AM

Thanks Xenon :)

krvaricp 11-02-2005 10:34 AM

Well, I think that this hack mod works for the Default Style of vBulletin and some other style. I'm using the Cyborg Style of vBDesigns so I can't install it anyway. :ermm:

Cheertobi 11-02-2005 11:38 AM

Hi,

Quote:

Originally Posted by krvaricp
Well, I think that this hack mod works for the Default Style of vBulletin and some other style. I'm using the Cyborg Style of vBDesigns so I can't install it anyway. :ermm:

nope, it also works with custom styles! I use the Element Style of vBStyles, as you can see here.

Tobi

Xenon 11-02-2005 07:33 PM

it works for any styles, but you may have to change the template instructions a little bit of course

Allan 11-02-2005 07:49 PM

Code:

Fatal error: Call to undefined function: construct_forum_columns() in c:\program files\easyphp1-8\www\forum\includes\functions_forumlist.php on line 296
don't work for me, file attach updated ?

in "admincp/forum.php", There is twice:

Code:

$forumdata =& datamanager_init('Forum', $vbulletin, ERRTYPE_CP);

michaelbenson 11-02-2005 08:40 PM

Wow, so many fantastic "Code Modifications" are being released.
Keep up the good work :)

Guest190829 11-03-2005 02:00 AM

Excellant Xenon, always releasing things just when I need it.

[high]* Guest190829 clicks install. :)[/high]

Xenon 11-03-2005 10:23 AM

i know ;)

TTG 11-03-2005 11:40 AM

Anyone got this working on 3.5.1 .. couple of code changes that don't match the instructions.

ggiersdorf 11-03-2005 11:59 AM

make it so we can sort subforms of our choice by alphabetic and you got a hack of the month :)


good work :)

Benj 11-03-2005 12:57 PM

cool hack... anyway i can just set this so it only applies these changes to sub forums ?

Xenon 11-03-2005 06:52 PM

you have the ability to set this for all subforums of one specific forum, the forum has not to be a category it's just that it normally is a category

Blackbeard 11-06-2005 12:30 PM

working on 3.5.1 yet as TTG said things not matching up

Alien 11-06-2005 06:53 PM

Appears to work fine on 3.5.1...

I also used less file edits as one of the posts in here assists with...

NeRilkA 11-08-2005 08:30 PM

hi it doesn't work for me :(

i install it twice and i don't understand what i'm doing wrong.. is there anything to edit in the code itself ??

in the admincp, i have to change the number in the main category and leave 1 in the forums and subforums right ?

thanks for you help :)

Xenon 11-08-2005 08:31 PM

nope you don't have to edit anything in the code.

remember that you have to submit the changes in the main category in acp twice, due tu a little bug.

NeRilkA 11-08-2005 08:40 PM

thanks xenon, yes I remember and i did it ...

look, i join 2 pictures.

In main category i put 2 in "Show Subforums in # of columns" and leave 1 in the main forum and the subforums. did i did it correctly ??

sorry for these stupid questions ;)

lsgworldl 11-08-2005 10:44 PM

has the typos been chaned in the instruction files??? going to try and install when I get up in the morning

lsgworldl 11-10-2005 03:43 PM

how do I run this query, where do I do it and what do I need to do?

you have to run this Query at first:

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

lsgworldl 11-10-2005 06:26 PM

yet another mod with hardly instructions how to use it, and an authour that dosnt support it, getting used to this, why make a mod then have very bad instructions?

Guest190829 11-10-2005 06:33 PM

Quote:

Originally Posted by lsgworldl
yet another mod with hardly instructions how to use it, and an authour that dosnt support it, getting used to this, why make a mod then have very bad instructions?

This is in BETA stages. Bugs should be expected in these versions.

Quote:

Originally Posted by Xenon
Please note, that this is a beta version, and just released, so that you won't miss a feature you had on your board since a long time. I consider it as far from perfect and will work on it further when i have more time.

Furthermore the Supported tag isn't clicked, so you can't expect support...

Allan 11-10-2005 07:04 PM

Yes, the instructions are not rather clear

Guest190829 11-10-2005 07:08 PM

Quote:

Originally Posted by Allan
Yes, the instructions are not rather clear

What don't you understand?

Cheertobi 11-10-2005 07:08 PM

Quote:

Originally Posted by lsgworldl
yet another mod with hardly instructions how to use it, and an authour that dosnt support it, getting used to this, why make a mod then have very bad instructions?

Because a lot of people cried for it! Xenon mentioned it, that he has no time for a "better" version right now!

Tobi

lsgworldl 11-10-2005 07:18 PM

Quote:

Originally Posted by Danny.VBT
This is in BETA stages. Bugs should be expected in these versions.



Furthermore the Supported tag isn't clicked, so you can't expect support...

not if the typos are pointed out and is still in his file that is still up for dl

99SIVTEC 11-10-2005 07:58 PM

it's an easy hack to install guys.

Guest190829 11-10-2005 09:13 PM

Quote:

Originally Posted by lsgworldl
not if the typos are pointed out and is still in his file that is still up for dl

Please understand that Xenon is very busy, and he is the only one in control of the files up for download. The next update on the hack will surely fix all known problems. We must be patient. :)

Allan 11-10-2005 09:23 PM

Quote:

Originally Posted by Danny.VBT
Please understand that Xenon is very busy, and he is the only one in control of the files up for download. The next update on the hack will surely fix all known problems. We must be patient. :)

Ok Danny, but for the next version, try to be a little more precise in the instructions because it's not easy to use this hack for french user ;)


All times are GMT. The time now is 04:17 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.01766 seconds
  • Memory Usage 1,826KB
  • 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
  • (5)bbcode_code_printable
  • (4)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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