Thread: Forum Home Enhancements - Tabbed Latest Album Pictures + Comments - Forum Home
View Single Post
  #90  
Old 12-16-2009, 08:35 PM
sailnet sailnet is offline
 
Join Date: Oct 2009
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is a really great mod and it installed easily, however it's not working properly for me and wondered it you had any ideas.

I am using 3.8.4 and my version of photopost is: 6.23

the code pointing to my images is wrong.

there's an extra slash in the path names

and I know my two fields are setup properly in :

Photopost Directory
Complete directory to your photopost installation with the trailing slash. IE: /home/userxxx/public_html/photopost/

and

URL for the photopost installation
URL for the photopost installation. Include the trailing slash: ie http://www.yoursite.com/forum/photopost/

PHP Code:
<div id="tlb_memberblock_pp" class="tborder content_block">
    <
h4 class="thead block_title">
        <
a href="#top" class="collapse_gadget" onclick="return toggle_collapse('tlb_memberblock_pp')"><img id="collapseimg_tlb_memberblock_pp" src="http://www.mysite.com/forums/images/buttons/collapse_generic.gif" alt="" border="0" /></a>
        <
a name="tlb_memberblock_pp"></a>
        <
span class="block_name">Latest Photos</span>

    </
h4>
    <
div class="block_content" id="collapseobj_tlb_memberblock_pp" style=""><!-- BEGIN TEMPLATEtlb_memberinfo_block_pp -->
<
div class="alt1 smallfont block_row" style="text-align:center">
        <
ul class="list_no_decoration" id="photos_list">
            <!-- 
BEGIN TEMPLATEtlb_memberinfo_block_pp_image -->
<
li class="memberinfo_tiny">
     <
a href="/usr/local/websites/mysite/photopost/data//500/screen4.gif" class="highslide" onclick="return hs.expand(this)"><img style="margin-top: 0px" width="80" height="60" src="/usr/local/websites/mysite/photopost/data//500/thumbs/screen4.gif" border="0" title="Click to enlarge" alt=""/></a>
</
li>
<!-- 
END TEMPLATEtlb_memberinfo_block_pp_image --><!-- BEGIN TEMPLATEtlb_memberinfo_block_pp_image -->
<
li class="memberinfo_tiny">
     <
a href="/usr/local/websites/mysite/photopost/data//500/screen1.gif" class="highslide" onclick="return hs.expand(this)"><img style="margin-top: 0px" width="80" height="60" src="/usr/local/websites/mysite/photopost/data//500/thumbs/screen1.gif" border="0" title="Click to enlarge" alt=""/></a>

</
li>
<!-- 
END TEMPLATEtlb_memberinfo_block_pp_image --><!-- BEGIN TEMPLATEtlb_memberinfo_block_pp_image -->
<
li class="memberinfo_tiny">
     <
a href="/usr/local/websites/mysite/photopost/data//500/139-quattro-pic5lg.jpg" class="highslide" onclick="return hs.expand(this)"><img style="margin-top: 0px" width="80" height="60" src="/usr/local/websites/mysite/photopost/data//500/thumbs/139-quattro-pic5lg.jpg" border="0" title="Click to enlarge" alt=""/></a>
</
li>
<!-- 
END TEMPLATEtlb_memberinfo_block_pp_image --><!-- BEGIN TEMPLATEtlb_memberinfo_block_pp_image -->
<
li class="memberinfo_tiny">
     <
a href="/usr/local/websites/mysite/photopost/data//500/1Sunset1.jpg" class="highslide" onclick="return hs.expand(this)"><img style="margin-top: 0px" width="80" height="60" src="/usr/local/websites/mysite/photopost/data//500/thumbs/1Sunset1.jpg" border="0" title="Click to enlarge" alt=""/></a>
</
li>
<!-- 
END TEMPLATEtlb_memberinfo_block_pp_image --><!-- BEGIN TEMPLATEtlb_memberinfo_block_pp_image -->
<
li class="memberinfo_tiny">
     <
a href="/usr/local/websites/mysite/photopost/data//500/1Sunset.jpg" class="highslide" onclick="return hs.expand(this)"><img style="margin-top: 0px" width="80" height="60" src="/usr/local/websites/mysite/photopost/data//500/thumbs/1Sunset.jpg" border="0" title="Click to enlarge" alt=""/></a>
</
li>
<!-- 
END TEMPLATEtlb_memberinfo_block_pp_image --><!-- BEGIN TEMPLATEtlb_memberinfo_block_pp_image -->

<
li class="memberinfo_tiny">
     <
a href="/usr/local/websites/mysite/photopost/data//500/1Blue_hills.jpg" class="highslide" onclick="return hs.expand(this)"><img style="margin-top: 0px" width="80" height="60" src="/usr/local/websites/mysite/photopost/data//500/thumbs/1Blue_hills.jpg" border="0" title="Click to enlarge" alt=""/></a>
</
li>
<!-- 
END TEMPLATEtlb_memberinfo_block_pp_image -->
        </
ul>
</
div

ps: the latestest version pg photopost has in its config-int.php this:


// The URL of your photo dir where your images are stored (with / at end)
$data_dir = "/usr/local/websites/mysite/photopost/data/";

which appears to be the cause of the additional slash - I have not tried my site without the slash at the end though
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01143 seconds
  • Memory Usage 1,836KB
  • 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
  • (1)bbcode_php
  • (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