The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
8WayRun.Com - Media Library Details »» | |||||||||||||||||||||||||||||||||||||||||
Don't forget to click INSTALL!
I'm an unemployed computer programmer... if you appreciate the work I have done on this mod, please don't hesitate in offering me a donation by clicking the "Support Developer" link to the right of this text. A donation of $50 or more automatically gives you the right to remove the copyright footer for this modification from a single forum. This is a new modification, spawning from the old VB 3.x Video Directory modifications. For all intents and purposes, both my old Video Directory Remixed mod, and Survivor's original Video Directory mod have been discontinued. Neither of us are maintaining these older versions, they will not receive any future updates and we will not be providing any support. This version has a new name because it has been completely rewritten from scratch and is not being built on Survivor's old code. Because of this, if you are upgrading to this new version, from the old version, be sure to read this entire post in order to understand the upgrade process. What is this mod? Simply put, this mod is a directory for media. It supports URL inputs, in order to extract meta data and directorize media into a simple and easy to understand library. Users can add their favorite media from a select few online distribution centers (such as Youtube or Vimeo) and categorize and tag them as they see fit. This mod offers rudimentary support for the hosting of local media. An administrator can upload a media to the /customVID/ (default) directory; then add the media to the library using the URL code of "local:filename". Media hosted locally will be displayed using JWPlayer, but will not provide meta data, so that kind of information will need to be entered manually. Demo: http://www.8wayrun.com/media.phpFeatures:
If you are upgrading from before version 1.1, please install that version first.
There is a conflict with this modification and some of Valter's VSA modifications that will prevent navbar permissions from being handled correctly. I don't know exactly who's fault it is; but I'm pretty sure there are no errors in my code that would be causing this problem. There is a work around for this however. Download Now
Show Your Support
|
17 благодарности(ей) от: | ||
8thos, Ahmet Turan, alhidaya, BlueCheri, hasidoo, InfoNirvana, Marcin_J_, Megaboost, misericorde, nacaruncr, owning_y0u, paulvev, RichieBoy67, romaszek, rootsxrocks, sodasusu |
Comments |
#2152
|
|||
|
|||
Thank you all!
I solved the problem. At "DETAILS: Comments Per Page" don`t put 0 !!!! |
#2153
|
|||
|
|||
I am having same issues as others:
Getting this error : "The description you have entered is too short (0 characters). Please lengthen your description to at least 5 characters." when submitting from the nav bar but it works when submitting Media at bottom of page main page? Also is it possible to add your own videos from your computer/server? |
#2154
|
|||
|
|||
Does anyone have instructions on how to upload custom videos? I can't seem to figure it out
|
#2155
|
|||
|
|||
Quote:
Quote:
|
#2156
|
|||
|
|||
Thank for support :X
|
#2157
|
||||
|
||||
I am getting a 404 for
clientscript/vbulletin_css/style00005l/8WR_media.css I have "Store CSS Stylesheets as Files?" set as No. Please suggest. |
#2158
|
|||
|
|||
The Links don't work.
That is a problem in my htaccess. Need help ... Code:
## Charset AddDefaultCharset Off ## ETags FileETag None ## Expires <ifModule mod_expires.c> ExpiresActive On ExpiresDefault "access plus 1 seconds" ExpiresByType text/html "access plus 1 seconds" ExpiresByType image/gif "access plus 259200000 seconds" ExpiresByType image/jpeg "access plus 259200000 seconds" ExpiresByType image/png "access plus 259200000 seconds" ExpiresByType text/css "access plus 60480000 seconds" ExpiresByType text/javascript "access plus 21600000 seconds" ExpiresByType application/x-javascript "access plus 21600000 seconds" </ifModule> ## Compression <ifmodule mod_headers.c> <ifmodule mod_deflate.c> AddOutputFilterByType DEFLATE text/html text/css text/xml application/x-javascript BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4\.0[678] no-gzip BrowserMatch \bMSIE !no-gzip !gzip-only-text/html </ifmodule> </ifmodule> ## Rewrites RewriteEngine on RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] #####Start VB Pro Garage Settings########## RewriteRule ^garage.html$ garage.php [NC,L] RewriteRule ^garage-kategorie-([0-9]+)-([0-9]+).html$ garage.php?sub_id=$1&page=$2 [QSA,NC,L] RewriteRule ^garage-kategorie-([0-9]+).html$ garage.php?sub_id=$1 [QSA,NC,L] RewriteRule ^garage-browse-([0-9]+).html$ garage.php?do=browse&page=$1 [QSA,NC,L] RewriteRule ^garage-browse.html$ garage.php?do=browse [QSA,NC,L] RewriteRule ^garage-suche.html$ garage.php?do=search [QSA,NC,L] RewriteRule ^garage-fahrrad-map.html$ garage.php?do=veh_map [NC,L] RewriteRule ^garage-such_ergebnisse-([0-9]+).html$ garage.php?do=search_results&page=$1 [QSA,NC,L] RewriteRule ^garage-such_ergebnisse.html$ garage.php?do=search_results [QSA,NC,L] RewriteRule ^garage-timeslips-([0-9]+).html$ garage.php?do=timeslip&page=$1 [QSA,NC,L] RewriteRule ^garage-timeslips.html$ garage.php?do=timeslip [QSA,NC,L] RewriteRule ^garage-fahrrad-([0-9]+)-AllImages-([a-zA-Z0-9_-]+).html$ garage_vehicle.php?do=view_vehicle&subdo=images&order=all&id=$1 [NC,L] RewriteRule ^garage-fahrrad-([0-9]+)-([a-zA-Z0-9_-]+).html$ garage_vehicle.php?do=view_vehicle&id=$1 [NC,L] RewriteRule ^garage-bilder-kommentare-([0-9]+)-([0-9]+).html$ garage_comments.php?do=view_img_comments&id=$1&page=$2 [NC,L] RewriteRule ^garage-bilder-kommentare-([0-9]+).html$ garage_comments.php?do=view_img_comments&id=$1 [NC,L] RewriteRule ^garage-user-view-([0-9]+).html$ garage.php?do=user_garage_view&id=$1 [NC,L] RewriteRule ^garage-attach-([0-9]+).html$ garage_attachment.php?id=$1 [NC,L] RewriteRule ^garage-attach-([0-9]+)-full.html$ garage_attachment.php?id=$1&attach_type=full [NC,L] RewriteRule ^garage-view-timeslip-([0-9]+).html$ garage_timeslips.php?do=view_timeslip&id=$1 [NC,L] RewriteRule ^garage-alle-kommentare-([0-9]+).html$ garage_comments.php?do=viewall&page=$1 [NC,L] RewriteRule ^garage-alle-kommentare.html$ garage_comments.php?do=viewall [NC,L] RewriteRule ^garage-browse-make-([0-9]+)-([a-zA-Z0-9_-]+).html$ garage.php?do=browse_front_model&front_make_id=$1 [NC,L] RewriteRule ^garage-browse-model-([0-9]+)-([0-9]+)-([a-zA-Z0-9_-]+).html$ garage.php?do=browse_model&front_model_id=$2&page=$1 [NC,L] RewriteRule ^garage-browse-model-([0-9]+)-([a-zA-Z0-9_-]+).html$ garage.php?do=browse_model&front_model_id=$1 [NC,L] #####End VB Pro Garage Settings########## # Forum RewriteRule ^threads/.* showthread.php [QSA] RewriteRule ^forums/.* forumdisplay.php [QSA] RewriteRule ^members/.* member.php [QSA] RewriteRule ^blogs/.* blog.php [QSA] ReWriteRule ^entries/.* entry.php [QSA] RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] # MVC RewriteRule ^(?:(.*?)(?:/|$))(.*|$)$ $1.php?r=$2 [QSA] Look here: http://www.fahrradtreffpunkt.de/media.php No mediafiles i can play. |
#2159
|
|||
|
|||
Can someone point me in the right direction, I did read and, I am not trying to be spoon fed, but for some reason I can not seem to find the 4 template lines to replace. I have searched and searched. I do not see it in the below templates when I opened them and to top it off, I dont see a template for 8WR_media_details_edit. Any help would be appreciated in getting this mod fixed to work with vb4.14 would be greatly appreciated. I replaced the template lines in the media_ajax_comment.js file with no problems.
Respectfully, KP Quote:
|
#2160
|
||||
|
||||
Please Just replace the whole templates with the following codes.
8WR_media_comment HTML Code:
<script type="text/javascript" src="clientscript/vbulletin-editor.js?v={vb:raw vboptions.simpleversion}"></script> <form action="media.php" name="vbform" method="post" onsubmit="return vB_Editor['{vb:raw editorid}'].prepare_submit(0, {vb:raw vboptions.postminchars})"> <div class="mediahead">{vb:phrase media_comment_edit}</div> <div class="mediabody"> <div class="mediarow" style="margin-bottom: {vb:stylevar media_margin}px; text-align: left;"><label id="editor_message">{vb:phrase message_by_x_on_y_at_z, {vb:link member, {vb:raw comment}}, {vb:var comment.username}, {vb:var comment.date}, {vb:var comment.time}}:</label></div> <div class="mediarow floatcontainer" style="padding: 10px;">{vb:raw messagearea}</div> <div class="mediarow floatcontainer" style="margin-top: {vb:stylevar media_margin}px;"> <div style="float: right"> <input type="radio" class="primary full radio" name="action" value="save" checked="checked" /> {vb:phrase media_save} <input type="radio" class="primary full radio" name="action" value="delete" /> {vb:phrase media_delete} </div> <div style="float: left"><b>{vb:phrase media_saveordelete}</b></div> (<i>{vb:phrase media_delete_info}</i> ) </div> <div style="margin-top: {vb:stylevar media_margin}px; text-align: center;"><input type="submit" class="button" name="submit" value="{vb:phrase media_comment_edit}" /></div> </div> <input type="hidden" name="s" value="{vb:raw session.sessionhash}" /> <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" /> <input type="hidden" name="do" value="comment_data" /> <input type="hidden" name="mid" value="{vb:var comment.mediaID}" /> <input type="hidden" name="cmt" value="{vb:var comment.commentID}" /> </form> HTML Code:
<div class="mediahead">{vb:var media.title}</div> <div class="mediabody"> <div class="mediarow" style="margin-bottom: {vb:stylevar media_margin}px;"> <vb:if condition="$perms['edit'] OR $perms['modedit']"> <div style="float: right; padding-left: 10px;"><a href="{vb:raw href.details_tags}" class="button">{vb:phrase media_tags_edit}</a></div> <div style="float: right; padding-left: 10px;"><a href="{vb:raw href.details_edit}" class="button">{vb:phrase media_details_edit}</a></div> </vb:if> <vb:if condition="$perms['report']"> <div style="float: right; padding-left: 10px;"><a href="{vb:raw href.details_report}" class="button">{vb:phrase media_report}</a></div> </vb:if> <div id="mediafaves" style="float: left;">{vb:raw mediafaves}</div> <b>{vb:var media.title}</b> <vb:if condition="!$media['embed_stream']">({vb:var media.length})</vb:if> </div> <vb:if condition="$playlist"> <div class="mediarow floatcontainer" style="margin-bottom: {vb:stylevar media_margin}px;"> <vb:if condition="$next"> <div style="float: right; padding-left: 10px;"><b>Next »</b> ({vb:var next.pos} of {vb:var playlist.count})<br /><a href="{vb:raw next.href}">{vb:var next.title}</a></div> </vb:if> <vb:if condition="$prev"> <div style="float: left; padding-right: 10px;">({vb:var prev.pos} of {vb:var playlist.count}) <b>« Previous</b><br /><a href="{vb:raw prev.href}">{vb:var prev.title}</a></div> </vb:if> <b><a href="{vb:raw playlist.href}">{vb:var playlist.plName}</a></b> </div> </vb:if> <table cellspacing="0" cellpadding="0" border="0" width="100%"> <tr> <td<vb:if condition="!$media['embed_stream']"> style="padding-right: {vb:stylevar media_margin}px;"</vb:if> width="1%"> <div class="mediarow" style="padding: 0px;" id="embed"> {vb:raw media.embed} <vb:if condition="$media['embed_stream']"> {vb:raw media.embed_stream} <vb:else /> </div> </td> <td class="mediarow" valign="top"> <b>{vb:phrase media_datetime,{vb:var media.date},{vb:var media.time}}</b><br /> {vb:phrase media_uploadedby} <a href="{vb:raw href.user}">{vb:var media.username}</a><br /> <br /> <div class="popupmenu" id="mediarating">{vb:raw mediarating}</div> <br /> <a href="{vb:raw href.category}">{vb:var media.catName}</a><br /> {vb:phrase media_favorites}: {vb:var media.favorites} - {vb:phrase media_views}: {vb:var media.views}<br /> {vb:phrase media_comments}: {vb:var media.comments}<br /> <br /> <input type="text" class="primary full textbox" onclick="this.focus(); this.select()" value="{vb:var href.details}" readonly="readonly" style="width: 90%;" /><br /> <br /> <vb:if condition="$vbulletin->options[media_bbcode]"> <input type="text" class="primary full textbox" onclick="this.focus(); this.select()" value="[media={vb:var media.title}]{vb:var media.mediaID}[/media]" readonly="readonly" style="width: 90%;" /><br /> <br /> </vb:if> <b>{vb:phrase media_tags}:</b><br /> <ul class="commalist"> {vb:raw media.tags} </ul> </td> </vb:if> </tr> </table> <div class="mediarow floatcontainer" style="margin-top: {vb:stylevar media_margin}px; text-align: left;"> <vb:if condition="$vbulletin->options[media_custom]"> <vb:if condition="$vbulletin->options[media_custom1_name] && $media[custom1]"> <b>{vb:raw vboptions.media_custom1_name}:</b> {vb:raw media.custom1}<br /> </vb:if> <vb:if condition="$vbulletin->options[media_custom2_name] && $media[custom2]"> <b>{vb:raw vboptions.media_custom2_name}:</b> {vb:raw media.custom2}<br /> </vb:if> <vb:if condition="$vbulletin->options[media_custom3_name] && $media[custom3]"> <b>{vb:raw vboptions.media_custom3_name}:</b> {vb:raw media.custom3}<br /> </vb:if> <vb:if condition="$vbulletin->options[media_custom4_name] && $media[custom4]"> <b>{vb:raw vboptions.media_custom4_name}:</b> {vb:raw media.custom4}<br /> </vb:if> <vb:if condition="$vbulletin->options[media_custom5_name] && $media[custom5]"> <b>{vb:raw vboptions.media_custom5_name}:</b> {vb:raw media.custom5}<br /> </vb:if> <vb:if condition="$vbulletin->options[media_custom6_name] && $media[custom6]"> <b>{vb:raw vboptions.media_custom6_name}:</b> {vb:raw media.custom6}<br /> </vb:if> <vb:if condition="$vbulletin->options[media_custom7_name] && $media[custom7]"> <b>{vb:raw vboptions.media_custom7_name}:</b> {vb:raw media.custom7}<br /> </vb:if> <vb:if condition="$vbulletin->options[media_custom8_name] && $media[custom8]"> <b>{vb:raw vboptions.media_custom8_name}:</b> {vb:raw media.custom8}<br /> </vb:if> <vb:if condition="$vbulletin->options[media_custom9_name] && $media[custom9]"> <b>{vb:raw vboptions.media_custom9_name}:</b> {vb:raw media.custom9}<br /> </vb:if> <vb:if condition="$media[custom1] || $media[custom2] || $media[custom3] || $media[custom4] || $media[custom5] || $media[custom6] || $media[custom7] || $media[custom8] || $media[custom9]"> <br /> </vb:if> </vb:if> {vb:raw media.description} </div> </div> <div class="mediahead">{vb:phrase media_comment_submit}</div> <div class="mediabody"> <vb:if condition="$perms['comment']"> <script type="text/javascript" src="clientscript/vbulletin-editor.js?v={vb:raw vboptions.simpleversion}"></script> <script type="text/javascript" src="clientscript/vbulletin_textedit.js?v={vb:raw vboptions.simpleversion}"></script> <form action="media.php" name="vbform" method="post" onsubmit="return vB_Editor['{vb:raw editorid}'].prepare_submit(0, {vb:raw vboptions.postminchars})"> <div id="commentform"> <div class="mediarow floatcontainer" style="padding: 10px;"> {vb:raw messagearea} </div> </div> <div style="padding-right: 30px; text-align: right;"> <input type="submit" class="button" name="commentsubmit" id="commentsubmit" value="{vb:phrase media_comment_submit}" /> </div> <input type="hidden" name="s" value="{vb:raw session.sessionhash}" /> <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" /> <input type="hidden" name="do" value="comment" /> <input type="hidden" name="mid" value="{vb:var media.mediaID}" /> </form> </vb:if> <div id="mediasubs" style="float: left; margin-right: 10px;">{vb:raw mediasubs}</div> <div id="pagination_top">{vb:raw pagenav}</div><br /><br /> <div class="mediarow" style="padding: 10px; text-align: left;"> <ol id="message_list" class="list_no_decoration"> <vb:if condition="$commentbits"> {vb:raw commentbits} <vb:else /> <li style="text-align: center; padding: 10px;">{vb:phrase media_comments_none}</li> </vb:if> </ol> </div> </div> <script type="text/javascript" src="media/media_ajax_rating.js"></script> <script type="text/javascript" src="media/media_ajax_comment.js"></script> <script type="text/javascript" src="media/media_ajax_faves.js"></script> <script type="text/javascript" src="media/media_ajax_subs.js"></script> <script type="text/javascript"> <!-- vbphrase['post_comment'] = '{vb:phrase media_comment_done}'; vbphrase['post_comment_wait'] = '{vb:phrase media_comment_wait}'; vbphrase['post_comment_fail'] = '{vb:phrase media_comment_submit}'; rating_init({vb:var media.mediaID}); comment_init({vb:var media.mediaID},<vb:if condition="$playlist">{vb:var playlist.playlistID}<vb:else />0</vb:if>); faves_init({vb:var media.mediaID},<vb:if condition="$playlist">{vb:var playlist.playlistID}<vb:else />0</vb:if>); subs_init({vb:var media.mediaID},<vb:if condition="$playlist">{vb:var playlist.playlistID}<vb:else />0</vb:if>); --> </script> |
#2161
|
||||
|
||||
8WR_media_details_edit
HTML Code:
<script type="text/javascript" src="clientscript/vbulletin-editor.js?v={vb:raw vboptions.simpleversion}"></script> <form action="media.php" name="vbform" method="post" onsubmit="return vB_Editor['{vb:raw editorid}'].prepare_submit(0, {vb:raw vboptions.postminchars})"> <div class="mediahead">{vb:phrase media_details_edit}</div> <div class="mediabody"> <div class="mediarow" style="margin-bottom: {vb:stylevar media_margin}px;"> <b>{vb:phrase media_title}:</b> <input type="text" class="primary full textbox" name="title" style="width: 40%;" value="{vb:var media.title}" /> <b>{vb:phrase media_category}:</b> <select class="primary full" name="category">{vb:raw catselect}</select> <b>{vb:phrase media_length}:</b> <input type="text" class="primary full textbox" name="minutes" style="width: 20px; text-align: right;" maxlength="3" value="{vb:var media.minutes}" /> min <input type="text" class="primary full textbox" name="seconds" style="width: 15px; text-align: right;" maxlength="2" value="{vb:var media.seconds}" /> sec </div> <div class="mediarow floatcontainer" style="padding: 10px; margin-top: {vb:stylevar media_margin}px;">{vb:raw messagearea}</div> <vb:if condition="$vbulletin->options[media_custom]"> <div class="mediarow" style="margin-top: {vb:stylevar media_margin}px;"> <vb:if condition="$vbulletin->options[media_custom1_name]"> <span style="display: inline-block; width: 100px;"><b>{vb:raw vboptions.media_custom1_name}</b></span> <input type="text" class="primary full textbox" name="custom1" style="width: 70%;" value="{vb:var media.custom1}" /><br /> </vb:if> <vb:if condition="$vbulletin->options[media_custom2_name]"> <br /><span style="display: inline-block; width: 100px;"><b>{vb:raw vboptions.media_custom2_name}</b></span> <input type="text" class="primary full textbox" name="custom2" style="width: 70%;" value="{vb:var media.custom2}" /><br /> </vb:if> <vb:if condition="$vbulletin->options[media_custom3_name]"> <br /><span style="display: inline-block; width: 100px;"><b>{vb:raw vboptions.media_custom3_name}</b></span> <input type="text" class="primary full textbox" name="custom3" style="width: 70%;" value="{vb:var media.custom3}" /><br /> </vb:if> <vb:if condition="$vbulletin->options[media_custom4_name]"> <br /><span style="display: inline-block; width: 100px;"><b>{vb:raw vboptions.media_custom4_name}</b></span> <input type="text" class="primary full textbox" name="custom4" style="width: 70%;" value="{vb:var media.custom4}" /><br /> </vb:if> <vb:if condition="$vbulletin->options[media_custom5_name]"> <br /><span style="display: inline-block; width: 100px;"><b>{vb:raw vboptions.media_custom5_name}</b></span> <input type="text" class="primary full textbox" name="custom5" style="width: 70%;" value="{vb:var media.custom5}" /><br /> </vb:if> <vb:if condition="$vbulletin->options[media_custom6_name]"> <br /><span style="display: inline-block; width: 100px;"><b>{vb:raw vboptions.media_custom6_name}</b></span> <input type="text" class="primary full textbox" name="custom6" style="width: 70%;" value="{vb:var media.custom6}" /><br /> </vb:if> <vb:if condition="$vbulletin->options[media_custom7_name]"> <br /><span style="display: inline-block; width: 100px;"><b>{vb:raw vboptions.media_custom7_name}</b></span> <input type="text" class="primary full textbox" name="custom7" style="width: 70%;" value="{vb:var media.custom7}" /><br /> </vb:if> <vb:if condition="$vbulletin->options[media_custom8_name]"> <br /><span style="display: inline-block; width: 100px;"><b>{vb:raw vboptions.media_custom8_name}</b></span> <input type="text" class="primary full textbox" name="custom8" style="width: 70%;" value="{vb:var media.custom8}" /><br /> </vb:if> <vb:if condition="$vbulletin->options[media_custom9_name]"> <br /><span style="display: inline-block; width: 100px;"><b>{vb:raw vboptions.media_custom9_name}</b></span> <input type="text" class="primary full textbox" name="custom9" style="width: 70%;" value="{vb:var media.custom9}" /><br /> </vb:if> </div> </vb:if> <div class="mediarow floatcontainer" style="margin-top: {vb:stylevar media_margin}px;"> <div style="float: right"> <input type="radio" class="primary full radio" name="action" value="save" checked="checked" /> {vb:phrase media_save} <input type="radio" class="primary full radio" name="action" value="delete" /> {vb:phrase media_delete} </div> <div style="float: left"><b>{vb:phrase media_saveordelete}</b></div> (<i>{vb:phrase media_delete_info}</i> ) </div> <div style="margin-top: {vb:stylevar media_margin}px; text-align: center;"><input type="submit" class="button" name="submit" value="{vb:phrase media_details_edit}" /></div> </div> <input type="hidden" name="s" value="{vb:raw session.sessionhash}" /> <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" /> <input type="hidden" name="do" value="details_data" /> <input type="hidden" name="mid" value="{vb:var media.mediaID}" /> </form> <form action="media.php" method="post" enctype="multipart/form-data"> <div class="mediahead">{vb:phrase media_details_thumb}</div> <div class="mediabody"> <div class="mediarow floatcontainer"> <div style="float: left; padding-right: {vb:stylevar media_margin}px; "><img src="{vb:var media.thumbnail}" border="0" alt="" /></div> <input type="file" class="primary full file" name="upload" size="50" /> <input type="submit" class="button" name="submit" value="{vb:phrase media_details_upload}" /><br /> <br /> {vb:phrase media_details_info} </div> </div> <input type="hidden" name="s" value="{vb:raw session.sessionhash}" /> <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" /> <input type="hidden" name="do" value="details_thumb" /> <input type="hidden" name="mid" value="{vb:var media.mediaID}" /> </form> 8WR_media_submit HTML Code:
<script type="text/javascript" src="clientscript/vbulletin-editor.js?v={vb:raw vboptions.simpleversion}"></script> <div class="mediahead">{vb:phrase media_submit}</div> <div class="mediabody"> <form action="media.php" name="vbform" method="post"> <div class="mediarow" style="margin-bottom: {vb:stylevar media_margin}px;"> <b>{vb:phrase media_url}:</b> <input type="text" class="primary full textbox" name="source" id="source" style="width: 65%;" value="{vb:var feed.source}" /> <input type="submit" class="button" name="getxmlfeeds" id="getxmlfeeds" value="{vb:phrase media_submit_retrieve}" /> </div> <input type="hidden" name="s" value="{vb:raw session.sessionhash}" /> <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" /> <input type="hidden" name="do" value="submit" /> </form> <form action="media.php" name="vbform" method="post" onsubmit="return validate(); return vB_Editor['{vb:raw editorid}'].prepare_submit(0, {vb:raw vboptions.postminchars})"> <div class="mediarow" style="margin-bottom: {vb:stylevar media_margin}px;"> <b>{vb:phrase media_title}:</b> <input type="text" class="primary full textbox" name="title" id="title" style="width: 40%;" value="{vb:var feed.title}" /> <b>{vb:phrase media_category}:</b> <select class="primary full" name="category" id="category">{vb:raw catselect}</select> <b>{vb:phrase media_length}:</b> <input type="text" class="primary full textbox" name="minutes" id="minutes" style="width: 20px; text-align: right;" maxlength="3" value="{vb:var feed.minutes}" /> {vb:phrase media_min} <input type="text" class="primary full textbox" name="seconds" id="seconds" style="width: 15px; text-align: right;" maxlength="2" value="{vb:var feed.seconds}" /> {vb:phrase media_sec} </div> <table cellspacing="0" cellpadding="0" border="0" width="100%"> <tr> <td style="padding-right: {vb:stylevar media_margin}px;" width="1%"><div class="mediarow" style="border: 0px; padding: 0px;" id="embed">{vb:raw feed.embed}</div></td> <td class="mediarow" valign="top"> <div id="thumbnail_border" style="padding-bottom: 20px;<vb:if condition="!$feed">display: none;</vb:if>"> <b>{vb:phrase media_thumbnail}:</b><br /> <br /> <img src="{vb:var feed.thumbnail}" border="0" name="thumbnail_image" id="thumbnail_image" width="150" alt="" /> </div> <b>{vb:phrase media_tags}:</b><br /> <br /> <textarea class="primary full textarea" name="taglist" id="taglist" style="width: 90%; height: 128px;" cols="" rows="">{vb:var feed.taglist}</textarea><br /> <div style="font-size: 80%; padding-top: 5px;">{vb:phrase media_tags_comma}</div> </td> </tr> </table> <div class="mediarow floatcontainer" style="padding: 10px; margin-top: {vb:stylevar media_margin}px;">{vb:raw messagearea}</div> <vb:if condition="$vbulletin->options[media_custom]"> <div class="mediarow" style="margin-top: {vb:stylevar media_margin}px;"> <vb:if condition="$vbulletin->options[media_custom1_name]"> <span style="display: inline-block; width: 100px;"><b>{vb:raw vboptions.media_custom1_name}</b></span> <input type="text" class="primary full textbox" name="custom1" style="width: 70%;" value="" /><br /> </vb:if> <vb:if condition="$vbulletin->options[media_custom2_name]"> <br /><span style="display: inline-block; width: 100px;"><b>{vb:raw vboptions.media_custom2_name}</b></span> <input type="text" class="primary full textbox" name="custom2" style="width: 70%;" value="" /><br /> </vb:if> <vb:if condition="$vbulletin->options[media_custom3_name]"> <br /><span style="display: inline-block; width: 100px;"><b>{vb:raw vboptions.media_custom3_name}</b></span> <input type="text" class="primary full textbox" name="custom3" style="width: 70%;" value="" /><br /> </vb:if> <vb:if condition="$vbulletin->options[media_custom4_name]"> <br /><span style="display: inline-block; width: 100px;"><b>{vb:raw vboptions.media_custom4_name}</b></span> <input type="text" class="primary full textbox" name="custom4" style="width: 70%;" value="" /><br /> </vb:if> <vb:if condition="$vbulletin->options[media_custom5_name]"> <br /><span style="display: inline-block; width: 100px;"><b>{vb:raw vboptions.media_custom5_name}</b></span> <input type="text" class="primary full textbox" name="custom5" style="width: 70%;" value="" /><br /> </vb:if> <vb:if condition="$vbulletin->options[media_custom6_name]"> <br /><span style="display: inline-block; width: 100px;"><b>{vb:raw vboptions.media_custom6_name}</b></span> <input type="text" class="primary full textbox" name="custom6" style="width: 70%;" value="" /><br /> </vb:if> <vb:if condition="$vbulletin->options[media_custom7_name]"> <br /><span style="display: inline-block; width: 100px;"><b>{vb:raw vboptions.media_custom7_name}</b></span> <input type="text" class="primary full textbox" name="custom7" style="width: 70%;" value="" /><br /> </vb:if> <vb:if condition="$vbulletin->options[media_custom8_name]"> <br /><span style="display: inline-block; width: 100px;"><b>{vb:raw vboptions.media_custom8_name}</b></span> <input type="text" class="primary full textbox" name="custom8" style="width: 70%;" value="" /><br /> </vb:if> <vb:if condition="$vbulletin->options[media_custom9_name]"> <br /><span style="display: inline-block; width: 100px;"><b>{vb:raw vboptions.media_custom9_name}</b></span> <input type="text" class="primary full textbox" name="custom9" style="width: 70%;" value="" /><br /> </vb:if> </div> </vb:if> <vb:if condition="$forum"> <div class="mediarow floatcontainer" style="margin-top: {vb:stylevar media_margin}px;"> <div style="float: right"> (<i>{vb:phrase media_newthread_info, {vb:var forum.title}}</i> ) </div> <div style="float: left"> <input type="checkbox" class="primary full checkbox" name="newthread" value="newthread" /> <b>{vb:phrase media_newthread}</b> </div> </div> </vb:if> <div style="text-align: center;"><input type="submit" class="button" name="submitbutton" id="submitbutton" value="{vb:phrase media_submit}" style="margin-top: {vb:stylevar media_margin}px; <vb:if condition="!$feed">display: none;</vb:if>" /></div> <input type="hidden" name="s" value="{vb:raw session.sessionhash}" /> <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" /> <input type="hidden" name="do" value="submit_data" /> <input type="hidden" name="serviceID" id="serviceID" value="{vb:var feed.serviceID}" /> <input type="hidden" name="serviceVAL" id="serviceVAL" value="{vb:var feed.serviceVAL}" /> <input type="hidden" name="serviceVAL2" id="serviceVAL2" value="{vb:var feed.serviceVAL2}" /> <input type="hidden" name="thumbnail" id="thumbnail" value="{vb:var feed.thumbnail}" /> </form> </div> <script type="text/javascript" src="media/media_ajax_submit.js"></script> <script type="text/javascript"> <!-- vbphrase['retrieve_information'] = '{vb:phrase media_submit_retrieve}'; vbphrase['retrieve_information_wait'] = '{vb:phrase media_submit_retrieve_wait}'; vbphrase['media_validate_category'] = '{vb:phrase media_validate_category}'; vbphrase['media_validate_title'] = '{vb:phrase media_validate_title}'; vbphrase['media_validate_length'] = '{vb:phrase media_validate_length}'; vbphrase['media_validate_desc'] = '{vb:phrase media_validate_desc}'; vbphrase['media_validate_tags'] = '{vb:phrase media_validate_tags}'; submit_init(); --> </script> |
Благодарность от: | ||
puertoblack2003 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|