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)

DeanoG 05-05-2008 06:27 AM

Quote:

Originally Posted by bobster65 (Post 1508282)
yes, just wrap the specific tab with this... (use the ID's of the user groups you want to be able to view it)

Code:

<if condition="is_member_of($vbulletin->userinfo, 5,6,)">

</if>

so it would look something like this.. (The code in RED is what you would need to add ...

Code:

<!-- Tabbed Forum Home Tabs Layout -->
        <ul id="forumtabs" class="shadetabs">
        <li><a href="#" rel="tcontent1" class="selected">Tab 1 Name</a></li>
        <li><a href="#" rel="tcontent2">Tab 2 Name</a></li>
        <if condition="is_member_of($vbulletin->userinfo, 5,6,)">
          <li><a href="#" rel="tcontent3">BETA FORUM Tab/a></li>
        </if>
        </ul>
        <!-- /Tabbed Forum Home Tabs Layout -->

Then you will also want to wrap the tab display data as well ..

Code:

<!-- Tabbed Forum Home ? START BETA FORUM TAB Content Layout -->

<if condition="is_member_of($vbulletin->userinfo, 5,6,)">

<div id="tcontent3" class="tabcontent">

CONTENT REMOVED FOR EXAMPLE ONLY

</div>

</if>

<!-- /Tabbed Forum Home ? END BETA FORUM TAB Content Layout-->


Thanking you sir !

siriuxs 05-05-2008 08:40 AM

Hi, this mod is more beautiful but it's installation is more complex... :(

Moreover when is relased a news versione of vbulletin and style (ex: 3.7.1) and I update the style, I lost all modified and I have to redo the procedure :(

Excuse me for my bad english but I'am italian

siriuxs 05-05-2008 09:47 AM

At the step N.12 there is:
Locate the HTML comment <!-- main -->

In my FORUMHOME template there isn't code <!-- main --> :(

Where I can find it?

siriuxs 05-05-2008 11:55 AM

This is my FORUMHOME code:

PHP 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>
</
head>
<
body>
$header
$navbar
$photoplog
[minithumbnails]
$forumbits
</tbody>
</
table>
<
div class="spacer"></div>
<
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

I don't see the main :S:S:S

Astrof 05-06-2008 01:24 PM

Bobster,

This is wonderful work.

I just have one question - is it smart to install this to forums with an increadible amount of boards?

I have a forum with around a 100 forums that are set as sub-forums to forums that act as categories on the homepage in order to save bandwidth and take the load off the server (otherwise the site would barely be able to work), and I reckon that since this mod isn't AJAX-based, it would mean all of my sub-forums would have to load on the homepage in order for the members to browse via tabs, am I right?

bobster65 05-06-2008 01:47 PM

Quote:

Originally Posted by Astrof (Post 1510413)
Bobster,

This is wonderful work.

I just have one question - is it smart to install this to forums with an increadible amount of boards?

I have a forum with around a 100 forums that are set as sub-forums to forums that act as categories on the homepage in order to save bandwidth and take the load off the server (otherwise the site would barely be able to work), and I reckon that since this mod isn't AJAX-based, it would mean all of my sub-forums would have to load on the homepage in order for the members to browse via tabs, am I right?

I've installed this on a site that has 300+ forums and it didn't increase the load any, however it didn't decrease it any either. I do have plans for a AJAX Version in the future which would be a lot better for larger forums like yours (its a ways out tho). If you have a development instance, you could test it out and compare the loads. From the sounds of your system tho, if the load is to high to display all your forums normally, its probably going to be the same load using this ... I'll keep you in mind for testing the AJAX version as I will need some beta testers when it comes time (if you are interested)

Bob

bobster65 05-06-2008 01:49 PM

Quote:

Originally Posted by siriuxs (Post 1509188)
This is my FORUMHOME code:

I don't see the main :S:S:S

Hey Siriuxs - when I get some free time, I am going to come up with a solution for custom FORUMHOME templates ... I've got a few members that have this same challenge and I will come up with something soon that works for you :)

bobster65 05-06-2008 01:55 PM

Quote:

Originally Posted by joakandr (Post 1508530)
can you make something that automates all this? Would be a lot easier...

That is something that I am "planning" on for version 2 (also AJAX). Feel free to PM me what you would like to see as far as controls... gather ideas on the white board now, so if ya got em, send em :cool:

Astrof 05-06-2008 02:14 PM

Quote:

Originally Posted by bobster65 (Post 1510439)
I've installed this on a site that has 300+ forums and it didn't increase the load any, however it didn't decrease it any either. I do have plans for a AJAX Version in the future which would be a lot better for larger forums like yours (its a ways out tho). If you have a development instance, you could test it out and compare the loads. From the sounds of your system tho, if the load is to high to display all your forums normally, its probably going to be the same load using this ... I'll keep you in mind for testing the AJAX version as I will need some beta testers when it comes time (if you are interested)

Bob

Hey, Bob,

Thanks for such a quick response.

So, yes, obviously it's better for me not to install this as all of the forums will need to load this way, which is not the case with my current layout (only links to the forums in the subcategory list in the category row).

Well, I might try and see, if I do, I'll report about the load.

I don't have a development site yet, if that changes, I'd be glad to help you with beta testing if I'll have time.

heeroyun 05-08-2008 06:11 AM

It's cool :D

BozzaJos 05-08-2008 06:44 PM

Hello bobster,

First of all, this is an amazing hack! I got it too work (for the most part) even thought my knowledge about this all is really limited. Tested it on a test site and it worked. Can't wait to integrate it on my live site.

One question though. I tested it out with 3 tabs but when I click on a different tab, it goes to the tab but the first tab is still highlighted. Since a screenshot says more than words, here is a screenie (the screenshot is taken when I was on tab 2):

http://img211.imageshack.us/img211/3...ghlightxg9.png

Could you help me out with this problem? Thanks in advance.

Take care,

Bozza

bobster65 05-08-2008 07:01 PM

Quote:

Originally Posted by BozzaJos (Post 1512952)
Hello bobster,

First of all, this is an amazing hack! I got it too work (for the most part) even thought my knowledge about this all is really limited. Tested it on a test site and it worked. Can't wait to integrate it on my live site.

One question though. I tested it out with 3 tabs but when I click on a different tab, it goes to the tab but the first tab is still highlighted. Since a screenshot says more than words, here is a screenie (the screenshot is taken when I was on tab 2):

Could you help me out with this problem? Thanks in advance.

Take care,

Bozza

PM sent for additional info..

Rickeo 05-08-2008 07:39 PM

This has to be one of the HARDEST most COMPLEX installs I have ever done I can't understand it which is a HUUUUGGGGGEE shame because this would be one of the best mods ever if it were easy to install.

Rick

bobster65 05-08-2008 07:55 PM

Quote:

Originally Posted by Rickeo (Post 1513006)
This has to be one of the HARDEST most COMPLEX installs I have ever done I can't understand it which is a HUUUUGGGGGEE shame because this would be one of the best mods ever if it were easy to install.

Rick

Sorry Bud, version 2 is under development (and will be a product which hopefully will be easier to install). If you need help with this one, just ask. Its really not that complicated ... just a little overwhelming if you've never built up a template before. The mistake most people make is trying to build the entire system at once .. one tab at a time... add a category to the tab, test it.. add another one, test it.. once you do a few, you will understand how it works and can knock the rest of the tabs out very quick....

Rickeo 05-08-2008 08:18 PM

I can build the templates fine I have added the tabs fine I got all the tabs there and named the problem is now having the correct forums shown under each tab no offence because this mod is the best and your a great coder no doubt but the install instructions are lacking very much so it would have been easier just to say backup your forum like everyone else coz everyone knows how to do that but all this back and forth of editing index_tabs.php etc etc just over complicates it.

Not ur fault more mine I just have a simple brain lol but now am stuck I have the tabs fine but the forums aren't displaying under any of them :)

Rick

Rickeo 05-08-2008 09:59 PM

bobster thank you so so much for all your help getting this online out of all the mods I have used and the year and a half I have been apart of the community I have never ever come across a coder who is willing to help and offer support as much as you do :)

Thank you so much *installed & nominated*

Rick

bobster65 05-08-2008 10:04 PM

Quote:

Originally Posted by Rickeo (Post 1513145)
bobster thank you so so much for all your help getting this online out of all the mods I have used and the year and a half I have been apart of the community I have never ever come across a coder who is willing to help and offer support as much as you do :)

Thank you so much *installed & nominated*

Rick

No Problem Bud .. you almost had it complete, just needed some minor tweaks and fixed your CSS up for ya :) Looks great!

Thank you for your kind words... Enjoy :cool:

Bob

OsideRida06 05-09-2008 10:38 AM

I am trying to install this right now.

I have not quite figured it out yet. I had things showing up under tab 2 once. Then I did something and lost it. So now I just have the first tab showing content. The whole forum of course.

I am going to give it another go here in a bit though.

Great mod by the way.

Anyone that may be able to help me out can hit me up on instant messenger.

AIM = OsideRida06
Yahoo = hellafine_guy2780

Hopefully I will not need the help. I am hoping to figure it out. Any help in helping me figure it out though, would be great.

titchpitch 05-09-2008 02:20 PM

im having troubles...
i cant figure out how to properly set up the forumhome and index_tab variables, i have the tabs showing but cant put the info in there.
http://tv-forums.co.uk/forums

its not a live board yet... an import from a phpbb3 forum i plan to use on vB soon

bobster65 05-09-2008 02:31 PM

Quote:

Originally Posted by titchpitch (Post 1513802)
im having troubles...
i cant figure out how to properly set up the forumhome and index_tab variables, i have the tabs showing but cant put the info in there.
http://tv-forums.co.uk/forums

its not a live board yet... an import from a phpbb3 forum i plan to use on vB soon

are you view the forum home with index_tab.php or index.php?

rapidphim 05-09-2008 07:59 PM

