vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - VB image Hosting (https://vborg.vbsupport.ru/showthread.php?t=123481)

fly 10-27-2007 03:01 PM

Quote:

Originally Posted by csullo (Post 1369737)
I upgraded to 3.6.8, and had reinstall this module. Install went fine, but no link is showing up on the navbar--I've tried everything I can to get it back... what am I not thinking of?

Thanks

The template edit...

csullo 10-27-2007 04:23 PM

Quote:

Originally Posted by flypaper (Post 1369763)
The template edit...

Rock on, thanks. Was in such a panic mode (most of the site not working) I didn't realize I hadn't done that.

Thanks!

casa 10-28-2007 06:24 PM

I sometimes get this error when uploading using the Quick Upload One:

Warning: Division by zero in /includes/vbimghost_include.php on line 96

turbo.:R 10-28-2007 11:49 PM

ive narrowed it down to the watermark option. im getting this error, why??

Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: open_basedir restriction in effect. File(/home/user/public_html/forums/imagehosting/147252dedb59d3.jpg) is not within the allowed path(s): (/home/turbor32/:/usr/lib/php:/usr/local/lib/php:/tmp) in /includes/vbimghost_include.php on line 175

Warning: imagecreatefromjpeg(/home/user/public_html/forums/imagehosting/147252dedb59d3.jpg) [function.imagecreatefromjpeg]: failed to open stream: Operation not permitted in /includes/vbimghost_include.php on line 175

Warning: imagesx(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 176

Warning: imagesy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 176

Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in /includes/vbimghost_include.php on line 176

Warning: imagesx(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 177

Warning: imagesy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 177

Warning: imagecopy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 177

Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 189

Warning: imagesx(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 198

Warning: imagesy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 199

Warning: imagestring(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 201

Warning: imagejpeg(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 209

Warning: imagedestroy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 210

superjeff 10-30-2007 12:17 PM

Quote:

Originally Posted by flypaper (Post 1369763)
The template edit...

I have the some problem.. where can i find the template edit list?

Tks

TigerWare 10-30-2007 12:39 PM

Quote:

Originally Posted by superjeff (Post 1371895)
I have the some problem.. where can i find the template edit list?

Tks

AdminCP->Styles & Templates->Style Manager->(Choose Theme)->Edit Templates

tris 10-31-2007 03:07 PM

I just installed ImageHosting and played around. How can I change the target of a thumb to _self instead of _blank? And how can I set a class to the thumb-link? (I tried to change the target in vbimghost_popupload_pre but with no luck)

Thank you very much in advance.

Chewitt 11-02-2007 06:19 PM

I might be been silly but i am running 3.6.8 Patch Level 1 and im having serious problems finding the
PHP Code:

<td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]accesskey="5">$vbphrase[faq]</a></td

to add
PHP Code:

<td id="vbimghost" class="vbmenu_control"><a href="#vbimghost" >$vbphrase[vbimghost_title]</a>
<
script type="text/javascript"vbmenu_register("vbimghost");</script></td

after it i have searched in all templates and cannot find it at all i have found the template for the 2nd edit but cannot find the first one at all.

blind-eddie 11-02-2007 07:02 PM

Its in your navbar template.

Chewitt 11-02-2007 07:11 PM

i have searched high and low and not found it so just had a random stab in the dark and managed to get it working here is my navbar template.

PHP Code:

<!-- start header part -->
<
a name="top"></a>
<
table width="100%" border="0" cellspacing="0" cellpadding="0">
  <
tr>
    <
td class="topwrap">&nbsp;</td>
  </
tr>
  <
tr>
    <
td class="headerwrap"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <
tr>
        <
td valign="middle" class="headerbgL"><div align="center"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="images/cars/cars_logo.gif" alt="$vboptions[bbtitle]name="cars_logo" width="143" height="37" border="0" id="cars_logo" /></a></div></td>
        <
td class="headerbg">&nbsp;</td>
        <
td>&nbsp;</td>
      </
tr>
    </
table></td>
  </
tr>
  <
tr>
    <
td class="navwrap">
<!-- 
nav buttons bar -->

    <
table id="navstyle" cellpadding="$stylevar[cellpadding]cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
    <
tr align="center">
        <if 
condition="$show['member']">
            <
td><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
        </if>
        <if 
condition="$show['registerbutton']">
            <
td><a href="register.php$session[sessionurl_q]rel="nofollow">$vbphrase[register]</a></td>
        </if>
        
$template_hook[navbar_buttons_left]
        <
td><a href="faq.php$session[sessionurl_q]accesskey="5">$vbphrase[faq]</a></td>
<
td id="vbimghost" class="vbmenu_control"><a href="#vbimghost" >$vbphrase[vbimghost_title]</a>
<
script type="text/javascript"vbmenu_register("vbimghost");</script></td>        
<
td><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
        <
td><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
        <if 
condition="$show['popups']">       
            <if 
condition="$show['searchbuttons']">
                <if 
condition="$show['member']">
                <
td><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
                <else />
                <
td><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
                </if>
                <
td id="navbar_search" ><a href="search.php$session[sessionurl_q]accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"vbmenu_register("navbar_search"); </script></if></td>
            </if>
            <if 
condition="$show['member']">
                <
td id="usercptools" ><a href="$show[nojs_link]#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"vbmenu_register("usercptools"); </script></td>       
            </if>
        <else />       
            <if 
condition="$show['searchbuttons']">
                <
td><a href="search.php$session[sessionurl_q]accesskey="4">$vbphrase[search]</a></td>
                <if 
condition="$show['member']">
                <
td><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
                <else />
                <
td><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
                </if>
            </if>
            <
td><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
            <if 
condition="$show['member']">           
                <
td><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>           
            </if>           
        </if>
        
$template_hook[navbar_buttons_right]
        <if 
condition="$show['member']">
            <
td><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a></td>
        </if>
    </
tr>
    </
table>

<!-- / 
nav buttons bar -->

</
td>
  </
tr>
  <
tr>
    <
td>
<!-- /
end header part-->

<!-- 
content table -->
$spacer_open

$_phpinclude_output 



All times are GMT. The time now is 05:30 AM.

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.05921 seconds
  • Memory Usage 1,834KB
  • 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
  • (3)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
  • (4)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