vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   BB Code Enhancements - BBcode for Embedded Tweets (https://vborg.vbsupport.ru/showthread.php?t=289282)

MattGarner 02-09-2013 09:57 AM

Quote:

Originally Posted by Digital Jedi (Post 2402999)
Are you guys referring to when you edit a reply with a Tweet in it, and the tweet disappears? If so, that's a limitation of the AJAX used in vBulletin. JavaScript can't called within the JavaScript of the page, as it were. It also happens when using Quick Reply. Nothing simple can be done to fix it, but it really only does that for the person posting/editing. Everyone else can still see the post, and even the poster can when he reloads the page. If it's something different, than I'm not sure what you mean.

I hope I can explain this better. I post a tweet using the BBCode and that's fine it all works. But say I wanted to edit that specific post X amount of minutes later - I am unable to because it makes the text box all grey.

Digital Jedi 02-09-2013 05:46 PM

I see now looking at Drucifer's forum. The editor is not being loaded inside the table cell. Likely the reason you can't edit it later is, actually, due to the JavaScript issue I mentioned, because when you post via AJAX, the JavaScript isn't loading, and in this case, not interfering until you come back to edit the post later. That might be tough to narrow down, but the first thing I would do, at least in Drucifer's case, is correct the validation errors on that page. Most of the time I've ever had a JavaScript conflict, it was because of validation errors. For instance:

Code:

<a href="search.php?do=getnew&amp;contenttype=vBForum_Post">New Posts</a>
& should be &amp;

If you're not familiar with Validation, there's an article in my profile that explains it in detail. Good idea to rule it out, at the very least. And it will help with any other problems you might encounter in the future.

sticky 03-09-2013 05:53 AM

Can't get this to work.

Chase 03-23-2013 02:08 PM

I have this mod installed on 3.8.7 and it works fine for the most part. We post that long digit code between the tweet tags and it shows up like it should... but some members of mine report back to me saying that from time to time their post doesn't show the tweet.... most of the posts only have the tweet in that post...

I understand the ajax issue when posting via quick reply... but they are saying if they navigate out and later come back to view a post... that tweet isn't showing.... the post it just empty.

However it will come back a little later.... reloading the page doesn't seem to help either.

Digital Jedi 03-23-2013 07:40 PM

Quote:

Originally Posted by Chase (Post 2411748)
I have this mod installed on 3.8.7 and it works fine for the most part. We post that long digit code between the tweet tags and it shows up like it should... but some members of mine report back to me saying that from time to time their post doesn't show the tweet.... most of the posts only have the tweet in that post...

I understand the ajax issue when posting via quick reply... but they are saying if they navigate out and later come back to view a post... that tweet isn't showing.... the post it just empty.

However it will come back a little later.... reloading the page doesn't seem to help either.

Most likely that means Twitter is down for the time they are viewing it.

Chase 03-23-2013 08:28 PM

Thanks for the reply Jedi....

Other tweet embeds are showing just fine though... and other tweets on the same page (but not same post, if you know what I mean)

I checked the ID of the tweet to make sure it is 18 digits and it is.

I can't figure out why a tweet wouldn't load but would load fine in other posts.

Chase 03-23-2013 09:04 PM

They all post correctly but some end up vanishing..... then some time later (not sure how long) they come back again.

tomshawk 03-24-2013 01:24 AM

Quote:

Originally Posted by Drucifer (Post 2374909)
I get this error message . . . .



I copied & pasted. Have no idea where the two missing double quotes are supposed to be.

I'm running vB v4.2

===============================
Nevermind!

Got it to work even with the error message

Same errror for me but not working, whether I use quick reply or advanced.

Argg, This will be kewl once I get it working

Digital Jedi 03-24-2013 03:27 AM

Quote:

Originally Posted by Chase (Post 2411848)
They all post correctly but some end up vanishing..... then some time later (not sure how long) they come back again.

Keep in mind Twitter is a large site with more than one server. They don't always go down at once. That's most likely what's happening.

Drucifer 04-23-2013 09:26 PM

Where the tweet number now?


All times are GMT. The time now is 07:41 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01160 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete