|
Joined: Oct 2001
Posts: 19
Junior Member
|
Junior Member
Joined: Oct 2001
Posts: 19 |
Hello i started modifying my files and when i got to ubb_forum_summery i was told to find: $ThisHTML =~ s//$replace/g unless $in{category}; 3 TIMES
and i dont have this line at all and i do have who's online hack installed.
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Find this instead.
print "$ThisHTML";
Three times. One of them will have exit; at the end of it.
|
|
|
|
Joined: Oct 2001
Posts: 19
Junior Member
|
Junior Member
Joined: Oct 2001
Posts: 19 |
I got these but what i suppose to do now? i need to keep hacking it as normal? to put the new lins under it?
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Post here what you have to do to the line, and I'll help you.
|
|
|
|
Joined: Oct 2001
Posts: 19
Junior Member
|
Junior Member
Joined: Oct 2001
Posts: 19 |
this is the instructions for ubb_form_summery:
Find: =====
$ThisHTML =~ s//$replace/g unless $in{category};
Add below: ==========
$ThisHTML =~ s//$ChatHTML/g; $ThisHTML =~ s//$invitehtml/;
Find (again): =============
$ThisHTML =~ s//$replace/g unless $in{category};
Add below: ==========
$ThisHTML =~ s//$ChatHTML/g; $ThisHTML =~ s//$invitehtml/;
Find (for the last time): =========================
$ThisHTML =~ s//$replace/g unless $in{category};
Add below: ==========
$ThisHTML =~ s//$ChatHTML/g; $ThisHTML =~ s//$invitehtml/;
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Do this: Find: ===== print "$ThisHTML"; Add ABOVE: ========== $ThisHTML =~ s//$ChatHTML/g; $ThisHTML =~ s//$invitehtml/; Find (again): ============= print "$ThisHTML"; Add ABOVE: ========== $ThisHTML =~ s//$ChatHTML/g; $ThisHTML =~ s//$invitehtml/; Find (for the last time): ========================= print "$ThisHTML"; exit; Add ABOVE: ========== $ThisHTML =~ s//$ChatHTML/g; $ThisHTML =~ s//$invitehtml/; Hope that works.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Not really LD, there is a reason the requirements state 'Who's Online 3.9Qa', it uses it for other stuff as well, so it's not recommended. If you don't want to use the counter, don't edit ubb_forum(_summary) at all and modify ubb_chat.cgi/public_forum_summary.pl a little.
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Ahh, Well I only posted that because in the WOL instructions you need to paste the line you need to find in the Chat mod instructions above. Forgot that you needed WOL for it to say how many people are in the chat. Sorry...
|
|
|
|
Joined: Oct 2001
Posts: 19
Junior Member
|
Junior Member
Joined: Oct 2001
Posts: 19 |
But i want to use the counter, it tells me who's inside the chat. and yes i have who's online and i still dont have this line do you know why? or what i can do?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
If you used ultimatebb_whos_online_install.cgi to install WOL, get the files from the server before hacking (not only forum summary/forum page.cgi/pl, also ultimatebb and maybe some other files)
|
|
|
|
Joined: Oct 2001
Posts: 19
Junior Member
|
Junior Member
Joined: Oct 2001
Posts: 19 |
i downloaded all files before hacking, can i send the files to you so you can see the problem?
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 254
Joined: January 2000
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|