vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How to change category position? (https://vborg.vbsupport.ru/showthread.php?t=171915)

marlyred 03-02-2008 05:57 PM

How to change category position?
 
Hi,

How can I make the category heading and description appear above the row which has the 'forum', 'last post', 'threads' and 'posts' headers? on the forum front page?

Cheers

snakes1100 03-02-2008 06:06 PM

By default, the forum home page only has those rows once at the top of the page, you might want to post a screen shot, supply a link to your site etc, if your forum is closed to guests, supply a test account to use.

marlyred 03-02-2008 06:34 PM

1 Attachment(s)
I have attached a screenshot. I hope you can understand what I want to do.

snakes1100 03-02-2008 06:41 PM

By default vbulletin only does that once, the other forums by default dont have that info listed for each category section, that would require an additional hack/code change.

Unless you plan on doing what vb.org has done, are you sure you want to do it for just one category?

marlyred 03-02-2008 07:05 PM

Yeh I would like to replicate what vb.org has done. Have they done this by hacking the code? If so, do you know the hack?

snakes1100 03-02-2008 07:11 PM

Its actually a template change, that modification came out years ago, not even sure if i have it anymore on my puter, ill check though, it might be here on the forum someplace, you could try searching in the template forums in the older 3.0.x & 3.5.x sections

marlyred 03-02-2008 07:17 PM

ok, thanks. I will have a search. If you can find it could you post it here please...cheers

snakes1100 03-02-2008 08:55 PM

Open forumhome template and remove this code and re-save the template:

Code:

<tr align="center">
          <td class="alt1">&nbsp;</td>
          <td class="alt2" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
          <td class="alt1" width="175">$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>

Open forumhome_forumbit_level1_nopost template and place the code from above right after this line and resave the template:
Code:

<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
MAKE SURE YOU BACKUP BEFORE MAKING TEMPLATE CHANGES!

kj_202 05-18-2008 03:28 PM

I was advised by an forum moderator to post in the thread so I am :)

Snake... does that work with 3.7 because I tried and it doesn't, any ideas or is it just me?


All times are GMT. The time now is 05:29 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.02790 seconds
  • Memory Usage 1,723KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete