Thread: Major Additions - Video-Directory Remixed
View Single Post
  #486  
Old 02-11-2009, 08:02 PM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bjhuang View Post
here you go.

after xml import, you have to create a dir to save the thumbnail.
and you have to modify the regex matching code by yourself when the layout chaged.

Code:
mkdir videothumbnails/tangle
chmod 777 videothumbnails/tangle
I edited the xml and changed the path to local tangle.png file instead.

I deleted old host, re-uploaded (import) that new xml file.

However, I'm still getting the "???" over the thumbnails when viewing categories. It does show the thumbnail when adding the video otherwise (after clicking load information button).

My directory and permission settings are correct

videothumbnails/Tangle

Changed line 58 to

Code:
        else $this->thumbnailpath = 'http://www.talkjesus.com/images/tangle.png';
Also:

Code:
<videohoster varname="Tangle" classname="Tangle" active="1">
    <title>Tangle</title>
Example:
http://www.talkjesus.com/videos/music-videos-2/

The source code for the thumbnail column shows this:

Code:
    <td class="alt2" width="1%" align="center"><div style="position: relative;"><span style="position:absolute; bottom:0px; right:0px; font-size:10px; color:#FFFFFF; background-color:#000000; padding:2px;"><strong>???</strong></span><a href="http://www.talkjesus.com/videos/music-videos-2/more-i-seek-you-19.html"><img src="http://www.talkjesus.com/videothumbnails/Tangle/f72e42e7fd377117183f.jpg" alt="The More I Seek You" title="The More I Seek You" style="height: 52px;" border="0" /></a></div></td>
    <td valign="top" class="alt1">
        <div class="smallfont" style="max-height: 52px; overflow: hidden;">
            ~ Valentine version of an awesome worship song from Gateway
        </div>
    </td>
Please explain how to get rid of the ??? portion.


Also, it is not automatically inserting the time min::sec either

edit: I just realized the ??? portion is showing up because of the missing time insert
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01188 seconds
  • Memory Usage 1,776KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete