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)
-   -   Image Hosting (https://vborg.vbsupport.ru/showthread.php?t=93076)

loneranger 09-02-2005 02:36 PM

that is one way utw i am just tring to keep it all with in one server, i am slowly getting this hack with out any bugs there is only one which happens only to the odd person which i have been unable to solve. Wayne i have tried to solve this error but i can't even re-create this error i am going to seek some more help see if i can get this solved

theArchitect 09-02-2005 10:52 PM

Quote:

Originally Posted by loneranger
that is one way utw i am just tring to keep it all with in one server, i am slowly getting this hack with out any bugs there is only one which happens only to the odd person which i have been unable to solve. Wayne i have tried to solve this error but i can't even re-create this error i am going to seek some more help see if i can get this solved

I must admit that I prefer the idea of keeping everything on the one server. Especially as most other image hosting options I have seen require the use of a "free" account. It is not meant as a slight on the companies concerned, but I have found that free resources (especially those which require storage space and bandwidth) have a nasty habit of vanashing and taking all of your valuable data with them. I would much rather be in full control of the situation and this modification allows that (once I get around to installing it).

TRStealth 09-08-2005 11:21 PM

Just installed this on my RC3, and it seems to work fine until I upload something:

Warning: getimagesize(/public_html/forums/userimages/Rinoa.jpg): failed to open stream: No such file or directory in /image_host.php on line 115
unable to get image size

jugo 09-20-2005 01:30 PM

Quote:

Originally Posted by loneranger
that is one way utw i am just tring to keep it all with in one server, i am slowly getting this hack with out any bugs there is only one which happens only to the odd person which i have been unable to solve. Wayne i have tried to solve this error but i can't even re-create this error i am going to seek some more help see if i can get this solved


I think it is going down the list of all the Usergroups and taking the last one (maybe). All I know is that in order for it to work, you have to set the permission on all the groups.

I had to set the permission on all three usergroups i belong to inorder to have the right access.

Also:

sorry if this was posted already but your 'imghost_userbits ' template should be:

HTML Code:

<tr>
<td class="alt1"><a href=img_view_all.php?do=imgs&id=$rows[userid]>$username</a></td>
<td class="alt2">$img_count</td>
</tr>

not

HTML Code:

<tr>
<td class="alt1"><a href=test.php?do=imgs&id=$rows[userid]>$username</a></td>
<td class="alt2">$img_count</td>
</tr>


loneranger 09-20-2005 01:55 PM

sorry for the delay in any responses i have just got back off holiday and this is the first chance ihave had to get up to date will make the changes today or tomorrow

edit

i have now uploaded the template change now so all futher downloads shouls be ok, thanks for your support

loneranger 09-20-2005 06:21 PM

Quote:

I think it is going down the list of all the Usergroups and taking the last one (maybe). All I know is that in order for it to work, you have to set the permission on all the groups.

I had to set the permission on all three usergroups i belong to inorder to have the right access.
wayne luke have you tried this as this may be the cause of your error i have yet to test it to find out but will do shortly, if this is i will try to fix asap

loneranger 09-20-2005 06:28 PM

sorry for double post but i have now tested it and if a user is a member of more than 1 group it seems to take the groups premissions in the lowest order i am unsure if this is a error of vbulletin or my coding but if you would like to get this working you must set premissions for all usergroups your users are members of, will try to resolve this asap

TRStealth 09-21-2005 03:29 AM

Any fix for my problem, loneranger?

loneranger 09-21-2005 09:24 AM

Quote:

Originally Posted by TRStealth
Just installed this on my RC3, and it seems to work fine until I upload something:

Warning: getimagesize(/public_html/forums/userimages/Rinoa.jpg): failed to open stream: No such file or directory in /image_host.php on line 115
unable to get image size

are you sure this /public_html/forums/userimages/is the full path to your image directory normally it /home/username/public_html/forums/userimages if you want me to check for you i will some more personal nfo like usernames and password which you can pm if you need help this infomation can usual be found in cpanel in file manager near the top

loneranger 09-21-2005 01:14 PM

i have found the error with filesize reading 0 it is due to vbulletin see 0 as unlimited larger than any number so when it reads the premissions for filesize it will always find 0 higher so you will need to see every usergroup to any number above 0 to stop this error i will try and this set as default when install and re upload the file.

TRStealth 09-22-2005 08:04 PM

Works wonderfully now. Thanks!

JohnBee 10-05-2005 12:06 AM

hi I installed this mod but when I hit upload, view or whatever under the menu all I get is a blank screen, any ideas?

Ranma2k 10-07-2005 10:26 AM

will this work on vb 3.5.0 gold ?!

BLazeD1 10-07-2005 10:50 AM

I would like to know whether it works on 3.5 Gold too

Waiting to install ;)

JohnBee 10-07-2005 11:33 AM

I'm using gold and it does not work. everything installs okay but I get a blank screen when I try any of the image upload/viewing/ editing features.

Additionally if you uninstall it afterwards it will give you dB errors and your usergroups are messed up. It would require a manual dB cleanup to fix.

loneranger 10-07-2005 01:11 PM

sorry guys been busy i will test it asap and let you know of any updates needed

loneranger 10-07-2005 03:48 PM

quick update i have updated my system from 3.5.0 release 3 to gold and the image hosting work, i am unable to do a fresh install yet because my locahost keeps crashing trying to install 3.5.0 gold maybe if 1 of you could grant me admin privilges of your board where the image hosting hack is installed i could find the fault

JohnBee 10-07-2005 03:51 PM

Well assigning you such permissions is not possible for me, my forum is on a private network for engineering prototyping R&D.

Is there any way I could give you logs or something to help you figure out the problem? because I really would like to resolve it. At the very least uninstall the tables that are causing dB errors whenever I try to change or alter my usergroup settings.

loneranger 10-08-2005 06:06 PM

sorry don't think i will be able to find the fault by reading logs i will try to do this on my server soon and help you solve this error sorry for the delay but i am a busy person

JohnBee 10-08-2005 06:53 PM

Well I guess all I ask at this stage is for some sort of guide to sucessfully remove the MOD manually. I have tried the uninstall feature but it leaves errors afterwards so I guess there is reminaing data in the dB tables.

Perhaps you could give a walkthrough on how to manually remove the entire hack?

KidneyBoy 10-09-2005 06:34 AM

I have this MOD working on my testvb site (3.5.0 gold), and its working great, except when you are in the "Upload Image" section. You try clicking on the "Image Hosting" link on your menu, and are in the "Upload an Image" section, clicking on the "Image Hosting" menu option doesn't do anything. So if you want to change to another option (say "View My Images") you must return to the index page to be able to click on the "Image Hosting" link and select the "View My Images" link.

It's almost like the dropdown menu feature is disabled when you are in the "Upload an Image" section. I'm the only one to bring this up, so it might be an error somewhere on my part? But it seems like the install was straight-forward enough that I didn't screw anything up. With this exception, this MOD is working great for me on a 3.5.0 gold.

The first time I installed this MOD was on 3.5.0 gold, so I don't know if this helps you at all loneranger. It was/is a fresh install of 3.5.0 (no previous beta versions or 3.0.X's.)

Anyway, hopefully somebody can check this and verify it's just my site doing this, or if it is some sort of a bug. Regardless it's great to have this feature! Thanks!!

KidneyBoy

loneranger 10-09-2005 08:16 AM

thanks for that kidneyboy i will look into that menu problem and get back to you

hohleweg 10-09-2005 08:33 AM

Hi
Great Hacks thanks.
I have a problem, regestrierte user can' delete own picture appears an empty wihte side, than admin goes everything that can it lie thanks greeting jo

loneranger 10-09-2005 05:18 PM

sorry can't understand what you are saying

hohleweg 10-09-2005 05:50 PM

hi
look at
www.buggy125.de/forum
and log in
Peter
Peter

load up a image
goto
view my images
and the go to DELETE IMAGE

jo

hohleweg 10-14-2005 07:10 PM

hi
rear with me comes indicate: ::::::::: Newest Hosted image: by to Stingraypowerboatdriver:::::::: I click on it come: NO image of acres Currently Hosted on www.buggy125.de: The sides over Buggys in the Netz's server where is the error?
greeting jo

WNxWakko 10-16-2005 05:50 PM

When I select "view all users images" I get this error at the top of the page.

Notice: Only variable references should be returned by reference in /home/httpd/vhosts/warriornation.net/httpdocs/wakko/Forum/includes/class_core.php on line 1824

Notice: Only variable references should be returned by reference in /home/httpd/vhosts/warriornation.net/httpdocs/wakko/Forum/includes/class_core.php on line 1771

Notice: Only variables should be assigned by reference in /home/httpd/vhosts/warriornation.net/httpdocs/wakko/Forum/includes/class_core.php on line 1510

-----------------------

2nd problem Im having. Installing on my test board was fine except the error above. However when installing to my live board, all the settings will change for upload except filesize. For some reason it stays showing as 0 so noone can upload anything.

WhiteWolf 10-16-2005 11:28 PM

Quote:

Originally Posted by WNxWakko
When I select "view all users images" I get this error at the top of the page.

Notice: Only variable references should be returned by reference in /home/httpd/vhosts/warriornation.net/httpdocs/wakko/Forum/includes/class_core.php on line 1824

Notice: Only variable references should be returned by reference in /home/httpd/vhosts/warriornation.net/httpdocs/wakko/Forum/includes/class_core.php on line 1771

Notice: Only variables should be assigned by reference in /home/httpd/vhosts/warriornation.net/httpdocs/wakko/Forum/includes/class_core.php on line 1510

