vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Forum ID's (https://vborg.vbsupport.ru/showthread.php?t=62061)

djohn 03-01-2004 10:43 AM

Forum ID's
 
How can i change them? In the default installation the forum is created with an id of 2, is there a way to change it to 1, and make all further created forums have serial ID's?
Another question, how can I change the width of my forums? Default is too narrow, imho, i want to expand them a bit. The last post info takes three lines, the column is too narrow, so the info takes up three lines, and looks rather ugly. Is there a way no widen the Last Post column?

13th_Disciple 03-01-2004 12:59 PM

forumID's.. not sure.. think you can edit the DB for that purpose..

forum too narrow.. go to style manager, select all style options, i believe it is, for your style, and down in there somewhere you will see it set at 700 pixels or something.. change it to 100%

last post colum.. style manager, edit templates, forum home templates, FORUMHOME - you will see 4 to 6 lines of code.. one of them contains infor on each of the colums.. the one with something like "$vboptions[lastpost]" ro close to that, change the width of the <td> tag..

i did that lastnight.. i would be very specific, but i am at work, and browsing my forums or adminCP to make changes is kind of a no no.. but coming here ain't.. go figure..

djohn 03-01-2004 02:17 PM

Thanks for the first hint, worked great.
The secont one with the Last Post column - i've found that line in FORUMHOME:

<td class="thead" width="175">$vbphrase[last_post]</td>

but changing the width did not do anything :(

Boofo 03-01-2004 02:34 PM

Quote:

Originally Posted by djohn
Thanks for the first hint, worked great.
The secont one with the Last Post column - i've found that line in FORUMHOME:

<td class="thead" width="175">$vbphrase[last_post]</td>

but changing the width did not do anything :(

You have to change in in about 4 places for it all to take affect. ;)

djohn 03-01-2004 04:14 PM

I found only one place in FORUMHOME with <td class="thead" width="175">$vbphrase[last_post]</td> :o :surprised:
Are the other 3 in different templates? Which ones?

Zachery 03-01-2004 04:33 PM

Quote:

Originally Posted by djohn
I found only one place in FORUMHOME with <td class="thead" width="175">$vbphrase[last_post]</td> :o :surprised:
Are the other 3 in different templates? Which ones?

To change the look for the last post collum you should go to vBulletinTemplates.com ;) as i know several tutorials for that have been released :)

Boofo 03-01-2004 04:43 PM

Quote:

Originally Posted by djohn
I found only one place in FORUMHOME with <td class="thead" width="175">$vbphrase[last_post]</td> :o :surprised:
Are the other 3 in different templates? Which ones?

Here you go. ;)

Quote:

In the "forumhome_lastpostby" template:
Find:
=============================
<div class="smallfont" align="$stylevar[left]">
=============================
REPLACE it with:
=============================
<div class="smallfont" align="$stylevar[left]" style="width: 240px;">
=============================
In the "forumdisplay" template:
Find:
=============================
<td class="thead" width="175">$vbphrase[last_post]</td>
=============================
REPLACE it with:
=============================
<td class="thead" width="240">$vbphrase[last_post]</td>
=============================
In "forumhome_forumbit_level1_nopost" template:
Find:
=============================
<td class="thead" width="175">$vbphrase[last_post]</td>
=============================
REPLACE it with:
=============================
<td class="thead" width="240">$vbphrase[last_post]</td>
=============================
In "forumhome_forumbit_level1_post" template:
Find:
=============================
<td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td>
=============================
REPLACE it with:
=============================
<td class="alt2" style="width: 240px;" nowrap="nowrap">$forum[lastpostinfo]</td>
=============================
In "forumhome_forumbit_level2_post" template:
Find:
=============================
<td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td>
=============================
REPLACE it with:
=============================
<td class="alt2" style="width: 240px;" nowrap="nowrap">$forum[lastpostinfo]</td>
=============================


All times are GMT. The time now is 04:47 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.01159 seconds
  • Memory Usage 1,733KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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