vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   My Spiders Online Hack Working With CMPS (https://vborg.vbsupport.ru/showthread.php?t=82339)

amykhar 05-31-2005 10:00 PM

My Spiders Online Hack Working With CMPS
 
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.

dsboyce8624 06-01-2005 05:21 AM

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

kall 06-01-2005 06:30 AM

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. :(

amykhar 06-01-2005 10:10 AM

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.

dsboyce8624 06-01-2005 01:29 PM

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.

blueuniverse 06-01-2005 01:34 PM

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.

dsboyce8624 06-01-2005 01:36 PM

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

blueuniverse 06-01-2005 01:42 PM

Thanks, sorted for me as well. :)

TTG 06-01-2005 11:51 PM

Thanks Amykhar .. works well :)

amykhar 06-02-2005 12:06 AM

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.


All times are GMT. The time now is 07:54 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.01311 seconds
  • Memory Usage 1,740KB
  • 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
  • (4)bbcode_code_printable
  • (5)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
  • (10)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