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.

Boofo 06-02-2005 06:04 AM

Is there a chance this might work with vBAdvanced or does it only work with the CMPS?

amykhar 06-02-2005 10:23 AM

No clue. Try it and see :)

Amy

dsboyce8624 06-02-2005 03:09 PM

Quote:

Originally Posted by Boofo
Is there a chance this might work with vBAdvanced or does it only work with the CMPS?

Works great.

Gemma 06-04-2005 06:28 PM

Amy this worked great wit vba CMPS 1.01

Any ideas how to get it showing the number of spiders from vba CMPS 2? :)

amykhar 06-04-2005 08:05 PM

Quote:

Originally Posted by darkworld
Amy this worked great wit vba CMPS 1.01

Any ideas how to get it showing the number of spiders from vba CMPS 2? :)

You're kidding, right? I had no idea there was such an animal.

Amy

kall 06-04-2005 08:58 PM

Quote:

Originally Posted by darkworld
Amy this worked great wit vba CMPS 1.01

Any ideas how to get it showing the number of spiders from vba CMPS 2? :)

Just do exactly as you did to get it working on 1.0 and 1.01.

Gemma 06-04-2005 11:05 PM

Quote:

Originally Posted by amykhar
You're kidding, right? I had no idea there was such an animal.

Amy

Nope vba 2 RC1 was released last night :)

Quote:

Originally Posted by kall
Just do exactly as you did to get it working on 1.0 and 1.01.

Doesn't work for me,I have tried placing the code in the includes/vba_cmps_includes_template.php file and editing the template but it doesn't show the number of spiders.I get this now -

13 members and 8 guests and spiders

Have I missed something?

amykhar 06-04-2005 11:14 PM

Did you reupload my copy of the module? I didn't even need to change the vba_cmps_includes_template.php file when I installed just now. I simply changed the onlineusers template and reuploaded my copy of the module and it's working.

Amy

Gemma 06-04-2005 11:45 PM

Thank You Amy.

I was sure I had re-uploaded your version of onlineusers to my site.Obviously not! Works now :rolleyes: :confused:

Gemma


EDIT: it is showing the number of spiders now but is also showing double for the stats :(

8 members and 0 guests and 2 spiders whien I only have -

4 members and 0 guests and 1 spiders (this may be a CMPS fault though because WOL shows okey everywhere else)

Any ideas?

dsboyce8624 06-04-2005 11:53 PM

Quote:

Originally Posted by amykhar
You're kidding, right? I had no idea there was such an animal.

Amy

It's new, and technically still in beta.

kall 06-05-2005 12:42 AM

Quote:

Originally Posted by darkworld
Thank You Amy.

I was sure I had re-uploaded your version of onlineusers to my site.Obviously not! Works now :rolleyes: :confused:

Gemma


EDIT: it is showing the number of spiders now but is also showing double for the stats :(

8 members and 0 guests and 2 spiders whien I only have -

4 members and 0 guests and 1 spiders (this may be a CMPS fault though because WOL shows okey everywhere else)

Any ideas?

Ahh yes, I am experiencing that too..hadn't noticed until now.

divided_by_fear 10-29-2005 04:24 AM

yeah mine still aint showing the number of spiders it just shows this 1 members and 0 guests and spiders but i think this could be cause there index page has changed and them codes aint in there no more

amykhar 10-29-2005 01:14 PM

Kall, this mod is for 3.0, not 3.5 ;) of course it doesn't work on your site.

kall 10-29-2005 07:44 PM

Quote:

Originally Posted by amykhar
Kall, this mod is for 3.0, not 3.5 ;) of course it doesn't work on your site.

*boggles*

Given that Beta 1 wasn't released until 5 days after I posted that... I am fairly sure I would have been running 3.0.x at that point. ;)

amykhar 10-29-2005 10:36 PM

oops. Sorry :blush: I didn't see the date.


All times are GMT. The time now is 04:52 PM.

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.01278 seconds
  • Memory Usage 1,773KB
  • 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
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (25)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete