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 06-02-2008 02:53 PM

Quote:

Originally Posted by Scamorz (Post 1538806)
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?

yes sir, just build up Tab 1 like you build all the others..... then you don't have to set to 0 to hide ..

Scamorz 06-02-2008 03:32 PM

Ok thank you very much, it works well, but so the forumhome template is very long because i must put this code for each category, and i have 12 category in main tab1:

Code:

        <tr>
                <td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><a style="float:right" href="#top" onclick="return toggle_collapse('forumbit_99')"><img id="collapseimg_forumbit_99" src="gfx_vB36revisited/buttons/collapse_tcat.gif" alt="" border="0" /></a><a href="forumdisplay.php?f=2">Category Name</a></td>
        </tr>
<tbody id="collapseobj_forumbit_99" style="">
        <tr align="center">
          <td class="thead">&nbsp;</td>
        <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
        <td class="thead" width="200" nowrap="nowrap">$vbphrase[last_post]
<div><img src="$stylevar[imgdir_misc]/_lastpostspacer.gif" alt="" /></div></td>
        <td class="thead" nowrap="nowrap">$vbphrase[threads]
<div><img src="$stylevar[imgdir_misc]/_last-p-t_spacer.gif" alt="" /></div></td>
        <td class="thead" nowrap="nowrap">$vbphrase[posts]
<div><img src="$stylevar[imgdir_misc]/_last-p-t_spacer.gif" alt="" /></div></td>
<if condition="$vboptions['showmoderatorcolumn']">
        <td class="thead">$vbphrase[moderator]</td>
          </if>
        </tr>


Then i must translate these categories (or less) in tab2 and in tab3. It's very long!
How i can do that? :P:P:P

bobster65 06-02-2008 03:39 PM

Quote:

Originally Posted by Scamorz (Post 1538887)
Ok thank you very much, it works well, but so the forumhome template is very long because i must put this code for each category, and i have 12 category in main tab1:

Code:

        <tr>
                <td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><a style="float:right" href="#top" onclick="return toggle_collapse('forumbit_99')"><img id="collapseimg_forumbit_99" src="gfx_vB36revisited/buttons/collapse_tcat.gif" alt="" border="0" /></a><a href="forumdisplay.php?f=2">Category Name</a></td>
        </tr>
<tbody id="collapseobj_forumbit_99" style="">
        <tr align="center">
          <td class="thead">&nbsp;</td>
        <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
        <td class="thead" width="200" nowrap="nowrap">$vbphrase[last_post]
<div><img src="$stylevar[imgdir_misc]/_lastpostspacer.gif" alt="" /></div></td>
        <td class="thead" nowrap="nowrap">$vbphrase[threads]
<div><img src="$stylevar[imgdir_misc]/_last-p-t_spacer.gif" alt="" /></div></td>
        <td class="thead" nowrap="nowrap">$vbphrase[posts]
<div><img src="$stylevar[imgdir_misc]/_last-p-t_spacer.gif" alt="" /></div></td>
<if condition="$vboptions['showmoderatorcolumn']">
        <td class="thead">$vbphrase[moderator]</td>
          </if>
        </tr>


Then i must translate these categories (or less) in tab2 and in tab3. It's very long!
How i can do that? :P:P:P

ya, setting it up manually is not fast .... if you want, hold of for the next version which is a lot less template edits and cats are created automatically :cool:

Scamorz 06-02-2008 03:45 PM

Ok thanks sir, i will attend this new version. Your mod is a great script. I need it. :)

p.s. if you need beta testers i'm ready for that ;)

bigtime 06-02-2008 05:43 PM

Will this work in 3.71?

bobster65 06-02-2008 05:46 PM

Quote:

Originally Posted by bigtime (Post 1538984)
Will this work in 3.71?

Works in 3.7 have not tested in 3.7.1 unless they changed how forumbits are created, it should work just fine..

004 06-03-2008 02:16 PM

Can somebody tell me how or give an example of how to make a "Portal" tab....A tab that will take ya to the Portal, or any non-forum page?

Thanks

bobster65 06-03-2008 02:22 PM

Quote:

Originally Posted by 004 (Post 1539740)
Can somebody tell me how or give an example of how to make a "Portal" tab....A tab that will take ya to the Portal, or any non-forum page?

Thanks

You could check out Tabbar Suite (https://vborg.vbsupport.ru/showthread.php?t=179163) its a Tab Navigation system :up:

004 06-03-2008 02:53 PM

Quote:

Originally Posted by bobster65 (Post 1539747)
You could check out Tabbar Suite (https://vborg.vbsupport.ru/showthread.php?t=179163) its a Tab Navigation system :up:

Yeah i saw that one, as well as a couple others.
Was hoping to be able to use your mod for this though, as we already have it setup.
Is it not possible?

Thanks for the quick reply bob :)

bobster65 06-03-2008 03:01 PM

Quote:

Originally Posted by 004 (Post 1539765)
Yeah i saw that one, as well as a couple others.
Was hoping to be able to use your mod for this though, as we already have it setup.
Is it not possible?

Thanks for the quick reply bob :)

This MOD isn't a Navigation system... the tabs do not take you anywhere, they display content within a DIV on the page without leaving the page.. You want a Tab Navigation system like vborg most likely..

004 06-03-2008 03:30 PM

Ok, lemme ask another way....Is it possible to display all the Portal info in a tab? Kinda like the "What's Going On" tab example in this thread?

bobster65 06-03-2008 03:35 PM

Quote:

Originally Posted by 004 (Post 1539790)
Ok, lemme ask another way....Is it possible to display all the Portal info in a tab? Kinda like the "What's Going On" tab example in this thread?

yes, you can take a look at another mod I released here (AJAX TABS) for CMPS and you can get an idea on how easy it is to add custom content.

Scamorz 06-03-2008 04:25 PM

Hi bob, when your last version will be released? Sorry, i'd like to have an estimated date :)

bobster65 06-03-2008 04:36 PM

Quote:

Originally Posted by Scamorz (Post 1539819)
Hi bob, when your last version will be released? Sorry, i'd like to have an estimated date :)

It won't be released until its beta tested.. I wished I could give a solid date, but I can't as that depends on bugs, fixing bugs etc.. the GOAL is for the end of this month.. it could be sooner or later tho.

Scamorz 06-03-2008 05:50 PM

Ok thanks, we all trust in your great work ;)

kennethj 06-05-2008 10:53 AM

great job, like this much, makes things easier for me :rolleyes:

a few simple edits and have it working on split styles - what we use and have -
GFXstyles @ forum

Scamorz 06-05-2008 09:13 PM

Hi kennet do you use GFx Style?
I use it, what's the code to rebuild the style of category?
Thanks :)

Blackhat 06-06-2008 05:05 PM

does it work with php5 ?

bobster65 06-06-2008 05:23 PM

Quote:

Originally Posted by Blackhat (Post 1542458)
does it work with php5 ?

the only php this uses is default vbulletin code, so yes.

vcruiser 06-06-2008 10:33 PM

bobster65: Thanks for the mod. Even I got it to work. I see the CSS in your download file but don't know where it should be uploaded to. I would like to make color adjustments, can you point me in the right direction?

Thanks again.:up:

GaiLoan 06-07-2008 09:11 AM

thanks for the super mod, i got a problem, when click the tab its like link Go to top of page?

bobster65 06-07-2008 01:56 PM

Quote:

Originally Posted by vcruiser (Post 1542672)
bobster65: Thanks for the mod. Even I got it to work. I see the CSS in your download file but don't know where it should be uploaded to. I would like to make color adjustments, can you point me in the right direction?

Thanks again.:up:

Color adjustments are done via the css file. Re-read the top of the instructions and it tells you where to upload the the css file :cool:

Quote:

Originally Posted by GaiLoan (Post 1542994)
thanks for the super mod, i got a problem, when click the tab its like link Go to top of page?

Sounds like you have a tab to tab content area mismatch. I can take a look at your template if you PM it to me :cool:

bobster65 06-07-2008 07:07 PM

**UPDATE**

Getting close to needing a few Beta Testers for version 2 (which is AJAX) ..

I have it running live on a few sites right now... check out http://www.teryxhq.com/forums/ to see it in action..

dieselpowered 06-07-2008 07:12 PM

Yes, much much easier to manage!!!!

silly rabbit 06-07-2008 07:32 PM

Quote:

Originally Posted by bobster65 (Post 1542470)
the only php this uses is default vbulletin code, so yes.

bobster, very cool coding - something to play with and learn from!

Rather than create a separate index_tabs.php I placed this into the original instead:
PHP Code:

$forumbits construct_forum_bit($forumid);
if (
$styleid == 3)
    {
    
//In the example below, the Category ID . . . 
                
etcetc
                


See any problems with that?

Rabbit

bobster65 06-07-2008 07:47 PM

Quote:

Originally Posted by silly rabbit (Post 1543441)
bobster, very cool coding - something to play with and learn from!

Rather than create a separate index_tabs.php I placed this into the original instead:
PHP Code:

$forumbits construct_forum_bit($forumid);
if (
$styleid == 3)
    {
    
//In the example below, the Category ID . . . 
                
etcetc
                


See any problems with that?

Rabbit

the index_tabs.php is simply for testing .. you put everything in the index.php file when reay to go live.. this however is totally different in the next version which will be released as soon as its beta tested...

RedTrinity 06-08-2008 05:10 AM

Hi Bobster,

I would appreciate any help you can provide with this alignment issue for IE7...

https://vborg.vbsupport.ru/external/2008/06/57.jpg

The tabs appear fine in FF, however!

Cheers :)

mokonzi 06-08-2008 07:42 AM

You got your code for it? CSS and HTML?

OsideRida06 06-08-2008 09:09 AM

bobster65 I pm'd you!

Scamorz 06-08-2008 12:16 PM

Quote:

Originally Posted by bobster65 (Post 1543424)
**UPDATE**

Getting close to needing a few Beta Testers for version 2 (which is AJAX) ..

I have it running live on a few sites right now... check out http://www.teryxhq.com/forums/ to see it in action..


It's wonderful! It works with all browsers...

Biggles 06-08-2008 12:42 PM

Hi Bobster

Fantastic concept. Love it. I will be giving it a try with my limited skills (clicked installed, of course). Thanks a million. :up:

Scamorz

Thanks for the peek at your site. Very impressive indeed. Great work, particularly that little fold over thingy in the top right corner. Well done. :D

Scamorz 06-08-2008 05:26 PM

Biggles that site is not mine :D...it has been posted by bobster to test his script ;)

dieselpowered 06-08-2008 06:04 PM

Biggles, thank you for the compliment, I am assuming you are referring to my site www.teryxhq.com ?

Biggles 06-08-2008 08:57 PM

Quote:

Originally Posted by xtremeoff-road (Post 1544294)
Biggles, thank you for the compliment, I am assuming you are referring to my site www.teryxhq.com ?

Yes indeedy, it was in fact your site to which I referred. It's great. And a little humbling too. Brilliant work, xtremeoffroad.

As for my little faux pas, Scamorz, sorry about that. I'm beginning to feel too old and arthritic for all this. :D

It may have something to do with me getting this great mod three-quarters installed and then losing my way completely. And the more I read bobster's excellent instructions the less they are making sense to me, if you follow what I mean?

I think I'll go to bed early and forget about it. Bah!:p Anyone want a FORUMHOME template for a child style that looks 3/4 cool? He he.:rolleyes:

I do have a perhaps naive question: why not just install some tab images in the right position and hyperlink them to the desired forums?

dieselpowered 06-09-2008 02:13 AM

Thank you Biggles for the kind words :)

I would try to help you out, however, I am not using the version you are, therefore, am not familiar with it.

I am half tempted to just tell you to wait for a little bit until the AJAX version is released....much easier to work with!

dutchbb 06-09-2008 04:55 AM

Looks like a great idea but i don't understand the install file, and it's way too much work. You need to make this easier to install.

Biggles 06-09-2008 07:24 AM

Quote:

Originally Posted by xtremeoff-road (Post 1544619)
Thank you Biggles for the kind words :)

I would try to help you out, however, I am not using the version you are, therefore, am not familiar with it.

Smashing site you have, so totally deserving of my kind [and sincere] words.

Am I right in thinking the version you are referring to is vBulletin 3.6.10? If so, there's a good reason why I have gone back to that older version of vBulletin (I won't bore you with it here though). Suffice to say it works better for me. :D

Quote:

I am half tempted to just tell you to wait for a little bit until the AJAX version is released....much easier to work with!
I think that's good advice, xtremeoff-road. I've had my sleep and will play around with bobster's instructions again later today. But I have this kinda sinking feeling that bobster's lengthy manual instructions are just a little beyond my aged and decrepit capabilities. I am rather pleased I got it 3/4 installed anyway. I must be getting better at this stuff than I thought! :up:

xTerMn8R 06-10-2008 07:28 PM

I dont know, I was using and STILL AM at this point, the Older version that used php files to arrange the Tabbed content. I dont like this new layout having to chop up default templates and php files to get the layout. I notice that all the referals are for the INDEX.PHP files and no mention of the cmps_index.php used with vbadvanced. The old method made it very easy to create a specific template for Tabbed content and made incorporating it into Modules for CMPS very easy. Am I Missing summin here , Whats the Improvement?

Confused and ready to stick with what worked and didnt appear broken,

Tom
www.superskunkracing.org

OsideRida06 06-11-2008 02:15 AM

I am using the current version, and will be updating as soon as the new version comes out. This has to be one of the greatest mods on here. I know my members love it.

bobster65 06-11-2008 12:25 PM

Quote:

Originally Posted by xTerMn8R (Post 1546082)
I dont know, I was using and STILL AM at this point, the Older version that used php files to arrange the Tabbed content. I dont like this new layout having to chop up default templates and php files to get the layout. I notice that all the referals are for the INDEX.PHP files and no mention of the cmps_index.php used with vbadvanced. The old method made it very easy to create a specific template for Tabbed content and made incorporating it into Modules for CMPS very easy. Am I Missing summin here , Whats the Improvement?

Confused and ready to stick with what worked and didnt appear broken,

Tom
www.superskunkracing.org

Tom, you are talking about a totally different MOD. The one you are referring to is AJAX Tabbed Content that I wrote specifically for vBa CMPS.

This has nothing to do with that. This is a NON AJAX Solution for Tabbing out the Categories for Forum Home only. It was done this way on purpose. It was done as a request and was something I never wanted to release because it required manual install and setup, however, I received 100s of PMs and was tired of dealing with them so I just released this MANUAL version. It was never written with the intention of releasing it to members here. It was written the way it was so that it could be customized in one template (FORUMHOME) without writing a ton of template conditionals within multiple templates. It was also done NON Ajax for a reason.

Version 2 (which HAS been written with the intention for releasing to members) works similar (but not the same) as the MOD you are talking about. One difference will be that version 2 of this MOD will utilize YUI.

Once version 2 of this MOD is done, AJAX TABS for CMPS is being converted to YUI as well.

What will be nice for you is that the content files that you already have can also be used in this one (as well as 3 other mods that are currently under development)


All times are GMT. The time now is 07:58 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.02670 seconds
  • Memory Usage 1,856KB
  • 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
  • (3)bbcode_code_printable
  • (2)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