Thread: Forum Home Enhancements - New Latest Album Pictures - Forum Home
View Single Post
  #436  
Old 05-30-2012, 01:08 AM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Got the template working, Just a question - how can I insert this in a custom location? I tried copying the newalbum_picture template into a custom forumhome spot and this is all it outputs:

THis is the entire code I'm using in forumhome, for the 2 columned table for my shoutbox and this gallery

Code:
    <div class="vbcat">
        <div class="vbcat_left">
            <div class="vbcat_right">
        <a class="collapse" id="collapse_shoutbox" href="{vb:raw relpath}#top"><img src="{vb:stylevar imgdir_button}/collapse{vb:raw vbcollapse.collapseimg_album_content_img}_40b.png" alt="{vb:rawphrase collapse_this_category}" /></a>
            </div>
        </div>
    </div>
        <table border="0" width="100%" align="center" columns="2">
            <tr>
                <td>
                    <div id="shoutbox">
                        <iframe frameborder="0" style="height: 185px; overflow:auto; width: 95%" src="http://www.cbox.ws/box/?boxid=439&boxtag=7868&sec=main" name="cboxmain" id="cboxmain" seamless="seamless" scrolling="auto" frameborder="0"></iframe>
                        <iframe frameborder="0" width="95%" height="55" src="http://www.cbox.ws/box/?boxid=439&boxtag=7868&sec=form&wmsg=350&nme=$cbox _nme&nmekey=$cbox_key" marginheight="1" marginwidth="1" scrolling="no" allowtransparency="yes" name="cboxform" id="cboxform"></iframe>
                    </div>
                </td>
                <td align="center">
                    <a class="picture" href="album.php?albumid={vb:raw lpicture.albumid}&amp;attachmentid={vb:raw lpicture.attachmentid}">
                    <img  src="attachment.php?attachmentid={vb:raw lpicture.attachmentid}&amp;thumb=1&amp;d=1258906442" alt="Front Range 4x4 Member Rig" style="border:1px solid #ddd;background:white;padding:4px;-webkit-box-shadow:0px 2px 2px rgba(0,0,0,0.8);-moz-box-shadow:0px 2px 2px rgba(0,0,0,0.8);box-shadow:0px 2px 2px rgba(0,0,0,0.8);border-image:initial;"/>
                    </a>
                    <br />
                    <a href="member.php?u={vb:raw lpicture.userid}">
                    {vb:raw lpicture.musername}
                    </a> 
                </td>
            </tr>
        </table>
    <div class="vbcat_bottom"><div class="vbcat_bottom_left"><div class="vbcat_bottom_right"></div></div></div>
Attached Images
File Type: png snip.PNG (6.3 KB, 0 views)
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01233 seconds
  • Memory Usage 1,790KB
  • Queries Executed 12 (?)
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_code
  • (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_attachment
  • (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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete