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)

bobster65 07-11-2008 12:21 PM

Quote:

Originally Posted by Justin Murad (Post 1572457)
WoW, It's pretty hard... :)
Is there an easier version??

almost ... beta 2.0 is getting closer.

siriuxs 07-11-2008 12:33 PM

Quote:

Originally Posted by bobster65 (Post 1572753)
Copy the contents of the FORUMHOME Template and the FORUMHOMETAB Template into text files, zip them up and attach them to a post so I can see them.

FORUMHOME:
Code:

$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
        <!-- no cache headers -->
        <meta http-equiv="Pragma" content="no-cache" />
        <meta http-equiv="Expires" content="-1" />
        <meta http-equiv="Cache-Control" content="no-cache" />
        <!-- end no cache headers -->
        $headinclude
        <title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
<!-- Tabbed Forum Home Header Code -->       
        <link rel="stylesheet" type="text/css" href="http://www.pchs.it/forums/clientscript/tabs/ajaxtabs.css" />
        <script type="text/javascript" src="http://www.pchs.it/forums/clientscript/tabs/ajaxtabs.js"> </script>
<!-- /Tabbed Forum Home Header Code -->
</head>
<body>
$header
$navbar
$photoplog[minithumbnails]
<!-- main -->
<!-- Tabbed Forum Home -->

<div id="ajaxTFH" class="TFHmenu2">
        <ul>
                <li class="selected"><a href="tabforumhome.php?tabcat[]=3" rel="ajaxTFHcontentarea">Comunit?</a></li>
<li><a href="tabforumhome.php?tabcat[]=99" rel="ajaxTFHcontentarea">xTreme PcHS</a></li>
<li><a href="tabforumhome.php?tabcat[]=4&tabcat[]=86" rel="ajaxTFHcontentarea">Hardware</a></li>
<li><a href="tabforumhome.php?tabcat[]=111&tabcat[]=106" rel="ajaxTFHcontentarea">Reti & Mobile</a></li>
<li><a href="tabforumhome.php?tabcat[]=22&tabcat[]=61" rel="ajaxTFHcontentarea">Software & Games</a></li>
<li><a href="tabforumhome.php?tabcat[]=34" rel="ajaxTFHcontentarea">Mercatino</a></li>
<li><a href="tabforumhome.php?tabcat[]=49&tabcat[]=122" rel="ajaxTFHcontentarea">Spazio Ricreativo</a></li>
<li><a href="tabforumhome.php?tabcat[]=135" rel="ajaxTFHcontentarea">Filo Diretto</a></li>
<li><a href="tabforumhome.php?tabcat[]=51" rel="ajaxTFHcontentarea">Zona Privata</a></li>
        </ul>
</div>

<br style="clear: left" />

<div class="TFHmenu2line"></div>

<div id="ajaxTFHcontentarea" style="border:0px solid gray; width:100%; height: 100%; background-color: white; padding: 0px"></div>

<script type="text/javascript">
        var mytabs=new ddajaxtabs("ajaxTFH", "ajaxTFHcontentarea")
                mytabs.setpersist(true)
                mytabs.setselectedClassTarget("link")
                mytabs.init()
</script>

<!-- /Tabbed Forum Home  -->
<!-- /main -->       
<br />


<!-- what's going on box -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
        <tr>
                <td class="tcat" colspan="2">$vbphrase[whats_going_on]</td>
        </tr>
</thead>

<if condition="$show['loggedinusers']">
<!-- logged-in users -->
<tbody>
        <tr>
                <td class="thead" colspan="2">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
                        <a href="online.php$session[sessionurl_q]" rel="nofollow">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)
                </td>
        </tr>
</tbody>
<tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
        <tr>
                <td class="alt2"><a href="online.php$session[sessionurl_q]" rel="nofollow"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td>
                <td class="alt1" width="100%">
                        <div class="smallfont">
                                <div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div>
                                <div>$activeusers</div>
                        </div>
                </td>
        </tr>
</tbody>
<!-- end logged-in users -->
</if>
<tbody>
        <tr>
                <td class="thead" colspan="2">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_stats')"><img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a>
                        <phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>
                </td>
        </tr>
</tbody>
<tbody id="collapseobj_forumhome_stats" style="$vbcollapse[collapseobj_forumhome_stats]">
        <tr>
                <td class="alt2"><img src="$stylevar[imgdir_misc]/stats.gif" alt="<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>" border="0" /></td>
                <td class="alt1" width="100%">
                <div class="smallfont">
                        <div>
                                $vbphrase[threads]: $totalthreads,
                                $vbphrase[posts]: $totalposts,
                                $vbphrase[members]: $numbermembers<if condition="$show['activemembers']">,
                                        <span title="<phrase 1="$vboptions[activememberdays]">$vbphrase[within_the_last_x_days]</phrase>">$vbphrase[active_members]: $activemembers</span>
                                </if>
                        </div>
                        <div><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>
                </div>
                </td>
        </tr>
</tbody>
<if condition="$show['birthdays']">
<!-- today's birthdays -->
<tbody>
        <tr>
                <td class="thead" colspan="2">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_birthdays')"><img id="collapseimg_forumhome_birthdays" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_birthdays].gif" alt="" border="0" /></a>
                        $vbphrase[todays_birthdays]
                </td>
        </tr>
</tbody>
<tbody id="collapseobj_forumhome_birthdays" style="$vbcollapse[collapseobj_forumhome_birthdays]">
        <tr>
                <td class="alt2"><a href="calendar.php?$session[sessionurl]do=getday&amp;day=$today&amp;sb=1"><img src="$stylevar[imgdir_misc]/birthday.gif" alt="$vbphrase[view_birthdays]" border="0" /></a></td>
                <td class="alt1" width="100%"><div class="smallfont">$birthdays</div></td>
        </tr>
</tbody>
<!-- end today's birthdays -->
</if>
<if condition="$show['upcomingevents']">
<tbody>
        <tr>
                <td class="thead" colspan="2">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_events')"><img id="collapseimg_forumhome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a>
                        <if condition="$show['todaysevents']">$vbphrase[todays_events]<else /><phrase 1="$vboptions[showevents]">$vbphrase[upcoming_events_for_the_next_x_days]</phrase></if>
                </td>
        </tr>
</tbody>
<tbody id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]">
        <tr>
                <td class="alt2"><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/calendar.gif" alt="$vbphrase[calendar]" border="0" /></a></td>
                <td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>
        </tr>
</tbody>
</if>

<tbody>
<tr>
<td class="tcat" 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
$ad_location[ad_forumhome_afterforums]
<!-- end what's going on box -->

<!-- icons -->
<div class="spacer"></div>
<table class="icon_legend" align="center" border="0" cellpadding="6" cellspacing="0" width="100%">


<tbody>
<tr align="center">
        <td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_new_small.gif" alt="" border="0" /></td>
        <td align="left" class="alt1">
                <div class="smallfont">$vbphrase[forum_contains_new_posts]</div>
               
               
        </td>
        <td class="alt2" ><img src="$stylevar[imgdir_statusicon]/forum_old_small.gif" alt="" border="0" /></td>
        <td align="left" class="alt1" ><div class="smallfont">$vbphrase[forum_contains_no_new_posts]</div></td>
        <if condition="$vboptions['showlocks']"><td class="alt2" ><img src="$stylevar[imgdir_statusicon]/forum_new_lock_small.gif" alt="" border="0" /><img src="$stylevar[imgdir_statusicon]/forum_old_lock_small.gif" alt="" border="0" /></td>
        <td align="left" class="alt1" ><div class="smallfont">$vbphrase[forum_is_closed_for_posting]</div></td></if>
</tr>


</tbody>

</table>
<!-- /icons-->


<!-- time and login code -->
<div class="spacer"></div>
<table cellpadding="0" cellspacing="2" border="0" width="100%">
<tr valign="bottom">
<!-- Time -->
        <td align="$stylevar[left]" valign="top"><div class="smallfont">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div></td>
<!-- /Time -->       

<!-- member logout -->
<if condition="!$show['guest']">
<td align="$stylevar[right]"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]"  onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a></td>
</if>
<!-- /member logout -->
</tr>
</table>
<!-- /time and login code -->
$footer
</body>
</html>

FORUMHOMETAB:
Code:

$forumbits
</tbody>
</table>
<div class="spacer"></div>

Very thanks for your patiency and assistence...

bobster65 07-11-2008 01:14 PM

Quote:

Originally Posted by siriuxs (Post 1572767)
FORUMHOME:
Code:

REMOVED
Very thanks for your patiency and assistence...

Well, both of them are printing out before TFH and there is nothing in TFH that would cause it to print out twice above it.. This one is odd. What happens when you remove the $photoplog[minithumbnails] variable from the FORUMHOME Template.. same results?

Justin Murad 07-11-2008 02:44 PM

Quote:

Originally Posted by bobster65 (Post 1572759)
almost ... beta 2.0 is getting closer.

Thanks, can't wait to see it

King Kovifor 07-11-2008 09:56 PM

Quote:

Originally Posted by Justin Murad (Post 1572833)
Thanks, can't wait to see it

I am thinking that we have about 3 major bugs to fix before we can think about any public betas.

blanky 07-12-2008 05:21 AM

Quote:

Originally Posted by bobster65 (Post 1572757)
I've seen this issue with a few custom styles. PM me a link to your site so I can view the source ... its an easy fix.

http://www.nyoxis.com/community/index.php

siriuxs 07-12-2008 07:33 AM

Quote:

Originally Posted by bobster65 (Post 1572787)
Well, both of them are printing out before TFH and there is nothing in TFH that would cause it to print out twice above it.. This one is odd. What happens when you remove the $photoplog[minithumbnails] variable from the FORUMHOME Template.. same results?

If I remove $photoplog[minithumbnails] the forum not visualized a minu thumbnails but compare always 2 topxstats... if i set the normal skin is not visualized 2 toxstats... Please help me.. thanks...

Justin Murad 07-12-2008 09:02 PM

I finally installed the AJAX 1.5 version succesfully. But I wanted to stylize it, so I tried to edit "ajaxtabs.css" with Dreamweaver, I put some background images in the code but when I'm opening the forum, I see tabs became transparent. Is there another way to stylize our tabs, like Version 1.01?

bobster65 07-14-2008 12:15 PM

Quote:

Originally Posted by blanky (Post 1572450)
Hi, I got it working great, but I have a problem, white lines between categories are showing up and I don't know why.. little help?

Pic:

in the FORUMHOME Template, find this block of code (its right under the block that you put the tabcats[] in ...

Code:

<div id="ajaxTFHcontentarea" style="border:0px solid gray; width:100%; height: 100%; background-color: white; padding: 0px"></div>
anyway, you will see that the above div has a background-color: white .. change the word white to the dark background color of your style and that will take those "white lines" out of there ...

Bob

bobster65 07-14-2008 12:19 PM

Quote:

Originally Posted by Justin Murad (Post 1573779)
I finally installed the AJAX 1.5 version succesfully. But I wanted to stylize it, so I tried to edit "ajaxtabs.css" with Dreamweaver, I put some background images in the code but when I'm opening the forum, I see tabs became transparent. Is there another way to stylize our tabs, like Version 1.01?

both versions use CSS to control the style. You can use other CSS from Dynamic Drive's CSS Library (with a little bit of formatting).


All times are GMT. The time now is 08:42 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.02568 seconds
  • Memory Usage 1,814KB
  • 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
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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