Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-15-2008, 02:04 AM
koolfire koolfire is offline
 
Join Date: Apr 2008
Location: vBulletin
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Some coding help needed [ Forum Rules in columns and other stuff up]

Please view the below image and read the text..

Typo's: Line 2 last word : it should be two not to

http://cricdownloads.com/vb.PNG

I want to do this because i dont like nonsence space on my forum..

Thanx
Reply With Quote
  #2  
Old 05-15-2008, 02:12 AM
veenuisthebest's Avatar
veenuisthebest veenuisthebest is offline
 
Join Date: Mar 2008
Location: India
Posts: 1,416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

its all about fondling in the Forum Display templates..

create a child style and perform various edits like removing <br /> tags and other necessary editing. When satisfied overwrite the edited template in the child style with the one in parent.

I think lot of customization would be required !!
Reply With Quote
  #3  
Old 05-15-2008, 02:26 AM
koolfire koolfire is offline
 
Join Date: Apr 2008
Location: vBulletin
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes i do know its a template modification of forumdisplay...

I am trying to figure this stuff out and i just figured out that forumjump and forumrules are in same TABLE and no new posts etc is a diffrent table.. so is there a way i can put one table beside another? and also split forumrules?
Reply With Quote
  #4  
Old 05-15-2008, 02:35 AM
veenuisthebest's Avatar
veenuisthebest veenuisthebest is offline
 
Join Date: Mar 2008
Location: India
Posts: 1,416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

to put one table beside another can be done by putting both the tables in a new table.

for example.. you can create a table with 1 row and 2 columns

1st column can contain the table having forumrules and forumjump
2nd column can contain the table with "no new posts" etc.

this way you can have all the stuff aligned in a single row within a table.

i hope i'm not wrong totally !!
Reply With Quote
  #5  
Old 05-15-2008, 03:26 AM
koolfire koolfire is offline
 
Join Date: Apr 2008
Location: vBulletin
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is the code for making horizontal forum rules...
Can someone just tell me how i can NOT have forumjump and forumrules on same table?

Code:
 <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="180">
<thead>
<tr>
    <td class="thead"<if condition="!$show['codeonly']"> colspan="2"</if>>
        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumrules')"><img id="collapseimg_forumrules" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumrules].gif" alt="" border="0" /></a>
        $vbphrase[posting_rules]
    </td>
</tr>
</thead>
<tbody id="collapseobj_forumrules" style="$vbcollapse[collapseobj_forumrules]">
<tr>
    <td class="alt1" nowrap="nowrap"><div class="smallfont">
        <if condition="!$show['codeonly']">
        <div><phrase 1="$rules[postnew]">$vbphrase[you_may_x_post_new_threads]</phrase></div>
        <div><phrase 1="$rules[postreply]">$vbphrase[you_may_x_post_replies]</phrase></div>
        <div><phrase 1="$rules[attachment]">$vbphrase[you_may_x_post_attachments]</phrase></div>
        <div><phrase 1="$rules[edit]">$vbphrase[you_may_x_edit_your_posts]</phrase></div>
    </div></td><td class="alt1" nowrap="nowrap"><div class="smallfont">
        </if>
        <div><phrase 1="misc.php?$session[sessionurl]do=bbcode" 2="$bbcodeon">$vbphrase[vb_code_is_x]</phrase></div>
        <div><phrase 1="misc.php?$session[sessionurl]do=showsmilies" 2="$smilieson">$vbphrase[smilies_are_x]</phrase></div>
        <div><phrase 1="misc.php?$session[sessionurl]do=bbcode#imgcode" 2="$imgcodeon">$vbphrase[img_code_is_x]</phrase></div>
        <div><phrase 1="$htmlcodeon">$vbphrase[html_code_is_x]</phrase></div>
    </div></td>
</tr>
</tbody>
</table>
--------------- Added [DATE]1210870227[/DATE] at [TIME]1210870227[/TIME] ---------------

Bump

--------------- Added [DATE]1210879940[/DATE] at [TIME]1210879940[/TIME] ---------------

bump
Reply With Quote
  #6  
Old 05-16-2008, 02:04 PM
koolfire koolfire is offline
 
Join Date: Apr 2008
Location: vBulletin
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tired bum p .
Reply With Quote
  #7  
Old 05-19-2008, 12:28 AM
koolfire koolfire is offline
 
Join Date: Apr 2008
Location: vBulletin
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

last ever fed up bump
Reply With Quote
  #8  
Old 06-15-2008, 01:29 AM
koolfire koolfire is offline
 
Join Date: Apr 2008
Location: vBulletin
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

god anyone??/
Reply With Quote
Reply


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:23 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.03778 seconds
  • Memory Usage 2,228KB
  • 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
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)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_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