Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

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
  #102  
Old 08-16-2005, 03:14 PM
utw-Mephisto utw-Mephisto is offline
 
Join Date: Jan 2005
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by loneranger
how can i help anyone if they don't tell me what the errors are, see i can only test it out on my system different systems act different ways thats why i need to people to tell me the errors you are getting so that i can solve them. so don't put this hack down without asking for support
errors have been posted several times and have been asnwered by you with

Quote:
Works perfectly for me
So if I or others don't have the luck where it works perfectly the only way for me or others is to give up .....

A friend of mine used to code hacks for other forums. He did test it ALWAYS on a clean downloaded board from the official website, installed his hack according to his own manual or asked other to install by the manual and ONLY when he got positiv results from himself or some others, he posted it as official hack ...

I appreciate ppl coding for free and provide them to the community, but still, it musn't happen that files are missing or things like that or CLEAN installation simply not working. It is way too frustrating ... This shows me that coder did not check the actually download or posted things in a rush ..
Reply With Quote
  #103  
Old 08-16-2005, 03:43 PM
womensden womensden is offline
 
Join Date: Jan 2005
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by utw-Mephisto
errors have been posted several times and have been asnwered by you with



So if I or others don't have the luck where it works perfectly the only way for me or others is to give up .....

A friend of mine used to code hacks for other forums. He did test it ALWAYS on a clean downloaded board from the official website, installed his hack according to his own manual or asked other to install by the manual and ONLY when he got positiv results from himself or some others, he posted it as official hack ...

I appreciate ppl coding for free and provide them to the community, but still, it musn't happen that files are missing or things like that or CLEAN installation simply not working. It is way too frustrating ... This shows me that coder did not check the actually download or posted things in a rush ..
Thank you!
I posted before that I was getting errors and was never helped. I was trying this again in hopes that it had been resolved. I can see that it apparently isn't just me. OThers are having the same problem.. same errors, etc..
Reply With Quote
  #104  
Old 08-16-2005, 04:26 PM
h75's Avatar
h75 h75 is offline
 
Join Date: Sep 2004
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i installed thos product - goto to usergroups settings - change - click save =
Quote:
Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/class_core.php on line 628

There seems to have been a problem with the Hallo @ Halloo.de - Internet Community database.
Please try again by clicking the Refresh button in your web browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.
Code:
Database error in vBulletin 3.5.0 Release Candidate 2:

Invalid SQL:
UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
	`title` = 'Registrierte Benutzer',
	`description` = '',
	`usertitle` = '',
	`opentag` = '<b><span style=\"color: #6699CC;\">',
	`closetag` = '</span></b>',
	`passwordexpires` = '360',
	`passwordhistory` = '100',
	`forumpermissions` = '979199',
	`genericpermissions` = '19403267',
	`attachlimit` = '500000',
	`pmquota` = '50',
	`pmpermissions` = '0',
	`pmsendmax` = '2',
	`calendarpermissions` = '17',
	`wolpermissions` = '1',
	`adminpermissions` = '0',
	`genericoptions` = '20',
	`profilepicmaxwidth` = '240',
	`profilepicmaxheight` = '320',
	`profilepicmaxsize` = '65535',
	`avatarmaxwidth` = '60',
	`avatarmaxheight` = '60',
	`avatarmaxsize` = '35000',
	`imghost` = '',
	`imghostset` = '100000',
	`imghost_width` = '2048',
	`imghost_height` = '1536',
	`imghost_files` = '5'
WHERE usergroupid=2;

MySQL Error  : Unknown column 'imghost' in 'field list'
Error Number : 1054
Date         : Tuesday, August 16th 2005 @ 07:24:14 PM
Script       : admincp/usergroup.php
Referrer     : 
IP Address   : x.x...
Username     : H75
Classname    : vb_database
help me.. plz
Reply With Quote
  #105  
Old 08-16-2005, 04:33 PM
loneranger loneranger is offline
 
Join Date: Dec 2004
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

womensden to let you know the db queries work more me and most others if you could copy and paste the error here so that i can see it maybe i might be able to help, utw i have solved some small issues with the code but no one has yet to give me the excat error they got you just said database errors but what were they?
Reply With Quote
  #106  
Old 08-16-2005, 04:39 PM
loneranger loneranger is offline
 
Join Date: Dec 2004
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

h57 looks like you need to rebuild the bitfields use the php file attached called rebuild_bitfields.php this should solve if not please re-post i will solve it asap
Reply With Quote
  #107  
Old 08-16-2005, 06:31 PM
Chris_D Chris_D is offline
 
Join Date: Jun 2004
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Martin, if you go to http://www.sinepisodes.net/forums/img_view_all.php to view all the images, it says I have uploaded one.

If you then click my user name though, I get a 404 error message:
Quote:
The requested URL /forums/test.php was not found on this server.
Is there a file missing or have you left it named incorectly in the img_view_all.php file?
Reply With Quote
  #108  
Old 08-16-2005, 06:57 PM
loneranger loneranger is offline
 
Join Date: Dec 2004
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes this fault has now been removed in the latest release it's just a template error think it imghost_userbits the link in there should view img_view_all.php and not test.php or you can just re-download this and overwrite the old one
Reply With Quote
  #109  
Old 08-16-2005, 07:43 PM
Chris_D Chris_D is offline
 
Join Date: Jun 2004
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That fixed it loneranger, thanks

Think I might have identified another bug though.

Again, if you go to www.sinepisodes.net and look at the Statistics and the Image Host stats, it says the last uploader was a member called Samon. However if you click on his name it takes you to user ID 1 -- which is me. I've logged in on my test account which is a standard user and it does the same there.

Strangely, if you're not logged in at all then the link will always take you to user ID 0...


EDIT: Strangely, I just left the forum and came back to it and now the link is poiting to user ID 23, which is someone else completely.
Reply With Quote
  #110  
Old 08-17-2005, 05:12 PM
loneranger loneranger is offline
 
Join Date: Dec 2004
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

chris i have mistaking read the data wrong from the mysql results, you can follow the edits below or just download the updated version now.

goto admincp->plugin system->plugin manager,
and edit the plugin called image hosting 2.1 hook forumhome_start
you will need to find
PHP Code:
$userid=$rows[0]; 
and change it to
PHP Code:
$userid=$rows[1]; 
this should solve you error and everbody else will need to update or make this code change.
thanks for your patience
Reply With Quote
  #111  
Old 08-17-2005, 05:36 PM
Chris_D Chris_D is offline
 
Join Date: Jun 2004
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by loneranger
chris i have mistaking read the data wrong from the mysql results, you can follow the edits below or just download the updated version now.

goto admincp->plugin system->plugin manager,
and edit the plugin called image hosting 2.1 hook forumhome_start
you will need to find
PHP Code:
$userid=$rows[0]; 
and change it to
PHP Code:
$userid=$rows[1]; 
this should solve you error and everbody else will need to update or make this code change.
thanks for your patience
I'm afraid that's still doing the same mate
Reply With Quote
Reply

Thread Tools

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 11:32 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.05054 seconds
  • Memory Usage 2,323KB
  • 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
  • (4)bbcode_php
  • (6)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
  • (1)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