Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Spider Display Details »»
Spider Display
Version: 1.0.4, by Boofo Boofo is offline
Developer Last Online: Jun 2012 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.7.x Rating:
Released: 02-23-2008 Last Update: 03-12-2008 Installs: 265
Uses Plugins Template Edits
 
No support by the author.

Spider Display
Version 1.0.4
(By Boofo)

What does this product do?
This Hack displays the Number of Spiders on Forumhome and Who is Online.

If you are using a previous version of this mod, make sure to replace the default vBulletin template lines back into the templates and they are now automatically edited.

Version Information:
Version 1.0.1 --Initial release for vBulletin 3.7
Version 1.0.2 --Fixed MySQL error.
Version 1.0.3 --Fixed the leading comma issue when there were no members online.
Version 1.0.4 --Template edits now done automatically. No more manual template edits.

Credits:
A big thank you goes out to Andreas for coming up with the original code for this for 3.5.4. It now works in 3.7.

Installation overview:
Products to install: (1)
File Edits: (See the NOTE below)

Installation Instructions:
1. Upload spiders_vbulletin.xml to the includes/xml directory on your site.

2. Go to your Admin CP
Scroll down to 'Plugin System'
Click 'Manage Products'
Click 'Add/Import Product'
Click the 'Browse' button, and locate the product-spiderdisplay.xml file on your computer

Done!
Enjoy!

NOTE: There is one file edit that I have not found a way to get around yet. It is a special template cache that must be used with this. The easiest way to do it is add the file edit to the includes/config.php. Since this file does not change as often, you should be fine on most upgrades. This is the ONLY file edit.

NOTE: If you do not click install, you do not need support.

Show Your Support

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

Comments
  #42  
Old 02-25-2008, 04:40 AM
ChurchMedia's Avatar
ChurchMedia ChurchMedia is offline
 
Join Date: Dec 2002
Location: Las Cruces, NM
Posts: 473
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool! I just had to uninstall the 3.6 version. I'll install this tomorrow. Keep pumping them out, Boofo!
Reply With Quote
  #43  
Old 02-25-2008, 12:46 PM
Magnumutz's Avatar
Magnumutz Magnumutz is offline
 
Join Date: Feb 2006
Location: Romania
Posts: 731
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yup... you were right Icy... i had edited the config but forgot to upload it


But now i'm getting this error:
Code:
Database error in vBulletin 3.7.0 Beta 4:

Invalid SQL:

        SELECT useragent
        FROM session
        WHERE lastactivity > 
        AND userid = 0;

MySQL Error   : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND userid = 0' at line 4
Error Number  : 1064
Date          : Monday, February 25th 2008 @ 08:58:56 AM
Script        : http://www.arcademania.ro/
Referrer      : *****
IP Address    : *****
Username      : Unregistered
Classname     : *****
MySQL Version : 
=====================================================
Reply With Quote
  #44  
Old 02-25-2008, 05:11 PM
JD45 JD45 is offline
 
Join Date: Feb 2006
Posts: 138
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Magnumutz View Post
Yup... you were right Icy... i had edited the config but forgot to upload it


But now i'm getting this error:
Code:
Database error in vBulletin 3.7.0 Beta 4:

Invalid SQL:

        SELECT useragent
        FROM session
        WHERE lastactivity > 
        AND userid = 0;

MySQL Error   : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND userid = 0' at line 4
Error Number  : 1064
Date          : Monday, February 25th 2008 @ 08:58:56 AM
Script        : http://www.arcademania.ro/
Referrer      : *****
IP Address    : *****
Username      : Unregistered
Classname     : *****
MySQL Version : 
=====================================================
I was getting the SAME exact error as well. I had to remove this and it went away. Something with the config.php mod perhaps?
Reply With Quote
  #45  
Old 02-25-2008, 05:26 PM
Magnumutz's Avatar
Magnumutz Magnumutz is offline
 
Join Date: Feb 2006
Location: Romania
Posts: 731
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Donno for sure... Boofo's gotta help us out
Reply With Quote
  #46  
Old 02-25-2008, 05:30 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What exact code are you putting in the config.php and exactly where?
Reply With Quote
  #47  
Old 02-25-2008, 05:42 PM
JD45 JD45 is offline
 
Join Date: Feb 2006
Posts: 138
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
if(THIS_SCRIPT == 'index')
{
global $specialtemplates;
$specialtemplates = array_merge($specialtemplates, array('wol_spiders'));
}
Right before the closing php tag.
Reply With Quote
  #48  
Old 02-25-2008, 05:48 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What version of MySQL and PHP is your server using?

And move the code above the bottom box.
Reply With Quote
  #49  
Old 02-25-2008, 05:52 PM
Magnumutz's Avatar
Magnumutz Magnumutz is offline
 
Join Date: Feb 2006
Location: Romania
Posts: 731
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've got
Code:
if(THIS_SCRIPT == 'index')
{
global $specialtemplates;
$specialtemplates = array_merge($specialtemplates, array('wol_spiders'));
}
Before the bottom box.

PHP 4.4.6 & MySQL 4.1.22.
Reply With Quote
  #50  
Old 02-25-2008, 07:11 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try uninstalling it and re-installing it again.
Reply With Quote
  #51  
Old 02-25-2008, 07:48 PM
Bounce's Avatar
Bounce Bounce is offline
 
Join Date: Mar 2004
Location: Edinburgh,Scotland
Posts: 919
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had same database error and had to remove the hack

code was before the end box in config

PHP 5.2.5 - MySQL Version 5.0.45
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 02:10 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.04966 seconds
  • Memory Usage 2,314KB
  • 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
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)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