vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Add-On Releases - VB image Hosting Panel (https://vborg.vbsupport.ru/showthread.php?t=142396)

bitdefuser 03-17-2007 10:00 PM

VB image Hosting Panel
 

For this to make any use, you must have VB image Hosting installed.

I've made this modification because I didn't like the drop down menu as it would clutter everything up. So, I just made a panel for it and users can use that. :)

Features:
  • Your images
  • Other Members' Images
  • Upload Many
  • Quick Upload one
Only appears when your viewing someones' images or when your viewing your own. It does not showup anywhere else besides on the vbimghost.php file. So, it won't annoy your users.

In the "vbimghost_imgshow" template,
Replace EVERYTHING with:

Code:

<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="50%" align="center"> <tr> <td class="tcat" colspan="2">Image Hosting Panel<a name="marq"></a></td></tr>


<tr valign="top"><td class="alt1" width="50%" align="center"><A HREF="vbimghost.php?do=myimages">Your Images</A></td>
<td class="alt2" width="50%" align="center"><A HREF="vbimghost.php?do=upload">Upload Many</A></td>
<tr valign="top">
<td class="alt1" width="50%" align="center"><A HREF="vbimghost.php?do=userlist">Other Members' Images</A></td>

<td class="alt2" width="50%" align="center"><A HREF="#" onclick="window.open('vbimghost.php?do=popupload&ed=$editorid','vbimghost2','scrollbars=yes,resizable=yes,width=562,height=97'); return false" title="Quick Upload">Quick Upload One</A></td>
</table> <br />

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
        <td class="thead" colspan="$vbimghost[imgperrow]">$vbphrase[vbimghost_hostimgfor]: $username</td>
    </tr>
</thead>
$vbimghost_bits

</table>

Also, this automatically matches your theme so, ignore the colors in the screenshot! :D
Enjoy!
BOUGHT TO YOU BY: Bitdefuser from Cursayer.com!

bitdefuser 03-18-2007 01:05 PM

Reserved.

deezelpope 03-18-2007 01:25 PM

I like this idea, but where does this panel show up?:confused:

bitdefuser 03-18-2007 01:40 PM

Updated the screenshot.
https://vborg.vbsupport.ru/attachmen...4&d=1174228726

Only appears when your viewing someones' images or when your viewing your own. It does not showup anywhere else besides on the vbimghost.php file.

deezelpope 03-18-2007 01:45 PM

Ok, but there's still a link to it in the navbar? What I mean is, if I click on the navbar, it will take me to where my images are and the upload page? Or maybe I should just install it and see, huh? LOL! Sorry...babbling...too much caffeine already...:o

deezelpope 03-18-2007 01:48 PM

Still have the drop-down...:confused:

deezelpope 03-18-2007 01:49 PM

Thank you...I like this! Installed!!:up: :D

Chicago_VLNU_4s 03-25-2007 08:43 AM

installed

Gizmo5h1t3 03-25-2007 08:34 PM

installed, looks excellent!!

cajunboy2208 03-25-2007 08:40 PM

Would I be able to have members access and members not access this? Or restrict sizes of files and how many each group can upload and such?

Atakan KOC 03-26-2007 06:27 AM

Thanks....

cajunboy2208 03-27-2007 05:24 AM

Again I ask...

Would I be able to have members access and members not access this? Or restrict sizes of files and how many each group can upload and such?

bitdefuser 03-27-2007 06:29 PM

Quote:

Originally Posted by cajunboy2208 (Post 1213402)
Again I ask...

Would I be able to have members access and members not access this? Or restrict sizes of files and how many each group can upload and such?

Yep, whatever you set in Vb Image Hosting, affects this. :p So, it's all integrated.
Also, make sure you hit install. :) Thanks.

cajunboy2208 03-28-2007 08:44 PM

Thanks. Looks good!

Tulsa 05-29-2007 10:17 PM

Nice touch!

tehPARADOX 05-30-2007 11:19 PM

Pretty nice mod. Any suggestions on how to put this above the pagination so it'll look better?

SLY LS1 06-02-2007 02:21 PM

Great mod...

I changed the code around a little to make it a table of 1 row and 4 coloums

For anyone wanting the 4 links all in 1 line replace the vbimghost_imgshow code with the one below

Cheers

Code:

<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center"> <tr> <td class="tcat" colspan="4">Image Hosting Panel<a name="marq"></a></td></tr>

<tr valign="top"><td class="alt1" width="25%" align="center"><A HREF="vbimghost.php?do=myimages">Your Images</A></td>

<td class="alt2" width="25%" align="center"><A HREF="vbimghost.php?do=userlist">Other Members' Images</A></td>

<td class="alt1" width="25%" align="center"><A HREF="vbimghost.php?do=upload">Upload Many</A></td>

<td class="alt2" width="25%" align="center"><A HREF="#" onclick="window.open('vbimghost.php?do=popupload&ed=$editorid','vbimghost2','scrollbars=yes,resizable=yes,width=562,height=97'); return false" title="Quick Upload">Quick Upload One</A></td>
</table> <br />

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
        <td class="thead" colspan="$vbimghost[imgperrow]">$vbphrase[vbimghost_hostimgfor]: $username</td>
    </tr>
</thead>
$vbimghost_bits

</table>


RedGTiVR6 06-05-2007 03:02 PM

very nice little hack!

Installed!

alawee.blawee 06-17-2007 01:55 PM

Fatal error: Call to undefined function imagecreatefrompng() in *****/vb/includes/vbimghost_include.php on line 64

guys what does this mean.?

cvn 06-17-2007 02:22 PM

Clicked install!
Thanks so much!

bitdefuser 06-19-2007 12:45 PM

Quote:

Originally Posted by alawee.blawee (Post 1270307)
Fatal error: Call to undefined function imagecreatefrompng() in *****/vb/includes/vbimghost_include.php on line 64


guys what does this mean.?

That's not this modification's problem. You have to consult the creator's help.
https://vborg.vbsupport.ru/showthread.php?t=123481
You can also run a search too. :p

Fungsten 07-03-2007 09:17 PM

Newbie question. I can't find this in any of the templates.

Quote:

vbimghost_imgshow
I've searched, etc. Thanks in advance.

bitdefuser 07-04-2007 12:23 AM

Quote:

Originally Posted by Fungsten (Post 1282230)
Newbie question. I can't find this in any of the templates.



I've searched, etc. Thanks in advance.

Alright.
  1. AdminCP>Styles & Templates>Search in Templates
  2. Type in exactly "vbimghost_imgshow" (No quotes and no spaces and with the underscore.)
  3. Select "Yes" for search Titles only.
  4. Hit Find.
  5. Select your parent style and double-click it.
  6. Now replace everything with the code I have provided.
If you still cannot find it, try reinstalling the product. (Do not uninstall it, use overwrite.)
Also, make sure you are using Vb Image Hosting and not another 3rd party modification.

Hope it helped! :)

Fungsten 07-04-2007 12:59 AM

Quote:

Originally Posted by bitdefuser (Post 1282302)
Alright.
  1. AdminCP>Styles & Templates>Search in Templates
  2. Type in exactly "vbimghost_imgshow" (No quotes and no spaces and with the underscore.)
  3. Select "Yes" for search Titles only.
  4. Hit Find.
  5. Select your parent style and double-click it.
  6. Now replace everything with the code I have provided.
If you still cannot find it, try reinstalling the product. (Do not uninstall it, use overwrite.)
Also, make sure you are using Vb Image Hosting and not another 3rd party modification.

Hope it helped! :)

Found it! Thanks!

On Edit:

When only uploading a .jpeg file this appears:

Attachment 66480

But it seems the file gets uploaded fine. Thanks.

bitdefuser 09-13-2007 07:56 PM

Quote:

Originally Posted by Fungsten (Post 1282326)
Found it! Thanks!

On Edit:

When only uploading a .jpeg file this appears:

Attachment 66480

But it seems the file gets uploaded fine. Thanks.

No problem.
I hope you enjoy it.
(Sorry for the bump. :()

nothing4me 01-03-2008 09:21 PM

Here is the same code, but cleaner:
Code:

<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="50%" align="center">
  <tr>
    <td class="tcat" colspan="2">Image Hosting Panel<a name="marq"></a></td>
  </tr>
  <tr valign="top">
    <td class="alt1" width="50%" align="center"><A HREF="vbimghost.php?do=myimages">Your Images</A></td>
    <td class="alt2" width="50%" align="center"><A HREF="vbimghost.php?do=upload">Upload Many</A></td>
  <tr valign="top">
    <td class="alt1" width="50%" align="center"><A HREF="vbimghost.php?do=userlist">Other Members' Images</A></td>
    <td class="alt2" width="50%" align="center"><A HREF="#" onClick="window.open('vbimghost.php?do=popupload&ed=$editorid','vbimghost2','scrollbars=yes,resizable=yes,width=562,height=97'); return false" title="Quick Upload">Quick Upload One</A></td>
</table>
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
  <thead>
    <tr>
      <td class="thead" colspan="$vbimghost[imgperrow]">$vbphrase[vbimghost_hostimgfor]: $username</td>
    </tr>
  </thead>
  $vbimghost_bits
</table>


Marka Ragnos 01-30-2008 06:06 PM

thanks for this

installed!

RedGTiVR6 02-27-2008 06:03 PM

anyone know if this works with 3.7?

nothing4me 02-27-2008 06:42 PM

Quote:

Originally Posted by RedGTiVR6 (Post 1452335)
anyone know if this works with 3.7?

It does. :)

Abizaga 03-09-2008 06:13 AM

Thank I really needed this! But why can't I erase images? :confused:

nothing4me 04-20-2008 12:42 PM

Quote:

Originally Posted by Abizaga (Post 1460535)
Thank I really needed this! But why can't I erase images? :confused:

I think that's the product issue itself, not this template modification.

BigDog56 04-20-2008 01:13 PM

Thank you very much! have it installed.

dvbusuario 04-20-2008 08:04 PM

Install in vB 3.6.8 Level 2

INSTALL!!

Thank you.

nothing4me 05-04-2008 12:04 PM

Installed on 3.7.0, works perfect! :)

usmansabir 06-24-2008 02:24 PM

great :d i'm loving it

alkrida 05-27-2009 09:41 PM

is it work in 3.8.2 ??

nothing4me 08-03-2009 01:53 AM

Quote:

Originally Posted by alkrida (Post 1818409)
is it work in 3.8.2 ??

Yes.

nothing4me 09-07-2009 08:00 PM

Sorry for bump but it works fine in 3.8.4 too! :)

Medtech 09-07-2009 08:04 PM

vb 3.8 will host images in the albums as well. when viewing the image, you are supplied with links.;)

bayXzor 11-02-2009 09:07 AM

Thanks....


All times are GMT. The time now is 01:07 PM.

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.01365 seconds
  • Memory Usage 1,821KB
  • 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_code_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete