Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Post Installation Help
Author Message
s60addict
Worker
Worker



Joined: Jun 11, 2006
Posts: 206
Location: http://www.s60Addict.co.nr

PostPosted: Tue Aug 29, 2006 9:23 am Reply with quote

If a user is logged in and clicks on post reply, he is taken to the normal post reply screen.

In case of firefox, the smilies work fine.

But in Internet Explorer, even if u keep clicking on smilies, the smilie code doesnt apper in the body (where u rite the message to reply).

Also, smilies work fine using quick reply in both browsers!

Im using Advanced Quick Reply Hack (with hide/show) & Advanced BBCode Box hack !

It seems that there is some javascript error.

the internet explorer status bar showed javascript error, when i clicked on it, it said,

"Error: 'baseHeight' is undefined"

I think there is some problem with the advanced bbcode box!

Any help on this?

_________________
The Symbian Addiction 
View user's profile Send private message Visit poster's website
s60addict







PostPosted: Tue Aug 29, 2006 9:43 am Reply with quote

here is the code that refers to smilies in bbcode_box.js.

Code:
function emoticon(text) {

   var txtarea = document.post.message;
   text = ' ' + text + ' ';
   if (txtarea.createTextRange && txtarea.caretPos) {
      if (baseHeight != txtarea.caretPos.boundingHeight) {
         txtarea.focus();
         storeCaret(txtarea);
      }
      var caretPos = txtarea.caretPos;
      caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? caretPos.text + text + ' ' : caretPos.text + text;
      txtarea.focus();
   } else
   if (txtarea.selectionEnd && (txtarea.selectionStart | txtarea.selectionStart == 0))
   {
      mozWrap(txtarea, text, "");
      return;
   } else {
      txtarea.value  += text;
      txtarea.focus();
   }
}
 
s60addict







PostPosted: Thu Aug 31, 2006 5:31 am Reply with quote

Please c the same problem here but fix is still not there !!!
[ Only registered users can see links on this board! Get registered or login! ]
 
s60addict







PostPosted: Fri Sep 01, 2006 7:22 am Reply with quote

Well, i fixed it myself !!

here's how to fix it !!!

Download :
Code:
http://www.uploading.com/files/1CBILYYL/Advanced_BBCode_Box_Fix.txt.html
 
donlucifer
New Member
New Member



Joined: Oct 21, 2006
Posts: 3

PostPosted: Sat Oct 21, 2006 7:31 am Reply with quote

Hi there.. ive been looking all over the net for the fix.. thanx for the fix.. but it seems i cannot download it from where u posted it..
can u please insert the fixed script of the fuction here? thank you. Smile
 
View user's profile Send private message
s60addict







PostPosted: Sat Oct 21, 2006 7:52 am Reply with quote

At the end of the variable definitions (the lines that begin with VAR near the top of both files), insert this line:

Code:
var baseHeight = 0;
 
donlucifer







PostPosted: Sat Oct 21, 2006 8:07 am Reply with quote

thnx a lot.. the smilies are working now.. Smile
but i still get this at the end of the page.. do u have any idea whats it is about?

Quote:

line: 426
char: 21
error: expected ';'
code: 0


thanx again
 
s60addict







PostPosted: Sat Oct 21, 2006 10:00 am Reply with quote

Code:
-----[ FIND IB BOTH .JS FILES]------------------------------------------


var is_moz = 0;

-----[ AFTER, ADD ]------------------------------------------

var txtarea = 0;


Hope this helps !
 
gregexp
The Mouse Is Extension Of Arm



Joined: Feb 21, 2006
Posts: 1497
Location: In front of a screen....HELP! lol

PostPosted: Sat Oct 21, 2006 11:16 am Reply with quote

Excellent find s60addict

_________________
For those who stand shall NEVER fall and those who fall shall RISE once more!! 
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
s60addict







PostPosted: Sat Oct 21, 2006 11:17 am Reply with quote

thanks darklord !!! Cheers Cheers
 
donlucifer







PostPosted: Sat Oct 21, 2006 12:14 pm Reply with quote

thanx .. Smile but it didnt work Sad..
well.. at least the smilies are working Razz
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Post Installation Help

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©