vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Forum Home Enhancements - [AJAX] Tab Menu For Forum Home (https://vborg.vbsupport.ru/showthread.php?t=181741)

rapidphim 06-08-2008 05:34 PM

I am not able to view the demo at the demo site.

NsT 06-08-2008 05:49 PM

Sorry my site just got DDoS attacked so demo will be available tomorrow :(

rapidphim 06-08-2008 05:57 PM

Sorry, just read few threads back. Didn't know you got DDos (only script kiddies do such thing). Anyway, I heard that BBob is working on an Ajax version for his Tab. It'd be nice if you two work together. I'd wait for the final product either from you, or him, or both.

It'd also so nice that if one of you can intergrate the new ajax mod to upgrade the current hack automatically. Otherwise, we might have to uninstall/revert the modified template, reinstall the style and install the ajax hack...

Lea Verou 06-08-2008 08:25 PM

You need to check location.hash every half a second or so for it to work in IE. I have stumbled upon the same problem some while ago (not in a vbulletin project) and I can guarantee you that this is the only solution, sadly.

Btw why do you use your own tabs.js file and not vB_TabCtrl.js? vBulletin has a built-in tabs system at the moment, that nobody seems to be aware of or use, I don't know why :confused:

NsT 06-08-2008 11:02 PM

09/06/2008: Released ver 1.2. Fix problem with default tab to load initially when member access index.php. This enable you to load multiple categories initially.

@GamerGirl27 & Mokonzi: Now you can load as many categories as you want :D

@ rapidphim: The demo is available to view now :D Well, for me to make this mod become a product to install/uninstall automatically is almost imposible :D because I didn't know much about PHP, especially Vbb installing codes.

This is the reason why I marked this mod as "Re-usable" so that someone else better than me can improve it if they wish to.

@ Michelle: Oh if you check my tabs.js file, you will see I set an interval to check the URL, but the problem is IE doesn't store link after # into its history so at this moment you can use Back/ Forward buttons. However, you still can use Bookmark and send link to your friends. I'll try to fix Back/ Forward button asap.

Believe me I'm newbie in coding so I don't even know that VBB has a vB_TabCtrl.js file :D but anyway, it will be easier for me to code my own file :D

NsT 06-09-2008 07:07 AM

Oh sorry that I forgot to add the View All tab. This tab will load the whole forum like normal:

<li><a href="#all" id="aall"><span id="sall">Tất Cả</span> </a></li>

SpankMe 06-09-2008 09:10 AM

Since installing this I have been getting a number of membrs complaining that they are getting logged out when using the tabs or clicking on mark forums read.

NsT 06-09-2008 12:43 PM

Thanks for your feedback. I checked and you are right. However, I found that if you check the "Remember Me" box when logging in, it seems to work fine.

I'll try to fix this problem asap.

mokonzi 06-09-2008 02:06 PM

Thanks for the updates so far NsT. I'll have a look at updating it on my test style later.

Magnumutz 06-10-2008 06:42 AM

I'm getting this error:
Quote:

Warning: Division by zero in [path]/tabs.php(258) : eval()'d code on line 132


All times are GMT. The time now is 05:29 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.01068 seconds
  • Memory Usage 1,735KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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