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)

kartik786 05-28-2006 09:12 AM

hi!

i am not able to specify the number of columns, wher do u do it.
I tried forum manager > edit forum > didnt find any field to edit there...

can some help me out..

snap shot of how it looks wit a small mistake which me not able to find..
http://geniusdreams.com/problem_hack.gif

Xenon 05-29-2006 11:35 AM

it is on the edit forum form, at the very end

if it's not there for you, try to redownload the hack and reinstall it

satfox360 06-29-2006 05:36 PM

Hello there,

Do I upload the XML files also or just make the changes to the includes/functions_forumlist.php ?

I have downloaded something different on one of your older post but It guess it would be better use this new post for the 3.5.

Thank you in advance for any help you can provide.

satfox360 06-29-2006 06:29 PM

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

This is what was shown when you went to my website.

satfox360 06-29-2006 08:21 PM

Hello Xenon,

I'm very sorry but I'm kind of a noobie to the add-ons and hacks.

I'm willing to make a donation via paypal and encourage anyone else to do the same for very descriptive instructions in a noobies prospective.

I have read through this whole post and think that your hack is great. I've seen how well it's been working for others and can't wait to get it on my forum.

I've seen you refer to install the product. Is this the xml?

Thank you for your time on this matter.

Bobby

satfox360 07-01-2006 05:08 AM

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.

satfox360 07-01-2006 05:27 AM

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 #######################


satfox360 07-01-2006 09:52 PM

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!

mIRCnet 07-06-2006 06:00 AM

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

Cheertobi 07-06-2006 06:50 AM

Does anyone use this with vB3.6?

Tobi

Allan 07-19-2006 08:06 PM

Quote:

Originally Posted by Cheertobi
Does anyone use this with vB3.6?

Tobi

yes, it work with vB3.6 ?

thenetbox 07-20-2006 12:48 AM

Quote:

Originally Posted by Allan
yes, it work with vB3.6 ?

I'm using 3.6 and it works :)

Allan 07-20-2006 05:23 AM

Quote:

Originally Posted by thenetbox
I'm using 3.6 and it works :)

Thanks ;)

thenetbox 07-21-2006 11:49 AM

^ 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?

Allan 07-21-2006 08:15 PM

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 ?

thenetbox 07-21-2006 09:12 PM

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?

Allan 07-21-2006 09:48 PM

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
{


Allan 07-22-2006 04:49 PM

It work !

It's necessary to put the function at the beginning of the php file

snowlion 07-25-2006 09:48 AM

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?

soletrader 08-09-2006 05:18 AM

can anyone post the working hack please?

mano1.com 08-09-2006 02:07 PM

I will give this a try later, thanks.

vitnuce 08-11-2006 10:21 AM

It doesn't work with v3.6.0 Gold !?

thenetbox 08-11-2006 11:25 AM

Quote:

Originally Posted by vitnuce
It doesn't work with v3.6.0 Gold !?

I'm not sure. It broke after I updated it to gold but I think it might have just been some over written templates. I'll try to reinstall it and then I think that it would work after that.

vitnuce 08-12-2006 09:12 AM

I've installed a fresh v3.6.0, then install it, but after i edit the category, change the value into the ammount of columns i want, but ..nothing's happened :-?

thenetbox 08-12-2006 08:24 PM

Quote:

Originally Posted by vitnuce
I've installed a fresh v3.6.0, then install it, but after i edit the category, change the value into the ammount of columns i want, but ..nothing's happened :-?

Did you reedit the includes/functions_forumlist.php because that is all I had to do and it started working again.

vitnuce 08-13-2006 09:54 AM

Oh yes, it only takes effect with the category, not the forum :)

thenetbox 08-13-2006 04:23 PM

ah yes :) I think that's right. It only works on my forumhome.

Spookysalem 08-18-2006 07:37 AM

Can anyone help me out with this please.. The hack works fine but i would like to add a border around each catagory. I cannot seem to find the place to add the code or indeed which code needs to be added.
I have seen it done using this hack on a couple of forums...
Thanks in advance.

teedizz 08-18-2006 08:00 PM

Xenon.... do plan on releasing this for 3.6 bro?

vitnuce 08-19-2006 02:56 AM

Quote:

Originally Posted by teedizz
Xenon.... do plan on releasing this for 3.6 bro?

https://vborg.vbsupport.ru/showthread.php?t=118125 :)

snowlion 08-19-2006 03:23 AM

can anyone help me out to hack this mod with 3.6.0 gold ?

GreysAnatomy 08-25-2006 02:14 PM

Quote:

Originally Posted by thenetbox
Did you reedit the includes/functions_forumlist.php because that is all I had to do and it started working again.

I tried this with my 3.6.0 as well and it still doesn't work. It keeps showing the subforum as a list without a border. :confused: I've installed the Forumhome Category Spacing on my board and had to change the code inside the forumhome_forumbit_level1_nopost template to this:

Code:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tbody>
        <tr>
                <td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
                        <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
                        <if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
                        <if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
                </td>
        </tr>
</tbody>
<if condition="$childforumbits">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
<if condition="$forum['subforumcolumns'] > 1">
        <tr>
                <td class="alt1" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
<table style="border: none; width: 100%;">
                       
</table>
                </td>
        </tr>
<else />
       
</if>
</tbody>
</if>
<tr align="center">
<td class="thead" width="35">&nbsp;</td>
<td class="thead" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" width="175">$vbphrase[last_post]</td>
<td class="thead" width="65">$vbphrase[threads]</td>
<td class="thead" width="65">$vbphrase[posts]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="thead" width="120">$vbphrase[moderator]</td>
</if>
</tr>
$childforumbits
<tr><td class="thead" style="line-height: 0; padding: 0; margin: 0;" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>"><img src="$vboptions[cleargifurl]" alt="" width="1" height="12" /></td></tr>
</tbody>
</if>
</table>
<div style="padding:0px 0px 16px 0px;"></div>

Can anyone help me out here? I think the code inside this template is faulty. :cross-eyed:

AdmiralSpock 08-31-2006 03:03 PM

I just used the Category Spacing hack that uses a product. I couldn't get it to work with the one that edited the actual templates. :)

The-Ensemble 08-31-2006 05:23 PM

Are there any plans for someone to take over xenon's hacks/mods? I really want to put this on forum display but i dont know how and can't find a find or stuff for it.

soletrader 09-02-2006 11:52 AM

Someone please make this work on 3.6.0

Cheertobi 09-02-2006 11:54 AM

Quote:

Originally Posted by soletrader
Someone please make this work on 3.6.0

This works with 3.6!

soletrader 09-02-2006 03:47 PM

Quote:

Originally Posted by Cheertobi
This works with 3.6!


Where do I add the function in functions_forumlist.php? Can I add it anywhere or does it have to be placed somewhere specific?

Cheertobi 09-02-2006 06:28 PM

Hi,

just put it at the end of the file, right before

Code:

?>
Tobi

soletrader 09-03-2006 04:21 AM

I cant get it to work. I get a syntax error when I edit my functions_forumlist

Cheertobi 09-03-2006 06:25 AM

What did you copy to your functions_forumlist.php and where did you copy it?


All times are GMT. The time now is 03:55 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.01457 seconds
  • Memory Usage 1,829KB
  • 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
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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