Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 03-01-2004, 10:43 AM
djohn djohn is offline
 
Join Date: Feb 2004
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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?
Reply With Quote
  #2  
Old 03-01-2004, 12:59 PM
13th_Disciple 13th_Disciple is offline
 
Join Date: Jan 2003
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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..
Reply With Quote
  #3  
Old 03-01-2004, 02:17 PM
djohn djohn is offline
 
Join Date: Feb 2004
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #4  
Old 03-01-2004, 02:34 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 03-01-2004, 04:14 PM
djohn djohn is offline
 
Join Date: Feb 2004
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I found only one place in FORUMHOME with <td class="thead" width="175">$vbphrase[last_post]</td> :surprised:
Are the other 3 in different templates? Which ones?
Reply With Quote
  #6  
Old 03-01-2004, 04:33 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by djohn
I found only one place in FORUMHOME with <td class="thead" width="175">$vbphrase[last_post]</td> :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
Reply With Quote
  #7  
Old 03-01-2004, 04:43 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by djohn
I found only one place in FORUMHOME with <td class="thead" width="175">$vbphrase[last_post]</td> :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>
=============================
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:46 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04057 seconds
  • Memory Usage 2,223KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete