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)

TCooper 08-10-2005 05:27 AM

sorry, overlooked that, thanks for pointing that out... plus been up for hours working on a few sites...

Action-N 08-10-2005 05:38 AM

I'm posting this cuase I ended up manually entering everything to install this hack. Plugin system wouldn't take the xml right, most likely from a botched vb ubgrade.

https://vborg.vbsupport.ru/

Where do we edit the url?

loneranger 08-10-2005 01:52 PM

Quote:

Originally Posted by Action-N
I'm posting this cuase I ended up manually entering everything to install this hack. Plugin system wouldn't take the xml right, most likely from a botched vb ubgrade.

http://www.action-network.com/images/ImageHost1.jpg

Where do we edit the url?

well there seems to be a mistake on setting up settings there i have install severasl time on my system and i get a text box where you have got a yes no box, you will need to go in debug mode and edit the settings to data type = free,
if anyone else gets this error please let me know as i don't think it is a fault with my code

loneranger 08-12-2005 03:31 PM

action did you manage to get this problem sorted, also has any one got any suggestions on how i can improve this hack, any extra features people would like to see??

Action-N 08-12-2005 06:28 PM

:o yeah like I mentioned, I was entering this mod manually. I just set it up with the wrong info "yesno" so my bad. The mod works an is pretty cool.

theArchitect 08-13-2005 01:11 AM

Quote:

Originally Posted by loneranger
action did you manage to get this problem sorted, also has any one got any suggestions on how i can improve this hack, any extra features people would like to see??

It seems fairly comperhensive for what it is.

Though I do have a question about where the images are kept. In the AdminCP I have the option of moveing all images from the DB to the file system. Does this option manage this hack too? If so, can users (of moderators) still delete the images if they have been move to the file system. Or would I have to go in via FTP and do it?

loneranger 08-13-2005 07:56 AM

architect all the images are kept on the filesystem i don't check to see what the forum setting are, also if there are stored in the database users won't be able to show them on other sites.

theArchitect 08-13-2005 08:20 AM

Quote:

Originally Posted by loneranger
architect all the images are kept on the filesystem i don't check to see what the forum setting are, also if there are stored in the database users won't be able to show them on other sites.

Very good point, and thanks for your reply.

loneranger 08-13-2005 11:12 AM

action i have fix the bug with userbit template now add some new features stats for the image hosting now show on forum home, i have now made this a final release so it's out of beta stages now and is stable for a production site, but please backup before installing this hack as i can't be held responsible for any losses, also can some ppl please rate this

turksengel 08-13-2005 01:50 PM

Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/class_core.php on line 628

any idea ?

loneranger 08-13-2005 02:48 PM

you will need to use build_bitfields this should have done it when installing if you look in don't upload folder there should be a php file there just run that

utw-Mephisto 08-14-2005 01:20 AM

JESUS CHRIST

Quote:

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

Fatal error: (null)(): Failed opening required '/includes/class_bitfield_builder.php' (include_path='.:/usr/local/lib/php') in /mounted-storage/home5/sub004/sc12836-KCNW/www/vbtest/admincp/plugin.php(1156) : eval()'d code on line 8

utw-Mephisto 08-14-2005 01:28 AM

Since I got rid of the last error I get more and more, this is not really a final version, is it ?

Your product did not insert the database tables, how do I do it now ?

utw-Mephisto 08-14-2005 01:31 AM

And trying to run the bitfield_rebuild gives me

Quote:

Warning: main(DIR/includes/class_bitfield_builder.php): failed to open stream: No such file or directory in /mounted-storage/home5/sub004/sc12836-KCNW/www/vbtest/admincp/bitfield_rebuild.php on line 3

Fatal error: main(): Failed opening required 'DIR/includes/class_bitfield_builder.php' (include_path='.:/usr/local/lib/php') in /mounted-storage/home5/sub004/sc12836-KCNW/www/vbtest/admincp/bitfield_rebuild.php on line 3

loneranger 08-14-2005 09:41 AM

are right this is the first time i have had this error come up i will get it sort asap the tables should have insertered corretly they have done for me and others

loneranger 08-14-2005 10:11 AM

i have now edited the prduct-imghost file so it should update the bitfields but was unable to find an error with the adding of tables please let me know if this presists and i will try to solve it i have now installed and uninstalled 10 times without an error

xxskullxx 08-15-2005 08:22 PM

Works perfectly for me, I had to fix a fe things in the templates and in a php file to change the 'test.php' references, otherwise no problems at all.

womensden 08-16-2005 03:35 AM

oh gosh... here I am thinking maybe it will work for me now. Nope.. still problems.. errors... etc.. And once again DB errors when I try to uninstall.

*Gives up on this one*

utw-Mephisto 08-16-2005 06:28 AM

Made a clean installation of the board, no hack installed, starten installing this one, db errors all over ...

*clicks uninstall*

loneranger 08-16-2005 03:06 PM

Quote:

Originally Posted by womensden
oh gosh... here I am thinking maybe it will work for me now. Nope.. still problems.. errors... etc.. And once again DB errors when I try to uninstall.

*Gives up on this one*

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

utw-Mephisto 08-16-2005 03:14 PM

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 ..

womensden 08-16-2005 03:43 PM

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..

h75 08-16-2005 04:26 PM

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

loneranger 08-16-2005 04:33 PM

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?

loneranger 08-16-2005 04:39 PM

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

Chris_D 08-16-2005 06:31 PM

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?

loneranger 08-16-2005 06:57 PM

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

Chris_D 08-16-2005 07:43 PM

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.

loneranger 08-17-2005 05:12 PM

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

Chris_D 08-17-2005 05:36 PM

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 :(

loneranger 08-17-2005 06:49 PM

have you tried downloading the updated version and overwrite

Wayne Luke 08-17-2005 08:47 PM

Still getting errors....

I installed this after a few tries just by following the thread. However, I set my administrator usergroup to be able to upload 1 MB files up to 1600 X 1200 (equal to what I have in the vBulletin Attachment manager). When I go to upload a file it says "Max Filesize: 0 KB" then trying to upload any file it says File too big, even though I have tried many different file sizes. Same pictures upload fine within the vBulletin Attachment Manager.

Would be nice as well to have upgraded installation documentation that tells you about the options that need to be set. It should also be noted that I am using RC2 of vBulletin 3.5.0 but it shouldn't matter, the hack should work fine.

Chris_D 08-17-2005 10:12 PM

Wayne, I might be wrong but I think I had that problem at what point. Can't remember what I did to fix it though...

Chris_D 08-17-2005 10:20 PM

loneranger, I have reinstalled the whole thing now and it's still doing the same.

I've noticed something that might help though.

The link contains the user ID of anyone that's online. For example if I'm the only member online the "Newest Hosted Image: Alyx by Samon" link will be to my user ID (1). At the moment another member is online whose user ID is 38. Samon's user ID is 7. The link is currently pointing to any pics user ID 38 has (none). If Samon is online, then the link is correct.

.Tim 08-17-2005 11:09 PM

It uploads just fine, pictures upload like they should, no problems there but when I go to img_view_all.php and click on my name, I get this:

OmaniMan 08-18-2005 01:15 AM

Dear,
Something wrong in xml product file ...

when I tried to install it ... the warning appeared and english phrased in Admincp Usergroup Manager is not showing ...

when I uninstalled it to reinstall it ...
this what shown :
Quote:

Warning: Unknown(): open_basedir restriction in effect. File(/includes/class_bitfield_builder.php) is not within the allowed path(s): (/home/xxx/:/usr/lib/php:/usr/local/lib/php:/tmp) in /admincp/plugin.php(965) : eval()'d code on line 8

Warning: Unknown(/includes/class_bitfield_builder.php): failed to open stream: Operation not permitted 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/xxx/public_html/vb/admincp/plugin.php(965) : eval()'d code on line 8
and :
Quote:

Database error in vBulletin 3.5.0 Release Candidate 2:

Invalid SQL:
select * From image_host where userid=1;

MySQL Error : Table 'xxx_vb3.image_host' doesn't exist
Error Number : 1146
Date : Thursday, August 18th 2005 @ 06:11:02 AM
Script : http://www.xxx.com/vb/image_host.php?do=uploader
Referrer :
IP Address : xxxxxxxx
Username : xxxx
Classname : vb_database
:ermm:

loneranger 08-18-2005 04:45 PM

thanks chris i might know what the problem is here could be a conflict of $userid if you go into the plugin and change $userid=$row[1] and then in forum home change the $userid to whatever you changed it to. as for the other errors ppl getting i will look into it will not be untill tomorrow as i am away. thanks again for posting there errors up here

Chris_D 08-19-2005 07:47 AM

Quote:

Originally Posted by loneranger
thanks chris i might know what the problem is here could be a conflict of $userid if you go into the plugin and change $userid=$row[1] and then in forum home change the $userid to whatever you changed it to. as for the other errors ppl getting i will look into it will not be untill tomorrow as i am away. thanks again for posting there errors up here

I think I get what you mean. I've tried a few things anyway and it's still not working.

loneranger 08-19-2005 04:31 PM

chris i haven't had a chance to look into these errors yet as i have to work late again i will try to sort this out asap maybe if you could pm an admin account as i haven't got this error on my server?

utw-Mephisto 08-21-2005 09:44 AM

You should really change the title. not really a final realease is it ?


All times are GMT. The time now is 09:08 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.01823 seconds
  • Memory Usage 1,852KB
  • 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
  • (1)bbcode_code_printable
  • (4)bbcode_php_printable
  • (15)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