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)

Guest190829 11-11-2005 01:14 AM

Well that's up to Xenon if he wants to change the install file, not me.

concepts 11-13-2005 06:47 AM

i'm nowhere near a coder, but this hack is simple as h-e-double hockey sticks to install, the only thing I MAY have had a question on was the query, but I figured that out myself, (which most people need to learn how to do btw)

Caiman 11-15-2005 07:37 PM

Hey all, I got this installed easily enough (thanks Xenon!). I noticed that some people had added post info, like last response by and thread title/time date beneath each forum in the columns, any help on doing that would be nice :D

Cheertobi 11-15-2005 08:14 PM

Try to add the following variables in forumhome_forumbit_columncell

$forum[lastpostinfo] (Maybe you have to modify the forumhome_lastpostby template, to make it look nicer)
and
$forum[browsers]

Xenon 11-15-2005 09:29 PM

Sorry, for my long absence, but the isp of my gf didn't let me get online....
now i have missed a lot of days ;)

as for a few comments on this thread: i'll remember them and maybe won't release any hacks next time, if i don't finish them. If someone has no experience in hacking his board, that's not my fault, beta versions are beta versions because they are in a beta stadium, and not yet finished, so to all of those who complaint: DON'T INSTALL BETA VERSIONS IF YOU CANNOT LIVE WITH A FEW PROBLEMS.

yes, me is a bit annoyed...

Caiman 11-16-2005 02:03 AM

Quote:

Originally Posted by Cheertobi
Try to add the following variables in forumhome_forumbit_columncell

$forum[lastpostinfo] (Maybe you have to modify the forumhome_lastpostby template, to make it look nicer)
and
$forum[browsers]

Thanks, I wanted to show lastpostinfo a little differently in the columned forums than it is shown in those that remain normal, so I've lifted some functions from forumhome_lastpostby and chucked them in the new template and achieved what I wanted. Thanks for your help :D

Thanks again for the lovely hack, Xenon.

Xenon 11-20-2005 05:35 PM

I have uploaded a new version now.

The hack is no longer considered as beta, so you should all be able to use it :)
It's now using the vbulletin product system, to make the install much easier.

For those who have installed the Beta version, you have to manually drop the subforumcolumn field in forum table, before you can run the product xml file.

I'll send out an upgrade, once i have got positive feedback, that i didn't forgot something ;)

Borgs8472 11-21-2005 10:24 PM

^ ^
Thanks!

/me will be upgrading asap

Guest190829 11-22-2005 02:44 AM

Updated hack installed, and is working great. Thanks again Xenon :)

fridayweb 11-23-2005 01:25 PM

I was trying to add in the old option from 3.0 where there was a radio select button where people could select columns or not. I did everything the same way that was described in 3.0 and it's not quite working. I was wondering if you had some updated changes that could fix that for this 3.5 hack? Thanks!

Xenon 11-24-2005 05:09 PM

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.

DJ XtAzY 11-25-2005 05:17 AM

i cant wait till u have time to work on the forumdisplay version

fridayweb 11-25-2005 06:08 AM

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

Allan 11-25-2005 01:26 PM

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

Xenon 11-25-2005 05:32 PM

@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 ;)

Allan 11-25-2005 05:41 PM

Not understand this:
Code:

replace the xx with the fieldid of your new custom field
Which custom field ???

Xenon 11-25-2005 07:03 PM

he is referring to an old addon, look into the 3.0 thread to find out :)

Allan 11-25-2005 07:34 PM

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 ?

fridayweb 11-25-2005 09:35 PM

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

Xenon 11-27-2005 01:41 PM

@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 ;)

Allan 11-27-2005 10:40 PM

yess, i work now :D:D

but i'm a little problem :p


Your hack don't work with this modification: http://www.vbulletin.com/forum/showp...t=3%29%28look:

So, i work perfectly with "forumhome_forumbit_level1_post" template, but don't work with "forumhome_forumbit_level2_post" template.

Could you help me ?

No hack active:
http://img373.imageshack.us/img373/7343/nohack5nn.gif


With hack active:
http://img373.imageshack.us/img373/1617/withhack5zi.gif

Cheertobi 11-28-2005 05:20 AM

Hi Allan,

modify forumhome_forumbit_columncell!

Tobi

Allan 11-28-2005 06:02 AM

Quote:

Originally Posted by Cheertobi
Hi Allan,

modify forumhome_forumbit_columncell!

Tobi

Thanks, work now ;)

a question, Have you an idea to remove how the white outline and center the texte with image ?

http://img516.imageshack.us/img516/6653/outline5kc.gif

Cheertobi 11-28-2005 07:33 AM

Hi,

Quote:

Originally Posted by Allan
a question, Have you an idea to remove how the white outline and center the texte with image ?

check your css for that, that is the style you use...

Tobi

Allan 11-28-2005 07:48 AM

I succeeded has to remove the white line, But I do not manage to centre the text with the image

Cheertobi 11-28-2005 08:17 AM

Quote:

Originally Posted by Allan
I succeeded has to remove the white line, But I do not manage to centre the text with the image

I only get thet by using a table for that!

Without testing I would try somethin like that:

Code:

<td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]" width="$column_width">
        <table>
                <tr>
                        <td><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /></td>
                        <td><a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
                                        <if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if></td>
                </tr>
        </table>
</td>

Tobi

Allan 11-28-2005 08:52 AM

Quote:

Originally Posted by Cheertobi
I only get thet by using a table for that!

Without testing I would try somethin like that:

Code:

<td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]" width="$column_width">
        <table>
                <tr>
                        <td><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /></td>
                        <td><a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
                                        <if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if></td>
                </tr>
        </table>
</td>

Tobi


Thanks for your help Cheertobi, work perfectly !!!! :D

http://img506.imageshack.us/img506/1185/ok4ra.gif

Southpaw 11-30-2005 10:33 PM

Can someone explain how you can get your subforums to show in columns too please?

Right now only my top-level forums can be shown in columns.

Thanks in advance!

Moya 11-30-2005 10:58 PM

Allan

That is cute setup :D :D

Evil X 12-08-2005 11:14 PM

how do I get my forum display to look right... were the post count and thread count is, it cuts off the forum cats... so the titles go to a new line... someone please give me a fix

Borgs8472 12-09-2005 08:17 AM

^ ^
this hack doesn't (yet) work with forum display :(

ShadowOne 12-09-2005 12:02 PM

i really like this except i would have hoped that it was a little neater... Like the image(status icon) is not in the same place, it varies depending on how much text the category details is, you should make it look nice and maybe fix that? it would be greatly appreciated...here is my site to look at what i mean...http://www.urban-revolution.com/forum/

Evil X 12-09-2005 06:16 PM

^how did you fix your's? share how you got the forums to be all on the whole thing, and not cut off at the post count lanes. ect

zachlee 12-11-2005 01:14 PM

eta on forumdisplay in columns?

I will buy Xenon internet access if need be.

:)

ShadowOne 12-11-2005 03:50 PM

Quote:

Originally Posted by ExtProof
^how did you fix your's? share how you got the forums to be all on the whole thing, and not cut off at the post count lanes. ect

I Just Installed The Hack Properly....

Xenon 12-11-2005 05:17 PM

Quote:

Originally Posted by zachlee
eta on forumdisplay in columns?

I will buy Xenon internet access if need be.

:)

it's a techical problem, no money problem...
damn isp.......

the forumdisplay part wold be easy... ;)

Blackbeard 12-12-2005 06:30 PM

Code:

<if condition="$childforumbits">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
<tr align="center">
          <td class="thead">&nbsp;</td>
          <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
          <td class="thead" width="200">$vbphrase[last_post]</td>
          <td class="thead">$vbphrase[threads]</td>
          <td class="thead">$vbphrase[posts]</td>
          <if condition="$vboptions[showmoderatorcolumn]">
          <td class="thead">$vbphrase[moderator]</td>
          </if>
        </tr>
$childforumbits
</tbody>
</if>
</table>

This is my code in nopost1, how can i mod this to keep all section aligned but add the required stuff

The Chief 12-12-2005 09:58 PM

Just installed and it works great! :)

Heres an example ;)

http://www.myetalk.com

mekro 12-13-2005 08:08 AM

Just a quick question, would it be possible to edit this hack to put the catergories in colums instead of just forums.

I ask this because i run a forum that deals with trading card games such as yugioh MTG etc and have many catergorys, so i would like to do something like what this hack does but just for catergorys.

Thanks before hand.
kirk

Borgs8472 12-14-2005 10:23 PM

I'll throw in $10 if it will encourage Xenon to make this a little faster :)

( My handy search links won't really work until it's back on forum display... :( )


All times are GMT. The time now is 04:09 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.01839 seconds
  • Memory Usage 1,848KB
  • 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
  • (2)bbcode_html_printable
  • (4)bbcode_php_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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