the "img_view_all.php" is missing:
error_reporting(E_ALL & ~E_NOTICE);
before including global.php
(These are normal vBulletin notice messages)

Madmp3zz 10-17-2005 01:00 AM

I love the idea. Great hack.
I'm using 3.5.0 Gold

I installed it as per the instructions, but when I click on "View My Images" or "Upload an Image" I get a blank page.

When I click on "View All Users Images", that link works fine.

I was wondering if it has something to do with my image location settings.
Check the attached:

loneranger 10-17-2005 01:40 PM

yes it might do madmp3 you need to find the full path of your server, if you ask your server host or o could take a look for you? will need to pm me admin username and pass

loneranger 10-17-2005 01:42 PM

Quote:

Originally Posted by WNxWakko
When I select "view all users images" I get this error at the top of the page.

Notice: Only variable references should be returned by reference in /home/httpd/vhosts/warriornation.net/httpdocs/wakko/Forum/includes/class_core.php on line 1824

Notice: Only variable references should be returned by reference in /home/httpd/vhosts/warriornation.net/httpdocs/wakko/Forum/includes/class_core.php on line 1771

Notice: Only variables should be assigned by reference in /home/httpd/vhosts/warriornation.net/httpdocs/wakko/Forum/includes/class_core.php on line 1510

-----------------------

2nd problem Im having. Installing on my test board was fine except the error above. However when installing to my live board, all the settings will change for upload except filesize. For some reason it stays showing as 0 so noone can upload anything.

you need to make sure that all usergroups has the filesize setting set above zero

drumforum 10-17-2005 03:27 PM

I'm getting this message:

Quote:

Originally Posted by vB Message
Image Hosting Is Closed for Maintiance

But I have changed all usergroup/product/img hosting option settings such that it should be open. Is their anything I have missed? :/

Thanking you!

Adam

Madmp3zz 10-17-2005 03:53 PM

Quote:

Originally Posted by loneranger
yes it might do madmp3 you need to find the full path of your server, if you ask your server host or o could take a look for you? will need to pm me admin username and pass

Just sent you a PM with all the info...
Thanks.

Avalon111 10-18-2005 05:02 AM

very nice plugin!
but how about creating thumbnails? that would be a great feature?

loneranger 10-19-2005 01:47 PM

madmp3 have sent you a pm back but with a solution as yet drum forum looking into your error didn't think i had put that feature in yet

Madmp3zz 10-19-2005 02:00 PM

Quote:

Originally Posted by loneranger
w4l seems like it hasn't reset the bitfields it should have done this on installation have you imported the product in the plugin system? tim make sure you have changed all the settings in admincp and the images folder is chmod 0777

What do you mean "chmod 0777"?
What is this? and How do I do this?

From what I understand this is only in UNIX...
I'm on an XP box

KidneyBoy 10-21-2005 01:52 AM

Firstoff, I was having a problem with uploading files with capitol letter extensions (eg. .JPG .GIF .PNG). I was able to figure out how to "fix" that by editing this line in:

image_host.php

line 49:

change:
Code:

$ext=array(".gif",".jpg",".png",".bmp");
to:
Code:

$ext=array(".gif",".jpg",".png",".bmp",".JPG",".GIF",".PNG");

Now, I'm still having a problem with the drop-down menu under "Upload An Image". Before, I mentioned that the "Image Hosting" dropdown menu does not drop down like it should. Well I just discovered that while in the "Upload An Image" page, *NONE* of the dropdown menus work (the "Search" and "Quick Links"). I've tried reading the template files, and nothing jumps out at me. These menus all work like they are supposed to everywhere else! Any ideas?

Finally, members are having a problem with getting a "white screen" when they click on the "Upload An Image" option in the dropdown menu. For the life of me, I cannot replicate this. I've used old accounts, I've created new accounts, I've "hijacked" a users account that had problems, and every time, it's worked fine for me......But it's obviously a problem because I've had multiple users complain about it. I see others have reported this blank screen issue, and I'm hoping maybe somebody has an answer????

Anyway, I'm hoping there's some workarounds or fixes somebody might be willing to share.

Thanks
KidneyBoy

hbalagh1 10-22-2005 01:25 AM

Mine always shows Max filesize: 0 KB no matter what amount i set it to in the usergroup manager...

drumforum 10-22-2005 11:23 PM

Quote:

Originally Posted by loneranger
madmp3 have sent you a pm back but with a solution as yet drum forum looking into your error didn't think i had put that feature in yet

wierd.

well it's definetly in your script image_host.php:

Quote:

Originally Posted by you?
// Check to see if image hosting is activated
if ($vboptions['host_open'] !=1){
standard_error($vbphrase['imghost_closed'],'','0');
}

ring any bells??

:p

loneranger 10-23-2005 08:37 AM

Quote:

Originally Posted by hbalagh1
Mine always shows Max filesize: 0 KB no matter what amount i set it to in the usergroup manager...

make sure all usergroups have premissions set above 0


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