Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

Reply
 
Thread Tools
My Spiders Online Hack Working With CMPS Details »»
My Spiders Online Hack Working With CMPS
Version: 1.00, by amykhar amykhar is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 05-31-2005 Last Update: 05-31-2005 Installs: 10
 
No support by the author.

Finally! :whew: This is the portal integration with this hack:

https://vborg.vbsupport.ru/showthread.php?t=75986

Forgive me for this, but I'm just going to upload the modified module code and post the one line change you need to make in global.php. I think that will make it easier for all of us.

In global.php Find (the special templates array in the CMPS section:

Code:
	$specialtemplates = array_merge($specialtemplates, 

		array(
			'adv_modules',
			'adv_portal_opts',
			'attachmentcache',
			'bbcodecache',
			'birthdaycache',
			'eventcache',
			'iconcache',
			'maxloggedin',
			'smiliecache',
			'userstats'
Add After:
Code:
,'wol_spiders'
Then, upload this revised onlineusers.php to your modules directory.

Finally, make the following change to your adv_portal_onlineusers template:

Find:
Code:
<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>
Replace with:
Code:
<phrase 1="$numberregistered" 2="$numberguest" 3="$numberspiders">$vbphrase[x_members_and_y_guests]</phrase>

I believe this will work on your portal home page even if you do not have my original hack installed.

Show Your Support

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

Comments
  #2  
Old 06-01-2005, 05:21 AM
dsboyce8624 dsboyce8624 is offline
 
Join Date: May 2005
Location: New Jersey
Posts: 413
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, it shows the spiders names now, but it doesn't show a number in the heading:

2 members, 0 guests and spiders

Thanks for working on it, a bunch of us are appreciative.

Dennis
Reply With Quote
  #3  
Old 06-01-2005, 06:30 AM
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Location: New Zealand
Posts: 2,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, it does work...you have to make the change to adv_portal_onlineusers (obviously) to get it to work.

www.nzboards.com (lower right)



*edit* No install button.
Reply With Quote
  #4  
Old 06-01-2005, 10:10 AM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dsboyce8624
Okay, it shows the spiders names now, but it doesn't show a number in the heading:

2 members, 0 guests and spiders

Thanks for working on it, a bunch of us are appreciative.

Dennis
Dennis, given that you are already having problems with the quiz hack, do you think it's wise to be installing anything else until you get that fixed? Part of fixing bugs is making sure you only change one thing at a time so that you can isolate and fix problems.
Reply With Quote
  #5  
Old 06-01-2005, 01:29 PM
dsboyce8624 dsboyce8624 is offline
 
Join Date: May 2005
Location: New Jersey
Posts: 413
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kall
No, it does work...you have to make the change to adv_portal_onlineusers (obviously) to get it to work.
(
What's "The Change?" I must have missed that.

If you mean the one suggested in the other hack thread, I did that.

Dennis

Quote:
Originally Posted by amykhar
Dennis, given that you are already having problems with the quiz hack, do you think it's wise to be installing anything else until you get that fixed? Part of fixing bugs is making sure you only change one thing at a time so that you can isolate and fix problems.
The quiz hack is working fine for my users, I don't know why it runs weird for me.
Reply With Quote
  #6  
Old 06-01-2005, 01:34 PM
blueuniverse blueuniverse is offline
 
Join Date: Jul 2004
Location: UK
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dsboyce8624
Okay, it shows the spiders names now, but it doesn't show a number in the heading:

2 members, 0 guests and spiders

Thanks for working on it, a bunch of us are appreciative.

Dennis
Same problem and before you ask I have edited the adv_portal_onlineusers file. As far as I know it shows up fine with spiders online but when they aren't (ie on my test board) it just says spiders instead of 0 spiders.
Reply With Quote
  #7  
Old 06-01-2005, 01:36 PM
dsboyce8624 dsboyce8624 is offline
 
Join Date: May 2005
Location: New Jersey
Posts: 413
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay I played and got it.

In the other thread it says to add $numspiders and it should be $numberspiders.

Working fine now. You might wanna add that to the first post Amy, when you add the install button.

Thanks a bunch for the great work.

Dennis
Reply With Quote
  #8  
Old 06-01-2005, 01:42 PM
blueuniverse blueuniverse is offline
 
Join Date: Jul 2004
Location: UK
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, sorted for me as well.
Reply With Quote
  #9  
Old 06-01-2005, 11:51 PM
TTG's Avatar
TTG TTG is offline
 
Join Date: May 2004
Location: Sth London
Posts: 1,042
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Amykhar .. works well
Reply With Quote
  #10  
Old 06-02-2005, 12:06 AM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TTG
Thanks Amykhar .. works well
Good to know. This one was a pain in the patooty to do because it's been so long since I installed the portal that I forgot that it had bits of code in global.php. Took me forever and a day to figure out why it wasn't working.
Reply With Quote
Reply

Thread Tools

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 07:23 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.05157 seconds
  • Memory Usage 2,294KB
  • Queries Executed 23 (?)
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
  • (5)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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