vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - Spider Display (https://vborg.vbsupport.ru/showthread.php?t=171322)

Boofo 02-23-2008 10:00 PM

Spider Display
 
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.

Guest210212002 02-24-2008 11:09 AM

/me clicks install

game.over 02-24-2008 11:44 AM

Thank you:up:

Sofia 02-24-2008 11:52 AM

Hi Boofo :) How are you?

Thank you for this hack ;)

Boofo 02-24-2008 12:41 PM

Quote:

Originally Posted by Sofia (Post 1449862)
Hi Boofo :) How are you?

Thank you for this hack ;)

Hello there, young lady. I'm great, how are you? ;)

This is one of those hacks I was telling you about the other night. And you're very welcome. ;)

Jase2 02-24-2008 01:28 PM

This feature is built in 3.7 right?

ACP --> vBulletin Options --> Who's online Options --> Enable Spider Display (yes/no).


Regards Jason :0

Boofo 02-24-2008 01:39 PM

You won't see the number of spiders on the Forumhome or Who's Online with just that enabled.

And you know I knew about that, right?

safakuygur 02-24-2008 02:16 PM

Thank you

Boofo 02-24-2008 02:18 PM

Quote:

Originally Posted by safakuygur (Post 1449946)
Thank you

You're very welcome.

Don't forget the install button in case there are any updates.

Forum Lover 02-24-2008 02:18 PM

Quote:

Originally Posted by Boofo (Post 1449931)
You won't see the number of spiders on the Forumhome or Who's Online with just that enabled.

And you know I knew about that, right?

And I know, he knew that u know bout that. :P nice hack.

Boofo 02-24-2008 02:20 PM

I hope so as I have never released a hack that was a default vb feature. Maybe I should check them all right now. :eek:

Forum Lover 02-24-2008 02:28 PM

Boofo, chill man. I just rhymed it up a little in a stupid way. Personally I don't know jase2 and didn't find it out as default in vB too.

ctbo 02-24-2008 02:29 PM

This works with 3.6.8?

SwollenCranium 02-24-2008 02:40 PM

Quote:

Originally Posted by Boofo (Post 1449949)
I hope so as I have never released a hack that was a default vb feature. Maybe I should check them all right now. :eek:

Buying a hat must be difficult for you, huh? :D

Magnumutz 02-24-2008 02:56 PM

Very nice hack... one question though:
Does it add any queries?

Boofo 02-24-2008 03:08 PM

Quote:

Originally Posted by Forum Lover (Post 1449954)
Boofo, chill man. I just rhymed it up a little in a stupid way. Personally I don't know jase2 and didn't find it out as default in vB too.

Can we say "humor?" ;)
Quote:

Originally Posted by ctbo (Post 1449955)
This works with 3.6.8?

Yes.
Quote:

Originally Posted by SwollenCranium (Post 1449962)
Buying a hat must be difficult for you, huh?

I don't wear hats, but saying I don't do hacks that are already vb defaults is not bragging, I wouldn't think. ;)
Quote:

Originally Posted by Magnumutz (Post 1449969)
Very nice hack... one question though:
Does it add any queries?

1 query on the forumhome.

Icy 02-24-2008 03:22 PM

Installed :D

Boofo 02-24-2008 03:23 PM

I was wondering when you were gonna see this. ;)

mariocaz 02-24-2008 03:38 PM

Quote:

Originally Posted by ctbo (Post 1449955)
This works with 3.6.8?

Same question. :)

Icy 02-24-2008 03:45 PM

Hehe :p Anyway for those who are using TMS :D

mariocaz: He said YES two posts above of your post :)

Boofo 02-24-2008 04:03 PM

How do you know I'm a he? ;)

Icy 02-24-2008 04:12 PM

Quote:

Originally Posted by Boofo (Post 1450035)
How do you know I'm a he? ;)

Quote:

Real name: Bob
:p Or I'm wrong? :eek:

mariocaz 02-24-2008 04:19 PM

Ok I will give it a try.

Thanx a lot.

Boofo 02-24-2008 04:47 PM

What's to try?

And please click the install button and turn off the lights on your way out. Thank you. ;)

mariocaz 02-24-2008 04:56 PM

Bofo,

Sorry for my bad english, I didn“t understand this:

"turn off the lights on your way out. Thank you."

And I will install your nice mod right now

projectego 02-24-2008 05:04 PM

[high]* projectego clicks install :)[/high]

Boofo 02-24-2008 05:17 PM

Quote:

Originally Posted by mariocaz (Post 1450078)
Bofo,

Sorry for my bad english, I didn?t understand this:

"turn off the lights on your way out. Thank you."

And I will install your nice mod right now

It was my apprarently bad attempt at a little American humor. :o

mariocaz 02-24-2008 05:21 PM

Jejeje ok no problem

My friend, why do you put in the Mod package two xml files?, because I see in the install instructions that only we have to use one or am I wrong ?

Boofo 02-24-2008 05:25 PM

The spiders_vbulletin.xml goes in the includes/xml directory. That is the listing of spiders so the names show up. I just threw that in as it is the latest version of the spiders listing right now.

mariocaz 02-24-2008 05:32 PM

and another little thing, the code that we have to add in includes/cinfig.php, is after or before this part:

Code:

/*======================================================================*\
|| ####################################################################
|| # Downloaded: 17:06, Fri Feb 15th 2008
|| # CVS: $RCSfile$ - $Revision: 16258 $
|| ####################################################################
\*======================================================================*/

I think Before, but want to ask to be sure.

Thank you

Bounce 02-24-2008 05:33 PM

nice one B .. installed :up:

Boofo 02-24-2008 05:42 PM

Quote:

Originally Posted by mariocaz (Post 1450111)
and another little thing, the code that we have to add in includes/cinfig.php, is after or before this part:

Code:

/*======================================================================*\
|| ####################################################################
|| # Downloaded: 17:06, Fri Feb 15th 2008
|| # CVS: $RCSfile$ - $Revision: 16258 $
|| ####################################################################
\*======================================================================*/

I think Before, but want to ask to be sure.

Thank you

Yes, before the box, but as long as it is before the ?> at the end, it really doesn't matter. ;)

mariocaz 02-24-2008 05:55 PM

Thank you a lot,

Installed and working great in my 3 templates in my VB 3.6.8 pl2

Taragon 02-24-2008 06:03 PM

thanks! installed

Taragon 02-24-2008 06:17 PM

Boofo,

When there's noone online except for the spider, it shows on forumhome as ", Spider" instead of "Spider".
This also happened including the last edits of this mod: https://vborg.vbsupport.ru/showthread.php?t=119134

Boofo 02-24-2008 06:58 PM

Looking into it now.

Big Boss 02-24-2008 08:06 PM

Boofo, you ARE the man! :D Thanks a lot for the product release, been waiting for this.

Boofo 02-24-2008 08:09 PM

I take it you got the PM. You're very welcome, sir. ;)

Magnumutz 02-25-2008 12:24 AM

Ok, just installed this. But i got a problem: On the forumhome it shows no spiders, but when i go to the who's online page, it shows google spiders. Why?

Icy 02-25-2008 04:39 AM

Quote:

Originally Posted by Taragon (Post 1450141)
When there's noone online except for the spider, it shows on forumhome as ", Spider" instead of "Spider".
This also happened including the last edits of this mod: https://vborg.vbsupport.ru/showthread.php?t=119134

Try revarting your template "forumhome_loggedinuser"
Quote:

Originally Posted by Magnumutz (Post 1450361)
Ok, just installed this. But i got a problem: On the forumhome it shows no spiders, but when i go to the who's online page, it shows google spiders. Why?

I think you forgot to edit your "./includes/config.php"


All times are GMT. The time now is 06: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.01818 seconds
  • Memory Usage 1,816KB
  • 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
  • (2)bbcode_code_printable
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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