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)

dirtycrow 01-24-2006 02:11 AM

also is there any way to make all images public?

Reef 01-24-2006 03:59 AM

I had to comment this line out in vbimghost.php to get my navbar dropdowns working. Was getting javascript errors before.

Code:

$headinclude = str_replace('clientscript', $vbulletin->options['bburl'] . '/clientscript', $headinclude);

Ranma2k 01-24-2006 05:33 AM

Quote:

Originally Posted by dirtycrow
any reason why my members can not view other members uploads?

when they click on "view all members images" they don't see other members images.

if the uploader want the members to see his images he have to set the image to Public
other wise it won't show to anyone else

Ranma2k 01-24-2006 05:34 AM

Quote:

Originally Posted by 007
Very cool! Would be great to let people specify X number of photos to display in their profile, with a link to the rest of them.

Would also be cool if admins can specify a .png image to be used as a watermark on the lower right side of each uploaded image. :)

Will be watching this one and will probably install soon! :)

That i'll be working on it for the next release

Ranma2k 01-24-2006 05:40 AM

Quote:

Originally Posted by dirtycrow
also is there any way to make all images public?

owner can set it public only ..

When a user upload an image it will be by defualt private .

If you want it all images uploaded to be public by defult
open the file vbimghost.php
and find the line 402

PHP Code:


            $sql
="INSERT INTO ".TABLE_PREFIX."vbimghost ( `imgid` , `userid` , `imgfile` , `imgname` , `imgfilesize` , `imgwidth` , `imgheight` , `imgdate` , `imgprivate` ) 
            VALUES ('', '"
.$userid."', '".$imguname."', '".$upfilename."', '".$upfilesize."', '".$dime[0]."', '".$dime[1]."', '".TIMENOW."', '1')"

and replace it with

PHP Code:

            $sql="INSERT INTO ".TABLE_PREFIX."vbimghost ( `imgid` , `userid` , `imgfile` , `imgname` , `imgfilesize` , `imgwidth` , `imgheight` , `imgdate` , `imgprivate` ) 
            VALUES ('', '"
.$userid."', '".$imguname."', '".$upfilename."', '".$upfilesize."', '".$dime[0]."', '".$dime[1]."', '".TIMENOW."', '0')"

but the main idea is to give your user the freedom to set what ever they want to public view

Ranma2k 01-24-2006 05:45 AM

Quote:

Originally Posted by Reef
I had to comment this line out in vbimghost.php to get my navbar dropdowns working. Was getting javascript errors before.

Code:

$headinclude = str_replace('clientscript', $vbulletin->options['bburl'] . '/clientscript', $headinclude);


yeb i have removed it also from the file

Thanks for reporting it

Ranma2k 01-24-2006 06:01 AM

Quote:

Originally Posted by rb290
is this bandwidth needed or something

well viewing the images going to use the bandwidth from your site ..

dirtycrow 01-24-2006 01:03 PM

hmmm. . for some reason only one user at a time has thier images display in the "listing users "page. i've uploaed a couple of images with test accounts and set all the images to public and the accounts do not show up in the "listing users" page

Ranma2k 01-24-2006 02:49 PM

Quote:

Originally Posted by dirtycrow
hmmm. . for some reason only one user at a time has thier images display in the "listing users "page. i've uploaed a couple of images with test accounts and set all the images to public and the accounts do not show up in the "listing users" page

Can you give me a link to your forums and i'll see what's wrong

it should show you the users who set the uploaded images to public view

dirtycrow 01-24-2006 02:53 PM

Quote:

Originally Posted by Ranma2k
Can you give me a link to your forums and i'll see what's wrong

it should show you the users who set the uploaded images to public view

what info do you need?

a user name and log in?

i have my forum set up so that only registared users can log in.


All times are GMT. The time now is 12:21 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.01519 seconds
  • Memory Usage 1,753KB
  • 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
  • (2)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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