vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Add-On Releases - DJ's AME (Auto Media Embedding) XML Media Definitions (Third Time's the Charm) (https://vborg.vbsupport.ru/showthread.php?t=175378)

sgrisole 01-19-2009 08:01 PM

Yes, I used the same macro in my text editor to replace YOURSITENAME with my domain name (without the extension) for all the local hosted files definitions.
The PDF definition looks like this:
Code:

<?xml version="1.0" encoding="ISO-8859-1"?>

<AME>
        <item>
                <id>218</id>
                <title><![CDATA[<i><b>PDF Documents at PLUTO</b></i>]]></title>
                <description><![CDATA[Embed Locally Hosted <b>.pdf</b> Files Using The PDFMENOT Viewer!]]></description>
                <displayorder>0</displayorder>
                <findcode><![CDATA[([http://]*[\w]*[\.]*PLUTO\.[\w/&;%-\.]+\.pdf)]]></findcode>
                <replacecode><![CDATA[<script type="text/javascript" src="http://pdfmenot.com/convert.js"></script>
<script type="text/javascript" src="http://pdfmenot.com/embed/?url={$url}&width=600&height=700"></script>]]></replacecode>
                <status>1</status>
                <container>0</container>
                <embedregexp />
                <extraction>0</extraction>
                <gdef>0</gdef>
        </item>
</AME>

Of course PLUTO is replaced by the actual domain that I don't want to disclose here.
Did you test this definition recently?

Digital Jedi 01-19-2009 08:08 PM

Quote:

Originally Posted by sgrisole (Post 1718201)
Yes, I used the same macro in my text editor to replace YOURSITENAME with my domain name (without the extension) for all the local hosted files definitions.
The PDF definition looks like this:
Code:

<?xml version="1.0" encoding="ISO-8859-1"?>

<AME>
        <item>
                <id>218</id>
                <title><![CDATA[<i><b>PDF Documents at PLUTO</b></i>]]></title>
                <description><![CDATA[Embed Locally Hosted <b>.pdf</b> Files Using The PDFMENOT Viewer!]]></description>
                <displayorder>0</displayorder>
                <findcode><![CDATA[([http://]*[\w]*[\.]*PLUTO\.[\w/&;%-\.]+\.pdf)]]></findcode>
                <replacecode><![CDATA[<script type="text/javascript" src="http://pdfmenot.com/convert.js"></script>
<script type="text/javascript" src="http://pdfmenot.com/embed/?url={$url}&width=600&height=700"></script>]]></replacecode>
                <status>1</status>
                <container>0</container>
                <embedregexp />
                <extraction>0</extraction>
                <gdef>0</gdef>
        </item>
</AME>

Of course PLUTO is replaced by the actual domain that I don't want to disclose here.
Did you test this definition recently?

Is your domain name capitilized as in the example here?

SBlueman 01-20-2009 07:09 AM

Looking to see if there can be a code for videos from fandome.com?

sgrisole 01-20-2009 10:12 AM

Quote:

Originally Posted by Digital Jedi (Post 1718210)
Is your domain name capitilized as in the example here?

No, only the first character was capitalized and I also tried to write it in lowercase but the error is still present. I really can't understand why this is happening since all the other definitions work well. I know it's a silly question but... Does the PDF definition work for everybody else?
Thanks

Digital Jedi 01-20-2009 02:51 PM

If the first letter was capitalized you would have gotten that error, and you would have needed to resave the post to see if it worked. Mind if I try the PDF?

Super Jinni 01-20-2009 04:39 PM

Hi Mark, it's me again,
I just saw that AME 2.5 has been released and I was wondering if you can include Expert Village definition to the definitions list of it.
I Hope I'm not pushing you or bothering you with requesting this again, but my forum looks messy cause a lot of videos of Expert Village are in my site and users began to complain about that.
I used to use PassiveVid mod which has the definition for that site but I uninstalled it when I installed AME's mod and your definitions. now I really hate to get back to PassiveVid and I'm afraid if I use it with your mod I'll have some problems or errors.

I'm grateful for all your work and support.

thanks mate :)

Sunka 01-21-2009 06:30 AM

I upgrade AME to v2.5.1
And now, doI have to update this XML Media Definitions (Third Time's the Charm)
with XML Media Definitions for AME 2.5 (Delta)?

If yes, how to do that (do I have to delete old one before import this one)?

WarLion 01-21-2009 07:31 PM

the internal linking no only make a url from your forum make any kind of vbulletin url internal link an breake the real url , any fix fo this ?

Digital Jedi 01-22-2009 11:32 AM

Quote:

Originally Posted by Sunka (Post 1719816)
I upgrade AME to v2.5.1
And now, doI have to update this XML Media Definitions (Third Time's the Charm)
with XML Media Definitions for AME 2.5 (Delta)?

If yes, how to do that (do I have to delete old one before import this one)?

You only need Delta for 2.5. Delete your old set.


Quote:

Originally Posted by WarLion (Post 1720442)
the internal linking no only make a url from your forum make any kind of vbulletin url internal link an breake the real url , any fix fo this ?

Show me an example of what your referring to.

Daisyboo 01-23-2009 10:38 AM

I'm trying to get the photobucket bit working, but when I try and import the file from the addon I get 'invalid file specified'
Am I doing something wrong?


All times are GMT. The time now is 10:54 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.01818 seconds
  • Memory Usage 1,750KB
  • 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
  • (2)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
  • (2)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