Home Forum Gallery Wiki CruiserFAQ Tech Links Product Reviews Trivia Store

IH8MUD™ Forums
Suppport our Advertising Vendors!!
Go Back   IH8MUD™ Forums > General Forums > IH8MUD.com Help Corner

Reply
 
LinkBack Thread Tools Display Modes
Old 03-31-08, 10:11 AM   #1
IH8MUD Lifer
 
swank60's Avatar
 
Join Date: Aug 2002
Location: One of Four Presidential Flying Saucers
Posts: 3,798
3.7.0 bugs

I've noticed one for-sure bug in the new forum that drives me a little crazy. I'm a big user of key commands - control i on my keyboard places the italics code in, control b gives me bold, etc.

Those seem to be working some times and sometimes they're not. I've also had an issue where I've tried to click on emoticons to insert the code into a post and they didn't work - like, for instance, right now...none of the above features work for me.

I'm using OSX and running the most recent version of Firefox.


__________________
Quote:
Originally Posted by OZCAL View Post
…I think we need Swank 60 on this case. He knows irony…
swank60 is offline   Reply With Quote
Old 03-31-08, 10:36 AM   #2
IH8MUD Addict
 
Brock's Avatar
 
Join Date: Feb 2008
Location: Charleston
TLCA# 18493
Posts: 552
using the newest version of Firefox I am not able to post attachments and such in posts...I have to go into IExplorer and do all my photo there....and often the picture does not go through good on upload or when viewing and distorts or only loads a portion of the image....until I shut down and bring it up again.

Only other thing I have noticed is a need to refresh many times during page changes as I will get HTML code on screen....until I refresh again.

Thanks...


__________________
I have a high art, I hurt with cruelty those who would damage me. - Archilochus, 650 B.C.
------
08 FJ Cruiser aka "Brick House", Nitto TG 295x70x17, BudBuilt Rock Sliders

84 FJ60, Blue, BFG, 2.5inch; lift, Warn hubs, etc

Lowcountry AMSOIL Products
Brock is offline   Reply With Quote
Old 03-31-08, 12:41 PM   #3
Dive on in...
 
NaterGator's Avatar
 
Join Date: Oct 2006
Location: Tampa/Gainesville, FL
TLCA# 18767
Posts: 1,241
I'm with swankles on the bug about javascript grabbing hotkeys. It almost never works for me on the quick reply and only sometimes works on advanced (but not WYSIWYG)


__________________
'96 LX450, 33" Revos, OME lifted, etc, etc
Love the life you live, live the life you love. -Bob Marley
Selfishness is not living as one wishes to live, it is asking others to live as one wishes to live. -Oscar Wilde

Firefox users, get your youtube on!
NaterGator is offline   Reply With Quote
Old 03-31-08, 02:26 PM   #4
IH8MUD Rookie
 
Join Date: Sep 2007
Posts: 9
Everytime I click to a new page I am automatically dropped all the way to the very bottom. Not a big deal but annoying to have to scroll all the way up every page- and it takes away all of the cool surprises awaiting me.
Juntura is offline   Reply With Quote
Old 03-31-08, 09:43 PM   #5
IH8MUD Addict
 
JLH911's Avatar
 
Join Date: Sep 2007
Location: So. Cal
TLCA# 18753
Posts: 566
Quote:
Originally Posted by Juntura View Post
Everytime I click to a new page I am automatically dropped all the way to the very bottom. Not a big deal but annoying to have to scroll all the way up every page- and it takes away all of the cool surprises awaiting me.

I'm getting the same problem too and the whole site is slower than molasses as of late.
JLH911 is offline   Reply With Quote
Old 03-31-08, 10:10 PM   #6
Admin
 
woody's Avatar
 
Join Date: Jan 2002
Location: Appleton, WI
TLCA# 1548
Posts: 9,456
Blog Entries: 1
same bug for me with the scrolling...looks like the next RC release of this version will have it cured tho...


__________________
Brian Swearingen
woody is offline   Reply With Quote
Old 03-31-08, 10:21 PM   #7
Admin
 
woody's Avatar
 
Join Date: Jan 2002
Location: Appleton, WI
TLCA# 1548
Posts: 9,456
Blog Entries: 1
the 'autoscroll' problem has been identified and the problem removed....thanks for the catch!


__________________
Brian Swearingen
woody is offline   Reply With Quote
Old 04-05-08, 10:04 AM   #8
Dive on in...
 
NaterGator's Avatar
 
Join Date: Oct 2006
Location: Tampa/Gainesville, FL
TLCA# 18767
Posts: 1,241
I have found the fix to the bold/italic/underline key listener problem (yeah, it was bugging me that much)

In the file http://forum.ih8mud.com/clientscript...in_textedit.js there is a function prototype which is used to catch the keypresses on the editor window:
Code:
vB_Text_Editor_Events.prototype.editdoc_onkeypress=function(C){
	if(!C){
		C=window.event
	}
	if(C.ctrlKey){
		if(vB_Editor[this.editorid].allowbasicbbcode==false){
			return
		}
		var A=C.charCode?C.charCode:C.keyCode;
		var B;
		switch(String.fromCharCode(A).toLowerCase()){
			case"b":B="bold";
			break;
			case"i":B="italic";
			break;
			case"u":B="underline";
			break;
			default:return
		}
		C=do_an_e(C);
		vB_Editor[this.editorid].apply_format(B,false,null);
		return false
	}
	else{
		if(C.keyCode==9){
			var D=fetch_object("rb_iconid_0");
			if(D!=null){
				D.focus()
			}
			else{
				if(fetch_object(this.editorid+"_save")!=null&&!is_opera){
					fetch_object(this.editorid+"_save").focus()
				}
				else{
					if(fetch_object("qr_submit")!=null&&!is_opera){
						fetch_object("qr_submit").focus()
					}
					else{
						return
					}
				}
			}
			C=do_an_e(C)
		}
	}
};
(Offending line highlighted red)

The allowbasicbbcode variable is new to vB 3.7.0 and is set in the following function:
Code:
this.init_command_button=function(obj){
	obj.cmd=obj.id.substr(obj.id.indexOf("_cmd_")+5);
	obj.editorid=this.editorid;
	this.buttons[obj.cmd]=obj;
	if(obj.cmd=="switchmode"){
		if(AJAX_Compatible){
			obj.state=this.wysiwyg_mode?true:false;
			this.set_control_style(obj,"button",this.wysiwyg_mode?"selected":"normal")
		}
		else{
			obj.parentNode.removeChild(obj)
		}
	}
	else{
		obj.state=false;
		obj.mode="normal";
		if(obj.cmd=="bold"||obj.cmd=="italic"||obj.cmd=="underline"){
			this.allowbasicbbcode=true
		}
	}
	obj.onclick=obj.onmousedown=obj.onmouseover=obj.onmouseout=vB_Text_Editor_Events.prototype.command_button_onmouseevent
};
The problem is that init_command_button() is called only when the B/I/U buttons (the ones you click in the advanced editor) are actually present, which they aren't on the quick reply box on regular pages (obviously). This means that allowbasicbbcode never gets set to true (even though mud always allows basic BB code) so the browser never inserts the event listener.

The fix is to add a check to the conditional statement in the eventlistener prototype editdoc_onkeypress(). Essentially you need to add a check to ensure that the 'editorid' doesn't match that of the quickreply editor (the advanced editor's ID is always vB_Editor_001 and the quickreply's is always vB_Editor_QR)

SO, (phew) the fix is to change the line
Code:
if(vB_Editor[this.editorid].allowbasicbbcode==false){
to
Code:
if(vB_Editor[this.editorid].allowbasicbbcode==false && (this.editorid != 'vB_Editor_QR' || this.editorid != 'vB_Editor_QE_1_editor')){
in the file http://forum.ih8mud.com/clientscript...in_textedit.js



Viola, your quick edit control key listener will work again.

Woody, if you are not comfortable with making this change on the server (IE you'd rather wait until vB pushes the next RC) I can write a realllllly simple greasemonkey script that firefox users can install which will fix this problem.

-----Nate


__________________
'96 LX450, 33" Revos, OME lifted, etc, etc
Love the life you live, live the life you love. -Bob Marley
Selfishness is not living as one wishes to live, it is asking others to live as one wishes to live. -Oscar Wilde

Firefox users, get your youtube on!

Last edited by NaterGator; 04-05-08 at 10:19 AM.
NaterGator is offline   Reply With Quote
Old 04-07-08, 02:25 PM   #9
IH8MUD Lifer
 
Join Date: Aug 2003
Posts: 6,395
When I check my PMs there's a new list of features that pops up when I have a 'personal visitor message' or something similar. Several times it has alerted that I have one of these new types of message and when the pop up list opens it shows one, I slide down to it and let go and get the error below. Immediately after, when I click on the same words "Private Messages" this list of features does not pop up, and it merely takes me to my PMs as it has for years. So. I assume people are leaving me these personal visitor messages or somesuch and the system keeps thinking that I have read them. I can also find no other way to look at these personal visitor messages as the list is apparently unavailable to the user when there is no unread one. So, I guess I don't understand the whole concept.

I am an Apple user, btw (Safari).


Safari can’t open the page “http://forum.ih8mud.com/members/idahodoug.html”. The error was: “bad server response” (NSURLErrorDomain:-1011) Please choose Report Bugs to Apple from the Safari menu, note the error number, and describe what you did before you saw this message.


__________________
Buy Head Gasket DVD for you OR for your mechanic HERE

'93 FZJ since new, 2.2kw starter, Revo 275s, locked, big Hellas, rr fog, rr flood, rr Airlift, synthetics, ARB bullbar. 97 FZJ - exact same stuff but Michelin Alpins in winter "Slicker than owl shit on a wet log." - Carter
IdahoDoug is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT -6. The time now is 10:37 PM.


vBulletin® v3.7.3 ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
©2000-2008 by IH8MUD™ - ALL RIGHTS RESERVED

Thanks to all those who have contributed!
One of the largest message boards on the web !




Internet Advertising | Ringtones | Car Insurance | Kung fu art of fighting | Secured Loans