Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
2 registered (57-Vette, Chosen), 43 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 03/24/10
Posts: 8
Top Posters (30 Days)
Ruben 50
DennyP 24
Gizmo 23
Dunny 15
SteveS 13
AllenAyres 12
dbremer 10
SD 10
drkknght00 9
doug 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Page 1 of 4 1 2 3 4 >
Topic Options
#242348 - 03/26/11 06:01 PM Incompatibility: Twitter profile widget
cascadeclimbers Offline

member
Registered: 06/02/04
Posts: 195
Loc: Seattle, WA
I've discovered the Twitter Profile widget is incompatible with at least 7.3.1 (upgrade already yada yada ;)). There appears to be some conflicting js between that and the icons in the post reply panel. Specifically the icon and img insert buttons. If I work on a solution I'll be sure to post it, but it will likely involve a modified ubb file.
_________________________
Won't you take me to Funkytown?
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#242351 - 03/26/11 09:41 PM Re: Incompatibility: Twitter profile widget [Re: cascadeclimbers]
SD Offline
Registered: 04/19/07
Posts: 4056
Loc: SoCal, USA
yep, this was a fix that had to be patched into 7.5.6

original 7.5.6 has same problem wink
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top
#245221 - 08/29/11 09:53 AM Re: Incompatibility: Twitter profile widget [Re: cascadeclimbers]
Myke Offline
member
Registered: 07/07/06
Posts: 119
I'm running 7.5.3 and was wondering if this fix can be made available? I recently added a twitter widget and found it breaks the full reply editor buttons.
Top
#245233 - 08/29/11 07:45 PM Re: Incompatibility: Twitter profile widget [Re: cascadeclimbers]
cascadeclimbers Offline

member
Registered: 06/02/04
Posts: 195
Loc: Seattle, WA
If I can remember I will post a fix tonight. It's just a matter of changing the scope of a few ubb js variables.
_________________________
Won't you take me to Funkytown?
Top
#245235 - 08/29/11 09:03 PM Re: Incompatibility: Twitter profile widget [Re: cascadeclimbers]
Myke Offline
member
Registered: 07/07/06
Posts: 119
Thanks! Will look forward to your reply!
Top
#245242 - 08/30/11 01:16 AM Re: Incompatibility: Twitter profile widget [Re: cascadeclimbers]
cascadeclimbers Offline

member
Registered: 06/02/04
Posts: 195
Loc: Seattle, WA
Well. I know what the problem is, I just can't figure out what is causing it.

standard_text_editor.js:29 TypeError: Result of expression 'get_object(menus[i])' [null] is not an object.

i is being set to "filter" somehow. I've looked at the twitter code and can't figure it out, but I'm not a ninja. Maybe SD or Gizmo can take a crack.
_________________________
Won't you take me to Funkytown?
Top
#245291 - 08/31/11 05:42 AM Re: Incompatibility: Twitter profile widget [Re: cascadeclimbers]
Myke Offline
member
Registered: 07/07/06
Posts: 119
cascadeclimbers, so you have a fix for it, but don't remember what the fix was? Can you not compare your files with the baseline version to identify any changes? Was the fix confined to standard_text_editor.js, or do you not recall?

Thanks for your response so far, and if SirDude or Gizmo have something further to offer, then that would be hugely appreciated!
Top
#245302 - 08/31/11 07:02 PM Re: Incompatibility: Twitter profile widget [Re: cascadeclimbers]
cascadeclimbers Offline

member
Registered: 06/02/04
Posts: 195
Loc: Seattle, WA
Sorry if I wasn't clear. I knew/know what the problem is and what is causing it, but I couldn't figure where in the Twitter code it is doing so. Sounds like SD might have already figured it out previously so I'll wait for him to chime in.
_________________________
Won't you take me to Funkytown?
Top
#245309 - 09/01/11 08:15 AM Re: Incompatibility: Twitter profile widget [Re: cascadeclimbers]
Myke Offline
member
Registered: 07/07/06
Posts: 119
OK, thanks again.

SirDude, any comment?
Top
#245310 - 09/01/11 11:51 AM Re: Incompatibility: Twitter profile widget [Re: cascadeclimbers]
SD Offline
Registered: 04/19/07
Posts: 4056
Loc: SoCal, USA
i can't remember what i did to fix it

i know it wasn't a big deal, once found...

if i saw the problem site, maybe it would jog my memory
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top
#245322 - 09/02/11 04:53 AM Re: Incompatibility: Twitter profile widget [Re: cascadeclimbers]
Myke Offline
member
Registered: 07/07/06
Posts: 119
The "problem site" can be seen at http://virtuafighter.com smile
Top
#245324 - 09/02/11 06:48 PM Re: Incompatibility: Twitter profile widget [Re: cascadeclimbers]
SD Offline
Registered: 04/19/07
Posts: 4056
Loc: SoCal, USA
well i get a DB error right off the bat. can't even see the site
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top
#245326 - 09/03/11 09:36 AM Re: Incompatibility: Twitter profile widget [Re: cascadeclimbers]
Myke Offline
member
Registered: 07/07/06
Posts: 119
If the site was/is down, it's only temporary (less than a minute) as I'm experiencing high server loads recently. If you don't mind looking again it would be appreciated.
Top
#245327 - 09/03/11 11:24 AM Re: Incompatibility: Twitter profile widget [Re: cascadeclimbers]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
FWIW, it's still down...
Code:
We encountered a problem. The reason reported was

Database error only visible to forum administrators

Please click back to return to the previous page. 
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#245328 - 09/03/11 11:31 AM Re: Incompatibility: Twitter profile widget [Re: cascadeclimbers]
SD Offline
Registered: 04/19/07
Posts: 4056
Loc: SoCal, USA
yup.. tried again here, same thing
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top
#245339 - 09/04/11 10:19 AM Re: Incompatibility: Twitter profile widget [Re: cascadeclimbers]
Myke Offline
member
Registered: 07/07/06
Posts: 119
I find that really odd! I've been on the site pretty much all weekend (two large tournaments being live streamed both days of the weekend) and it has been more or less ticking along just fine.

If it was ever unavailable, it couldn't have been more than 30 seconds or so. For you both to come back and say that you can't access the site just sounds so strange. At the time of this post it's certainly running (screenshot attached because I'm paranoid).


Attachments
Capture.JPG (8 downloads)

Top
#245340 - 09/04/11 10:34 AM Re: Incompatibility: Twitter profile widget [Re: cascadeclimbers]
gliderdad Offline
Registered: 06/08/06
Posts: 1466
Loc: NY
I got the db error just now as well, when I refreshed I saw the site.
Top
#245341 - 09/04/11 10:35 AM Re: Incompatibility: Twitter profile widget [Re: cascadeclimbers]
SD Offline
Registered: 04/19/07
Posts: 4056
Loc: SoCal, USA
i'd say the error always happens for guests ( non logged in peeps ).. since it is down for me consistently

actually never been UP at all for me

wink
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top
#245343 - 09/04/11 12:10 PM Re: Incompatibility: Twitter profile widget [Re: cascadeclimbers]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
Still down for me, as of 9:07am PDT; which is about half an hour after SD reported it down for him...

So yes, I agree with his opinion that it just doesn't work for guests...

Try logging out and see if you get the same error when trying to browse. You can turn on error reporting to the browser by editing libs/mysql.inc.php and changing:
Code:
		$showerror = 0;


To:
Code:
		$showerror = 1;


And it'll spew the error out to anyone trying to load the page; then we can determine the issue (be sure to set it back once fixed).

Another option is to turn on error logging in the control panel; but then we wouldn't be able to see the error.
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#245344 - 09/04/11 12:28 PM Re: Incompatibility: Twitter profile widget [Re: cascadeclimbers]
SD Offline
Registered: 04/19/07
Posts: 4056
Loc: SoCal, USA
http://virtuafighter.com/forums/ubbthreads.php <-- seems to work

so dunno what you have for a redirector in the root..
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top
#245345 - 09/04/11 04:29 PM Re: Incompatibility: Twitter profile widget [Re: cascadeclimbers]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
I'm getting the same error on that link as well on occasion; refreshing seems to fix it; so I'm not sure...
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#245346 - 09/04/11 04:39 PM Re: Incompatibility: Twitter profile widget [Re: cascadeclimbers]
SteveS Offline

addict
Registered: 03/22/07
Posts: 416
Loc: Massachusetts
Ditto here, Giz.
_________________________
Steve
crownvic.net
UBB.classic from 2000-2003
UBB.threads from 2003-present!
Top
#245350 - 09/04/11 09:00 PM Re: Incompatibility: Twitter profile widget [Re: SD]
Myke Offline
member
Registered: 07/07/06
Posts: 119
Originally Posted By: Sirdude
http://virtuafighter.com/forums/ubbthreads.php <-- seems to work

so dunno what you have for a redirector in the root..

No fancy redirects, it's just the ubb portal!? My root index.php is literally:
Php Code:

<?
 $_REQUEST['ubb'] = "portal";
 include("/path/to/forums/ubbthreads.php");
?>


So I tried logging out, deleted all browser cache/temp files and hit the site again -- and it's fine?

Note that I'm not doubting any of you, it's just that I find it really strange you're seeing that standard UBB.t db error. Isn't that usually a result of mysql misbehaving?

And all I wanted was to fix the stupid conflict with the Twitter widget! smile
Top
#245352 - 09/05/11 12:48 AM Re: Incompatibility: Twitter profile widget [Re: cascadeclimbers]
Dunny Online   coffee
addict
Registered: 01/16/08
Posts: 460
Loc: DE USA
wow weird... I got the DB error the first time I tried to log in.... the second time I got to the site just fine..

Dunny
_________________________
Dunny

Removed link due to bleedover spammers

Dawn of Iskirra
Top
#245354 - 09/05/11 05:46 AM Re: Incompatibility: Twitter profile widget [Re: cascadeclimbers]
SteveS Offline

addict
Registered: 03/22/07
Posts: 416
Loc: Massachusetts
I just tried it again, from a different computer, with the same result... DB error. Clicking the refresh button brought the site up.
_________________________
Steve
crownvic.net
UBB.classic from 2000-2003
UBB.threads from 2003-present!
Top
#245355 - 09/05/11 06:43 AM Re: Incompatibility: Twitter profile widget [Re: cascadeclimbers]
Myke Offline
member
Registered: 07/07/06
Posts: 119
At the risk of derailing this thread, does anyone have a possible explanation for the DB error? I honestly cannot remember the last time I saw it.
Top
#245358 - 09/05/11 12:12 PM Re: Incompatibility: Twitter profile widget [Re: Myke]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
Originally Posted By: Myke
At the risk of derailing this thread, does anyone have a possible explanation for the DB error? I honestly cannot remember the last time I saw it.
As I said before, you'll need to get the full error message; you'll have to either turn mysql logging on or modify the libs/mysql.inc.php file.
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#245363 - 09/05/11 03:31 PM Re: Incompatibility: Twitter profile widget [Re: cascadeclimbers]
SD Offline
Registered: 04/19/07
Posts: 4056
Loc: SoCal, USA
i consistently get that error too.. it's not a hit/miss deal.
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top
#245384 - 09/06/11 06:18 AM Re: Incompatibility: Twitter profile widget [Re: Gizmo]
Myke Offline
member
Registered: 07/07/06
Posts: 119
I've turned on $showerror in libs/mysql.inc.php so it'll be interesting to see what you guys get.
Top
#245388 - 09/06/11 10:38 AM Re: Incompatibility: Twitter profile widget [Re: cascadeclimbers]
SD Offline
Registered: 04/19/07
Posts: 4056
Loc: SoCal, USA
you have a crashed ubbt_REFERRER_LOG table

needs repairing
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top
#245404 - 09/06/11 09:23 PM Re: Incompatibility: Twitter profile widget [Re: cascadeclimbers]
Myke Offline
member
Registered: 07/07/06
Posts: 119
Thanks for that, the table is now repaired. I wonder why I never got the DB error though?

Anyway, with that (hopefully) out of the way, perhaps now you can recall the fix to the editor and twitter widget issue?
Top
#245519 - 09/17/11 03:06 AM Re: Incompatibility: Twitter profile widget [Re: Myke]
Myke Offline
member
Registered: 07/07/06
Posts: 119
If this helps with recalling the fix, the following is the error reported by the javascript console in Chrome, also shown with attached screenshot:

standard_text_editor.js:29 Uncaught TypeError: Cannot read property 'style' of null

and the referenced code snippet:

Code:
24    function showHTML(id,html) {
25        if (menus == null) return false;
26    
27        for (var i in menus) {
28            if (menus[i] != html) {
29                get_object(menus[i]).style.display = 'none';
30            }
31        }


Attachments
js_error.JPG (18 downloads)



Edited by Myke (09/17/11 03:11 AM)
Top
#245940 - 09/25/11 04:03 AM Re: Incompatibility: Twitter profile widget [Re: cascadeclimbers]
Myke Offline
member
Registered: 07/07/06
Posts: 119
Is there any chance that someone out there recalls the fix for this?
Top
#246096 - 09/30/11 04:22 AM Re: Incompatibility: Twitter profile widget [Re: SD]
Myke Offline
member
Registered: 07/07/06
Posts: 119
Originally Posted By: Sirdude
yep, this was a fix that had to be patched into 7.5.6

original 7.5.6 has same problem wink

When I compare ubb_jslib.js and text_editor.js between 7.5.3 (my version) and 7.5.6 (this site), I find there are no differences?

Can you recall where the patch was applied? I'm more than happy to run the diffs and apply the fix myself.
Top
Page 1 of 4 1 2 3 4 >



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10492 Members
36 Forums
33842 Topics
181709 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image