Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions

Reply
 
Thread Tools Display Modes
  #11  
Old 02-18-2003, 03:14 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So the same forum category name is appearing three times because of this mod?
Reply With Quote
  #12  
Old 02-18-2003, 07:07 AM
jjcool777 jjcool777 is offline
 
Join Date: Aug 2002
Location: uk
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes tony

its appearing 3 times on my forum catogorys,
when i installed this modifacation ???
i wanted to name each forum catagory diffrent? not all the same ?
Reply With Quote
  #13  
Old 02-18-2003, 07:52 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't see how adding a center tag could do that, or a align="center".

So when you take it off all returns to normal? Are you stull using the category variable?
Reply With Quote
  #14  
Old 02-19-2003, 12:43 AM
jjcool777 jjcool777 is offline
 
Join Date: Aug 2002
Location: uk
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well i used this mod http://www.vbulletintemplates.com/mo...light=Centered

it centered my text in the catogorys

but like described in the picture above i can t change my 2nd or 3rd catogory names?
Reply With Quote
  #15  
Old 02-19-2003, 03:44 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well this is really bizarre so I don't see the problem. Maybe post your forumhome_forumbit_level1_nopost.
Reply With Quote
  #16  
Old 02-19-2003, 11:29 AM
jjcool777 jjcool777 is offline
 
Join Date: Aug 2002
Location: uk
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks tony here it is

<table align="center" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="200"><img src="{imagesfolder}/left2.gif" border="0"></td>
<td align="center" background="{imagesfolder}/catbg2.gif" width="1000"></td>

<td width="200"><img src="{imagesfolder}/right2.gif" border="0"></td>
</tr>

</table>
</td></tr></table><br>
<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
<table align="center" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="200"><img src="{imagesfolder}/left.gif" border="0"></td>

<td align="center" background="{imagesfolder}/catbg.gif" width="1000"><normalfont color="{categoryfontcolor}"><b>General Discussion</b></normalfont></td><a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont color="{categoryfontcolor}"><b>$forum[title]</b></normalfont></a></td>
<td width="200"><img src="{imagesfolder}/right.gif" border="0"></td>
</tr>
</table>

<table bgcolor="{tablebordercolor}" cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">

<tr align="center">
<td bgcolor="{tableheadbgcolor}" background="{imagesfolder}/mbg.gif"><smallfont><b>New</b></smallfont></td>
<td bgcolor="{tableheadbgcolor}" background="{imagesfolder}/mbg.gif" width="80%" align="left"><smallfont color="{tableheadtextcolor}"><b>Forum</b></smallfont></td>
<td bgcolor="{tableheadbgcolor}" background="{imagesfolder}/mbg.gif"><smallfont color="{tableheadtextcolor}"><b>Posts</b></smallfont></td>
<td bgcolor="{tableheadbgcolor}" background="{imagesfolder}/mbg.gif"><smallfont color="{tableheadtextcolor}"><b>Threads</b></smallfont></td>
<td bgcolor="{tableheadbgcolor}" background="{imagesfolder}/mbg.gif" nowrap><smallfont color="{tableheadtextcolor}"><b>Last Post</b></smallfont></td>
</tr>
Reply With Quote
  #17  
Old 02-19-2003, 09:14 PM
jjcool777 jjcool777 is offline
 
Join Date: Aug 2002
Location: uk
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone have any ideas ???
Reply With Quote
  #18  
Old 02-19-2003, 09:31 PM
dan404 dan404 is offline
 
Join Date: Jul 2002
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

your problem is you have the forum name typed in.

<normalfont color="{categoryfontcolor}"><b>General Discussion</b></normalfont>

Try removing that from each line and see if it works
Reply With Quote
  #19  
Old 02-19-2003, 09:51 PM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Don't remove it, but use a variable. Never hardcode any forum names.

View your original template to find the variable and replace General Discussion with it.

If you can't find it, I'll get it for you.
Reply With Quote
  #20  
Old 02-19-2003, 09:52 PM
jjcool777 jjcool777 is offline
 
Join Date: Aug 2002
Location: uk
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so do i remove

normalfont color="{categoryfontcolor}"><b>GeneralDiscussion</b></normalfont>

from forumhome_forumbit_level1_nopost??

if i remove it the dicussion wont be there anymore ?
in any catogories ?

unless i got it all wrong ??
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:19 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.08705 seconds
  • Memory Usage 2,266KB
  • Queries Executed 14 (?)
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
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete