vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   AnyMedia BBCode for 3.5.x (https://vborg.vbsupport.ru/showthread.php?t=106239)

jeremycs 06-24-2006 04:15 PM

Quote:

Originally Posted by Crist
Emmmmmmmmm.....
Seems serious enough,
thinking how to solve it now.

and I think I have to delay to Playlist function,
because of this.


In AnyMedia Admincp add an option:

Limit AnyMedia tag to First Post: YES / (NO)

Number of AnyMedia Tags Allowed Per Thread: (1)

Allow user to use autoplay tag: YES / (NO)


The settings above wouldn't restrict the media tag to the first post, but it would only allow 1 instance of the media item per thread.

For tracking, you could create a new table: thread_anymedia, or maybe just make a new field in the thread table "anymedia". The value would just be a incremental number ofhow many media tags have already been used in the thread. If the limit is reached, then it would error when the user tries to make a post a new thread.

I wouldn't worry too much about decreasing this value when threads or posts are removed... not right away anyway.

In fact, if you want to do a quick and dirty "fix", you could just add this single new option:

Number of AnyMedia Tags Allowed Per Thread: (1)

If the user has it set to 1, then it wont matter if it is the first post in the thread or otherwise... the admin will be sure that there wont be any abuse from excessive use of the media tags.





In future versions, if you wanted to get more complex, you could limit it to X instances (X=1 would be a good idea) of the media tag per PAGE of a thread. But that would require you to look up and calculate the pagination break and other things. But then you could have up to 1 (or whatever) media item per page of a thread.

syrus.xl 06-24-2006 10:46 PM

I set AnyMedia up so only admins and moderators can post media, and informed them to only post one media tag per thread.

Also there is the case of increased sql queries, with many media tags in one thread. Seems sensible to only post one media tag per thread considering people will comment only on that media.

futuredood 06-24-2006 10:49 PM

this is frustrating.. i installed this on one forum, it worked fine. i installed on a fresh new forum, and it wouldn't work. is there some default options that need to be turned on?

i did exactly as the instruction manual said.. i know i did it right b/c it was working on another forum i have.

does it matter if my forum is in /public_html/ rather than /public_html/forums/

Crist 06-25-2006 05:07 AM

Quote:

Originally Posted by naeemakhtar
Hi Crist.

I'm using v 3.5.4 and VBadvanced 2.1 .... I dont know why it plays that video straight away.

Hmmmmmmmmm....any ideas? Also I constantly get a white screen.....and ctrl+F5 doesnt get rid of it! Usually it happens if you start watching a video and thnen stop. then go back to watching that video again?! strange but irritating too!!! :(

Due to the bug of the flvplayer.

trying to fix and sit tight plz.

Crist 06-25-2006 07:34 AM

Quote:

Originally Posted by jeremycs
In AnyMedia Admincp add an option:

Limit AnyMedia tag to First Post: YES / (NO)

Number of AnyMedia Tags Allowed Per Thread: (1)

Allow user to use autoplay tag: YES / (NO)


The settings above wouldn't restrict the media tag to the first post, but it would only allow 1 instance of the media item per thread.

For tracking, you could create a new table: thread_anymedia, or maybe just make a new field in the thread table "anymedia". The value would just be a incremental number ofhow many media tags have already been used in the thread. If the limit is reached, then it would error when the user tries to make a post a new thread.

I wouldn't worry too much about decreasing this value when threads or posts are removed... not right away anyway.

In fact, if you want to do a quick and dirty "fix", you could just add this single new option:

Number of AnyMedia Tags Allowed Per Thread: (1)

If the user has it set to 1, then it wont matter if it is the first post in the thread or otherwise... the admin will be sure that there wont be any abuse from excessive use of the media tags.




In future versions, if you wanted to get more complex, you could limit it to X instances (X=1 would be a good idea) of the media tag per PAGE of a thread. But that would require you to look up and calculate the pagination break and other things. But then you could have up to 1 (or whatever) media item per page of a thread.

Thanks for your great suggestions.

I was thinking to add a Media Center to AnyMedia,
(I'll help AnyMedia to count the media and limit it.)
but I don't think I'll add that to this free version,
maybe a commercial version for the Chinese user I think.

Anyway, a restriction on media tag per post is very necessary,
and I'll make it.

G_Man 06-25-2006 02:26 PM

Quote:

Originally Posted by syrus.xl
I set AnyMedia up so only admins and moderators can post media, and informed them to only post one media tag per thread.

Also there is the case of increased sql queries, with many media tags in one thread. Seems sensible to only post one media tag per thread considering people will comment only on that media.


Ditto - I did the same. Simply restricted use of this tag for the same reasons.

Xil Ze 06-25-2006 10:13 PM

hey crist, how could i go about adding a function to anymedia that would enable anymedia to parse vbgallery links which uses misc.php?do=downloadfile&i=984 to discourage direct links to mp3s uploaded to the gallery

Sandy-XXX 06-27-2006 07:31 PM

Hi all,

I have this plugin and its all perfect, its cool, but we "Safari" browsers (the Mac browser) the videos dont display, they go all white like this:


They have to go direct to the video link is they want to see it.


Excuse my bad english...

This happens only with "Safari", with IE, Netscape and Firefox go all perfect.

nogerorob 06-28-2006 07:22 PM

Hello,

Back in March someone asked if you could prevent use of the AnyMedia BBCode in Signatures.

Is the option to restrict its use available now?

Thanks,

Rob

Kurt13 06-28-2006 08:05 PM

Hello together, I do not speak English, I translate with Babel Fish. I speak German. I have the Instellation so made as described and now wars I this error message, if I want to load a film.

Quote:

Warnung: message = [media]http://www.sturmbu
Quote:

Warnung: message = <a href=\"http://www.stur
I possess AnyMedia 3.0.4, vBadvanced CMPS 2.1.0, vBulletin 3.5.4.

http://www.sturmburg.ch/Forum/cmps_index.php

Love greeting, Kurt


All times are GMT. The time now is 08:45 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.03154 seconds
  • Memory Usage 1,756KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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