vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Show Thread Enhancements - AME - Auto Media Embedding (youtube, Amazon, google, myspace, etc...) (https://vborg.vbsupport.ru/showthread.php?t=150863)

4x4 Mecca 06-30-2007 11:58 AM

Quote:

Originally Posted by The Geek (Post 1279812)
The photobucket one is a beast. I almost have a consistant one licked, but wont be able to work on it until later... its Saturday you know!

Well I'm glad you are having trouble! I thought it was my newbie mistake, lol. Thanks for trying, you rock, this mod is great.

The Geek 06-30-2007 12:03 PM

np, click the ol install button when you get a chance :)

4x4 Mecca 06-30-2007 12:24 PM

Installed :)

4x4 Mecca 06-30-2007 01:15 PM

I get this error
Code:

Fatal error: Call to undefined function: stripos() in /home/.neptune/branndon/4x4mecca.com/forum/includes/ame_bbcode.php on line 186
when I try to run "Rebuild Posts" in test mode.

The Geek 06-30-2007 01:51 PM

Quote:

Originally Posted by 4x4 Mecca (Post 1279898)
I get this error
Code:

Fatal error: Call to undefined function: stripos() in /home/.neptune/branndon/4x4mecca.com/forum/includes/ame_bbcode.php on line 186
when I try to run "Rebuild Posts" in test mode.

bugger. Another php5 only function. Edit that line and change stripos to strpos. Ill line that up for next update.

4x4 Mecca 06-30-2007 02:10 PM

Thanks!

Heath 06-30-2007 04:59 PM

@Geek - Im geting this working when I manually submit links, but the RSS doesn't allow it to auto-convert? I stripped the [url] around the RSSimport link just to leave the video link its self, still no go. Only when I post them myself.

http://forum.popuplace.com/showthread.php?p=34957&posted=1#post34957

see?

The Geek 06-30-2007 05:01 PM

Do you mean on incoming or outgoing RSS feeds heath?

Heath 06-30-2007 05:11 PM

incoming. I have the YouTube Recently added and Metacafe feeds linked in to auto update every 10mins. Currently it just shows the link, no conversion takes place. Any idea how to set it to work with the rss feeds as well?

thank you for this mod. its a great idea.

The Geek 06-30-2007 05:40 PM

Ok, I just looked into this (well, the youtube one) and its a little tricky. Its tricky because there isnt a standard URL in the RSS feed. THere is an image, a URL to the user, a URL to the tags and finally, a url to the page - but it isnt in the standard format. That isnt hard to do (just create a new definition and new plugin to hook into the rssfeeddata_presave). The problem is, you will end up with kind of an ugly look as it will have an image, some text, some links and then the video.

Heath 06-30-2007 05:57 PM

If I removed all that description data and just leave the URL would that work?

FleaBag 06-30-2007 06:26 PM

Please excuse my ignorance! I have read through everything but I am a little unsure as to how I convert [anymedia] tags from Crist's previous hack. Does the tool with this handle that too?

mcgra 06-30-2007 06:32 PM

Quote:

Originally Posted by DaNIEL MeNTED (Post 1279491)
liveleak...

Works perfectly now, thanks a million :up:

Lizard King 06-30-2007 06:33 PM

Quote:

Originally Posted by FleaBag (Post 1280047)
Please excuse my ignorance! I have read through everything but I am a little unsure as to how I convert [anymedia] tags from Crist's previous hack. Does the tool with this handle that too?

I am also wondering the same thing. Probably i'll try this tonight on my test forum. But i realized something funny :) This doesn't work with GARS first post :D

Edit : I tried convertng media tags however it doesn't work. The Conversions option is always causing errors. Sam if you need info PM me , i'll supply you login info to my test board.

The Geek 06-30-2007 07:08 PM

@Heath, you would still need a plug in to handle the saving of the RSS feed which wouldnt be hard, but would need looking into.

@Flea, it should do... you just need to know the format that the new URL would have to take on. What does the data look like in the tag? I suspect that the conversion tool would need anymedia in the first box and \1 in the second - but im not 100% sure without knowing what the tags look like.

@Liz, sure pass on the details and ill give it a go. There isnt a reason why it shouldnt work in GARS threads.

The Geek 06-30-2007 07:59 PM

@Liz - converted no problem :)

The [media] tags (or any tag that has the full URL in it) is simple. The code setting is media and the conversion is \1
I ran it on your test board and it converted all the media tags to url tags.

You can then use the rebuild posts tool to convert those to your new codes.

The GARS thread was fine. The problem was that either the posts need rebuilding OR you need to edit/resave for AME to convert the URL tags.
Looks like your [youtube] code will also be straight forward to convert. Do it the same as the media explained above.

Just make sure you read the admicp help on the converting tool and rember that the tool only converts tags back to normal URL tags. After that, use rebuild posts tool to convert them to AME tags.

HTHs

Brandon Sheley 06-30-2007 08:27 PM

wow, I can't believe I've seen this

Thanks Sam :)

rjmjr69 06-30-2007 08:39 PM

I still dont quite get how to add additional xmls I see the import I tried all the xmls posted and only one worked but it was redundant already installed. with default settings. Geek are you going to be adding all these extras posted in the next update as part of the package?

The Geek 06-30-2007 09:22 PM

I amy add yahoo and a couple others, but I would rather leave the rest as options to reduce overheads.

Once you import, the screen takes you to another screen that enables you to then add them. Are you not getting that?

Hornstar 06-30-2007 11:40 PM

Sam can I suggest a feature ^^

You said you can import extra video sharing sites, so you don't have to build them in to save overhead right?

Why not create an import which has all the video sharing sites in the one import? I would like to have all the video sharing sites that there are, but others may not. so then the people who don't, can just import the single video sharing imports ^^ and the people who want the lot, can import the complete list of them ^^

I would create it, but ill leave it to the more advanced users :)

Lizard King 07-01-2007 02:14 AM

Quote:

Originally Posted by hornstar1337 (Post 1280229)
Sam can I suggest a feature ^^

You said you can import extra video sharing sites, so you don't have to build them in to save overhead right?

Why not create an import which has all the video sharing sites in the one import? I would like to have all the video sharing sites that there are, but others may not. so then the people who don't, can just import the single video sharing imports ^^ and the people who want the lot, can import the complete list of them ^^

I would create it, but ill leave it to the more advanced users :)

Probably he doesn't have time to do that. Thats why he suggest people preparing by themself.

Sam , there is something weird in the tools. Both hang out only the first page. Tried both test mode on and off. Convert codes just replace 1 post and thats it. Rebuild Post counts down till passing the next page however when i check the id's if always does the same postid's.

Hornstar 07-01-2007 04:58 AM

Quote:

Originally Posted by Lizard King (Post 1280292)
Probably he doesn't have time to do that. Thats why he suggest people preparing by themself.

Sam , there is something weird in the tools. Both hang out only the first page. Tried both test mode on and off. Convert codes just replace 1 post and thats it. Rebuild Post counts down till passing the next page however when i check the id's if always does the same postid's.

Yeah i'm aware that Sam is busy with his commercial products (I own four of them ^^ ) but considering how fast it took the other developer to implement so many different video sites into his, I don't think it would take someone as experienced as Sam long :)

But if Sam insists he wont, that is fine, hopefully another experienced person will be happy to put an import together which has a whole heap of the video sharing sites in it :)

furst 07-01-2007 06:34 AM

Hi Sam, I've done all of that, and it still does not work. I looked in the error log, but there wasn't anything relevant there. I'm using php 4.3.9. Please help.

Nathan2006 07-01-2007 06:35 AM

Thank you for this :)

Install

I have found 2 problems with this.

1. the titles of the videos come out like this:
[color=#0000ff]http://www.youtube.com/watch?v=c949...

and when you select "Thread Tools" it hides behind the video :(

I have added a screenshot so you know what its like.

Thanks for any help :)

cyberbob73 07-01-2007 07:59 AM

Have also times a question. Property me these chop inserted however these does not want not to function. With me in each case the left is indicated to the video, but not the Player.

The Geek 07-01-2007 08:00 AM

@Horn: Its actually a decent idea. Ill compile them into a larger xml to impoty as more are contributed

@Lizard. Is the test setting ticked? If so, you will never get past page 1 as no changes will ever be made. Make sure test mode is off.

@nathan: Try adding wmode="transparent" to the embed element in the replacement code. I have no clue how or why it would add color bbcode. So you have some other bbcode hack that tries to color urls?

The Geek 07-01-2007 08:00 AM

Quote:

Originally Posted by cyberbob73 (Post 1280429)
Have also times a question. Property me these chop inserted however these does not want not to function. With me in each case the left is indicated to the video, but not the Player.

sorry, I don't follow you

cyberbob73 07-01-2007 08:04 AM

Look please here ===> http://www.cyberbobs-welt.de/showthread.php?t=6786

Lizard King 07-01-2007 08:15 AM

Quote:

@Lizard. Is the test setting ticked? If so, you will never get past page 1 as no changes will ever be made. Make sure test mode is off.
I tried both versions Sam . If you want the login info still remains , you can login and check it on ayyas.

The Geek 07-01-2007 08:26 AM

Quote:

Originally Posted by cyberbob73 (Post 1280433)

did you try this: https://vborg.vbsupport.ru/showpost....&postcount=116

cyberbob73 07-01-2007 09:15 AM

Quote:

Originally Posted by cyberbob73 View Post
Look please here ===> http://www.cyberbobs-welt.de/showthread.php?t=6786
Sorry, but somehow does not go to nothing at all....

furst 07-01-2007 09:29 AM

Quote:

Originally Posted by The Geek (Post 1280440)

I tried all of that. There was nothing relevant in the logs. Also, my php version is 4.3.9. The AME tags work, but the problem is that they're not automatically added to the posts. Any suggestions?

The Geek 07-01-2007 09:30 AM

Quote:

Originally Posted by cyberbob73 (Post 1280453)
Sorry, but somehow does not go to nothing at all....

Quote:

Originally Posted by furst (Post 1280466)
I tried all of that. There was nothing relevant in the logs. Also, my php version is 4.3.9. The AME tags work, but the problem is that they're not automatically added to the posts. Any suggestions?

Can you guys PM me an admincp account?

Madmp3zz 07-01-2007 01:16 PM

EVERYTHING works great.
Had one issue where I was getting an alert at the top of my page.
I just had to change a setting in my PHP.INI file to ON.

CLICKED INSTALL!!!


GREAT IDEA!!!

The Geek 07-01-2007 02:53 PM

Package updated to 1.1.1 to address issues in older versions of PHP and to fix bug with rebuild posts never leaving the first page.

cyberbob73 07-01-2007 03:02 PM

THANKS FOR THE GOOD JOB

4x4 Mecca 07-01-2007 04:02 PM

You have the date wrong in the update post #2
1.1.1 Released 01.06.07
should be
1.1.1 Released 01.07.07
:) just trying to help you since you've helped so many people with this hack.

iogames 07-01-2007 06:12 PM

INCREDIBLE WORK!


:D

Funboy 07-01-2007 06:38 PM

Thx neat idea. INSTALLED :up:

rjmjr69 07-01-2007 08:11 PM

Everything I import is either a double or full of fatal errors?


All times are GMT. The time now is 06:43 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.02790 seconds
  • Memory Usage 1,830KB
  • 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
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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