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

yeah i agree with you just recently i have discovered a couple of bugs not everyone can be perfect utw have you ever tried coding don't mock what you can't do i had it perfect on my system but it works different on different systems i am tring to create a decent hack here i don't need you mocking me all the time talking as if you know everything, how about you grow up and offer good critism rather than just put things down.
Reply With Quote
  #123  
Old 08-22-2005, 07:18 PM
Chris_D Chris_D is offline
 
Join Date: Jun 2004
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I've fixed my issue the issue I had.

If anyone else gets the issue wherein the hack is working fine, however in the forum statistics section at the bottom, where it shows the last person to have uploaded an image, if their user ID is showing wrong then do the following:

In the INSTALL.txt file you'll find this information:
Quote:
step 4 FORUM_HOME templates changes
find;
PHP Code:
<div>
                
$vbphrase[threads]: $totalthreads,
                
$vbphrase[posts]: $totalposts,
                
$vbphrase[members]: $numbermembers<if condition="$show['activemembers']">,
                    <
span title="<phrase 1="$vboptions[activememberdays]">$vbphrase[within_the_last_x_days]</phrase>">$vbphrase[active_members]: $activemembers,</span>
                </if> 
below it add
PHP Code:
Users Hosting Images$total_users,
Total images Hosted$total_images,
Newest Hosted Image$image_name by <a href=img_view_all.php?do=imgs&id=$userid>$username</a
Where it says "do=imgs&id=$userid>$username</a>", change this to "do=imgs&id=$rows[1]".

Next, go to Plugin System > Plugin Manager > Edit Image Hosting 2.1 > Find "$userid=$rows[0];" and change it to "$userid=$rows[1];".

It should now start working.

This is basically what loneranger said above.
Reply With Quote
  #124  
Old 08-22-2005, 09:16 PM
Chris_D Chris_D is offline
 
Join Date: Jun 2004
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

loneranger -- it looks like you might have to release a new version if you're going to fix any genuine bugs people might have. If you do, would you also be able to introduce a thumbnailing system? So it'd use GD to crop/rezise the uploaded pictures to a much smaller size so it doesn't distort the img_view_all.php page and also might be generally convenient for people that are linking the images on other forums.
Reply With Quote
  #125  
Old 08-23-2005, 10:47 AM
Beermonster Beermonster is offline
 
Join Date: Dec 2003
Location: England
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've tried to remove this but I get

Code:
Warning: Unknown(/includes/class_bitfield_builder.php): failed to open stream: No such file or directory in /admincp/plugin.php(965) : eval()'d code on line 8

Fatal error: (null)(): Failed opening required '/includes/class_bitfield_builder.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/public_html/admincp/plugin.php(965) : eval()'d code on line 8
And I'm also unable to edit the usergroup profiles now with out getting a database error, how do I remove it totally?
Reply With Quote
  #126  
Old 08-23-2005, 01:35 PM
loneranger loneranger is offline
 
Join Date: Dec 2004
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if you go to product manager and edit the product, look in the uninstall code bit and put at the top include('./global.php'); must have forgottern to put that in sorry
Reply With Quote
  #127  
Old 08-23-2005, 01:47 PM
Beermonster Beermonster is offline
 
Join Date: Dec 2003
Location: England
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by loneranger
if you go to product manager and edit the product, look in the uninstall code bit and put at the top include('./global.php'); must have forgottern to put that in sorry
Nope sorry still won't uninstall
Reply With Quote
  #128  
Old 08-24-2005, 01:35 PM
loneranger loneranger is offline
 
Join Date: Dec 2004
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well i have it working on my system, just install the attacheched product and allow overwrite then try and uninstall
Reply With Quote
  #129  
Old 08-24-2005, 01:43 PM
utw-Mephisto utw-Mephisto is offline
 
Join Date: Jan 2005
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The problem is when u get an SQL error while installing, u cannot even uninstall it again as it give also database errors ..

Is there a way to provide a manual uninstall procedure ?
Reply With Quote
  #130  
Old 08-24-2005, 02:38 PM
Beermonster Beermonster is offline
 
Join Date: Dec 2003
Location: England
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by loneranger
well i have it working on my system, just install the attacheched product and allow overwrite then try and uninstall

Thanks that removed it from the products list, but I still get a sql error when trying to edit the usergroups, and I'm left with a bit at the bottom that looks like the attached image.
Reply With Quote
  #131  
Old 08-24-2005, 02:50 PM
Chris_D Chris_D is offline
 
Join Date: Jun 2004
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What's the exact error message you get when trying to edit the usergroups. I had a similar thing in the forum manager with the gallery hack after an uninstall of it.
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 10:50 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.08352 seconds
  • Memory Usage 2,321KB
  • 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
  • (1)bbcode_code
  • (2)bbcode_php
  • (3)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