Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Show Spiders Online on ForumHome Details »»
Show Spiders Online on ForumHome
Version: 1.00, by amykhar amykhar is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 07-02-2005 Last Update: 02-02-2006 Installs: 125
Template Edits
Code Changes  
No support by the author.

This is a port of my 3.0.x modification. It shows, on your forumhome page, any spiders that are present (ones that show as a spider on your who's online page)

NOTE: If you are using a portal that shows who's online, this mod will mess up your portal. As of this date, I do not know of any working portals for 3.5 and I do not have the code to fix portals.

Please understand what this mod does before you start crying that it doesn't work. This mod will show any spiders who show up as a spider on who's online as a spider on the forumhome page. It will NOT show a spider who shows up as a guest on who's online as a spider. It does not add additional spiders to the list either.

PLEASE DO NOT INSTALL THIS IF YOU ARE UNABLE TO ADJUST YOUR OWN PORTAL TEMPLATES SO THAT THE PHRASE DOES NOT CONTAIN AN ERROR.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #162  
Old 02-16-2006, 06:35 AM
rrokdoka rrokdoka is offline
 
Join Date: Jan 2003
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can someone please help me with this...
Reply With Quote
  #163  
Old 02-18-2006, 07:14 AM
quanvo81 quanvo81 is offline
 
Join Date: Apr 2004
Location: Flushing - New York
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Edited !

I was asking for a solution, but I figured it out, thanks anyway !
Reply With Quote
  #164  
Old 02-25-2006, 04:31 PM
catocom2 catocom2 is offline
 
Join Date: Aug 2002
Location: Gainesville, Georgia
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

reinstalled for 3.5.4
Reply With Quote
  #165  
Old 02-25-2006, 09:35 PM
CoreIssue CoreIssue is offline
 
Join Date: Jan 2006
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I began installing on 3.5.4 and hit a snag.

Code:
 Find:
----------------------
 $forumusers = $db->query_read("
  SELECT
   userfield.*,user.username, (user.options & " . $vbulletin->bf_misc_useroptions['invisible'] . ") AS invisible, user.usergroupid,
   session.userid, session.inforum, session.lastactivity,
   IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
  FROM " . TABLE_PREFIX . "session AS session
  LEFT JOIN " . TABLE_PREFIX . "user AS user ON(user.userid = session.userid)
  LEFT JOIN " . TABLE_PREFIX . "userfield AS userfield ON(user.userid = userfield.userid)
  WHERE session.lastactivity > $datecut
  " . iif($vbulletin->options['displayloggedin'] == 1, "ORDER BY username ASC") . "
 ");
At a minimum userfiled.* is no longer there.

Code:
  $forumusers = $db->query_read("
  SELECT
   user.username, (user.options & " . $vbulletin->bf_misc_useroptions['invisible'] . ") AS invisible, user.usergroupid,
   session.userid, session.browser, session.inforum, session.lastactivity,
   IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
  FROM " . TABLE_PREFIX . "session AS session
  LEFT JOIN " . TABLE_PREFIX . "user AS user ON(user.userid = session.userid)
  WHERE session.lastactivity > $datecut
  " . iif($vbulletin->options['displayloggedin'] == 1, "ORDER BY username ASC") . "
 ");
Reply With Quote
  #166  
Old 02-25-2006, 09:50 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The key to changing the query is to get session.useragent into the query. That's the field that tells us if it's a spider or not.

Amy
Reply With Quote
  #167  
Old 02-25-2006, 09:56 PM
CoreIssue CoreIssue is offline
 
Join Date: Jan 2006
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks. I was hoping it was something that simple.

On phpBB I was use to find, inline find and after add. That made it easier to figure out what the need changes were as work arounds.

I have to get use to the way Vb does it.:ermm:
Reply With Quote
  #168  
Old 02-25-2006, 10:40 PM
CoreIssue CoreIssue is offline
 
Join Date: Jan 2006
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well I cannot find the following two but the spiders are showing on the forumhome.

Code:
4. In your forumhome template, 
Find:
----------------------
<a href="online.php?$session[sessionurl]" rel="nofollow">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)
----------------------

Replace with:
----------------------
<a href="online.php?$session[sessionurl]" rel="nofollow">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest" 3="$numberspiders">$vbphrase[x_members_and_y_guests]</phrase>)
----------------------
I template searched for forumhome template, forumhome_template, forumhome then template and template.

Just got a debug error.
DEBUG MESSAGES (1) Querying master template idstemplate.php, CVS v1.240

SQL Queries (10)



And
Code:
5. In your phrase manager, edit the phrase x_members_and_y_guests to use the third parameter, which is spiders.  Example:
{1} members and {2} guests and {3} spiders
In phrase search for x_members_and_y_guests

vBulletin Message

No Phrases Matched Your Query

Since they are showing just not worry about it?
Reply With Quote
  #169  
Old 02-28-2006, 11:52 AM
TomasDR TomasDR is offline
 
Join Date: Feb 2006
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by amykhar
You can do it at the point right before I do the template eval for the spiders. As they pop off the array, check for google, msn, or whatever and format it to your liking. I'm not doing it for release because everybody and their brother would be asking me how to change the colors or would want some sort of a admincp way to set them.

Amy
I have a related question but I am not looking to change them but ask why.

I have this hack and the Coloured User Groups Legend/Key hack installed.
https://vborg.vbsupport.ru/showthread.php?t=104785

Occassionally the spiders appear in different colors, red & orange concern me the most since those are the colors for Admins & SupMods. I also made some colors for Custom groups and occasionally the spiders show up in those colors too.

Any ideas?
Reply With Quote
  #170  
Old 03-06-2006, 04:53 PM
Zia's Avatar
Zia Zia is offline
 
Join Date: Dec 2005
Location: golpo.net
Posts: 931
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cant it show all the spider/bot listed in vbulletin_spider.xml in forum home?
any way show them in Members That Have Visited Today: block?

we are on vb 3.5.4.

Thnx.
Reply With Quote
  #171  
Old 03-09-2006, 03:46 PM
Zia's Avatar
Zia Zia is offline
 
Join Date: Dec 2005
Location: golpo.net
Posts: 931
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TomasDR
I have a related question but I am not looking to change them but ask why.Any ideas?
HELLO man..

mybe need time to get the anser
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:18 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04695 seconds
  • Memory Usage 2,313KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete