vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - 8WayRun.Com - Media Library (https://vborg.vbsupport.ru/showthread.php?t=240677)

goxy63 05-20-2010 09:09 AM

Tagged for now

Brand free is bit too high IMO

Thanks

cindy helmond 05-20-2010 10:30 AM

i get an white screen after adding this code in the plugin manager any idea ?
thx

Code:

Admin Control Panel > Plugins & Products > Plugin Manager > "media NAVTAB"

Find the code:

Code:
        $perms = media_permissions();Replace with:

Code:
$perms['rate'] = true;
$perms['comment'] = true;
$perms['submit'] = true;

if (is_member_of($vbulletin->userinfo, explode(',','5,6')))
{
        $perms['modtags'] = true;
        $perms['modcategory'] = true;
        $perms['modservice'] = true;
}


your24hourstore 05-20-2010 10:55 AM

is that find the code stuff commented out, and where the part your supposed to replaceing?

that looks like the original code

cindy helmond 05-20-2010 11:01 AM

Quote:

Originally Posted by harleyparts (Post 2040456)
is that find the code stuff commented out, and where the part your supposed to replaceing?

that looks like the original code

Code:

$perms = media_permissions(); this code

your24hourstore 05-20-2010 11:15 AM

Quote:

Originally Posted by cindy helmond (Post 2040459)
Code:

$perms = media_permissions(); this code

n/m i see its for valters hack , to make it work with media?

looks like all you do is find that one line of code and replae it with the 15 lines of code . you did that ?

you are running VSA's hack and you have no permission in tool bar?

cindy helmond 05-20-2010 11:22 AM

Quote:

Originally Posted by harleyparts (Post 2040463)
n/m i see its for valters hack , to make it work with media?

looks like all you do is find that one line of code and replae it with the 15 lines of code . you did that ?

you are running VSA's hack and you have no permission in tool bar?

yes i do that
you are running VSA's hack and you have no permission in tool bar? YES

your24hourstore 05-20-2010 11:24 AM

Quote:

Originally Posted by jiffylb1 (Post 2040350)
keep getting this message when trying to upload youtube video
Could not parse media URL.

utube seems to be bullet proof, is what url u are trying to parse
just grab the url out of the browser and try that see if it takes it

like http://www.youtube.com/watch?v=nVjwQ...eature=popular

your24hourstore 05-20-2010 11:29 AM

Quote:

Originally Posted by cindy helmond (Post 2040466)
yes i do that
you are running VSA's hack and you have no permission in tool bar? YES

if you have replaced the code and its giveing you a white screen, i would disable the vsa hack and see if media runs without it.

then go from there , i dont run that hack myself so never had to fix the plugin.

but maybe this will help someone help you that has had this problem

cindy helmond 05-20-2010 11:33 AM

Quote:

Originally Posted by harleyparts (Post 2040469)
if you have replaced the code and its giveing you a white screen, i would disable the vsa hack and see if media runs without it.

then go from there , i dont run that hack myself so never had to fix the plugin.

but maybe this will help someone help you that has had this problem

media runs good only i dont get the admin options on the media forum permissions are good in the acp .

your24hourstore 05-20-2010 11:39 AM

Quote:

Originally Posted by cindy helmond (Post 2040472)
media runs good only i dont get the admin options on the media forum permissions are good in the acp .

what page goes white after the code change?
the media or the admincp or the vsa ? :)


All times are GMT. The time now is 05:10 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.03247 seconds
  • Memory Usage 1,745KB
  • 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
  • (3)bbcode_code_printable
  • (7)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