![]() |
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, Code:
,'wol_spiders' 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> 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. |
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 |
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. :( |
Quote:
|
Quote:
If you mean the one suggested in the other hack thread, I did that. Dennis Quote:
|
Quote:
|
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 |
Thanks, sorted for me as well. :)
|
Thanks Amykhar .. works well :)
|
Quote:
|
Is there a chance this might work with vBAdvanced or does it only work with the CMPS?
|
No clue. Try it and see :)
Amy |
Quote:
|
Amy this worked great wit vba CMPS 1.01
Any ideas how to get it showing the number of spiders from vba CMPS 2? :) |
Quote:
Amy |
Quote:
|
Quote:
Quote:
13 members and 8 guests and spiders Have I missed something? |
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 |
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? |
Quote:
|
Quote:
|
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
|
Kall, this mod is for 3.0, not 3.5 ;) of course it doesn't work on your site.
|
Quote:
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. ;) |
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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|