vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Forum Home Enhancements - [YUI] Tabbed Forum Home (https://vborg.vbsupport.ru/showthread.php?t=197871)

King Kovifor 12-04-2008 08:53 PM

Quote:

Originally Posted by AWJunkies (Post 1678650)
Everyone who is having issues STOP looking through thread and trying to fix the mod through all the posts with 10 different IF statements and solutions they all DO NOT WORK. Please update thread as soon as you can king and others look here:

https://vborg.vbsupport.ru/showpost....&postcount=102

I've got a viewing tonight and tomorrow, so I probably won't get around to being able to spend time updating this until Saturday.

AWJunkies 12-04-2008 09:18 PM

Not a problem just wanted to notify users so they don't keep talking about and repeating the same non fix stuff when there is a fix.

Also remember you DO have issue with IE and the js file I posted few posts back. I can't fix that one it has to do with your code directly and not the js itself.

rob01 12-04-2008 11:40 PM

Quote:

Originally Posted by AWJunkies (Post 1678688)
Not a problem just wanted to notify users so they don't keep talking about and repeating the same non fix stuff when there is a fix.

Also remember you DO have issue with IE and the js file I posted few posts back. I can't fix that one it has to do with your code directly and not the js itself.

yeah it seems to work now, but it just work in IE right?


other question how you fix the forumhome space? , lets say if you click over all forums, the website will expand so it could show all forums , but if you show other, the website size will remain as biger as before (when you click all forums) right?

King Kovifor 12-05-2008 12:50 AM

Quote:

Originally Posted by AWJunkies (Post 1678688)
Not a problem just wanted to notify users so they don't keep talking about and repeating the same non fix stuff when there is a fix.

Also remember you DO have issue with IE and the js file I posted few posts back. I can't fix that one it has to do with your code directly and not the js itself.

I must have missed that, would mind reminding me of the problem (coming home to 3 pages of new posts is easy to miss a few posts...) or just link me to the post and I can look into fixing it.

AWJunkies 12-05-2008 03:50 AM

Quote:

Originally Posted by King Kovifor (Post 1678774)
I must have missed that, would mind reminding me of the problem (coming home to 3 pages of new posts is easy to miss a few posts...) or just link me to the post and I can look into fixing it.

https://vborg.vbsupport.ru/showpost....6&postcount=97

Post # 97

It does NOT effect it loading and working in IE but does throw error. Presume your caching of forums wont work cause it uses this.

Also this mod does not work with:
Spider Display 1.0.0

Working on fix as I need this. Will have one soon and the space between forums.

I see a temp fix for some styles not showing the spacing between forums as the:
<div class="spacer"></div>

Is not creating the space and a <br /> is needed.

So in forumhome_forumbit_level1_nopost:
in the instructions it says to add a </if> at the end you need to add a <br /> as well

<br />
<div class="spacer"></div>
</if>

or

<br />
</if>

murekhalir 12-05-2008 05:10 AM

Quote:

Originally Posted by AWJunkies (Post 1677570)
All you do is follow directions it tells you within there mod and 0 issues tells you exactly what to do go to those to plugins in CYB mod and add the OR statement. Works perfect.

My issue I am having is the tabs are not showing JUST X forum id but showing ALL no matter what I do which is very strange. I went back to full your js everything and same issue so has nothing to do with my doing different js calls.

Anyone else getting this issue? No errors just shows all forums no matter what Id's I put. I followed pictures to the T as examples still no go.



forgive me for my ignorance...

if i got this error:
Quote:

Plugins (Search In): Cyb - Sub-Forum Manager - CT and Cyb - Sub-Forum Manager 1
Find:
(THIS_SCRIPT=='index' OR THIS_SCRIPT=='forumdisplay'))
Replace With:
(THIS_SCRIPT=='index' OR THIS_SCRIPT=='forumdisplay' OR THIS_SCRIPT=='indexTAB'))


Where would i go and look to modify the plugins?

s810car 12-05-2008 05:18 AM

dang my server going through a move and I wanted to try some more today, gonna try the fix posted asap and comment

Morsolo 12-05-2008 07:42 AM

I am amazed to see how long this took and how much work you guys put in to this, but the amount it simply doesn't work...

I have stumbled upon a rather large bug, common navbar templates like this:
Code:

        <!-- network locator -->
        <div class="vbmenu_popup" id="networklocator_menu" style="display:none" align="$stylevar[left]">
                <table width="200px" cellpadding="4" cellspacing="1" border="0">
                        <tr><td class="thead">Main</td></tr>
                        <tr><td class="vbmenu_option"><a href="http://www.m-network.net/index.php">Homepage</a></td></tr>
                        <tr><td class="vbmenu_option"><a href="http://www.m-network.net/forum/index.php">Forum</a></td></tr>
                        <tr><td class="thead">Locations</td></tr>
                        <tr><td class="vbmenu_option"><a href="">Coming Soon...</a></td></tr>
                </table>
        </div>
        <!-- / network locator -->

Creates dropdown menu for use within the navbar or header when this is called:
Code:

                        <td id="networklocator" width="78" height="34" class="css_nav"><a href="$show[nojs_link]#networklocator">.Network</a> <script type="text/javascript"> vbmenu_register("networklocator", 1); </script></td>
All these drop downs, custom and default, do not work now, does anyone else get this problem? I am 100% sure it is this mod and they were working, I installed this and they weren't...

EDIT:
I've just received numerous complaints that this mod is breaking anything and everything Javascript, the WWYSIG Editor is broken to now.

Aren 12-05-2008 08:52 AM

Quote:

Originally Posted by Morsolo (Post 1678909)
EDIT:
I've just received numerous complaints that this mod is breaking anything and everything Javascript, the WWYSIG Editor is broken to now.

I've tried both on FF and IE and the WYSIWYG editor is working fine, both in quick reply and in advanced reply mode.

SteamyLightning 12-05-2008 09:22 AM

Quote:

Originally Posted by murekhalir (Post 1678861)
forgive me for my ignorance...

Where would i go and look to modify the plugins?

Go to the Plugin Manager, scroll down to Cyb - Subforum Manager, and then edit the Cyb - "Sub-Forum Manager - CT" and "Cyb - Sub-Forum Manager 1" templates.

AWJunkies 12-05-2008 11:28 AM

*Fixed issue*
Product : Spider Display
Plugin: Forum Home Complete

Find (first line):
Code:

if (($vbulletin->options['displayloggedin'] == 1 OR $vbulletin->options['displayloggedin'] == 2 OR ($vbulletin->options['displayloggedin'] > 2 AND $vbulletin->userinfo['userid'])) AND !$show['search_engine'])
Replace with (added another conditional):
Code:

if (($vbulletin->options['displayloggedin'] == 1 OR $vbulletin->options['displayloggedin'] == 2 OR ($vbulletin->options['displayloggedin'] > 2 AND $vbulletin->userinfo['userid'])) AND !$show['search_engine'] AND THIS_SCRIPT!='indexTAB')
So may want to add this to your search for conflicting mods searcher thing.
*Fixed issue*

AWJunkies 12-05-2008 11:33 AM

Quote:

Originally Posted by abdobasha2004 (Post 1678337)
another 2 problems

1- No number of visitors viewing each forum
2- Not crawlable by search engines !

I am watching my crawlers google and yahoo right now on other tabs so they are able to view the tabs. I have english tab and a french tab so there is no other way to see those forums other then clicking or them viewing the tabs themself. No way for them to have direct links to them either. I just created them :) .

So please some other people confirm this for me as it is working for me.

SteamyLightning 12-05-2008 01:09 PM

Quote:

Originally Posted by AWJunkies (Post 1678966)
*Fixed issue*
Product : Spider Display
Plugin: Forum Home Complete

Find (first line):
Code:

if (($vbulletin->options['displayloggedin'] == 1 OR $vbulletin->options['displayloggedin'] == 2 OR ($vbulletin->options['displayloggedin'] > 2 AND $vbulletin->userinfo['userid'])) AND !$show['search_engine'])
Replace with (added another conditional):
Code:

if (($vbulletin->options['displayloggedin'] == 1 OR $vbulletin->options['displayloggedin'] == 2 OR ($vbulletin->options['displayloggedin'] > 2 AND $vbulletin->userinfo['userid'])) AND !$show['search_engine'] AND THIS_SCRIPT!='indexTAB')
So may want to add this to your search for conflicting mods searcher thing.
*Fixed issue*

I don't think this is the bug/omission that he was referring to. It's certainly not the one that I'm referring to. It's actually the default vBulletin feature that allows you to see how many people are browsing a forum from the forumhome. For example...

Main Forum (2 viewing)

The "(2 viewing)" part doesn't show up on the tabs, and it would be nice if that was fixed.

bobster65 12-05-2008 01:47 PM

Quote:

Originally Posted by SteamyLightning (Post 1679008)
I don't think this is the bug/omission that he was referring to. It's certainly not the one that I'm referring to. It's actually the default vBulletin feature that allows you to see how many people are browsing a forum from the forumhome. For example...

Main Forum (2 viewing)

The "(2 viewing)" part doesn't show up on the tabs, and it would be nice if that was fixed.

That is one thing I am trying to figure out myself. Its working fine on all 6 of my Dev Servers and 2 of my production servers... Not sure yet why its not working for others...

ArnyVee 12-05-2008 02:52 PM

Well, I'm going to wait it out a few more days until the majority of the bugs are ironed out. But, I'm DEFINITELY all over this one as soon as it's more stable!

Thanks to everyone pitching in and trying to find solutions to some of the issues out there! :D

Bram H 12-05-2008 06:16 PM

If somebody has a working demo out, could that be posted here?

King Kovifor 12-05-2008 06:45 PM

Quote:

Originally Posted by Morsolo (Post 1678909)
I am amazed to see how long this took and how much work you guys put in to this, but the amount it simply doesn't work...

I have stumbled upon a rather large bug, common navbar templates like this:
Code:

        <!-- network locator -->
        <div class="vbmenu_popup" id="networklocator_menu" style="display:none" align="$stylevar[left]">
                <table width="200px" cellpadding="4" cellspacing="1" border="0">
                        <tr><td class="thead">Main</td></tr>
                        <tr><td class="vbmenu_option"><a href="http://www.m-network.net/index.php">Homepage</a></td></tr>
                        <tr><td class="vbmenu_option"><a href="http://www.m-network.net/forum/index.php">Forum</a></td></tr>
                        <tr><td class="thead">Locations</td></tr>
                        <tr><td class="vbmenu_option"><a href="">Coming Soon...</a></td></tr>
                </table>
        </div>
        <!-- / network locator -->

Creates dropdown menu for use within the navbar or header when this is called:
Code:

                        <td id="networklocator" width="78" height="34" class="css_nav"><a href="$show[nojs_link]#networklocator">.Network</a> <script type="text/javascript"> vbmenu_register("networklocator", 1); </script></td>
All these drop downs, custom and default, do not work now, does anyone else get this problem? I am 100% sure it is this mod and they were working, I installed this and they weren't...

EDIT:
I've just received numerous complaints that this mod is breaking anything and everything Javascript, the WWYSIG Editor is broken to now.

Working with the exact copy that was sent here, we have all JavaScript features working.

King Kovifor 12-05-2008 06:46 PM

Quote:

Originally Posted by Bram H (Post 1679207)
If somebody has a working demo out, could that be posted here?

There is one at SmnLikDat.org.

King Kovifor 12-05-2008 06:47 PM

Quote:

Originally Posted by AWJunkies (Post 1678833)
https://vborg.vbsupport.ru/showpost....6&postcount=97

Post # 97

It does NOT effect it loading and working in IE but does throw error. Presume your caching of forums wont work cause it uses this.

Also this mod does not work with:
Spider Display 1.0.0

Working on fix as I need this. Will have one soon and the space between forums.

I see a temp fix for some styles not showing the spacing between forums as the:
<div class="spacer"></div>

Is not creating the space and a <br /> is needed.

So in forumhome_forumbit_level1_nopost:
in the instructions it says to add a </if> at the end you need to add a <br /> as well

<br />
<div class="spacer"></div>
</if>

or

<br />
</if>

The problem in dispatcher.js isn't actually our code.

AWJunkies 12-05-2008 07:17 PM

Quote:

Originally Posted by King Kovifor (Post 1679226)
The problem in dispatcher.js isn't actually our code.

I know it is not I will fix it for you. I am out all day today but have solution tomorrow.

Here is the site working on so people can see it in action as another reference.
Forum Coding

Noticed for some reason the Spiders hack goes to negative guests sometimes so here is solution.
Just adding a conditional to it.

Same plugin as other post
FIND:
Code:

$numberguest = $numberguest - $nspiders;
$vbphrase['x_members_and_y_guests'] .= ' and '.$nspiders.' Spiders';

REPLACE:
Code:

$numberguest = $numberguest - $nspiders;
if ($numberguest<0){$numberguest=0;}
$vbphrase['x_members_and_y_guests'] .= ' and '.$nspiders.' Spiders';


King Kovifor 12-05-2008 07:21 PM

Quote:

