vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Miscellaneous Hacks - split postbit_legacy buttons into a seperate cell (https://vborg.vbsupport.ru/showthread.php?t=172138)

Mazinger 03-04-2008 10:00 PM

split postbit_legacy buttons into a seperate cell
 
As shown in the attached image:
Attachment 76740

Edit postbit_legacy template.

Search for

HTML Code:

<td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px">
  $post[onlinestatus]

Change to

HTML Code:

<td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 1px">
  $post[onlinestatus]

Search for

HTML Code:

<if condition="$show['moderated']">
 <td class="alt2" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px; border-top: 0px">
 <else />
 <td class="alt1" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px; border-top: 0px">
 </if>

Change to

HTML Code:

<if condition="$show['moderated']">
 <td class="alt2" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 1px; border-top: 0px">
 <else />
 <td class="alt1" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 1px; border-top: 0px">
 </if>

Save the work.

SEOvB 03-05-2008 06:52 PM

lol this does nothing.

Mazinger 03-05-2008 06:55 PM

Are you sure you followed my instructions exactly?

Test it first on default style.

Tom_S 03-05-2008 07:54 PM

Quote:

Originally Posted by FRDS (Post 1457866)
lol this does nothing.

It gives it a cleaner look. Did mine ages ago. Good job ;)

xxshatteredsoul 03-05-2008 11:19 PM

Thank you for this but is there a way you can move this into where the edit post/quote button is? I would like to make that into a table and move everything in there and just have username and avatar in the left table

Mazinger 03-06-2008 08:08 AM

Sorry, I'm not getting you.

Are you saying that you want to split the post controls buttons, and leave the left side as is?

xxshatteredsoul 03-06-2008 04:41 PM

I'm trying to move stuff around, i've attached a image to show you what I mean to help explain.

Mazinger 03-06-2008 06:52 PM

You need revert your custom template. I see no way to apply my mod on this custom one.

xxshatteredsoul 03-19-2008 02:27 AM

Yeah i'm not sure what I was thinking this isn't really the same mod at all just tying to find something that can relate to the image I posted. Haha sorry.


All times are GMT. The time now is 04:43 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.01153 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
  • (4)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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