Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Image Hosting Details »»
Image Hosting
Version: 2.1 Final, by loneranger loneranger is offline
Developer Last Online: Oct 2009 Show Printable Version Email this Page

Version: 3.5.0 RC2 Rating:
Released: 07-27-2005 Last Update: 09-19-2005 Installs: 75
Uses Plugins Template Edits
Additional Files  
No support by the author.

Image Hosting Version 2.1 Final Release

I have remade all the code from the older version so it is now compatiable to version 3.5.0 RC1. I have also use the product manager install script . Please post all bugs here so that i can update the script ready for the gold release.

This script will allow your members to upload images to your website so that they be view on forums and other sites.
You can set all permissions in usergroup mananger
restrict all upload settings on filesizes and amount of files.
users can also browse their upload images and delete them
mods can delete users images too.
users can view each others images.

there are many other features which i will write up about once the bugs are all out.

remember to backup before you install
Installing this Extension
Please Read the install text file in the zip for full instructions.
File edits: 0
Template Mods: 2
Files upload :3
difficulty: Easy

Fixes
2.1 fixed the product installation now all working with a fresh install of vb 3.5.0 rc2. Bitfields Rebuilt correctly.

20-09-2005 20:15 - changed the template from test.php to img_view_all.php

All Current errors posted in this forum have now been solve with this release please check it out.

Donate
All donations are welcome my paypal is martinj.porter@btinternet.comor just click here

hope you enjoy

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #162  
Old 09-02-2005, 02:36 PM
loneranger loneranger is offline
 
Join Date: Dec 2004
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #163  
Old 09-02-2005, 10:52 PM
theArchitect's Avatar
theArchitect theArchitect is offline
 
Join Date: Sep 2004
Location: Sydney
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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).
Reply With Quote
  #164  
Old 09-08-2005, 11:21 PM
TRStealth's Avatar
TRStealth TRStealth is offline
 
Join Date: Oct 2002
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #165  
Old 09-20-2005, 01:30 PM
jugo jugo is offline
 
Join Date: Feb 2004
Location: Reading your emails.
Posts: 573
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
  #166  
Old 09-20-2005, 01:55 PM
loneranger loneranger is offline
 
Join Date: Dec 2004
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #167  
Old 09-20-2005, 06:21 PM
loneranger loneranger is offline
 
Join Date: Dec 2004
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #168  
Old 09-20-2005, 06:28 PM
loneranger loneranger is offline
 
Join Date: Dec 2004
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #169  
Old 09-21-2005, 03:29 AM
TRStealth's Avatar
TRStealth TRStealth is offline
 
Join Date: Oct 2002
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any fix for my problem, loneranger?
Reply With Quote
  #170  
Old 09-21-2005, 09:24 AM
loneranger loneranger is offline
 
Join Date: Dec 2004
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #171  
Old 09-21-2005, 01:14 PM
loneranger loneranger is offline
 
Join Date: Dec 2004
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04: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.04639 seconds
  • Memory Usage 2,317KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_html
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete