vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Forum Home Enhancements - Browser on Who's Online (https://vborg.vbsupport.ru/showthread.php?t=133784)

smoknz28 12-13-2006 02:11 PM

Quote:

Originally Posted by ubblite (Post 1137542)
That was the same problem I had, smoknz28.

Yea, looks like there's several others with the same problem. I'm sure he's pulling his hair out trying to fix this. Lets hang in there and see what comes about. ;)

Bison 12-15-2006 03:58 AM

You definitely have to drop the tables ... if you had any previous versions installed before installing this.

derekivey 12-15-2006 09:55 AM

Try refreshing the page? For some reason vB's is_browser function only works when you refresh the page. It doesn't seem to work right when the session is created, I am trying to fix it, but have no idea when it will be fixed.

smoknz28 12-15-2006 04:11 PM

Since the install of the hack....I've refreshed (multiple times), closed browser completely (IE, Firefox), reopened browsers, rebooted computer, cleared cache...

All of the above and the hack will still not show any other icon but the question mark "unknown" for the browser.

Sorry Derek....hope you can figure this one out as this looks like it would be a nice feature to have on our boards.

derekivey 12-15-2006 06:51 PM

This may sound like a dumb question, but you have done the file edits right?

smoknz28 12-15-2006 11:13 PM

Quote:

Originally Posted by derekivey (Post 1139297)
This may sound like a dumb question, but you have done the file edits right?

No, not dumb...you're just trying to get to the root of this and I appreciate that.

Okay, looking at my index.php file I see that the changes were already made when I initially installed this hack:

Code:

session.userid, session.browser, session.inforum, session.lastactivity,
Code:

'username'          =>& $vbulletin->userinfo['username'],
'browser'          =>& $vbulletin->userinfo['browser'],

Here's my entire forumhome_loggedinuser template, which you can see the addition was made:

Code:

<!-- Start: Browser on Who's Online by derekivey - Version 1.0.2 -->
<if condition="$loggedin[browser] == internet_explorer">
<img src="$stylevar[imgdir_misc]/ie.gif" alt="$vbphrase[browser_internet_explorer]" />
</if>
<if condition="$loggedin[browser] == opera">
<img src="$stylevar[imgdir_misc]/opera.gif" alt="$vbphrase[browser_opera]" />
</if>
<if condition="$loggedin[browser] == firefox">
<img src="$stylevar[imgdir_misc]/ff.gif" alt="$vbphrase[browser_firefox]" />
</if>
<if condition="$loggedin[browser] == camino">
<img src="$stylevar[imgdir_misc]/camino.gif" alt="$vbphrase[browser_camino]" />
</if>
<if condition="$loggedin[browser] == konqueror">
<img src="$stylevar[imgdir_misc]/konqueror.gif" alt="$vbphrase[browser_konqueror]" />
</if>
<if condition="$loggedin[browser] == safari">
<img src="$stylevar[imgdir_misc]/safari.gif" alt="$vbphrase[browser_safari]" />
</if>
<if condition="$loggedin[browser] == netscape">
<img src="$stylevar[imgdir_misc]/netscape.gif" alt="$vbphrase[browser_netscape]" />
</if>
<if condition="!$loggedin[browser] OR $loggedin[browser] == unknown">
<img src="$stylevar[imgdir_misc]/question_icon.gif" alt="$vbphrase[browser_unknown]" />
</if>
<!-- End: Browser on Who's Online by derekivey - Version 1.0.2 -->

$stylevar[dirmark]<a href="member.php?$session[sessionurl]u=$loggedin[userid]" rel="nofollow">$loggedin[musername]</a>$loggedin[invisiblemark]$loggedin[buddymark]


jw00dy 12-16-2006 03:53 AM

Nice mod. I have the exact same problem as smoknz28 and my edits are the same as his.

derekivey 12-16-2006 05:43 PM

Can one of you guys please send me the link to your forum, so I can just take a look and see if it happens for me if I login?

Thanks,
Derek

derekivey 12-16-2006 05:48 PM

Actually, nevermind, I have confirmed this and am fixing it. I will release a new version shortly.

Derek

jw00dy 12-16-2006 05:50 PM

Thank Derekivey


All times are GMT. The time now is 03:33 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.01115 seconds
  • Memory Usage 1,742KB
  • 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_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