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

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

Category: Forum Home Enhancements - Version: 3.6.0 Rating:
Released: 06-19-2006 Last Update: Never Installs: 267
Template Edits
Code Changes  
No support by the author.

Show the spiders browsing your board in the What's Going On box of your Forum Home Page.

This is, unfortunately, still a code mod. The code to find is different in 3.6 and I have updated accordingly.

I have not included directions to use this with any portals.

Show Your Support

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

Comments
  #82  
Old 09-07-2006, 02:10 PM
vwdforum vwdforum is offline
 
Join Date: Jun 2006
Posts: 179
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TLove
Try this

Excellent!

Works just fine, shame not having the numbers on the home page but I can live with that!!

Mal
Reply With Quote
  #83  
Old 09-07-2006, 08:58 PM
mac27 mac27 is offline
 
Join Date: Jun 2006
Location: Kentucky
Posts: 299
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So can you color the spiders or make them a group. I was thinking of adding them to my legend that shows who is online.
Reply With Quote
  #84  
Old 09-07-2006, 09:01 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can, but you have to modify the code. If you know how to code, yell and I'll point you to the section you would need to work in.
Reply With Quote
  #85  
Old 09-11-2006, 04:48 AM
Zia's Avatar
Zia Zia is offline
 
Join Date: Dec 2005
Location: golpo.net
Posts: 931
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

by the way..spiders visited today..can it be listed in "Users visited Today" block and "show spider browsing thread" too?
Reply With Quote
  #86  
Old 09-11-2006, 04:50 AM
mac27 mac27 is offline
 
Join Date: Jun 2006
Location: Kentucky
Posts: 299
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Amy I don't want to yell to loud. LOL Thanks and yes could you point me in that direction.
Reply With Quote
  #87  
Old 09-14-2006, 04:15 PM
Ronak's Avatar
Ronak Ronak is offline
 
Join Date: Sep 2006
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

gr8 mod...Installed
Reply With Quote
  #88  
Old 09-14-2006, 07:28 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zia
by the way..spiders visited today..can it be listed in "Users visited Today" block and "show spider browsing thread" too?
Yes, it can be done, and I had it done on my site at one point. I'll look into putting it back on my site and then will add it into the install directions here.
Reply With Quote
  #89  
Old 09-14-2006, 07:34 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you want colored spider names (and I'm NOT supporting this part) here's what you do:

Find:
Code:
 while ($spidername = current($spiderlist))
  {
  if ($spidername > 1) {
  $loggedin['musername'] = trim(key($spiderlist)) . "(" . $spidername.")";
  }
  else
  {
  $loggedin['musername'] = trim(key($spiderlist));
  }
  $loggedin['userid'] = 0;
  eval('$activeusers .= ", ' . fetch_template('forumhome_loggedinuser') . '";');
  next($spiderlist);
  }
Replace it with (for example):
Code:
 while ($spidername = current($spiderlist))
  {
  switch($spidername)
  {
    case "Google": $spidername = "<span style='color:blue;'>$spidername</span>";
    break;
    case "Yahoo": $spidername = "<span style='color:red;'>$spidername</span>";
    break;
  }
  if ($spidername > 1) {
  $loggedin['musername'] = trim(key($spiderlist)) . "(" . $spidername.")";
  }
  else
  {
  $loggedin['musername'] = trim(key($spiderlist));
  }
  $loggedin['userid'] = 0;
  eval('$activeusers .= ", ' . fetch_template('forumhome_loggedinuser') . '";');
  next($spiderlist);
  }
Of course, you will have to look at the exact spider names and decide what colors you want the spider to be. The code I posted is just a general idea of how to go about it.
Reply With Quote
  #90  
Old 09-15-2006, 02:32 PM
rob30UK rob30UK is offline
 
Join Date: Oct 2005
Location: UK
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would be most grateful for this hack, but feel there must be a way without edits.

Has anyone any idea how this can be ported to require no code changes.
Reply With Quote
  #91  
Old 09-16-2006, 08:38 AM
mcyates mcyates is offline
 
Join Date: Jan 2003
Location: Middlesbrough, Cleveland
Posts: 798
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this does not work with vbulletin version 3.6.1.
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:17 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.04612 seconds
  • Memory Usage 2,310KB
  • 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
  • (2)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