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)

mokonzi 05-23-2008 10:51 PM

Works a charm on 3.7. Looking forward to a CP version... :)

YsTyle 05-24-2008 07:25 AM

I really get lost... i hope you can help me:
how can i do that tab 1 will display category 13, tab 2 will display category 6 and tab 3 will display category 1?

thank you very much :)
yonatan.

mokonzi 05-24-2008 07:50 AM

PHP Code:

    // Construct Tabbed Forum Home forumbits 
    // Category for Tab 2, pulls forum and sub form data from Category (Forum ID 1)
    
$forumbits2 construct_forum_bit(13,1,0); 
    
// Category for Tab 3
    
$forumbits3 construct_forum_bit(6,1,0); 
    
// Category for Tab 4
    
$forumbits4 construct_forum_bit(4,1,0); 

Then copy this code after following the instructions to add the <div> tags in the first 'tab' section:

PHP 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/solido/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 --> 

You need to adjust the forumdisplay to reference the category, forumbit numbers to be unique.

Insert it after the first tab.

This works on the assumption that the first tab will be for all forums.

zappsan 05-24-2008 12:29 PM

Code:

<!-- Tabbed Forum Home Tabs Layout -->
        <ul id="forumtabs" class="shadetabs">
        <li><a href="#" rel="tcontent1">Tab1</a></li>
        <li><a href="#" rel="tcontent2" class="selected">Tab2</a></li>
        <li><a href="#" rel="tcontent3">Tab3</a></li>
<li><a href="#" rel="tcontent4">Tab4</a></li>
<li><a href="#" rel="tcontent5">Tab5</a></li> 
        </ul>
        <!-- /Tabbed Forum Home Tabs Layout -->

Hi, I played around with the first selected tab a bit (persistance is turned on).
When I clear all my cookies and visit the page, tab2 is selected but only for a very short time, after about a second, it automatically jumpsto tab1.
What could be the reason for this?
I can post a link if you want.

bobster65 05-24-2008 01:01 PM

Quote:

Originally Posted by zappsan (Post 1529962)
Code:

<!-- Tabbed Forum Home Tabs Layout -->
        <ul id="forumtabs" class="shadetabs">
        <li><a href="#" rel="tcontent1">Tab1</a></li>
        <li><a href="#" rel="tcontent2" class="selected">Tab2</a></li>
        <li><a href="#" rel="tcontent3">Tab3</a></li>
<li><a href="#" rel="tcontent4">Tab4</a></li>
<li><a href="#" rel="tcontent5">Tab5</a></li> 
        </ul>
        <!-- /Tabbed Forum Home Tabs Layout -->

Hi, I played around with the first selected tab a bit (persistance is turned on).
When I clear all my cookies and visit the page, tab2 is selected but only for a very short time, after about a second, it automatically jumpsto tab1.
What could be the reason for this?
I can post a link if you want.

I just looked at your source code... everything is correct. Someone else had this same issue yesterday and they said they resolved it, but never responded after that to say what they did. They could still be having the same issue. It could very well be a "glitch" in the .js file itself. Will be doing some troubleshooting to see if I can replicate the issue and resolve it.

tmiland 05-24-2008 04:03 PM

Quote:

Originally Posted by tmiland (Post 1488385)
Yo! :)
Is there any way to make the forum remember the collapse position?
Doesnt work now...

Quote:

Originally Posted by bobster65 (Post 1488396)
you are correct.. I didn't even notice that (don't use the collapse feature much).. I'll have to look into it when I get time. Should be an easy fix tho. Thank you for pointing it out and its added to the list of "needs"

Any update on this yet bobster65? :)

dieselpowered 05-26-2008 08:55 AM

Great mod...I have to say though that there are a few problems.

First, for those using vbadvanced, when on the portal page and you click to enter the forums, they are blank until you click on the tab.

Next, when you click on the tab, it always wants to jump to the top, I am sure there is a fix for this somewhere within the 15 pages of this thread, however, maybe someone can tell me, or it can be added to the documentation.

Also, for some reason, the category headers are messed up, take a look at this test site and click on the tabs, you will see what I am talking about:

http://www.teryxhq.com/test/forums/index_tab.php

Thanks in advance!!

mokonzi 05-26-2008 09:41 AM

I can't see any tabs on the link you gave. Nor can I see an issue with the category headers.

Check out mine: http://www.thexuniverse.com/forum/

I will say I had some slight issue with the formatting myself, fixed it by doing the following:

PHP Code:

<!-- 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_1004')"><img id="collapseimg_forumbit_1004" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a>
            
            <
a href="forumdisplay.php?f=4">Category Name</a>
            <
div class="smallfont">Category Description</div>
        </
td>
    </
tr>
</
tbody>

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

That layout fits better with the more normal default vBulletin layout. You'll need to tweak it, but it's perhaps worth checking out the layout of a normal category header and mimicking it.

bobster65 05-26-2008 02:18 PM

Quote:

Originally Posted by xtremeoff-road (Post 1531651)
Great mod...I have to say though that there are a few problems.

First, for those using vbadvanced, when on the portal page and you click to enter the forums, they are blank until you click on the tab.

This one I've not see yet. Will try and replicate, but I've not had that issue with any vba setups to date...

Quote:

Originally Posted by xtremeoff-road (Post 1531651)
Next, when you click on the tab, it always wants to jump to the top, I am sure there is a fix for this somewhere within the 15 pages of this thread, however, maybe someone can tell me, or it can be added to the documentation.

Im looking at your site right now and its not "jumping" for me. Tested in both FF and IE. I know that it "jumps" when building it and you have a tab mismatch .. ie, Tab 3 but no tab 3 content area built yet..

Quote:

Originally Posted by xtremeoff-road (Post 1531651)
Also, for some reason, the category headers are messed up, take a look at this test site and click on the tabs, you will see what I am talking about:

The Header code in the how to instructions is based off default vbulletin. You will have to tweak it for custom styles... This issue will be mute with version 2, because there won't be any manual template edits...

dieselpowered 05-26-2008 06:46 PM

Thank you so much for the response...really great when someone supports a mod they make!

It does not appear to be jumping any longer, so I think this issue is mute.

I see what you are referring to...did not realize it was using stock coding for things...I suppose I need to figure out how to fix that.

dieselpowered 05-26-2008 07:44 PM

Very possible that I am just losing my mind, however, how do I change it so tab one does not have all the forums listed? I want most of them listed, but there are some I do not want.

Thanks!

l SKN l CHRIS 05-26-2008 08:05 PM

I love the mod but I don't like where the tabs are. Will it work if I customize them to match my design and put them in the header?

bobster65 05-26-2008 08:38 PM

Quote:

Originally Posted by xtremeoff-road (Post 1532170)
Very possible that I am just losing my mind, however, how do I change it so tab one does not have all the forums listed? I want most of them listed, but there are some I do not want.

Thanks!

yer not losing your mind ;) For the How To, I just showed that you could still use the default forumbits for a specific tab (use tab one in the example).... just build forumbits for tab one just like the other tabs and replace the Tab one content area with the same code used to build the other content areas for each specific tab...

bobster65 05-26-2008 08:45 PM

Quote:

Originally Posted by l SKN l CHRIS (Post 1532189)
I love the mod but I don't like where the tabs are. Will it work if I customize them to match my design and put them in the header?

The problem with putting them in the header is that the header displays on every page. There is code within the FORUMHOME Template that "completes" the code and therefor on all pages but the forum home, the code will then be broken. You COULD however try and use the Link Method explained in Post 2 to create a custom header with the Tabs that would work like you are describing (In theory of course since I've yet to try it).... let me know how it goes and if you need some helping if things "error" out on ya.

BOb

NsT 05-28-2008 04:43 AM

I downloaded the mod, I've to say it's such a great mod I have seen so far.

However, I'm still worrying about the load, will this mod increase the load of my forum? Since I have a tab that lists all categories and about seven tabs listing some specific categories and this means all tabs contents will be loaded at a time.

And will you do Ajax on version 2?

bobster65 05-28-2008 12:07 PM

Quote:

Originally Posted by NsT (Post 1533711)
I downloaded the mod, I've to say it's such a great mod I have seen so far.

However, I'm still worrying about the load, will this mod increase the load of my forum? Since I have a tab that lists all categories and about seven tabs listing some specific categories and this means all tabs contents will be loaded at a time.

And will you do Ajax on version 2?

You don't have to use that "All Categories" Tab.. that was just an example of what can be done. Most people don't use the "All Cats" Tab. No known load increases that I am aware of and none have been reported.

Yes, we are planning on having AJAX integrated into version 2. Might not be in 2.0, but it will be in the 2 series.

rapidphim 05-29-2008 04:33 AM

Hello Bob,
Without hacking this mod, I do have the forum category description. But after hacking this mod, the forum category description is gone. How can we bring it back?

callumbush 05-29-2008 10:24 AM

Quote:

Originally Posted by bobster65 (Post 1533994)
You don't have to use that "All Categories" Tab.. that was just an example of what can be done. Most people don't use the "All Cats" Tab. No known load increases that I am aware of and none have been reported.

Yes, we are planning on having AJAX integrated into version 2. Might not be in 2.0, but it will be in the 2 series.

Morning Mr Bob, can you give an extremely rough idea as to when this 'idiot proof' version will be ready? ....I don't trust myself installing this until then ;)

Also - how easy will it be to upgrade the mod? I've only been using vbulletin 2 weeks so to be honest I've never had to do it before. I'm using vBulletin 3.7.0 in case that makes a difference.. :)

Cheers

Callum

(p.s. marked as installed)

bobster65 05-29-2008 11:38 AM

Quote:

Originally Posted by rapidphim (Post 1534724)
Hello Bob,
Without hacking this mod, I do have the forum category description. But after hacking this mod, the forum category description is gone. How can we bring it back?

You can manually add a description with the addition of a simple div like this (see the area in RED below.. This of course will be automatic in version 2.

Code:

<!-- 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><div class="smallfont">This is where you can add a forum description</div></td>
        </tr>
</tbody>

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


bobster65 05-29-2008 11:45 AM

Quote:

Originally Posted by callumbush (Post 1534914)
Morning Mr Bob, can you give an extremely rough idea as to when this 'idiot proof' version will be ready? ....I don't trust myself installing this until then ;)

Also - how easy will it be to upgrade the mod? I've only been using vbulletin 2 weeks so to be honest I've never had to do it before. I'm using vBulletin 3.7.0 in case that makes a difference.. :)

Cheers

Callum

(p.s. marked as installed)

I'd love to say sooner than later, but we want to make sure that its bug free before releasing it. I'd say its at least a month out because of our personal schedules and the features that are being developed...

It will be super easy to install (upload some files, import XML, minimal template edits (hoping for none))...

Bob

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

bobster65 05-31-2008 10:58 PM

Quote:

Originally Posted by callumbush (Post 1537389)
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

PM me your FORUMHOME Template and I'll Remark the area you need :cool:

SemperFideles 06-01-2008 07:34 AM

Outstanding modification. Your documentation is very well written and thorough. Great job.

Did I read correctly that you intend on making the Template Changes automatic in future versions of the product?

The reason I ask is that I can perform the steps outlined but I've got so many other things going that I'm willing to wait for a more automated version of the product.

bobster65 06-01-2008 01:45 PM

Quote:

Originally Posted by SemperFideles (Post 1537617)
Outstanding modification. Your documentation is very well written and thorough. Great job.

Did I read correctly that you intend on making the Template Changes automatic in future versions of the product?

The reason I ask is that I can perform the steps outlined but I've got so many other things going that I'm willing to wait for a more automated version of the product.

Thank you Sir! and yes, we are striving for minimal template edits in the next version. I've got a beta version now and 90% of the manual edits in version 1 are now gone (no need to manually build the cats/forums anymore as this is all dynamically done)..

No ETA as of today, but I might be looking for Beta testers as early as this week.

Scamorz 06-01-2008 08:39 PM

Hi Bob, thank you for this mod!

But i have a problem...

I created, for TAB2 a new category with 2 sections (id category 102). I put this ID in index_tab.php and in forumhome template.

In Forum Manager, if i set display order "0" for the category, the section within the category appears correctly on tab2 only but display 0 post (i have make 1 post)...if i set a number (1,2,3,6,8 etc...) it works well, but all the category appears on TAB1 (main forum) and on TAB2 also...
How i can resolve this problem?
Sorry for my english language...


p.s. this is the same problem of mike: https://vborg.vbsupport.ru/showpost....&postcount=256

Antonio Pereira 06-02-2008 03:33 AM

1 Attachment(s)
I allready find your info about images buttons, but i have 2 questions.

Is how to have 2 images for wen is selected (shade)?

And how to eliminate the space betwen forum and buttons (images) ?

Best Regards

Scamorz 06-02-2008 07:19 AM

Antonio for the 2nd question i think you have to go in css file and modify cellspacing...

I add a question: how to eliminate the blue border on images tab?

bobster65 06-02-2008 01:15 PM

Quote:

Originally Posted by Antonio Pereira (Post 1538344)
I allready find your info about images buttons, but i have 2 questions.

Is how to have 2 images for wen is selected (shade)?

And how to eliminate the space betwen forum and buttons (images) ?


Best Regards

Hi Antonio, You might take a look at the Indented CSS (The CSS is already in the File and Post 2 shows the change needed for the Forum Home template to use the different layout. There is no spacing. I am not sure how to have to images display when selected.. you'll probably have to do some research on CSS to see how its done..

bobster65 06-02-2008 01:19 PM

Quote:

Originally Posted by Scamorz (Post 1538142)
Hi Bob, thank you for this mod!

But i have a problem...

I created, for TAB2 a new category with 2 sections (id category 102). I put this ID in index_tab.php and in forumhome template.

In Forum Manager, if i set display order "0" for the category, the section within the category appears correctly on tab2 only but display 0 post (i have make 1 post)...if i set a number (1,2,3,6,8 etc...) it works well, but all the category appears on TAB1 (main forum) and on TAB2 also...
How i can resolve this problem?
Sorry for my english language...


p.s. this is the same problem of mike: https://vborg.vbsupport.ru/showpost....&postcount=256

Thats because of the way the creation of the formbits function works.. its best to just create Tab 1 just like all the rest (don't use the default forumbits)..

this is all going to change in the next version which is much easier to setup (no more manually building all the tabs) ..

bobster65 06-02-2008 01:46 PM

Quote:

Originally Posted by Scamorz (Post 1538456)
Antonio for the 2nd question i think you have to go in css file and modify cellspacing...

I add a question: how to eliminate the blue border on images tab?

That would be in the CSS File as well.. not sure which one you are using.

Scamorz 06-02-2008 02:38 PM

Quote:

Originally Posted by bobster65 (Post 1538733)
Thats because of the way the creation of the formbits function works.. its best to just create Tab 1 just like all the rest (don't use the default forumbits)..

this is all going to change in the next version which is much easier to setup (no more manually building all the tabs) ..

Thank you for your fast reply!

This is my cod of TAB1:
Code:

<!-- Tabbed Forum Home ? START Tab 1 Content Layout -->
    <div id="tcontent1" class="tabcontent">
$forumbits

$forumhome_markread_script
    </div>

So, i must change $forumbits in others name variables (plural, because i have 12 main categories :P) and add it in index_tab.php, right?


All times are GMT. The time now is 07:44 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.02820 seconds
  • Memory Usage 1,980KB
  • 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
  • (5)bbcode_code_printable
  • (4)bbcode_php_printable
  • (22)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