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)

kinhell 06-26-2011 07:50 PM

Would love to know if I can add photos to this?

Also We are still using this mod just fine by just using the youtube url link not the short link

michal72 06-26-2011 07:57 PM

Quote:

Originally Posted by kinhell (Post 2213165)
Would love to know if I can add photos to this?

From Picasa - yes

sadiq6210 07-01-2011 07:17 PM

Not working with ckeditor

liefdesdichter 07-01-2011 07:39 PM

after update to vBulletin 4.1.4 we are not able to post comments reply etc
how to fix this problem?

Gn_Snake 07-01-2011 08:59 PM

The same problem!

basilrath 07-02-2011 11:50 AM

To be honest this mod should be moved to graveyard status if the guy has relinquished all contact with it and is not being developed further for the 4.1.4 issues attached.

michal72 07-02-2011 02:35 PM

Quote:

Originally Posted by liefdesdichter (Post 2215599)
after update to vBulletin 4.1.4 we are not able to post comments reply etc
how to fix this problem?

Please try this:

Relapace in all 8 WR Media templates:
PHP Code:

.prepare_submit(this.inputname.value, {vb:raw vboptions.postminchars}) 

with
PHP Code:

.prepare_submit(0, {vb:raw vboptions.postminchars}) 

In media_ajax_comment.js replace:
PHP Code:

function post_comment(mid)
{
    if (!
fetch_object('vB_Editor_QR_textarea').value)
    {
        return 
false;
    }

    
fetch_object('commentsubmit').value vbphrase['post_comment_wait'];
    
fetch_object('commentsubmit').disabled true;

    
YAHOO.util.Connect.asyncRequest("POST""media_ajax.php?do=comment", {
        
successsend_comment,
        
failurevBulletin_AJAX_Error_Handler,
        
timeout15000
    
}, SESSIONURL 'securitytoken=' SECURITYTOKEN "&mid=" mid "&message=" PHP.urlencode(fetch_object('vB_Editor_QR_textarea').value));

    return 
false;


with
PHP Code:

function post_comment(mid)
{
    var 
inptval=vB_Editor['vB_Editor_QR'].get_editor_contents();
    
    if(!
vB_Editor['vB_Editor_QR'].prepare_submit(00)) {
        return 
false;
    }
    
fetch_object('commentsubmit').value vbphrase['post_comment_wait'];
    
fetch_object('commentsubmit').disabled true;

    
YAHOO.util.Connect.asyncRequest("POST""media_ajax.php?do=comment", {
        
successsend_comment,
        
failurevBulletin_AJAX_Error_Handler,
        
timeout15000
    
}, SESSIONURL 'securitytoken=' SECURITYTOKEN "&mid=" mid "&message=" PHP.urlencode(inptval));

    return 
false;



BTW
Jaxel very nice mod!

Markus79 07-02-2011 03:49 PM

Works perfect 4 me.

Thank you

paulket 07-02-2011 04:27 PM

Thank you, michal72!!!

sadiq6210 07-02-2011 04:34 PM

Quote:

Originally Posted by michal72 (Post 2215879)
Please try this:

Relapace in all 8 WR Media templates:
PHP Code:

.prepare_submit(this.inputname.value, {vb:raw vboptions.postminchars}) 

with
PHP Code:

.prepare_submit(0, {vb:raw vboptions.postminchars}) 

In media_ajax_comment.js replace:
PHP Code:

function post_comment(mid)
{
    if (!
fetch_object('vB_Editor_QR_textarea').value)
    {
        return 
false;
    }

    
fetch_object('commentsubmit').value vbphrase['post_comment_wait'];
    
fetch_object('commentsubmit').disabled true;

    
YAHOO.util.Connect.asyncRequest("POST""media_ajax.php?do=comment", {
        
successsend_comment,
        
failurevBulletin_AJAX_Error_Handler,
        
timeout15000
    
}, SESSIONURL 'securitytoken=' SECURITYTOKEN "&mid=" mid "&message=" PHP.urlencode(fetch_object('vB_Editor_QR_textarea').value));

    return 
false;


with
PHP Code:

function post_comment(mid)
{
    var 
inptval=vB_Editor['vB_Editor_QR'].get_editor_contents();
    
    if(!
vB_Editor['vB_Editor_QR'].prepare_submit(00)) {
        return 
false;
    }
    
fetch_object('commentsubmit').value vbphrase['post_comment_wait'];
    
fetch_object('commentsubmit').disabled true;

    
YAHOO.util.Connect.asyncRequest("POST""media_ajax.php?do=comment", {
        
successsend_comment,
        
failurevBulletin_AJAX_Error_Handler,
        
timeout15000
    
}, SESSIONURL 'securitytoken=' SECURITYTOKEN "&mid=" mid "&message=" PHP.urlencode(inptval));

    return 
false;



BTW
Jaxel very nice mod!

WooW :up: working like a charm
Thanks brother

_________

Michal, could you help me on that?
I feel you are experience on this mod.

Quote:

Hi Jaxel

I know you don't support your vb mod anymore but I am trying from long time and really need your help, I will tell you the story and hope to help us.

About this mod.
https://vborg.vbsupport.ru/showthread.php?t=240677

I want to use this your vb media library as a wiki shown here:
http://www.8wayrun.com/wiki/index/

After a lot of works, I finished the layout but I have only one issue so I wish you can help me on that.

When I want to add new media, it ask me to put video link i.e youtube video link, but I use it as a wiki so there is no video to add.

Simply, I want to remove the option for video link and add the page without it. Now I can't add any new page unless I put video link, I want to cancel that.

which code should I remove Jaxel?
I tried to remove the video link box but I got this error
(Please fill the service ID and service VAL to submit new media)

I will appreciate your help
Best Regards;
Sadiq

I sent it from long time and there is no answer
I will appreciate your help Michal


All times are GMT. The time now is 09:15 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.03012 seconds
  • Memory Usage 1,789KB
  • 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
  • (8)bbcode_php_printable
  • (4)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