Page Index Toggle Pages: 1 2 [3] 4 5  Send TopicPrint
Very Hot Topic (More than 25 Replies) Whoson mod 1.2.2 for SP1.2 (Read 35010 times)
LoonyPandora
God Member
*****
Offline


Daft Cow?

Posts: 1705
Location: London
Joined: Jun 27th, 2002
Gender: Male
Re: Whoson mod 1.2.2 for SP1.2
Reply #30 - Feb 20th, 2003 at 10:13pm
Print Post  
As far as I can tell, what you have done is put your SSI statemener (the include virtual bit) inside a < TD > tag. something like this
Code
Select All
<TABLE CELLPADDING="6" CELLSPACING="6>
<TR><TD>
<!--#include virtual"/cgi-bin/whoson.pl"-->
</TD></TR>
</TABLE> 



however, the code in whoson.pl generates the TR, and TD tags already, so your having a new TR starting, before you've closed the last tag.:

Code
Select All
<TABLE CELLPADDING="6" CELLSPACING="6>
<TR><TD>
<TR><TD>
Whoson info goes here
</TD></TR>
</TD></TR>
</TABLE> 



you can see the problem. you need to put the whoson.pl include line between two table tags, no TD, or TR tags. like this:

Code
Select All
<TABLE CELLPADDING="6" CELLSPACING="6>
<!--#include virtual"/cgi-bin/whoson.pl"-->
</TABLE> 



then it will work Smiley
  

Apple Technical Support
Code
Select All
#!/usr/bin/perl --
($sig ='ddiissjjttuuffss ddaoouu ssffaee uuiijjtt
jj ssvvmmff auu qqffssmm ttmmaoohhjjoohh nnauuddiifftt')
=~y~b-v~a-z~s;
print $sig; 

Back to top
WWWICQ  
IP Logged
 
EliteAngler
New Member
*
Offline



Posts: 28
Location: Schenectady
Joined: Feb 18th, 2003
Re: Whoson mod 1.2.2 for SP1.2
Reply #31 - Feb 21st, 2003 at 12:12pm
Print Post  
Quote:
#include virtual, and #exec cgi would run that .pl script if you put the path to it. try using exec cgi instead of include virtual. on my host, they wouldn't accept exec cgi, but yours may do.


It worked!

Thanks Dude, love the mod
  
Back to top
WWW  
IP Logged
 
LoonyPandora
God Member
*****
Offline


Daft Cow?

Posts: 1705
Location: London
Joined: Jun 27th, 2002
Gender: Male
Re: Whoson mod 1.2.2 for SP1.2
Reply #32 - Feb 21st, 2003 at 2:30pm
Print Post  
No worries, glad it works for you  8)
  

Apple Technical Support
Code
Select All
#!/usr/bin/perl --
($sig ='ddiissjjttuuffss ddaoouu ssffaee uuiijjtt
jj ssvvmmff auu qqffssmm ttmmaoohhjjoohh nnauuddiifftt')
=~y~b-v~a-z~s;
print $sig; 

Back to top
WWWICQ  
IP Logged
 
Pigdish
Junior Member
**
Offline


I love YaBB 1G - SP1.2!

Posts: 69
Joined: Feb 20th, 2003
Re: Whoson mod 1.2.2 for SP1.2
Reply #33 - Feb 27th, 2003 at 12:52am
Print Post  
Hi

I am trying to install this mod but get this error on Step #3.  The mod is looking for this string in the english.Ing file.

$txt{'799'} = "is not a member, so that user can't be a moderator.";

I looked in the english.Ing file and obviously it was not there.  The last number is $txt{'796'}

Any help would be appreciated in getting this mod running.

Thanks in advance.
  
Back to top
 
IP Logged
 
LoonyPandora
God Member
*****
Offline


Daft Cow?

Posts: 1705
Location: London
Joined: Jun 27th, 2002
Gender: Male
Re: Whoson mod 1.2.2 for SP1.2
Reply #34 - Feb 27th, 2003 at 1:02am
Print Post  
You are obviously running YaBB SP1.1. This version of the mod is for SP1.2.

please download the SP1.1 version from this location:
http://boardmod.yabbforum.com/mods.php?searchfor=whoson_mod_122.zip

it works in exactly the same way, but is made for SP1.1.
  

Apple Technical Support
Code
Select All
#!/usr/bin/perl --
($sig ='ddiissjjttuuffss ddaoouu ssffaee uuiijjtt
jj ssvvmmff auu qqffssmm ttmmaoohhjjoohh nnauuddiifftt')
=~y~b-v~a-z~s;
print $sig; 

Back to top
WWWICQ  
IP Logged
 
sight|i|picture
Guest


Re: Whoson mod 1.2.2 for SP1.2
Reply #35 - Mar 3rd, 2003 at 2:11am
Print Post  
Does this work with the .cgi Yabb SP 1.2 boards as well?

I have tried all the steps and I can't get my test.shtml page to work.

here is my path to my test.shtml page:
http://www.lanparytnw.com/test.shtml

I tried full paths and the file as well.

Any help would be great
  
Back to top
 
IP Logged
 
sight|i|picture
Guest


Re: Whoson mod 1.2.2 for SP1.2
Reply #36 - Mar 3rd, 2003 at 3:43am
Print Post  
  
Back to top
 
IP Logged
 
Christer Alexander
God Member
*****
Offline


Make my day...

Posts: 3443
Location: Lethbridge
Joined: Feb 10th, 2002
Gender: Male
Re: Whoson mod 1.2.2 for SP1.2
Reply #37 - Mar 3rd, 2003 at 3:43am
Print Post  
Hey, Loony, you shouldn't make mods search and add after specific language strings in english.lng...

for some reason, that's not practice Wink
Try searching and adding before the
Code
Select All
if($MenuType == 1) {  

line Smiley
  

Code
Select All
unless(0) { stab("LoonyPandora"); next; } 

Back to top
IP Logged
 
LoonyPandora
God Member
*****
Offline


Daft Cow?

Posts: 1705
Location: London
Joined: Jun 27th, 2002
Gender: Male
Re: Whoson mod 1.2.2 for SP1.2
Reply #38 - Mar 4th, 2003 at 12:07am
Print Post  
Yeah, I noticed a lot of more recent mods used that line.

When I made this mod though, most people used 'txt{'796'}' as their search string, so I just copied them.

I'll change it for the next version Smiley

sight|i|picture:
The mod is working. look here:
http://www.lanpartynw.com/cgi-bin/yabb/whoson.pl?info=ShowAll

you must have the wrong path set in your SSI statements. the error you are getting on the test.shtml page means That the file the SSI statement is looking for, isn't there.

Try putting in the path like this "/cgi-bin/yabb/whoson.pl?info=ShowAll" More information about paths and troubleshooting them is in the readme file. Smiley
  

Apple Technical Support
Code
Select All
#!/usr/bin/perl --
($sig ='ddiissjjttuuffss ddaoouu ssffaee uuiijjtt
jj ssvvmmff auu qqffssmm ttmmaoohhjjoohh nnauuddiifftt')
=~y~b-v~a-z~s;
print $sig; 

Back to top
WWWICQ  
IP Logged
 
sight|i|picture
Guest


Re: Whoson mod 1.2.2 for SP1.2
Reply #39 - Mar 4th, 2003 at 3:22am
Print Post  
I have tried everything on your readme file.

I have tried even to do relative and obsolute paths as well:

<!--#include virtual="cgi-bin/yabb/whoson.pl?info=ShowAll" -->
<!--#include virtual="http://www.lanpartynw.com/cgi-bin/yabb/whoson.pl?info=ShowAll" -->

I use .shtml on all my pages now. But, they are .html and .htm files that are parsed into the .shtml files. I wonder if that has anything to do with it? These not being .htm files and being .pl files being called out.

I don't know I guess I can try the #exec cgi trick.
  
Back to top
 
IP Logged
 
LoonyPandora
God Member
*****
Offline


Daft Cow?

Posts: 1705
Location: London
Joined: Jun 27th, 2002
Gender: Male
Re: Whoson mod 1.2.2 for SP1.2
Reply #40 - Mar 4th, 2003 at 3:31am
Print Post  
Quote:
<!--#include virtual="cgi-bin/yabb/whoson.pl?info=ShowAll" -->


the path should begin with a / for paths like that. it would be a good idea to try exec cgi. or perhaps even using PHP if all else fails.

We do know that the mod is functioning correctly, as you can see by calling it direct, so it must be something in the SSI statement. Just keep trying different things I guees Undecided
  

Apple Technical Support
Code
Select All
#!/usr/bin/perl --
($sig ='ddiissjjttuuffss ddaoouu ssffaee uuiijjtt
jj ssvvmmff auu qqffssmm ttmmaoohhjjoohh nnauuddiifftt')
=~y~b-v~a-z~s;
print $sig; 

Back to top
WWWICQ  
IP Logged
 
Stephen Brown
Guest


Re: Whoson mod 1.2.2 for SP1.2
Reply #41 - Mar 13th, 2003 at 5:42am
Print Post  
Code
Select All
########## Insert Newcalendar Stuff ##########
sub CalStuff {
if(-e("$sourcedir/Newcalendar.pl"))	{
print qq~
 <TR>
    <TD CLASS="titlebg" BGCOLOR="$color{'titlebg'}" HEIGHT="15"><FONT SIZE="$headerfontsize">» <B>$whotxt{'16'}</B></FONT>
    </TD>
  </TR>
  <TR>
    <TD CLASS="windowbg2" BGCOLOR="$color{'windowbg2'}" VALIGN="top">
	<FONT SIZE="$textfontsize">
~;
require "$sourcedir/Newcalendar.pl";
&WhosCal;
	print qq~
		<BR>
	</FONT>
    </TD>
  </TR>
~;
}
1;
} 



Should it be

Code
Select All
require "$sourcedir/NewcalIndex.pl";
&WhosCal; 



It seemed to work for me, but is that ok?
  
Back to top
 
IP Logged
 
LoonyPandora
God Member
*****
Offline


Daft Cow?

Posts: 1705
Location: London
Joined: Jun 27th, 2002
Gender: Male
Re: Whoson mod 1.2.2 for SP1.2
Reply #42 - Mar 13th, 2003 at 10:20am
Print Post  
Yeah, that is ok. there is a new version of the NewCalendar mod that puts the bit of code you need to access in a different file.

If you can just change the bits where it says Newcalendar.pl to NewcalIndex.pl it will be fine. The other HTMl code generates the header part that says 'Upcoming events' the other HTML part closes all the tags.

the if(-e("$sourcedir..... bit at the top simply checks to see if the NewCalendar is installed. if this line isn't in, and the newcalendar isn't installed, the mod will not work. this check ensures that only the calendar bit doesn't work if it's not installed.
  

Apple Technical Support
Code
Select All
#!/usr/bin/perl --
($sig ='ddiissjjttuuffss ddaoouu ssffaee uuiijjtt
jj ssvvmmff auu qqffssmm ttmmaoohhjjoohh nnauuddiifftt')
=~y~b-v~a-z~s;
print $sig; 

Back to top
WWWICQ  
IP Logged
 
TimkenMaster
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 1
Location: Canton
Joined: Mar 13th, 2003
Gender: Male
Re: Whoson mod 1.2.2 for SP1.2
Reply #43 - Mar 13th, 2003 at 7:49pm
Print Post  
Thanks, before I had an error message that the whoscal subroutine could not be found, so i just changed it to newcalindex it was the only file that I could find it in. Wink
  
Back to top
WWW  
IP Logged
 
EliteAngler
New Member
*
Offline



Posts: 28
Location: Schenectady
Joined: Feb 18th, 2003
Re: Whoson mod 1.2.2 for SP1.2
Reply #44 - Mar 30th, 2003 at 6:04pm
Print Post  
I have chat and bannerads as well as several other mods installed, but when I select show chat info from the whoson settings in the admin center, It also displays my banner that I displaying using the bannerads mod, not to mention that the "Join Chat" link doesn't seem to work either.  Other than this issue the whoson mod seems to work great for me.

Have you heard of anything like this before Loony?

Any direction would be great
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1 2 [3] 4 5 
Send TopicPrint