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)

rapidphim 05-29-2008 02:01 PM

Thanks Bob. Can you also add an option so that each style will use or have individual js file? Because right now, if one modified the CSS to match the current style, then that will be the CSS for the rest of other styles.

Btw, any ETA on version 2?

bobster65 05-29-2008 02:06 PM

Quote:

Originally Posted by rapidphim (Post 1535142)
Thanks Bob. Can you also add an option so that each style will use or have individual js file? Because right now, if one modified the CSS to match the current style, then that will be the CSS for the rest of other styles.

Btw, any ETA on version 2?

no need for more than one js file... you can use multiple CSS files for multiple styles... I do this all the time... just upload a css file for each style and then change the path in each of the foruhome templates to point to the css for that particular style ;)

ETA is at least a month out because of schedule conflicts with my co-developers.

xfaethorx 05-29-2008 07:05 PM

I have a number of hacks at the top of the forum and you have to scroll down to get to the forum tabs. When you click on a tab it takes you back to the top of the page , anyway we can get it to focus on the tab rather than returning to the top of the page.

*edit * durrrrrr fixed it, just needed to make sure the forums exited when referncing them in the php. My bad.....*fail ;) *

bobster65 05-29-2008 07:40 PM

Quote:

Originally Posted by xfaethorx (Post 1535480)
I have a number of hacks at the top of the forum and you have to scroll down to get to the forum tabs. When you click on a tab it takes you back to the top of the page , anyway we can get it to focus on the tab rather than returning to the top of the page.

*edit * durrrrrr fixed it, just needed to make sure the forums exited when referncing them in the php. My bad.....*fail ;) *


Glad you got it solved.. done that a few times myself ;)

Mookie 05-30-2008 08:28 AM

1 Attachment(s)
Bob this is a awesome Mod. Currently have it running on a child template on my gaming site (ie not finished yet). Everything works great.

Except one small thing : All my subforums show up fine but when i have a section that does not have a sub forum just Threads inside it nothing shows up under it. Check out the last section (AoC Public Forums) it links to the correct area of the forums but does not display the threads. Any ways to fix this issue or add threads to this mod?

I looked through everything post and found a few with the same problem but did not find any fixes. Here is my ForumHome template also.

PHP Code:

<!-- Tabbed AOC START Tab 3 Content Layout -->
<
div id="tcontent3" class="tabcontent">

<
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
<
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>

<!-- 
CUSTOM tbody CODE BASED ON YOUR STYLE -->
<
tbody>
    <
tr>
        <
td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><a style="float:right" href="#top" onclick="return toggle_collapse('forumbit_1126')"><img id="collapseimg_forumbit_1126" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a><a href="forumdisplay.php?f=126">Age of Conan (Leader Sardus)</a></td>
    </
tr>
</
tbody>

<
tbody id="collapseobj_forumbit_1126" style="">
$forumbits3a
</tbody>
<!-- /
CUSTOM tbody CODE BASED ON YOUR STYLE -->

<!-- 
CUSTOM tbody CODE BASED ON YOUR STYLE -->
<
tbody>
    <
tr>
        <
td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><a style="float:right" href="#top" onclick="return toggle_collapse('forumbit_1160')"><img id="collapseimg_forumbit_1160" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a><a href="forumdisplay.php?f=160">Application</a></td>
    </
tr>
</
tbody>

<
tbody id="collapseobj_forumbit_1160" style="">
$forumbits3b
</tbody>
<!-- /
CUSTOM tbody CODE BASED ON YOUR STYLE -->

<!-- 
CUSTOM tbody CODE BASED ON YOUR STYLE -->
<
tbody>
    <
tr>
        <
td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><a style="float:right" href="#top" onclick="return toggle_collapse('forumbit_1164')"><img id="collapseimg_forumbit_1164" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a><a href="forumdisplay.php?f=164">AoC Public Forums</a></td>
    </
tr>
</
tbody>

<
tbody id="collapseobj_forumbit_1164" style="">
$forumbits3c
</tbody>
<!-- /
CUSTOM tbody CODE BASED ON YOUR STYLE -->


<
tbody>
    <
tr>
        <
td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a><if condition="$vboptions['forumleaders']">&nbsp; &nbsp;<a href="showgroups.php$session[sessionurl_q]rel="nofollow">$vbphrase[view_forum_leaders]</a></if></strong></div></td>
    </
tr>
</
tbody>
</
table>

$forumhome_markread_script

</div>
<!-- /
Tabbed AOC END Tab 3 Content Layout --> 


bobster65 05-30-2008 11:53 AM

Quote:

Originally Posted by Mookie (Post 1536007)
Bob this is a awesome Mod. Currently have it running on a child template on my gaming site (ie not finished yet). Everything works great.

Except one small thing : All my subforums show up fine but when i have a section that does not have a sub forum just Threads inside it nothing shows up under it. Check out the last section (AoC Public Forums) it links to the correct area of the forums but does not display the threads. Any ways to fix this issue or add threads to this mod?

I looked through everything post and found a few with the same problem but did not find any fixes. Here is my ForumHome template also.

Hey Mookie,

So the "category" just has threads and no forums or subforums .. is that correct? I can take a look.. just shoot me a PM when you get time. Its probably something simple :) Its not the template, it could just be the way the forumbit is being created..

Bob

Blackhat 05-30-2008 02:07 PM

Does it work for 3.7 ?

bobster65 05-30-2008 02:08 PM

Quote:

Originally Posted by Blackhat (Post 1536251)
Does it work for 3.7 ?

yes sir... :up:

Antonio Pereira 05-31-2008 02:55 AM

One word to describe this MOD: Amazing for me MOD of the year 2008

Iam in the first tests to try to install and the first impressions is very good hack.

At this moment i have 2 doubt?s and one suggestion for the next version.

First Doubt:confused:
Where to put the field Description? Only i see Category name --Forum Name
Code:

href="forumdisplay.php?f=5">CATEGORY NAME</a></td>

Secound Doubt:confused:
Can i make my own buttons personalized , not the color but all the button per example one image complete button?


Suggestion to Version 2:D
This mod is diferent wen compared with vbulletin.org tabs because wen i click in index.asp i have to load all forum, and you now wen a user is visiting one site have for habit to click many time in (Home)index.asp and this what have more CPU usage in one forum.
vbulletin.org tabs have done diference wen you click in home or another tab link only load that forum/subforum not all forum.

So if you can do some option in version 2 to give this extra CPU for larges sites certainly many vbulletin fans go use this MOD.


Sorry for my English.

Best Regards

callumbush 05-31-2008 10:56 PM

12. Locate the HTML comment <!-- main -->
NOTE: The code between the <!-- main --> and <!-- /main --> is where most of the additional code will be placed. (one small chunk goes immediately after <!-- /main --> )

>> ...Okay I give up, where do I find this? :)
There is no <!-- main --> or <!-- /main --> in my style's FORUMHOME


All times are GMT. The time now is 11:54 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.01903 seconds
  • Memory Usage 1,791KB
  • 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)bbcode_php_printable
  • (4)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