Bob... are you going to release this for 3.7.0 gold?

bobster65 05-09-2008 08:03 PM

Quote:

Originally Posted by rapidphim (Post 1514159)
Bob... are you going to release this for 3.7.0 gold?

It works fine with 3.7 Gold .. I want to rewrite the install instructions tho before I create a new thread in the 3.7 Release area..

bobster65 05-09-2008 08:04 PM

Quote:

Originally Posted by OsideRida06 (Post 1513637)
I am trying to install this right now.

I have not quite figured it out yet. I had things showing up under tab 2 once. Then I did something and lost it. So now I just have the first tab showing content. The whole forum of course.

I am going to give it another go here in a bit though.

Great mod by the way.

Anyone that may be able to help me out can hit me up on instant messenger.

AIM = OsideRida06
Yahoo = hellafine_guy2780

Hopefully I will not need the help. I am hoping to figure it out. Any help in helping me figure it out though, would be great.

Did you get things figured out? If not, PM me and lets set up a time to chat so I can help you out ...

rapidphim 05-09-2008 09:42 PM

Thanks Bob, I'll try it out tonight.

viganothing 05-09-2008 09:57 PM

Quote:

Originally Posted by bobster65 (Post 1512972)
PM sent for additional info..

can you send me the info plz , i'm having the same problem

bobster65 05-09-2008 10:11 PM

Quote:

Originally Posted by viganothing (Post 1514293)
can you send me the info plz , i'm having the same problem

I sent him a PM asking Him for additional info so I could trouble shoot his problem ..

His problem was that he didn't complete the install instructions. He had 3 tabs, but only 2 content areas.. the number of content areas needs to match the number of tabs...

ie..

This is the part where you determine the number of "tabs" In this example, there are 3 Tabs and each tab is associated with a content area ie... rel="tcontent1"

Code:

<!-- Tabbed Forum Home Tabs Layout -->
        <ul id="forumtabs" class="shadetabs">
        <li><a href="#" rel="tcontent1" class="selected">Tab 1 Name</a></li>
        <li><a href="#" rel="tcontent2">Tab 2 Name</a></li>
        <li><a href="#" rel="tcontent3">Tab 3 Name</a></li>
        </ul>
        <!-- /Tabbed Forum Home Tabs Layout -->

For the above example to work, you need to have the 3 content areas ... rel="tcontent1" , rel="tcontent2" , rel="tcontent3"

This is a sample content area.. I personally start out (and end) each content area with a comment to identify it. You will notice that the first line of code is a Div with the content ID that matches the specific tab. Make sure that there is only one content area for each of your tabs..

Code:

<!-- Tabbed Forum Home ? START Tab 2 Content Layout -->
<div id="tcontent2" 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_66')"><img id="collapseimg_forumbit_66" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a><a href="forumdisplay.php?f=6">CATEGORY NAME</a></td>
        </tr>
</tbody>

<tbody id="collapseobj_forumbit_66" style="">
$forumbits2
</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 Forum Home ? END Tab 2 Content Layout -->

If you have more Tabs then you have content areas, the entire system won't work correctly....

Bree 05-09-2008 10:49 PM

I can't believe I hadn't posted in here yet *blush*...

This is awesome Bobster! I am definitely using this on one of my sites... I just gotta figure out which one and exactly for what first hehe... You have gotten me 100% addicted to ajax tabs.. Keep coming up with stuff like this and my whole site will be one big tab! LOL You are awesome... keep up the great work!

Always, Bree
PS.. I Voted for you: MOTM <-- of course

bobster65 05-09-2008 10:58 PM

Quote:

Originally Posted by Bree (Post 1514340)
I can't believe I hadn't posted in here yet *blush*...

This is awesome Bobster! I am definitely using this on one of my sites... I just gotta figure out which one and exactly for what first hehe... You have gotten me 100% addicted to ajax tabs.. Keep coming up with stuff like this and my whole site will be one big tab! LOL You are awesome... keep up the great work!

Always, Bree
PS.. I Voted for you: MOTM <-- of course

You better install it soon (and learn it inside out) cause you are going to help with version 2.0 :p ( altho I still need to fill you in on that minor detail lol )

Thanks Sunshine :D

rapidphim 05-10-2008 04:49 AM

I'm so lost on this one. I was able to create the tab but not sure how to move the whole selected section to second tab or third tab....

mikkitine 05-10-2008 06:33 AM

Quote:

Originally Posted by rapidphim (Post 1514569)
I'm so lost on this one. I was able to create the tab but not sure how to move the whole selected section to second tab or third tab....

Just follow the instructions step-by-step from start to end and you'll get a result. It might take some trial and error, but if you're doing everything as the instructions say you will get what you want.

This is a great mod and looks very nice. I want to see what kind of effect it has on my forum registrations. If I get positive results I'll return to nominate this mod. :up:

rapidphim 05-10-2008 09:46 AM

As you can see I am still now awake to work on this hack. I just could not get it to work properly

bobster65 05-10-2008 11:18 AM

Quote:

Originally Posted by rapidphim (Post 1514747)
As you can see I am still now awake to work on this hack. I just could not get it to work properly

I replied to your PM .. I am sure you are close (from the sounds of it).. We'll get you up and running :cool:

rapidphim 05-10-2008 04:12 PM

bob, thanks much. I sent you pm

MarsNIIT 05-10-2008 04:24 PM

Hello bobster65,

Please help me fix my problem,

thank you verry much.

Bree 05-10-2008 04:28 PM

Ok... I got it all installed on my test forum.... for some reason I expected it to be way harder, but of course, am happy that it was not LOL This is going to be so much fun to customize! I had originally planned not to put it at my .com but pretty sure I changed my mind REAL fast once I actually got to play with it =0) Think I am going to surprise everyone with it hehe

Anyways... Get some sleep everyone... grab a cup of coffee (or some other type of liquid motivation) and relax... One step at a time and the tutorial really is easier than first expected.

Have fun!
Always, Bree

mikkitine 05-10-2008 08:05 PM

I take back what I said about waiting to see what effect this modification will have on my sign ups. This mod is absolutely gold. After I realised I can control exactly what forums appear in which tabs, and that sub-forum links need not be shown in forums displayed under tabs of my choice, the deal was sealed for me.

Thanks for this bobster, really brilliant. /nominates

Defkalion 05-10-2008 08:25 PM

Bob,

excellent work, thankyou so much.

I installed without any problems, it was a piece of cake.

Question: is there any way to create an extra tab with the "what's going on" box, instead of having it appear under every tab?

Again, thankyou for a great hack. :)

bobster65 05-10-2008 09:33 PM

Quote:

Originally Posted by mikkitine (Post 1515273)
I take back what I said about waiting to see what effect this modification will have on my sign ups. This mod is absolutely gold. After I realised I can control exactly what forums appear in which tabs, and that sub-forum links need not be shown in forums displayed under tabs of my choice, the deal was sealed for me.

Thanks for this bobster, really brilliant. /nominates

Thank you for the kind words... look for an even better version coming soon :)

bobster65 05-10-2008 09:50 PM

Quote:

Originally Posted by Defkalion (Post 1515296)
Bob,

excellent work, thankyou so much.

I installed without any problems, it was a piece of cake.

Question: is there any way to create an extra tab with the "what's going on" box, instead of having it appear under every tab?

Again, thankyou for a great hack. :)

Yer welcome :)

Yes, you can create extra tabs with info in them other than just Forum categories. All you need to do is put the info in what I call a content div area just like you did with the other tabs ..

Here is an example of putting the Whats going on box into a tab .. Note the RED IDs .. those are what link the tab to the div content ..

First you need to create an li tag for your new extra tab (I added a 4th tab in this example called Whats Going On and its ID=tcontent4

Code:

<!-- Tabbed Forum Home Tabs Layout -->
        <ul id="forumtabs" class="shadetabs">
        <li><a href="#" rel="tcontent1" class="selected">Tab 1</a></li>
        <li><a href="#" rel="tcontent2">Tab 2</a></li>
        <li><a href="#" rel="tcontent3">Tab 3</a></li>
        <li><a href="#" rel="tcontent4">Whats Going On</a></li>
              </ul>
<!-- /Tabbed Forum Home Tabs Layout -->


Then you need to create the Content Container and make sure that it has the same ID as the li tag you just added ..

Code:

<!-- Tabbed Forum Home – START whats going on box Tab Content Layout -->

<div id="tcontent4" class="tabcontent">

<!-- what's going on box -->
CONTENT REMOVED FOR SAMPLE
<!-- end what's going on box -->

</div>

<!-- /Tabbed Forum Home – END Tab 4 Content Layout -->



NOTE: Make sure that when you add extra tabs that they go BEFORE the below block of code.. You can always move this chunk of code lower in the template, just make sure that any content area Divs that you add go before it .. (Hope that made sense)

Code:

<!-- Tabbed Forums switch tab script -->
        <script type="text/javascript">
        var myforumtabs=new ddtabcontent("forumtabs")
        myforumtabs.setpersist(true)
        myforumtabs.setselectedClassTarget("link")
        myforumtabs.init()
        </script>
<!-- /end Tabbed Forums switch tab script -->

Thats all there is to it...

Eq4bits 05-10-2008 10:13 PM

Love this mod!
Clicks 'Installed'
using on vB3.6.10 with no problems


All times are GMT. The time now is 11: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.02724 seconds
  • Memory Usage 1,970KB
  • 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
  • (8)bbcode_code_printable
  • (1)bbcode_php_printable
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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