vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Forum Home Enhancements - [AJAX] Tabbed Forum Home (https://vborg.vbsupport.ru/showthread.php?t=175687)

veenuisthebest 05-11-2008 12:31 AM

1 Attachment(s)
this is just toooooooo good :) i'm loving it ..

there's one little problem sir that I find with the collapsible buttons.

Whenever I click on the collapse button, the row above CATEGORY NAME that displays Forum, Last Post, Threads, Post is disturbed.

Please try to notice in the attachments or you can have a look here.. try collapsing and you would notice a change in the row above CATEGORY NAME.. BUT this does not happen with default FORUMHOME template, infact the row remains intact.

I noticed the same problem in www.vbulletin-turkey.com as well as yours too !!

Eq4bits 05-11-2008 01:36 AM

Looks to me like if you change that 'cell' just before the one that contains the word 'Forum' needs to be changed to the size of the icon that fills it in the forum list on the page... when you collapse you are no longer displaying the row with the cell that contains the image so the cell width is no longer filled.

find:
Code:

<td class="thead">&nbsp;</td>
      <td class="thead" width="**%" align="$stylevar[left]">$vbphrase[forum]</td>

(asterisks for percentage value)
and add a percentage value to
[code]<td class="thead">&nbsp;</td>[code]
that would be the equivalent of the 29px that the icon gif is (depending on what layout you use for your board and the percentages used for the other 'columns').
for example
Code:

<td class="thead" width="5%" align="$stylevar[center]">&nbsp;</td>

veenuisthebest 05-11-2008 02:10 AM

thanks.. I did what you said sir..

you may look here now for Tab 1 name. Its working fine but not perfect coz there's still a slight movement in the Forum text... and do notice the Last Post. It is still moving.

Plzz compare it with the default style there, you would notice that everything seems so perfect in Default Style. And why does Threads and Posts are't moving ??

WhaLberg 05-11-2008 03:02 AM

This is really a great mod Bob!

Congratulations.

MarsNIIT 05-11-2008 03:18 AM

Quote:

Originally Posted by veenuisthebest (Post 1515454)
this is just toooooooo good :) i'm loving it ..

there's one little problem sir that I find with the collapsible buttons.

Whenever I click on the collapse button, the row above CATEGORY NAME that displays Forum, Last Post, Threads, Post is disturbed.

Please try to notice in the attachments or you can have a look here.. try collapsing and you would notice a change in the row above CATEGORY NAME.. BUT this does not happen with default FORUMHOME template, infact the row remains intact.

I noticed the same problem in www.vbulletin-turkey.com as well as yours too !!


Hello,

Can you tell me how to sloved this problem.

Thank you verry much.

Eq4bits 05-11-2008 03:56 AM

looking at the source code on the link you gave you need to change the percentages in each case (everytime it appears in the FORUMHOME template:
Code:

<thead>              <tr align="center">
                <td class="thead">&nbsp;</td>
                <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
                <td class="thead" width="175">$vbphrase[last_post]</td>
                <td class="thead">$vbphrase[threads]</td>
                <td class="thead">$vbphrase[posts]</td>
                <if condition="$vboptions['showmoderatorcolumn']">
                <td class="thead">$vbphrase[moderator]</td>
                </if>
              </tr>
  </thead>





for example:
Code:

  <thead>
              <tr align="center">
                <td class="thead" width="5%">&nbsp;</td>
                <td class="thead" width="80%" align="$stylevar[left]">$vbphrase[forum]</td>
                <td class="thead" width="5%">$vbphrase[last_post]</td>
                <td class="thead" width="5%">$vbphrase[threads]</td>
                <td class="thead" width="5%">$vbphrase[posts]</td>
                <if condition="$vboptions['showmoderatorcolumn']">
                <td class="thead">$vbphrase[moderator]</td>
                </if>
              </tr>
  </thead>



by adjusting ALL percentages to total 100% (5%+80%+5%+5%+5%=100%) OR use px width's that total the width of your forum/table (25px+500px+175px+50px+50px=800px) instead of percentages... using the SAME percentages/px's in the section of code for ALL of the tabs (if you have 4 tabs then the code is in FORUMHOME four times. percentages and pixels used for 'example' only).

veenuisthebest 05-11-2008 04:02 AM

have already solved the problem sir...thats exactly what we have to do.. I was just going to post this !! lol.. thank you

veenuisthebest 05-11-2008 04:11 AM

by the way... 5,80,5,5,5 would give us a bit wider columns width.

Have been testing this since an hour, the exact values that are giving me the perfect column width's exactly similar to default FORUMHOME are 4,87,5,4,4. They do not total 100 but working fine ;)

veenuisthebest 05-11-2008 04:43 AM

ohhh.... the problem remains in IE... what to do now ???

The row gets totally messed up in IE, however.. working only in Firefox !!

rapidphim 05-11-2008 06:24 AM

Is it possible for:
1/ On each tab, show the number of new threads created/replied? For example: Tab 1 (2 New)
2/ A quick ajax display all the new created/replied threads when click on number of new created/replied threads?
3/ Everytime user clicks Home, is there away to bring them back to first tab, instead of staying at the current tab that they selected?


All times are GMT. The time now is 12:15 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.02220 seconds
  • Memory Usage 1,756KB
  • 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_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete