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)

slmoney 09-16-2007 01:50 PM

well gee thanks for the "help"

Anyone else have any suggestions? uninstall and re-installed...even cleared the database...
am i missing something in the php setting?

johnrizz 09-16-2007 04:35 PM

What I would like to do is add a Filmstrip images across the top of my forum from members using VB image Hosting, can someone please explain how to do this or what I need to install? thanks

TigerWare 09-16-2007 05:51 PM

@ Ranma2k.

One useful feature that I would like to put forward for addition to this great product, would be the ability for an adminstrator (or user designated with the "can administrate" flag) to transfer ownership of an image(s) from one user account to another.

On the forum I am currently working on, there is a section for article writing. Once the articles are completed they are published to a public location. However, I would like to easily change the image hosting from the original poster so they cannot alter the completed article or damage it by accidentally removing images.

Currently I'm doing by hand using SQL to update the userid in the vbimghost table, but it would be nice to see this included by default.

:up:

joshbond 09-16-2007 08:08 PM

I'm having a hard time figuring out how to allow users to have more than 50 images. It seems to only let them upload 50 and then wont let them do anymore.
I looked in the admin options and couldn't find that setting anywhere.
Anyone know how to fix this?

thanks.

TigerWare 09-16-2007 09:06 PM

Number of images is set in Usergroup options. Scroll to the bottom. You will see an extra panel.

beishe8 09-17-2007 04:55 AM

Quote:

Originally Posted by slmoney (Post 1340159)
well gee thanks for the "help"

Anyone else have any suggestions? uninstall and re-installed...even cleared the database...
am i missing something in the php setting?

When you click on "Admin" what are you facing? Warnings about your templates?
You are the only one who can help. Fix your templates.

You can "uninstall and re-install..." this hack hundred times and it still not going to work.

steveninstl 09-17-2007 08:11 PM

Quote:

Originally Posted by beishe8 (Post 1340621)
When you click on "Admin" what are you facing? Warnings about your templates?
You are the only one who can help. Fix your templates.

You can "uninstall and re-install..." this hack hundred times and it still not going to work.

Seriously...this is like making me mad...seeing how so many other people are able to use this...

There is nothing wrong with my templates..no errors.

anhkhoa19 09-17-2007 11:22 PM

"Note that the quick upload will set the image viewing permission to public in order to add it to the post"

its apear when I click on the "Quick upload"
What 's i wrong
Help. plz

beishe8 09-18-2007 05:21 AM

Quote:

Originally Posted by steveninstl (Post 1341162)
Seriously...this is like making me mad...seeing how so many other people are able to use this...

There is nothing wrong with my templates..no errors.

I used to be able to use it. Uploading,deleting images,did not have any problem.
3.6.7, 3.6.7PL,3.6.8 came, my uploading ability has gone.
Uninstalling and installing it again did not help.
I was mad as well.

Took attention to the warnings,reverted my templates and since then fine again.

No warnings on your forum about templates? Perhaps this hack clashes with some other hack. Uninstall all the hacks what you don't really need.

vnairp11 09-20-2007 07:27 AM

This is the best mod ever installed www.thetechlife.org thanks a lot! nominated for MOTM

JohnnieOO 09-20-2007 11:45 AM

OK, I am not a programmer, but is there a way to turn off/hide the code boxes when viewing all of the photographs. I'd only like to see the thumbnail, the "permissions" and the "BB Code IMG". Everything else I'd like to hide. Any help?

Johnnie

Ophelia 09-23-2007 02:40 PM

Hello. Forgive me if this has been posted.

We need the menu bar to only show if that usergroup has permission to upload/view the area. Right now it (and all the options) are showing to everyone, even if they can't upload.

Ophelia 09-23-2007 02:45 PM

Also, we would like to make this fully compatible w/ the new blog software. We added the code "Adding quick uplaod and gallaries box in new thread / reply?" and it shows properly in the forums. It shows both the [Open] [Quick Upload]. However when you go to the blog and start a thread, it shows [] [Quick Upload].

Also is there a way to make these codes visible only to usergroups who have permissions?

cjddrum1 09-28-2007 06:23 PM

is it possible to rename the link in the nav bar? How would I go about doing this?

cfitzarl 10-01-2007 06:51 PM

Is it possible to let guests upload their images?

Bilderback 10-01-2007 08:17 PM

Is it possible to pass a forum image to the script?
We have a custom php script which allows users to imagecreate() a custom signature.
It would be great to allow them to save directly to their ImageHost from the creation page.

MrApples 10-01-2007 11:50 PM

Does this mod support hosting while writing a post?

genchacker 10-02-2007 02:33 AM

thank you!

TigerWare 10-02-2007 08:52 PM

Quote:

Originally Posted by cjddrum1 (Post 1349111)
is it possible to rename the link in the nav bar? How would I go about doing this?

AdminCP -> Phrase Manager -> Search for "vbimghost_title" and add replacement for the default.

turbo.:R 10-03-2007 04:18 AM

My old admin in charge had vb image host on the site before and when he left he took it down. Well i went to put it back on today and did the installation. After it was all done i went into look at all users images and it was calling up old info. It said i had 31 images installed and i didnt upload one yet. They were all blank and when i went to delete it i couldnt do it. How do i get rid of the old info... Is it in a script somewhere??

s0lidgr0und 10-03-2007 10:24 AM

All of a sudden I'm getting the following error when uploading images.
Quote:

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpOrlTKp' to 'imagehosting/tmp_24747037aa14e605' in /vbimghost.php on line 640
I don't believe anything has been changed recently.

Thoughts?

turbo.:R 10-03-2007 05:40 PM

Quote:

Originally Posted by turbo.:R (Post 1351881)
My old admin in charge had vb image host on the site before and when he left he took it down. Well i went to put it back on today and did the installation. After it was all done i went into look at all users images and it was calling up old info. It said i had 31 images installed and i didnt upload one yet. They were all blank and when i went to delete it i couldnt do it. How do i get rid of the old info... Is it in a script somewhere??

:up:

blind-eddie 10-04-2007 03:12 PM

In the install instructions in the Adding quick uplaod and gallaries box in new thread / reply?

I would like to add this to quick reply as well would you please direct me in making this happen, Thanks

blind-eddie 10-05-2007 12:55 AM

ALso I cant click on anyones image other then my own that is added to a post, it tells me that I dont have access to view this....I am the Site admin....Why is it I cant view other ppl's images? Yes usergroup settings are correct. Thank you

TigerWare 10-07-2007 06:39 PM

Quote:

Originally Posted by blind-eddie (Post 1353206)
ALso I cant click on anyones image other then my own that is added to a post, it tells me that I dont have access to view this....I am the Site admin....Why is it I cant view other ppl's images? Yes usergroup settings are correct. Thank you

The image will be set to 'PRIVATE' by the user, so you will not be able to access the larger image via the "vbimghost.php?do=displayimg&imgid=nnnn" URL. You will still be able to view the image via the absolute URL to where the image is physically stored on your site however.

blind-eddie 10-07-2007 07:56 PM

Not true, Iset up a test account & set to public & I still get the error page.

TigerWare 10-07-2007 09:05 PM

Oh well, obviously a different problem then.

turbo.:R 10-08-2007 07:03 PM

Quote:

Originally Posted by turbo.:R (Post 1351881)
My old admin in charge had vb image host on the site before and when he left he took it down. Well i went to put it back on today and did the installation. After it was all done i went into look at all users images and it was calling up old info. It said i had 31 images installed and i didnt upload one yet. They were all blank and when i went to delete it i couldnt do it. How do i get rid of the old info... Is it in a script somewhere??

can anyone answer this???

blind-eddie 10-08-2007 08:24 PM

Sounds like you need to un-install it & re-install it to me.....

turbo.:R 10-09-2007 01:12 AM

Quote:

Originally Posted by blind-eddie (Post 1355719)
Sounds like you need to un-install it & re-install it to me.....

nevermind, it was a little more complicated than that. i had to uninstall, then go into my server and delete the old table manually. then reinstall so it would write a new table. the problem was the old dump my former admin gave me, it had the old table with info still stored in it.

turbo.:R 10-09-2007 01:49 AM

great hack too

bpool_lee 10-10-2007 01:52 PM

Thank you so much, this is perfect for what i need.

blind-eddie 10-10-2007 03:20 PM

Anyone know how to set this up so only select user groups see & use this. I know I can set it to user groups not being able to use it, but I don't want registered guest or unregistered guest to view it either. Thanks to whom ever get me the info.....

deezelpope 10-10-2007 03:28 PM

Put this line of code in before the line of code that links this on your navbar:

HTML Code:

<if condition="$show['member']">
And don't forget the </if> after!:)

tinycg 10-10-2007 07:20 PM

Does anybody know how I could go about adding a checkbox to the main file upload page, I've tried a number of times pulling the status of the checkbox through $vbulletin->GPC but it never seems to get it so when I run an if statement it doesnt work and passes to the else.

When I put a value in the checkbox and check for the value it seems to always report having that value whether checked or not.. forgive me if I'm wrong but an unchecked box shouldnt carry the value.

I'm trying to setup a way for people to select if they want the image public or private on that page on a per image basis, if checked, its private.. if not its public.

afullcup 10-12-2007 11:39 AM

Quote:

Originally Posted by blind-eddie (Post 1356945)
Anyone know how to set this up so only select user groups see & use this. I know I can set it to user groups not being able to use it, but I don't want registered guest or unregistered guest to view it either. Thanks to whom ever get me the info.....

here's what I did - I edited vbimghost.php.

Find:
PHP Code:

// ########################################################################
// ######################### START MAIN SCRIPT ############################
// ######################################################################## 

Obviously, you could change this to whatever conditional you want.

hth

And put this directly after it:
PHP Code:

if ($vbulletin->userinfo['userid'] == 0)
{
      
print_no_permission();



blind-eddie 10-12-2007 01:35 PM

Quote:

Originally Posted by deezelpope (Post 1356950)
Put this line of code in before the line of code that links this on your navbar:

HTML Code:

<if condition="$show['member']">
And don't forget the </if> after!:)

This was allready there, I remember adding this ages ago.....



Quote:

Originally Posted by afullcup (Post 1358192)
here's what I did - I edited vbimghost.php.

Find:
PHP Code:

// ########################################################################
// ######################### START MAIN SCRIPT ############################
// ######################################################################## 

Obviously, you could change this to whatever conditional you want.

hth

And put this directly after it:
PHP Code:

if ($vbulletin->userinfo['userid'] == 0)
{
      
print_no_permission();



Wouldnt work....got an error message....


I am confused....

MiahBeSmokin420 10-14-2007 05:26 AM

some help possiably?

everything is sup up correctly as far as i know and i install mods 24-7

but this is what im getting


Code:

Warning: imagepng() [function.imagepng]: gd-png: fatal libpng error: zlib error in /includes/vbimghost_include.php on line 204

Warning: imagepng() [function.imagepng]: gd-png error: setjmp returns error condition in /includes/vbimghost_include.php on line 204

Warning: imagecreatefrompng() [function.imagecreatefrompng]: gd-png: fatal libpng error: Read Error: truncated data in /includes/vbimghost_include.php on line 64

Warning: imagecreatefrompng() [function.imagecreatefrompng]: gd-png error: setjmp returns error condition in /includes/vbimghost_include.php on line 64

Warning: imagecreatefrompng() [function.imagecreatefrompng]: 'imagehosting/14711adf558c9c.png' is not a valid PNG file in /includes/vbimghost_include.php on line 64

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

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


theFAILURE 10-15-2007 02:48 AM

Quote:

Originally Posted by theFAILURE (Post 1292161)
The vbimage host list page is quite dull, I would love to know what code I would have to insert to make the member avatar show up besides their name!!

I fired up photoshop to give an example of what I mean:

https://vborg.vbsupport.ru/external/2007/10/27.jpg

Well I took some time tonight and figured it out, take a peek:

http://thescambaiter.com/forum/vbimg...hp?do=userlist

I set the Avatars at 50 pixels of the original size. Just change the 50 value in the code to your desire.

To do this find the vbimghost_usersbit template and exchange all the code with this:

Code:


<tr>
<td class="alt1" valign="center"><img src="image.php?u=$vbimghost[userid]" border="0" width="50" height="50">  <a href="vbimghost.php?do=viewimages&id=$vbimghost[userid]"><b>$vbimghost[username]</b></a></td>
<td class="alt2" align="center" valign="center"><b>
$vbimghost[imgcount]</b></td></tr>


yahoooh 10-18-2007 05:01 PM

on internet explorer 7
when i use quick upload it does not insert the image in post box


All times are GMT. The time now is 10:42 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.02531 seconds
  • Memory Usage 1,847KB
  • 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_html_printable
  • (4)bbcode_php_printable
  • (13)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
  • (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