Originally Posted by AWJunkies (Post 1679237)
I know it is not I will fix it for you. I am out all day today but have solution tomorrow.

You really don't need to go around fixing all our mistakes, but we appreciate it. I can report it to the original authors and attempt for a fix, but the JavaScript talent in my brain is far inferior to the PHP talent.

AWJunkies 12-05-2008 07:45 PM

Quote:

Originally Posted by King Kovifor (Post 1679239)
You really don't need to go around fixing all our mistakes, but we appreciate it. I can report it to the original authors and attempt for a fix, but the JavaScript talent in my brain is far inferior to the PHP talent.

I am an expert so not a big deal and I need the mod and it working correctly for my sites so to share is no big deal to me. Second it is not the js file issue it is code itself will explain when I show you fix. Well I am out for rest of today will post up tomorrow have a nice day everyone.

King Kovifor 12-05-2008 07:53 PM

Quote:

Originally Posted by AWJunkies (Post 1679258)
I am an expert so not a big deal and I need the mod and it working correctly for my sites so to share is no big deal to me. Second it is not the js file issue it is code itself will explain when I show you fix. Well I am out for rest of today will post up tomorrow have a nice day everyone.

Understood.

Morsolo 12-05-2008 10:11 PM

Ok guys, I just downloaded vBulletin 3.8.0.RC1 and I just completely replaced everything in the clientscript directory and now the javascript stuff works.
I don't know why this is, because I never even touched that directory except for the Tab Modification upload and no one else has permissions to my FTP...

Either way, the mod still doesn't work...

Aakek 12-05-2008 10:13 PM

Any plans on being able to reorder tabs?

rob01 12-05-2008 10:29 PM

AWJunkies where is all this modifications located? :S

this ->
Same plugin as other post
FIND:
Code:

$numberguest = $numberguest - $nspiders;
$vbphrase['x_members_and_y_guests'] .= ' and '.$nspiders.' Spiders';

REPLACE:
Code:

$numberguest = $numberguest - $nspiders;
if ($numberguest<0){$numberguest=0;}
$vbphrase['x_members_and_y_guests'] .= ' and '.$nspiders.' Spiders

King Kovifor 12-06-2008 12:36 AM

Quote:

Originally Posted by Morsolo (Post 1679315)
Ok guys, I just downloaded vBulletin 3.8.0.RC1 and I just completely replaced everything in the clientscript directory and now the javascript stuff works.
I don't know why this is, because I never even touched that directory except for the Tab Modification upload and no one else has permissions to my FTP...

Either way, the mod still doesn't work...

You need to explain your problems if you would like us to help or fix them.

Quote:

Originally Posted by Aakek (Post 1679316)
Any plans on being able to reorder tabs?

That is a planned feature for either b2 or b3.

Morsolo 12-06-2008 02:13 AM

If you bothered to read my post on the last page, I did explain my problems...

QFT: lolnoob
Quote:

Originally Posted by Morsolo (Post 1677580)
Yes, for some reason, the Encoding Error just vanished and now I can view the forums, but I am getting that issue.
It isn't showing "X" Forums, it is showing all of them. And I am getting no spacing between each category, for example it should look like:
Quote:

CATEGORY
-- FORUM

CATEGORY
-- FORUM
But it is going:
Quote:

CATEGORY
-- FORUM
CATEGORY
-- FORUM


King Kovifor 12-06-2008 02:26 AM

Quote:

Originally Posted by Morsolo (Post 1679408)
If you bothered to read my post on the last page, I did explain my problems...

QFT: lolnoob

I'll give you a link that was posted maybe 4 or 5 posts after yours (maybe more):

https://vborg.vbsupport.ru/showpost....&postcount=102

hotwheels 12-06-2008 02:37 AM

So you are using this newer version awjunkines? I tried this with the other ajax version and it still doesn't work correctly.....
Quote:

Originally Posted by AWJunkies (Post 1679237)
I know it is not I will fix it for you. I am out all day today but have solution tomorrow.

Here is the site working on so people can see it in action as another reference.
Forum Coding

Noticed for some reason the Spiders hack goes to negative guests sometimes so here is solution.
Just adding a conditional to it.

Same plugin as other post
FIND:
Code:

$numberguest = $numberguest - $nspiders;
$vbphrase['x_members_and_y_guests'] .= ' and '.$nspiders.' Spiders';

REPLACE:
Code:

$numberguest = $numberguest - $nspiders;
if ($numberguest<0){$numberguest=0;}
$vbphrase['x_members_and_y_guests'] .= ' and '.$nspiders.' Spiders';



Morsolo 12-06-2008 02:45 AM

Quote:

Originally Posted by King Kovifor (Post 1679412)
I'll give you a link that was posted maybe 4 or 5 posts after yours (maybe more):

https://vborg.vbsupport.ru/showpost....&postcount=102

Hence what I have been saying, it still doesn't work!

Mesohu 12-06-2008 07:22 AM

When you will release a fixed version of YUI Tabbed Forum Home ?

AWJunkies 12-06-2008 10:30 AM

Quote:

Originally Posted by rob01 (Post 1679323)
AWJunkies where is all this modifications located? :S

this ->
Same plugin as other post
FIND:
Code:

$numberguest = $numberguest - $nspiders;
$vbphrase['x_members_and_y_guests'] .= ' and '.$nspiders.' Spiders';

REPLACE:
Code:

$numberguest = $numberguest - $nspiders;
if ($numberguest<0){$numberguest=0;}
$vbphrase['x_members_and_y_guests'] .= ' and '.$nspiders.' Spiders

That is a Spiders Display mod on this site (vB org) both this mod and other together was killing the tabs so had to get a solution fast to it. So the above is a fix for it.

AWJunkies 12-06-2008 10:31 AM

Quote:

Originally Posted by hotwheels (Post 1679427)
So you are using this newer version awjunkines? I tried this with the other ajax version and it still doesn't work correctly.....

I have not messed with old 1.5 ajax tabs. Just this one which is tabs 2.0 YUI

AWJunkies 12-06-2008 10:33 AM

Quote:

Originally Posted by Morsolo (Post 1679408)
If you bothered to read my post on the last page, I did explain my problems...

QFT: lolnoob

I already posted a solution for you:

I see a temp fix for some styles not showing the spacing between forums as the:
<div class="spacer"></div>

Is not creating the space and a <br /> is needed.

So in forumhome_forumbit_level1_nopost:
in the instructions it says to add a </if> at the end you need to add a <br /> as well

<br />
<div class="spacer"></div>
</if>

or

<br />
</if>

was a few pages back :)

AWJunkies 12-06-2008 10:34 AM

Quote:

Originally Posted by Morsolo (Post 1679430)
Hence what I have been saying, it still doesn't work!

It does work :) So didn't follow my fix completely and standard instructions.

Please state exact issue so I can help you. Just saying it doesn't work doesn't help us find root of issue.

Forum Lover 12-06-2008 10:57 AM

Is it ok now? Cause newbie like me wanna give a try to install it in my board. :p I'll try follow the instructions. Thats it, right?

Big Barry 12-06-2008 01:14 PM

Don't know if this is just me or what but when I put the IF condition around forumhome_forumbit_level1_nopost, forumhome_forumbit_level1_post I was getting these errors:

forumhome_forumbit_level1_nopost

Code:

The following error occurred when attempting to evaluate this template:

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/adminfunctions_template.php(3772) : eval()'d code on line 1

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.

forumhome_forumbit_level1_post
Code:

The following error occurred when attempting to evaluate this template:

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/adminfunctions_template.php(3772) : eval()'d code on line 1

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.

and then above the forum, this appears:

Code:

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/functions_forumlist.php(395) : eval()'d code on line 1

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/functions_forumlist.php(395) : eval()'d code on line 1

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/functions_forumlist.php(395) : eval()'d code on line 1

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/functions_forumlist.php(395) : eval()'d code on line 1

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/functions_forumlist.php(395) : eval()'d code on line 1

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/functions_forumlist.php(395) : eval()'d code on line 1

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/functions_forumlist.php(395) : eval()'d code on line 1

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/functions_forumlist.php(395) : eval()'d code on line 1

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/functions_forumlist.php(395) : eval()'d code on line 1

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/functions_forumlist.php(395) : eval()'d code on line 1

Any ideas?

Many thanks

Big Barry 12-06-2008 01:50 PM

I just used the search function and found it :D Many thanks for this mod and to AWJunkies for the fix :D

ArnyVee 12-06-2008 01:51 PM

Big Barry, as you noticed, the temporary fix is on page 7 post #102 :D

Edited: Noticed you posted as I was posting. But, I put the info for those looking for the temporary fix.


All times are GMT. The time now is 09:16 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.01804 seconds
  • Memory Usage 1,885KB
  • 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
  • (15)bbcode_code_printable
  • (30)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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