![]() |
Ooo....share with us AWJunkies! :D
|
HERE IS A FIX ENJOY
Step #1 Ok do not or revert whatever patch king posted on his link to his site the trying of passing variable to template which you can not do in this case and circumstances. Basically you should have everything installed how they said to do and the files in zip without changing a thing. Step #2 Now the correct IF statement to enter is below. So change the if statement they have and where to add it to the below one. NEW CORRECT IF STATEMENT: Code:
<if condition="(THIS_SCRIPT == 'indexTAB' AND (in_array($forum['forumid'], $_REQUEST['tabcat']) OR in_array('all', $_REQUEST['tabcat']))) OR (THIS_SCRIPT == 'forumdisplay')"> Step #3 Fix for All forums module: For some reason they put -1 instead of all for the tabcat value. So to fix is real easy. There was no check within IF statement for -1 but there was for all. Module File info BEFORE: Code:
tabindex.php?tabcat[]=-1 Code:
tabindex.php?tabcat[]=all Step #4 Fix for data arrays within modules must be URL strict not safe. Example before: Code:
tabindex.php?tabcat[]=1&amp;tabcat[]=47&amp;tabcat[]=58&amp;tabcat[]=70&amp;tabcat[]=78&amp;langid=1 Code:
tabindex.php?tabcat[]=1&tabcat[]=47&tabcat[]=58&tabcat[]=70&tabcat[]=78&langid=1 OPEN: tfh_modules.php (admincp file) FIND TWO INSTANCES OF: Code:
'file' => TYPE_NOHTML, Code:
'file' => TYPE_HTML, Step #5 (OPTIONAL) Also highly recommended for up to date YUI libraries and much quicker load and single batch calls follow the below instructions. Basically replace the add js code into header that is posted in instructions with the below. FORUM HOME TEMPLATE CHANGE: Code:
<!-- Tabbed Forum Home Header Code --> REPLACE WITH: Code:
<!-- Tabbed Forum Home Header Code --> |
1- No number of visitors viewing each forum
2- Not crawlable by search engines ! when this problem will be solved this things are important but before this i will have to install it on my forum m also getting this error Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/functions_forumlist.php(395) : eval()'d code on line 1 |
Quote:
|
but if i remove if statement will this mod will work?
also i want to know which tab vb.org useis it ajax or simple & it there any tabb mod which is stable have 1- No number of visitors viewing each forum 2- Not crawlable by search engines ! |
Quote:
And yes, the no number of visitors for each forum is something that they should look into. I reported that bug back in 1.5. |
Quote:
|
Quote:
|
Quote:
|
Are you guys sure this is the correct insturctions?
when i put this code in lvl1 nopost i get an error. Quote:
|
All times are GMT. The time now is 06:47 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|