vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Some coding help needed [ Forum Rules in columns and other stuff up] (https://vborg.vbsupport.ru/showthread.php?t=179295)

koolfire 05-15-2008 02:04 AM

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

veenuisthebest 05-15-2008 02:12 AM

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 !!

koolfire 05-15-2008 02:26 AM

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?

veenuisthebest 05-15-2008 02:35 AM

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 !!

koolfire 05-15-2008 03:26 AM

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

koolfire 05-16-2008 02:04 PM

tired bum p .

koolfire 05-19-2008 12:28 AM

last ever fed up bump :mad:

koolfire 06-15-2008 01:29 AM

god anyone??/


All times are GMT. The time now is 02:32 PM.

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.01114 seconds
  • Memory Usage 1,731KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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