vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Forums arranged in columns on forumhome (https://vborg.vbsupport.ru/showthread.php?t=59958)

deaconxgp 04-23-2004 06:57 PM

fixed :) except for the part where there is no Forum and Post strip to identify the subforums so users can't see how many posts or who last posted

Xenon 04-24-2004 10:14 AM

PHP Code:

            $forum['threadcount'] = $counters["$forum[forumid]"]['threadcount'];
            
$forum['replycount'] = $counters["$forum[forumid]"]['replycount']; 

you see both wariables are defined, so you just have to add them to the template :)
same with lastpostinfo

dndog 04-24-2004 01:16 PM

The forums display corrently on the homepage, but when I click on the category they are in they revert back to the original stacking. How can I apply this setting to categories viewed?

Thanks.

Buddha 04-25-2004 04:11 PM

i'm still struggling with getting rid of that table row in forumdisplay if anyone can help me.
(see my posts on the top of this page - #152-153)
thanks.

deaconxgp 04-25-2004 08:34 PM

PHP Code:

 <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_$forumidsrc="$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_$forumidstyle="{$collapseobj_forumid}">
<if 
condition="$forum['subforumcolumns'] > 1">
<
tr align="center"
      <
td colspan="2" class="thead" width="40%" align="$stylevar[left]">$vbphrase[forum]</td
          <
td class="thead">$vbphrase[posts]</td
          <
td class="thead" width="50%" align="$stylevar[left]">$vbphrase[forum]</td
      <
td class="thead">$vbphrase[posts]</td
      </
tr

    <
tr>
        <
td class="alt1" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
<
table style="border: none; width: 100%;">
            
$childforumbits
</table>
        </
td>
    </
tr>
<else />
<
tr align="center">
<
td class="thead" width="38">&nbsp;</td>
<
td class="thead" align="$stylevar[left]">$vbphrase[forum]</td>
<
td class="thead" width="240">$vbphrase[last_post]</td>
<
td class="thead" width="30">$vbphrase[threads]</td>
<
td class="thead" width="100">$vbphrase[posts]</td>
<if 
condition="$vboptions['showmoderatorcolumn']">
<
td class="thead" width="120">$vbphrase[moderator]</td>
</if>
</
tr>

    
$childforumbits
</if>
</
tbody>
</if> 

this is my level1 no post....the problem i'm having is that the threads and posts don't seem to line up correctly...the thread is like too long and the posts is too thin

I've attached a screen shot.

http://www.xgpgaming.com/mainimages/test.gif

deaconxgp 04-26-2004 12:13 AM

i can't seem to change the width of the threads, last post etc information under the columns forums without it affecting the categories for the forums without columns

dndog 04-26-2004 02:52 AM

I want this to appear not on the forum home, but when a user clicks on the category title. What template do I need to edit, and what changes should be made?

deaconxgp 04-28-2004 12:06 PM

any help on getting the Post, Threads, Last Post to line up correctly??

xQuEeNzNaZcHox 05-02-2004 05:08 PM

Code:

Database error in vBulletin 3.0.1:

Invalid SQL: UPDATE vbulletin_forum SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
        title = 'New York Mets',
        description = '',
        link = '',
        displayorder = '1',
        daysprune = '1',
        parentid = '-1',
        subforumcolumns = '2',
        newpostemail = '',
        newthreademail = '',
        styleid = '0',
        password = '',
        options = '86017',
        parentlist = '1,-1'
WHERE forumid=1
mysql error: Unknown column 'subforumcolumns' in 'field list'

mysql error number: 1054

Date: Sunday 02nd of May 2004 06:07:16 PM
Script: http://www.innerchambers.com/~nymfan...incp/forum.php
Referer: http://www.innerchambers.com/~nymfan...t&forumid=1&s=
Username: Noah
IP Address: **.***.***.***

I get that error. Why?

Xenon 05-02-2004 05:22 PM

Quote:

mysql error: Unknown column 'subforumcolumns' in 'field list'
that shows exactly, that you have no installed the hack correctly.

you have to run the queries in the instructions.

xQuEeNzNaZcHox 05-03-2004 06:55 PM

http://www.innerchambers.com/~nymfans/forums/

Look what happened after I applied the category spacing mod. Now it won't even collapse. I read the thread, followed instructions, and boom, its screwed.

here is the template forumhome_lvel1_nopost
Code:

<!-- top -->
<table cellpadding="0" cellspacing="0" border="0" width="$stylevar[outertablewidth]" align="center">
        <tr>
                <td style="text-align: $stylevar[left]" class="tcat"><img src="" alt="" /></td>
                <td width="100%" class="tcat" style="background-image: url(); text-align: center;"><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></td>
                <td style="text-align: $stylevar[right]" class="tcat"><img src="" alt="" /></td>
        </tr>
</table>
<!-- /top -->
<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%;">
     
                        $childforumbits
</table>
                </td>
        </tr>
<else />
        <tr align="center">
          <td class="thead" width="30">&nbsp;</td>
          <td class="thead" align="$stylevar[left]">$vbphrase[forum]</td>
          <td class="thead" width="240">$vbphrase[last_post]</td>
          <td class="thead" width="55">$vbphrase[threads]</td>
          <td class="thead" width="55">$vbphrase[posts]</td>
          <if condition="$vboptions[showmoderatorcolumn]">
          <td class="thead" width="100">$vbphrase[moderator]</td>
          </if>
        </tr>
$childforumbits

</if>
</tbody>
</if>
<!-- bottom -->
<table cellpadding="0" cellspacing="0" border="0" width="$stylevar[outertablewidth]" align="center">
        <tr>
<td style="text-align: $stylevar[left]" class="tcat"><img src="" alt="" /></td>
<td width="100%" class="tcat" style="background-image: url(); text-align: center;"></td>
<td style="text-align: $stylevar[right]" class="tcat"><img src="" alt="" /></td>
</tr>
</table>
<!-- /bottom --><div style="padding: 5px 5px 5px p5x;"></div>


Xenon 05-03-2004 08:27 PM

you should better ask the template guru who did the spacing mod, as my hack has nothing to do with it, and works flawless.

Assault 05-15-2004 04:09 PM

i installed fine.. got no errors or anythin... i just don't see my forums at all..lol.. the colums are set to "2"...
i see the category name..no forums under it

if i put it to just 1 colum, they come out fine...

heres a pic of how it looks:

http://www.digistash.com/data/37bc2f...c/267_p965.gif

Xenon 05-15-2004 05:14 PM

looks like you haven't added the new templates correctly..

Assault 05-15-2004 07:26 PM

Quote:

Originally Posted by Xenon
looks like you haven't added the new templates correctly..


o my god..lol. i can't believe i did sumthig so stupid..lol. thanx..

Xenon 05-15-2004 10:17 PM

;)

no prob, everyone can make a mistake :)

Buddha 05-16-2004 02:29 PM

would it be possible to get some help on the issue i brought up on the last page? regarding the forumhome table i'd like to have disappear?
any help would be greatly appreciated. thanks.

hubba 05-16-2004 03:37 PM

I use only two columns, how do I set this 2 on a fixed width of 50 percent?

Xenon 05-16-2004 06:01 PM

erm, if you use 2 as ammount of columns, it's automatically set to 50% as fixed width.

Psybadek 05-21-2004 03:16 AM

i wanna be able to show the moderator, last topic title, and posts. Anyone know what to add and how to make it look good

nando415 05-29-2004 07:20 AM

Can anyone help me on how to get the border showing seperating the subforums, i dont like how its all 1 color and doesnt match the other sections

Also id like to know how to get it to show the # of members viewing, like next to the title where it says (3 Viewing)

dniMTheory 06-17-2004 02:04 PM

Got it...install is pretty simple and straight forward. I even got the on/off images to work.

The install instructions in the first post work perfect. Anything extra is where the probems come in. All my problem have already been answered in the thread so it was just a matter of sorting through all the posts.

this is one of the better hacks, for its size. It does what it is supposed to do.

Polo 06-17-2004 02:06 PM

mm... i cannot make this hack work...

Warning: Invalid argument supplied for foreach() in /home2/user/public_html/forum/includes/functions_forumlist.php on line 139

RetroDreams 06-17-2004 03:47 PM

Anyone have any good subforum off/on images? The default ones just don't do it for me.

DWard 06-21-2004 07:08 PM

I am still unaware of how to add the header above the forums. Mine looks like this so far:

Kohhal 07-02-2004 04:05 PM

Is this hack compatible with multiple styles?

Reason I ask is that I had this installed before on a test forum with only the template changes done in one style. That style displayed fine but when I viewed the forum using another style, instead of seeing the normal forumdisplay it was completely messed up.

I don't have a screenie and can't say for definite that I didn't make a mistake but it's unlikely.

So can anyone confirm that this works correctly if you want it on some styles and not others?

Thanks :)

Xenon 07-02-2004 05:01 PM

hmm, it should be. but you have to create the additional templates in the not columned style as well, or need to add further conditions to the hack.

so actually you can get to work it on one style if you don't want it to be columned on the other style, but you will have to put a little extra work in then ;)

Oblivion Knight 07-07-2004 03:02 PM

I'm not sure if this has been mentioned already or not, but the template forumhome_forumbit_columncell currently isn't being cached in index.php.. ;)


To fix, open index.php and find:
[code removed - Xenon updated his file]

Xenon 07-07-2004 04:14 PM

i think it is mentioned somewhere in the thread already ^^

but actually that showed me, that i never updatet the file ^^
thx for reminding me :)

Oblivion Knight 07-07-2004 04:53 PM

No problem, I only noticed you hadn't fixed it yet because i'm upgrading my forum and re-installing the hacks.. :)

Xenon 07-08-2004 12:36 PM

well, it's fixed now ;)

Oblivion Knight 07-09-2004 02:32 PM

Could this be done for the forumdisplay page too (when clicking on the category link).?
Obviously not with just the current code, but if I wanted to attempt to expand on the hack (or if you wanted to take on the challenge) - could it be done?

Xenon 07-09-2004 03:44 PM

iirc i have posted how to do so in the thread already.

it's just a change of one condition in the file, and then again, quite the same template changes on forumdisplay :)

funfone 07-13-2004 08:16 PM

Quote:

Originally Posted by deaconxgp
any help on getting the Post, Threads, Last Post to line up correctly??


Any luck anyone on this please ?

Hazzo 07-13-2004 09:19 PM

Quote:

Originally Posted by TheMasterG
Style: Dark Blue Is this hack compatible with multiple styles?

Reason I ask is that I had this installed before on a test forum with only the template changes done in one style. That style displayed fine but when I viewed the forum using another style, instead of seeing the normal forumdisplay it was completely messed up.

I don't have a screenie and can't say for definite that I didn't make a mistake but it's unlikely.

So can anyone confirm that this works correctly if you want it on some styles and not others?

Thanks


Quote:

Originally Posted by Xenon
hmm, it should be. but you have to create the additional templates in the not columned style as well, or need to add further conditions to the hack.

so actually you can get to work it on one style if you don't want it to be columned on the other style, but you will have to put a little extra work in then ;)


This would be a nice add-on for this great hack!! Since I am sure there are a few of us out there, that would install it and use the hack, if it didnt mess with the other skins we use..

Wish I knew coding better, then I would write this myself.. But I dont :(

Anyone can help with this?

Battle_Ring 07-14-2004 09:01 PM

I have problem, dont think i saw it above....when i installed the hack...it works...but the tables for the words Forums...Posts...Threads...and Moderator made the boxes change to that size...how can i fix it?

Xenon 07-14-2004 10:20 PM

That shouldn't be normally.

are you sure you have changed the categories templates as stated in the install instructions.
Those changes are nessecary to keep the moderator/thread boxes in their correct size :)

Battle_Ring 07-15-2004 12:02 PM

OK, Now The Only Problem Im Having Is Its Showing An "X" For The Status Icons...

Battle_Ring 07-15-2004 12:10 PM

Here Is The SS

MindTrix 07-15-2004 12:12 PM

.bmp files are the devil, save pics as jpg or gif

as for your error. Right click on the red x and choose properties, it will show you where it is looking for the image, if you need more help PM me and ill help you out


All times are GMT. The time now is 04:11 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.01704 seconds
  • Memory Usage 1,865KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (5)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