vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Add-On Releases - DJ's AMEs :: Media Definitions for AME 2.5 :: More Video, Twitter, Pinterest... (https://vborg.vbsupport.ru/showthread.php?t=195884)

MonkYZ 12-30-2009 07:42 PM

Quote:

Originally Posted by Digital Jedi (Post 1941024)
I just updated GameTrailers yesterday. Will release as part of a larger update this week, possibly. I'm only to the H's in the list so far, but I will likely find a stopping point somewhere and do a partial release, as well as skipping a few letters to take a look at YouTube, too.

Thanks Digital Jedi ! I can hardly wait for the update... And yes, i think YouTube is the most used one, so it should get a "special treatment" :D

Digital Jedi 12-30-2009 09:00 PM

Quote:

Originally Posted by greenflag (Post 1942428)
thx for fast reply - tried it and on rss preview getting this error;

XML Error: not well-formed (invalid token) at Line 92

this is a 5min feed

any suggestions? ty

ps - are you hireable for some help? pm plz

I don't think that AME would have anything to do with that, being that AME isn't parsed in the ACP preview. That sounds like an error with the feed itself.

I'm not available at the moment, as I'm trying to complete checking the Master XML for errors. A boat load have needed rewriting and I'm only halfway through so far.


Quote:

Originally Posted by xTerMn8R (Post 1942750)
Great Mod, just installed and it looks like it's saved me a LOT of time making custom BBcodes(which was driving me crazy) but I'm still scratching my head try to get docstoc working.

Wondering if anyone can make a xml for http://www.docstoc.com ? This site allows users to upload and host pdf, pss, and a few other Documents type files... I've been trying to make some custom BBcode to get it done but I'm not having much success using variables.

Thanks for all the great work and support that has already taken place here,

Tom

If you put it in my request area, I'll not forget to take a look at it. Not immediately, but at least it will be on the list.

xTerMn8R 12-30-2009 09:09 PM

Thank you DJ, No rush I know you're very busy...

Ok Copied post to Request Site...

Thanks Again,
Tom

greenflag 12-31-2009 01:39 AM

[QUOTE=Digital Jedi;1942884]I don't think that AME would have anything to do with that, being that AME isn't parsed in the ACP preview. That sounds like an error with the feed itself.
[QUOTE]

any idea how to fix feed? i would'nt know what to tell 5min

xTerMn8R 12-31-2009 07:49 PM

I'm trying to get the pdf For Local to work, but not having much luck...

When I use the default xml for Local (after making the Change in it for my Domain) I get a little blue box that shows the xml Header with the <i><b>Bla bla bla <b><i> tags surrounding it and the header links to the file I'm trying to embed...

The site that the Original xml points to ,(http://pdfmenot.com) Wont resolve for me , I dont know if they shut down or what, SO i Tried adapting it to use Google docs... Here's what I've got for Settings... ( 1 thing I noticed when I compared this expression to the other locals, were in the others there are NO [] around the http://, I've tried it both ways and no difference)

Regular Expression
Code:

([http://]*[\w]*[\.]*united4freedom\.[\w/&;%-\.]+\.pdf)

Replacement
Code:

<iframe src="http://docs.google.com/viewer?url={$url}&embedded=true" style="width:600px; height:500px;" frameborder="0"></iframe>
It does put the Container on the site and hyper links the container header to the File, but gives me an error saying "Sorry we are unable to retrieve the document for Viewing, Please try again later" I've checked permissions on the folder holding the docs and even changed it to 777, still no doc...
Any help would be appreciated... :confused:

Happy New Year...

MagicThemeParks 12-31-2009 09:17 PM

1 Attachment(s)
DJ, the AllPosters.com code is not pulling the thumbnails it seems. See the attachment for what I'm getting.

Digital Jedi 01-01-2010 01:46 AM

Quote:

Originally Posted by xTerMn8R (Post 1943580)
I'm trying to get the pdf For Local to work, but not having much luck...

When I use the default xml for Local (after making the Change in it for my Domain) I get a little blue box that shows the xml Header with the <i><b>Bla bla bla <b><i> tags surrounding it and the header links to the file I'm trying to embed...

The site that the Original xml points to ,(http://pdfmenot.com) Wont resolve for me , I dont know if they shut down or what, SO i Tried adapting it to use Google docs... Here's what I've got for Settings... ( 1 thing I noticed when I compared this expression to the other locals, were in the others there are NO [] around the http://, I've tried it both ways and no difference)

Regular Expression
Code:

([http://]*[\w]*[\.]*united4freedom\.[\w/&;%-\.]+\.pdf)

Replacement
Code:

<iframe src="http://docs.google.com/viewer?url={$url}&embedded=true" style="width:600px; height:500px;" frameborder="0"></iframe>
It does put the Container on the site and hyper links the container header to the File, but gives me an error saying "Sorry we are unable to retrieve the document for Viewing, Please try again later" I've checked permissions on the folder holding the docs and even changed it to 777, still no doc...
Any help would be appreciated... :confused:

Happy New Year...

In my opinion, you don't need to put http:// in brackets with a star (which makes it optional), as it's not likely that someone will paste and address from somewhere without them for most sites. That might be different if you're typing the URL in manually, so it's up to you.

I'd have to look at how Google Docs handles the document to know what's wrong. Your RegEx is working if it's converting. It's the embed code that's not working. Make sure the output is what you want, because currently you have the embed code putting the whole URL: http://www.docs.google.com/viewer?ur...cumentname.pdf.

Currently the one I've got just embeds the PDF, which might not be the best solution for large documents.

Quote:

Originally Posted by MagicThemeParks (Post 1943614)
DJ, the AllPosters.com code is not pulling the thumbnails it seems. See the attachment for what I'm getting.

Already got a new one that will fix that. I'm almost ready to post my update.

xTerMn8R 01-01-2010 06:27 AM

1 Attachment(s)
Thanks DJ for the responce...

I finally got it to work and made an xml file that will let ya post a .pdf from any site, including locally.

Regular Expression
Code:

([http://]*[\w]*[\.]*[\w]\.[\w/&;%-\.]+\.pdf)
Replacement
Code:

<iframe src="http://docs.google.com/viewer?url=$p1&embedded=true" width="$ameinfo[width]" height="$ameinfo[height]" align="center" style="border: none;"><param name="url" value="pdf=$p1" /></iframe>
One down, now if I can get one for DocStoc I'll be doing Great, I can do them with BBcode, but they pass 2 varibles so I have to use the "Option" in BBCode.
(ex. [doc=MemID]Document ID[/doc]) I dont know how to code that in AME definitions.

Thanks Again DJ and Please check my xml and make sure it's up to standards, and as it should be.

LOL what a way to spend New years Eve, troubleshooting embedding code...Go Figure....LOL

xTerMn8R 01-01-2010 03:07 PM

well go figure is right, this stuff worked great last night, but today it shows the container, it even shows the correct # of pages, and will let ya scroll through the pages,but shows no content and an X in the pages now... Man this stuff is wearing me out... I think its something with google docs , as the html Web page I made for testing the replacement (without variables ) last night doesn't work now either...

I have been able to get it to work using the standard Embed tag, but I dont know if that is gonna be Browser compatable with Firefox...

Replacement Code:
Code:

<iframe embed src="$p1" align="center" width="$ameinfo[width]" height="$ameinfo[height]" /><param name=url value="pdf/$p1" /></iframe>

Digital Jedi 01-02-2010 01:40 AM

Since I've only got a few more of these to go to complete a full check of the Master XML, I'll wait until then to do an update. Hopefully, only a few more days.


All times are GMT. The time now is 05:15 AM.

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.02786 seconds
  • Memory Usage 1,758KB
  • 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
  • (7)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)pagenav_pagelinkrel
  • (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