Page Index Toggle Pages: 1 [2]  Send TopicPrint
Hot Topic (More than 10 Replies) [SECURITY FIX] Add Smilies 2 SP1/1.1/1.2 (Read 6581 times)
p25fsv
Guest


Re: [SECURITY FIX] Add Smilies 2 SP1/1.1/1.2
Reply #15 - Apr 2nd, 2003 at 1:43pm
Print Post  
BTW here is my post.pl file that im having problems with..


post.pl

:dunce2:
  
Back to top
 
IP Logged
 
Hulk
New Member
*
Offline



Posts: 10
Location: Cologne
Joined: Feb 15th, 2003
Gender: Male
Re: [SECURITY FIX] Add Smilies 2 SP1/1.1/1.2
Reply #16 - Apr 2nd, 2003 at 8:00pm
Print Post  
Hello,

search for the following Source in your post.pl

Code
Select All
				$smilie_code_array .= qq~" [smiley=$line]", ~;
				$i++
			}
		}

	  <td class="windowbg2" bgcolor="$color{'windowbg2'}"><font size="2">
 



Referring to the mod file for SP 1.2 there is a lot of code missing:
Code
Select All
	$smilie_code_array .= qq~" [smiley=$line]", ~;
				$i++
			}
		}

	}
	}
	$smilie_url_array .= qq~""~;
	$smilie_code_array .= qq~""~;

	$yymain .= qq~

	smilieurl = new Array($smilie_url_array)
	smiliecode = new Array($smilie_code_array)

	  if((navigator.appName == "Netscape" && navigator.appVersion.charAt(0) >= 4) || (navigator.appName == "Microsoft Internet Explorer" && navigator.appVersion.charAt(0) >= 4) || (navigator.appName == "Opera" && navigator.appVersion.charAt(0) >= 4)) {

	    document.write('<table height="110" width="120" border="0" cellpadding="1" callspacing="3" bgcolor="$color{'bordercolor'}" align="center"><tr>');
	    document.write('<td height="20" align="center" valign="top" bgcolor="white"><select name="smiliextra_list" onchange="document.images.smiliextra_image.src= smilieurl[document.postmodify.smiliextra_list.value]" style="width:120px; font-size:7pt">');
$smilieslist
	    document.write('</select></td>');
	    document.write('</tr><tr>');
	    document.write('<td align="center" valign="middle" class="windowbg2" bgcolor="$color{'windowbg2'}"><img name="smiliextra_image" src="'+smilieurl[0]+'" alt="" border="0" onclick="javascript:Smiliextra()" style="cursor:hand"></td>');
	    document.write('</tr><tr>');
	    document.write('<td height="15" align="center" valign="middle" class="windowbg2" bgcolor="$color{'windowbg2'}"><font size="1"><a href="javascript:smiliewin()">$smiltxt{'17'}</a></font></td>');
	    document.write('</tr></table>');
	}
	  //-->
	  </script>
	  ~;
}
$yymain .= qq~
	  </td>

	  <td class="windowbg2" bgcolor="$color{'windowbg2'}"><font size="2">
 



I don't know if that is all and I don't know how to fix it. Hard luck. Cry

CU
Ulf
  
Back to top
 
IP Logged
 
p25fsv
Guest


Re: [SECURITY FIX] Add Smilies 2 SP1/1.1/1.2
Reply #17 - Apr 2nd, 2003 at 8:07pm
Print Post  
thx i got it to work  Kiss
  
Back to top
 
IP Logged
 
Hulk
New Member
*
Offline



Posts: 10
Location: Cologne
Joined: Feb 15th, 2003
Gender: Male
Re: [SECURITY FIX] Add Smilies 2 SP1/1.1/1.2
Reply #18 - Apr 2nd, 2003 at 8:16pm
Print Post  
Was the source above the reason?

Ulf
  
Back to top
 
IP Logged
 
Scaper
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 43
Joined: Mar 19th, 2003
Re: [SECURITY FIX] Add Smilies 2 SP1/1.1/1.2
Reply #19 - Apr 10th, 2003 at 1:27am
Print Post  
When will a SP1.3 version be avalable
  
Back to top
 
IP Logged
 
Shoeb Omar
God Member
*****
Offline


Mod Writer

Posts: 5665
Location: San Diego
Joined: Jun 29th, 2001
Gender: Male
Re: [SECURITY FIX] Add Smilies 2 SP1/1.1/1.2
Reply #20 - Apr 10th, 2003 at 9:52pm
Print Post  
Scaper wrote on Apr 10th, 2003 at 1:27am:
When will a SP1.3 version be avalable


sometime next week. Or that's the plan anyway.
  

YaBB SP2 BETA!
Now taking pay jobs in PHP or Perl.  Contact me for details.
Back to top
IP Logged
 
Shoeb Omar
God Member
*****
Offline


Mod Writer

Posts: 5665
Location: San Diego
Joined: Jun 29th, 2001
Gender: Male
Re: [SECURITY FIX] Add Smilies 2 SP1/1.1/1.2
Reply #21 - Apr 13th, 2003 at 1:05pm
Print Post  
  

YaBB SP2 BETA!
Now taking pay jobs in PHP or Perl.  Contact me for details.
Back to top
IP Logged
 
Matt Wilkinson
Guest


Re: [SECURITY FIX] Add Smilies 2 SP1/1.1/1.2
Reply #22 - Jul 18th, 2003 at 7:35am
Print Post  
Hi! I've found a strange problem with the pop up smiley box.

It seems that when you move your cursor toward the pop-up box, the box automatically minimises itself.

It works alright though if you approach the pop-up from the top downward!

Is there a fix for this?
  
Back to top
 
IP Logged
 
BHRA Webmaster
God Member
*****
Offline


Mod Author of the Year
2002

Posts: 5238
Location: BHRA Headquarters
Joined: Jan 18th, 2002
Gender: Male
Re: [SECURITY FIX] Add Smilies 2 SP1/1.1/1.2
Reply #23 - Jul 18th, 2003 at 10:34am
Print Post  
That's the automatic focus capture function of the message textarea (when your mouse passes over the text area, it gets the focus and that window jumps to the top!)

To stop it, look for a mod called "Lost-Focus" (I think), or it's more commonly known as "Stop-Following-My-darn-Mouse"
  


World Domination, one smiley at a time!
Back to top
 
IP Logged
 
Matt Wilkinson
Guest


Re: [SECURITY FIX] Add Smilies 2 SP1/1.1/1.2
Reply #24 - Jul 19th, 2003 at 5:14am
Print Post  
Thanks alot, that's really helpful!

Thumbs Upsup:
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint