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)

yoyoyoyo 01-13-2005 04:04 PM

I was editing the index.php as per the instructions when I came across this:
Quote:

then add this new function to the file:
I am not very adept at original php/sql coding - exactly WHERE is a good place to stick the new function code in that file? does it matter?

sabret00the 01-13-2005 04:56 PM

Quote:

Originally Posted by Oblivion Knight
Had any luck Sabe?

Nothing is jumping out at me yet.. It's driving me insane!

nah i actually forgot about it till now, but i'll play with it over the weekend.

Xenon 01-13-2005 05:02 PM

Quote:

Originally Posted by yoyoyoyo
WHERE is a good place to stick the new function code in that file? does it matter?

well, normally just place it after the last function in the file, but before the closing ?>

it doesn't really matter where you add it, depends on your own preferences ;)

Cheertobi 01-15-2005 08:34 PM

Hi Xenon,

can you please check this, my indexpage seems to be ok, only category "Smalltalk" shows "( Betrachter)", even if there are no users browser the forum!

At forumdisplay there an no lastpostby information!

I do not have any idea, had tested a few things, but I did not get it ;( Any ideas?

Tobias

Xenon 01-17-2005 08:26 PM

i'd remove the (Betrachter) code at all from the template, as the variables aren't defined in the column's function!

Cheertobi 01-17-2005 08:36 PM

Hi,

Quote:

Originally Posted by Xenon
i'd remove the (Betrachter) code at all from the template, as the variables aren't defined in the column's function!

ok, thanks!

Are the lastpostby variables defined at forumdisplay.php, because I cannot them when I set colums to 2! See this link!

Thanks,

Tobias

Guy G 01-17-2005 08:48 PM

Can this arrangement only apply forum i choose? so certain forum would be in a column and others in their regular form?

Xenon 01-17-2005 09:20 PM

@Guy: it's based on a parent base, so if you set up a parent forum that subforums are in columns, ALL subforums will be in cols, you cannot say one subforum shouldn't be.

Xenon 01-17-2005 09:22 PM

@Tobias: oops, you're right, i forgot something.

redownload the file, and overwrite the cunstruct_subforum... bit function, there were three lines (one if condition missing)

Oblivion Knight 01-17-2005 09:26 PM

Quote:

Originally Posted by Xenon
@Tobias: oops, you're right, i forgot something.

redownload the file, and overwrite the cunstruct_subforum... bit function, there were three lines (one if condition missing)

Should the new file fix the problems I had here, or is this a separate issue? :nervous:

Xenon 01-18-2005 04:32 PM

i don't see the problem it seems ^^

Cheertobi 01-18-2005 05:04 PM

Hi Xenon,

thanks, works like a charme now ;)

Tobias

Oblivion Knight 01-18-2005 05:05 PM

Quote:

Originally Posted by Xenon
i don't see the problem it seems ^^

I don't know if you mean that you don't see the problem I had in the screenshot I posted, or that you don't see the problem with the new file on your forum.

Regardless, I tested the new file and it fixed it! Much appreciated :)

Xenon 01-18-2005 05:07 PM

i'm glad that fixed it :)

RetroDreams 02-01-2005 02:30 AM

Is this good to go on 3.0.6?

Oblivion Knight 02-01-2005 07:28 AM

Quote:

Originally Posted by RetroDreams
Is this good to go on 3.0.6?

Yes, running fine for me on 3.0.6.. :)

ambrosious 02-08-2005 01:21 PM

Love this hack, used it for awhile now. One question, did anyone ever work out a way to list moderators for each forum?

FFZoneXtreme 02-14-2005 04:18 AM

I have installed the mod properly but I have one problem :S:S:S
this is my forum http://foros.ffzonextreme.com, and as you can see, the "forums headers (where puts "Foro, Ultimo Mensaje, Temas, Post...") are below the Main Categories rows (Where puts .::FFZONEXTREME::.)

I want to know if there is a way for don?t showing the "Forum Headers" when arranged in colums :S:S

This is the code of forumbit_level1_nopost

Code:

<!-- top category table setup -->
<table width="100%" style="background-image:url('$stylevar[imgdir_misc]/cat_back.gif')" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="170" height="27" align="left" valign="top"><img src="$stylevar[imgdir_misc]/firmament_front_table_top_ls.gif" width="170" height="27" alt=" " border="0" /></td>
    <td width="100%" style="background-image:url('$stylevar[imgdir_misc]/cat_back.gif')" valign="middle">
       
                       
                        <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>
                        <div align="center">
                        <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><b>$forum[title]</b></a></div>
                        <if condition="$show['forumdescription']"><div align="center" class="smallfont">$forum[description]</div></if>
                        <if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></div></if>
               
       
        </td>
    <td width="170" height="27" align="right" valign="top"><img src="$stylevar[imgdir_misc]/firmament_front_table_top_rs.gif" width="170" height="27" alt=" " border="0" /></td>
  </tr>
</table>
        <!-- End top category table setup -->
       
       
       

<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<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>
  <!-- bottom table setup -->
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="60" height="14" align="left" valign="top"><img src="$stylevar[imgdir_misc]/ls_main_table_bottom.gif" width="60" height="14" alt="" /></td>
        <td height="14" width="100%" style="background-image:url('$stylevar[imgdir_misc]/extended_main_table_bottom.gif')"><img src="$stylevar[imgdir_misc]/clear.gif" width="100%" height="14" alt="" /></td>
        <td width="44" height="14" align="right" valign="top"><img src="$stylevar[imgdir_misc]/rs_main_table_bottom.gif" width="60" height="14" alt="" /></td>
      </tr>
    </table>
  <!-- End bottom table setup -->
    <div style="padding: 7px 7px 7px 7px;"></div>

And here the Forumbits_level1_post

Code:

<tbody>
        <tr align="center">
                <td class="alt1Active" colspan="2" align="$stylevar[left]" id="f$forum[forumid]">
               
                <table cellpadding="0" cellspacing="0" border="0">
                <tr>
                        <td><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /></td>
                        <td><img src="$vboptions[cleargifurl]" alt="" width="9" height="1" border="0" /></td>
                        <td>
                        <div>
                                <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
                                <if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>
                        </div>
                        <if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
                        <if condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&amp;f=$forum[forumid]">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if>
                        <if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
                        </td>
                </tr>
                </table>
               
                </td>
                <td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td>
                <td class="alt1">$forum[threadcount]</td>
                <td class="alt2">$forum[replycount]</td>
                <if condition="$vboptions['showmoderatorcolumn']">
                <td class="alt1"><div class="smallfont">$forum[moderators]&nbsp;</div></td>
                </if>
        </tr>
</tbody>
<if condition="$childforumbits">
<tbody>
        $childforumbits
</tbody>
</if>


YLP1 02-21-2005 01:11 PM

Hi guys...I am fairly new at VB and have tried to install this modification twice already.

Each time I get these errors:
Quote:

Parse error: parse error, unexpected $end in myISP\lpsforum\includes\functions_forumlist.php on line 755

Fatal error: Call to undefined function: construct_forum_bit() in myISP\lpsforum\index.php on line 412
I have checked and double checked the code but can't determine where/how I went wrong.

Can you guys lead me in the right direction on how to fix this?

Any help is greatly appreicated.

Xenon 02-21-2005 05:11 PM

it seems you ahve put the function on the wrong place.

be sure it is before the ending ?>

Takamine334 02-23-2005 05:06 AM

anyone know of any addons for this for 3.0.x?

AWS 02-23-2005 09:34 AM

Quote:

Originally Posted by Takamine334
anyone know of any addons for this for 3.0.x?

This works on 3.x.x with no problems.

Xenon 02-23-2005 03:11 PM

erm addons?

what kind of addons? ;)

Takamine334 02-23-2005 08:29 PM

Quote:

Originally Posted by Xenon
erm addons?

what kind of addons? ;)

....

Takamine334 02-23-2005 09:00 PM

....nm

Takamine334 02-24-2005 04:58 AM

is there a place that you guys go to to get your icons? some of you have great icons for this hack. Any idea where I might be able to get icons dealing with music?

Takamine334 02-24-2005 05:17 AM

how do I change the top line to read "Forum" "Posts" Forum" Posts" and be lined up where they are supposed to go. Also, how do I center the "Audio Section" ? Any help would be greatly appreciated.

H2k 02-24-2005 08:18 AM

Hello
I try to install this hack ..and i try to play with it the whole night .. it's only showing the columns in the subforums not in the home page.

how can i let it to be showing in the home page..

like i have one forums called

Softwares/Windows

Windows
Windows XP
Windows 2000

So i need it to be showing in the home page like this

Software/Windows

Windows : Windows XP : WINDOWS 2000

when i try it only showing in the Subforums but not in the home page anyidea ?

Thankyou

Xenon 02-24-2005 05:03 PM

@H2k: please do not bump you own questions!

well, it looks like you have not done the template changes, or changed the wrong templates. depending on if you allow posting in categories as well, you need to edit level1_post instead of _nopost

Takamine334 02-25-2005 04:41 AM

anyone?

H2k 02-25-2005 07:57 AM

Quote:

Originally Posted by Xenon
@H2k: please do not bump you own questions!

well, it looks like you have not done the template changes, or changed the wrong templates. depending on if you allow posting in categories as well, you need to edit level1_post instead of _nopost

Thankyou very much for your help know i get it work i was thinking about this Hack that i can do it like
See here :http://www.ebslive.com/forums/

Forums Related
Site News
Icon
EBS:L!VE Groups
by joe 17-02-2005 10:53
312 threads | 3,479 posts

How can i modify this code

Code:

<td colspan="1">
<img src="$stylevar[imgdir_statusicon]/forums/forum_$forum[forumid].gif" alt="forum_$forum[statusicon].gif" title="">
</td>
<td colspan="65">
                <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>

<div class="smallfont">$forum[description]</div>


<if condition="$show['lastpostinfo']">
<div class="smallfont" align="$stylevar[left]">
        <div class="smallfont">
                <a href="showthread.php?$session[sessionurl]goto=newpost&amp;t=$lastpostinfo[lastthreadid]" title="<phrase 1="$lastpostinfo[lastthread]">$vbphrase[go_first_unread_in_thread_x]</phrase>"><strong>$lastpostuser[trimthread]</strong></a>

                <phrase 1="member.php?$session[sessionurl]find=lastposter&amp;f=$lastpostinfo[forumid]" 2="$lastpostinfo[lastposter]">last post <strong>$vbphrase[by_x]</strong></phrase>
        </div>
       
<div align="$stylevar[right]">
                $lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$lastpostinfo[lastposttime]</span></if>

                <a href="showthread.php?$session[sessionurl]goto=lastpost&amp;t=$lastpostinfo[lastthreadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0"></a>
        </div>
</div>

<else />

        $lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$lastpostuser[lastpostuser]</span></if>
</if>
<td class="alt2" colspan="23" border="0"><center>$forum[replycount]</center></td>

so i can make it just like that website.. to show everything like this

Forums Related
Site News
Icon
EBS:L!VE Groups
by joe 17-02-2005 10:53
312 threads | 3,479 posts

Oblivion Knight 02-25-2005 08:13 AM

Quote:

Originally Posted by H2k
Thankyou very much for your help know i get it work i was thinking about this Hack that i can do it like
See here :http://www.ebslive.com/forums/

That website customised the hack to achieve that layout themselves. Support cannot be given since it is not a part of the default package that is being supported in this thread.

You should try and play around with the templates yourself to achieve the desired look, either that or hire someone to do something similar for you.. Either way, it's unlikely that any help for achieving that design will be obtained from this thread.. ;)

Takamine334 02-25-2005 12:08 PM

ugh
https://vborg.vbsupport.ru/showpost....&postcount=346
and
https://vborg.vbsupport.ru/showpost....&postcount=347

Takamine334 02-25-2005 09:50 PM

since no one knows, can someone at least tell me where the "Forum Last Post Threads Posts" template is and I'll try to change it myself?

Cheertobi 02-26-2005 09:00 AM

Hi,

Quote:

Originally Posted by Takamine334
since no one knows, can someone at least tell me where the "Forum Last Post Threads Posts" template is and I'll try to change it myself?

which version of this hack do you have installed?

I think this was a "bug" in an earlier version?!

Tobias

Takamine334 02-26-2005 04:59 PM

Mod Version: 1.2.1

Xenon 03-01-2005 02:02 PM

@Takamine: i think you are searching for the FORUMHOME template :)

Schwarze Katze 03-01-2005 08:16 PM

I don't know why, but it won't work with me :(
Works fine on level2_nopost but not at all on level1_nopost.
Ideas?

Xenon 03-02-2005 04:27 PM

on level1 forums cannot work, as those have -1 as parent forum, and you cannot say those should be in columns ;)

or i completely missread what you ment

[german] was genau willst du machen, das erste bild sieht doch richtig aus, beim zweiten bild siehts eher so aus, als w?rde das falsch template irgendwo aufgerufen[/german]

Schwarze Katze 03-02-2005 05:13 PM

o.O
Okay, it's pretty easy to missread this.

I changed the level1_nopost according to the instructions. But it won't work properly. (pic 1)
I also changed level2_nopost and it work's fine with that one. (pic 2)

I played around a bit and I think it's a problem on my side. Well, it definitely is.
I want the columns to appear on forum home and there -> http://www.comicforum.de/forumdisplay.php?f=1 , which is like the "second level" of our board.
It actually works on forumhome (for both level1 and level2).


All times are GMT. The time now is 11:23 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.01683 seconds
  • Memory Usage 1,856KB
  • 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
  • (3)bbcode_code_printable
  • (13)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