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!

DannyITR 08-15-2006 04:29 PM

Sorry if I'm a pest but I have another question. I figured out how to display more than just the last 5 images by modifying the php file. What I can't figure out is how to make it so that after the first 5 images, it starts a new row. I want to have three rows of 5 images. Do you know how to do this?

Ranma2k 08-16-2006 09:24 AM

Quote:

Originally Posted by DannyITR
Sorry if I'm a pest but I have another question. I figured out how to display more than just the last 5 images by modifying the php file. What I can't figure out is how to make it so that after the first 5 images, it starts a new row. I want to have three rows of 5 images. Do you know how to do this?

yes just put a counter that will add
Code:

</tr>
<tr>

after each 5

did you mange to get it to work in a module ?

DannyITR 08-16-2006 03:04 PM

Quote:

Originally Posted by Ranma2k
yes just put a counter that will add
Code:

</tr>
<tr>

after each 5

did you mange to get it to work in a module ?


Yep, got the module working no prob. :D

I'm a bit of a novice and don't know to add the counter.

Here is part of another similar hack for photopost images. I imagine it would be similar to what I'm looking for but I don't know wnough to adapt this to vbimagehost ;(

Code:

PPPRINT;
        $counted++;
        $countcol++;
    }
   
    // If we've reached our limit, quit
    if ( $counted == $num_display ) break;
   
    // If we need to end the column, do so.
    if ( $countcol == $columns ) {
$featured .= <<<PPPRINT
    </tr>
    <tr>
PPPRINT;
    $countcol = 0;       
    }
}
@mysql_free_result($result);


The Chief 08-16-2006 05:17 PM

Can you tell us when the plugin for the forumhome images work for the member photos list, or when the plugin will be ready? :)

ReuMi 08-18-2006 02:27 PM

great job, works perfectly on my board :)

Thank you so much

GoldenP51 08-18-2006 11:13 PM

Thanks!

The Chief 08-21-2006 09:05 PM

Quote:

Originally Posted by The Chief
Can you tell us when the plugin for the forumhome images work for the member photos list, or when the plugin will be ready? :)

Any updates on this Ranma? :)

Ranma2k 08-23-2006 04:49 PM

Quote:

Originally Posted by The Chief
Any updates on this Ranma? :)

sorry the chief for the late reply
i did the modfication but curently i'm away from town ..

and most of the files are on my PC

so i'm thinking of releasesing a fix for some of the reported bugs and add some more plugins it won't be a major relase

tbradham 08-24-2006 12:39 PM

Has anyone figured out a way to allow the members to browse all the photos in one place?

Now they have to view all members, then click on the individual account, I want them to be able to browse all the pictures, regardless of whose they are.

Like a photo album view or something.

Fewski 08-24-2006 02:53 PM

Looks great! Only 1 problem I see, my statics section on the image upload page background is all black and the text is dark grey, you can't read it.

Any fix for this?

Thanks

Ranma2k 08-24-2006 02:59 PM

Quote:

Originally Posted by Fewski
Looks great! Only 1 problem I see, my statics section on the image upload page background is all black and the text is dark grey, you can't read it.

Any fix for this?

Thanks

yes modify the template for it ..

Ranma2k 08-24-2006 03:00 PM

Quote:

Originally Posted by tbradham
Has anyone figured out a way to allow the members to browse all the photos in one place?

Now they have to view all members, then click on the individual account, I want them to be able to browse all the pictures, regardless of whose they are.

Like a photo album view or something.

i'll add it in the next ver

tbradham 08-24-2006 03:01 PM

That would be awesome, thanks!

Fewski 08-24-2006 04:07 PM

Quote:

Originally Posted by Ranma2k
yes modify the template for it ..

Where do I modify it at?

Ranma2k 08-26-2006 12:15 PM

Quote:

Originally Posted by Fewski
Where do I modify it at?

read this
https://vborg.vbsupport.ru/showpost....&postcount=109

GoNz00 08-28-2006 10:35 AM

great hack thanks :D

Viol8or 08-30-2006 11:28 AM

Great hack, but I have a feature request.
* It would be nice if it were possible to set watermark on/off per usergroup.
* A comment line per picture would be nice as well, so members can describe the picture if they wish.

Also I had some probs with transparent png and resizing/watermarks that it didn't retain the transparancy.

Update: I'm having problems uploaden pictures bigger than a 1000 pixels ... it gives the users a white page without an error, but pic is not uploaden. Config settings allows uploaden of 1280*1280 pictures and filesizes are a lot smaller than the allowed size. Any ideas?

VietPirates 09-03-2006 09:02 AM

How about hotlinks with thumbnails only? No hotlinks with the original images.

Each thumbnail is linked to a php page hosting its original image (like imageshack.)

klaush 09-03-2006 11:13 AM

Hello Ranma2k,

could you help us with solving one problem when showing all member fotos?

We just went to a new server with the whole installation; so everything went fine but...

https://vborg.vbsupport.ru/external/2006/09/10.jpg

You see in the first line 7 images but no member/user?

Any idea how to fix this?

Thanks!

Kaasie 09-05-2006 04:47 AM

I have installed this hack for 3.6.0 and i totally love it.
Just one little question: I would like to have the userlist to be members only
Could you tell me where I should add what code, where to achieve that?

It would totally rock if we could get it members only

For the people that are suffering bandwidth theft please save the following code to be sure the picture files are only valid on it's own domain (on any other it will result in a nice red-crossed failure)

change yourdomain.com with your domain and save as .htacces
upload the file to the picture's directory on your domain

Code:

SetEnvIfNoCase Referer "^http://www.yourdomain.com/" locally_linked=1
SetEnvIfNoCase Referer "^http://www.yourdomain.com$" locally_linked=1
SetEnvIfNoCase Referer "^http://yourdomain.com/" locally_linked=1
SetEnvIfNoCase Referer "^http://yourdomain.com$" locally_linked=1
SetEnvIfNoCase Referer "^$" locally_linked=1
<FilesMatch "\.(|bmp|gif|png|jpg|jpe?g)$">
  Order Allow,Deny
  Allow from env=locally_linked
</FilesMatch>

cheers

Ranma2k 09-05-2006 08:47 AM

Quote:

Originally Posted by Viol8or
Great hack, but I have a feature request.
* It would be nice if it were possible to set watermark on/off per usergroup.
* A comment line per picture would be nice as well, so members can describe the picture if they wish.

Also I had some probs with transparent png and resizing/watermarks that it didn't retain the transparancy.

Update: I'm having problems uploaden pictures bigger than a 1000 pixels ... it gives the users a white page without an error, but pic is not uploaden. Config settings allows uploaden of 1280*1280 pictures and filesizes are a lot smaller than the allowed size. Any ideas?

i can uplod bigger than 1000 px i even tried 1280 px and it worked fine
pm me access to your board and i'll see what's the problem

Ranma2k 09-05-2006 08:48 AM

Quote:

Originally Posted by klaush
Hello Ranma2k,

could you help us with solving one problem when showing all member fotos?

We just went to a new server with the whole installation; so everything went fine but...

https://vborg.vbsupport.ru/external/2006/09/10.jpg

You see in the first line 7 images but no member/user?

Any idea how to fix this?

Thanks!

the first 7 are for the guest users

it should display the word ( guest ) in there
is the vbphrase for guest is in your board phrase/language !?

Ranma2k 09-05-2006 08:49 AM

Quote:

Originally Posted by Kaasie
I have installed this hack for 3.6.0 and i totally love it.
Just one little question: I would like to have the userlist to be members only
Could you tell me where I should add what code, where to achieve that?

It would totally rock if we could get it members only

For the people that are suffering bandwidth theft please save the following code to be sure the picture files are only valid on it's own domain (on any other it will result in a nice red-crossed failure)

change yourdomain.com with your domain and save as .htacces
upload the file to the picture's directory on your domain

Code:

SetEnvIfNoCase Referer "^http://www.yourdomain.com/" locally_linked=1
SetEnvIfNoCase Referer "^http://www.yourdomain.com$" locally_linked=1
SetEnvIfNoCase Referer "^http://yourdomain.com/" locally_linked=1
SetEnvIfNoCase Referer "^http://yourdomain.com$" locally_linked=1
SetEnvIfNoCase Referer "^$" locally_linked=1
<FilesMatch "\.(|bmp|gif|png|jpg|jpe?g)$">
  Order Allow,Deny
  Allow from env=locally_linked
</FilesMatch>

cheers

this will be avilable as an option in the next ver

cartooner 09-07-2006 03:43 PM

Dumb Question...I have a member who has some pretty nasty pics in his collection. He has his set at Public. As ADMIN is there anyway I can set his to Private??

He hasn't been on the forum for a while and if I can't change it from Public to Private I'll have to email asking him to change it..

TY Ranma and you are doing a great job. My members love this hack.

MarkyD 09-09-2006 02:51 AM

I just upgraded to VB 3.60. I followed the upgrade directions for this Mod. I can access it like normal, but there are no images there when I click "view my images" or "view all users images." The folder with the images is still on the server, and it's correctly specified in the Options for the mod.

any ideas?

Ranma2k 09-09-2006 05:55 AM

Quote:

Originally Posted by cartooner
Dumb Question...I have a member who has some pretty nasty pics in his collection. He has his set at Public. As ADMIN is there anyway I can set his to Private??

He hasn't been on the forum for a while and if I can't change it from Public to Private I'll have to email asking him to change it..

TY Ranma and you are doing a great job. My members love this hack.

no only member can set it as public / private

admin can only delete

tbradham 09-12-2006 01:12 PM

Has anyone figured out a way to browse all pictures instead of browsing members? I would like to have an option in the menu to browse all members, and to browse all pictures.

How about a random photo block?

leeman 09-13-2006 08:03 AM

Heya ...

I have installed this as the instructions say ... NO problems there.
But then ....

When I click the link in the navbar : Sorry no such page ...
and when i go into usergroupmanager ... No choises to allow ... :(

Help please ... I haev tried to search here but no good.

Ranma2k 09-13-2006 09:10 AM

Quote:

Originally Posted by leeman
Heya ...

I have installed this as the instructions say ... NO problems there.
But then ....

When I click the link in the navbar : Sorry no such page ...
and when i go into usergroupmanager ... No choises to allow ... :(

Help please ... I haev tried to search here but no good.

did you upload the files?
in the correct way ?!

make sure you did upload everything ..

Ranma2k 09-13-2006 09:11 AM

Quote:

Originally Posted by tbradham
Has anyone figured out a way to browse all pictures instead of browsing members? I would like to have an option in the menu to browse all members, and to browse all pictures.

How about a random photo block?

hopefully next ver will have it all


All times are GMT. The time now is 12:19 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.02601 seconds
  • Memory Usage 1,854KB
  • 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
  • (7)bbcode_code_printable
  • (22)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete