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)
-   -   Toplist (https://vborg.vbsupport.ru/showthread.php?t=98646)

SpiderFive 01-31-2006 06:37 PM

Quote:

Originally Posted by derekivey
I have fixed the problem some of you have been having with images not showing up. Please upload the attached toplist_image.php file and be sure to overwrite the old one.

I am also uploading a new zip file with this fix in it, in the first post.

Let me know if you have any problems.

Thanks,
Derek

Thanks

derekivey 01-31-2006 07:16 PM

Quote:

Originally Posted by klaush
Sorry, here is my problem not solved:

Sorry, your image could not be uploaded because the format of it is not allowed. Allowed formats are GIF, JPEG, and PNG

The format of the file you uploaded is image/jpeg.

Please go back and select a new image or leave the image field blank.Site Edited Successfully.

The image is o.k., so what could be the reason?

Thanks for your fast help!

Hi,

I'll take a look for you and get back to you on this.

Derek

derekivey 01-31-2006 07:20 PM

Ok, Open add_site.php, edit_site.php, and toplist_admin.php (2 instances), and find a line like this:
PHP Code:

if ($image_type == "image/gif" OR $image_type == "image/pjpeg" OR $image_type == "image/x-png"

Replace it with:
PHP Code:

if ($image_type == "image/gif" OR $image_type == "image/pjpeg" OR $image_type == "image/jpeg" OR $image_type == "image/x-png"

Let me know if you have anymore problems. I will be updating the zip file in the first post also for this.

Derek

klaush 01-31-2006 07:48 PM

Quote:

Originally Posted by derekivey
Ok, Open add_site.php, edit_site.php, and toplist_admin.php (2 instances), and find a line like this:
PHP Code:

if ($image_type == "image/gif" OR $image_type == "image/pjpeg" OR $image_type == "image/x-png"

Replace it with:
PHP Code:

if ($image_type == "image/gif" OR $image_type == "image/pjpeg" OR $image_type == "image/jpeg" OR $image_type == "image/x-png"

Let me know if you have anymore problems. I will be updating the zip file in the first post also for this.

Derek

YEP, that did it!:-)

Thanks a lot!

derekivey 01-31-2006 09:01 PM

Your welcome :). Thank You for reporting that!

loonytune15 02-01-2006 01:25 AM

Quote:

Originally Posted by derekivey
Ok, those of you who are having problems with the random site addon showing up on the forum home, open the FORUMHOME template and find:
PHP Code:

<if condition="$show['birthdays']"

Right above it add:
PHP Code:

<!-- Toplist --> 

That should fix it.
Derek

Has this been fixed in the product?

derekivey 02-01-2006 02:34 AM

Nothing needs to be changed on the product. All you have to do is edit the FORUMHOME template (which comes w/ vBulletin), and it will show up.

Derek

yayvb 02-02-2006 11:10 PM

Awesome Hack!!!!

tasarimdunyasi 02-03-2006 04:55 AM

Quote:

Originally Posted by Allan
So i work now, i'm changed manual in database the query

Good, i'm a error, the link which the hack gives us does not work home and to the others also, the page di link is white and reloads ceaselessly


how change manual? I living this problem now and ı don't know how change..

please help me?

derekivey 02-03-2006 10:01 AM

What? Everything is fixed in the latest version. Can you please clarify?

Thanks,
Derek


All times are GMT. The time now is 05:01 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.05092 seconds
  • Memory Usage 1,753KB
  • 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
  • (6)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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