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)

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';



All times are GMT. The time now is 08:22 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.01252 seconds
  • Memory Usage 1,760KB
  • 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
  • (8)bbcode_code_printable
  • (7)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
  • (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