vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   VB image Hosting (https://vborg.vbsupport.ru/showthread.php?t=106127)

The Chief 08-14-2006 05:49 PM

Quote:

Originally Posted by Ranma2k
here you go

just import the attached plugin


and add the following code in your forumhome template

Code:

    <table class="tborder" align="center" border="0" cellpadding="6" cellspacing="1" width="100%">
        <thead>
                <tr>
                        <td class="tcat" colspan='$vbimghost[count]' align="center">$vbphrase[vbimghost_last5img] </td>
                </tr>
        </thead>
        <tbody>
                <tr align="center">
                        $vbimghost[last5]
                </tr>
        </tbody>
        </table>
        <br />


Can this plugin be added for the main gallery page (http://forums.myetalk.com/vbimghost.php?do=userlist)?

DannyITR 08-14-2006 08:41 PM

Not sure what the prob is but I installed it on 3.6 and I just get blank images in the galleries that I can't even delete.

Edit>>> never mind, i didn't chmod upload dir to 777

Ranma2k 08-14-2006 08:44 PM

Quote:

Originally Posted by DannyITR
Not sure what the prob is but I installed it on 3.6 and I just get blank images in the galleries that I can't even delete. Whats up with that?

ahh this is fro ver 3.5.x
the one for ver 3.6.x is here https://vborg.vbsupport.ru/showthread.php?p=1048212

still you can use this but if you want me to help you with your problem
PM me your forum access

Ranma2k 08-14-2006 08:52 PM

Quote:

Originally Posted by The Chief
Can this plugin be added for the main gallery page (http://forums.myetalk.com/vbimghost.php?do=userlist)?

yes it can be added
PM me if you want it urgently

DannyITR 08-15-2006 02:18 AM

Quote:

Originally Posted by Ranma2k
here you go

just import the attached plugin


and add the following code in your forumhome template

Code:

    <table class="tborder" align="center" border="0" cellpadding="6" cellspacing="1" width="100%">
        <thead>
                <tr>
                        <td class="tcat" colspan='$vbimghost[count]' align="center">$vbphrase[vbimghost_last5img] </td>
                </tr>
        </thead>
        <tbody>
                <tr align="center">
                        $vbimghost[last5]
                </tr>
        </tbody>
        </table>
        <br />



Hello,

I tried using this on my VB Advanced CMPS homepage by making a new template module with your code. Unfortunately it didn't show up. Any thoughts on what would be needed ot make it work. Works fine on my forum homepage though.

Ranma2k 08-15-2006 05:35 AM

Quote:

Originally Posted by DannyITR
Hello,

I tried using this on my VB Advanced CMPS homepage by making a new template module with your code. Unfortunately it didn't show up. Any thoughts on what would be needed ot make it work. Works fine on my forum homepage though.

you'll need to make a module with the code in the plugin
and load it in VB advanced CMPS in order to work

DannyITR 08-15-2006 11:35 AM

Quote:

Originally Posted by Ranma2k
you'll need to make a module with the code in the plugin
and load it in VB advanced CMPS in order to work


Thanks for the reply,

I tried to put the plugin code in a template but I don't think its compatible because it gave me an error when I saved it so I tried a php file module instead of a template based module but the photos still didn't show up.

Are you able to be more specific about how the code must be included for it to work?

Ranma2k 08-15-2006 12:10 PM

Quote:

Originally Posted by DannyITR
Thanks for the reply,

I tried to put the plugin code in a template but I don't think its compatible because it gave me an error when I saved it so I tried a php file module instead of a template based module but the photos still didn't show up.

Are you able to be more specific about how the code must be included for it to work?

you need to create a php file with the code of hte blugin in it
and add it under the module folder for vb advacned CMPS

DannyITR 08-15-2006 02:11 PM

Quote:

Originally Posted by Ranma2k
you need to create a php file with the code of hte blugin in it
and add it under the module folder for vb advacned CMPS


As I mentioned, I have done the php file module with the plugin code but all I get is the actual code being outputed on my homepage. Are you sure there is not more to this (perhaps with regard to the code that was supposed to be pasted in the forum home)? I've tried everything I can think of.

Edit: Got it!!

In order for it to work, I had to add a php opening and closing tags to the beginning and end of the plugin code. Just the code itself wont be recognized. Also you need to include a template with the code that was placed on forumhome and include that in the module as well.

offline 08-15-2006 04:13 PM

Awesome hack! I hate to be a complete idiot but how do I get rid of the arrow pointing down next to the the "VB Image Host" in the navbar? Its the only item on the nav bar with an the arrow.

Thanks a million again for the hack!


All times are GMT. The time now is 04:28 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.02416 seconds
  • Memory Usage 1,752KB
  • 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
  • (2)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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