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 08-21-2005 09:41 PM

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.

Chris_D 08-22-2005 07:18 PM

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.

Chris_D 08-22-2005 09:16 PM

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.

Beermonster 08-23-2005 10:47 AM

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?

loneranger 08-23-2005 01:35 PM

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

Beermonster 08-23-2005 01:47 PM

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

loneranger 08-24-2005 01:35 PM

well i have it working on my system, just install the attacheched product and allow overwrite then try and uninstall

utw-Mephisto 08-24-2005 01:43 PM

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 ?

Beermonster 08-24-2005 02:38 PM

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.

Chris_D 08-24-2005 02:50 PM

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.


All times are GMT. The time now is 12:23 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.01219 seconds
  • Memory Usage 1,750KB
  • 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
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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