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)

derekivey 01-26-2006 07:27 PM

Make sure the templates were added to your skin(s). If you want me to look at it, please PM the url of your site and admin details so I can check it out for you.

Derek

derekivey 01-26-2006 07:31 PM

Also just so everyone knows my progress of version 1.0.6, I am pretty much done, I just have to finish adding the image hosting feature. vB's Product installer will automatically copy all of the current site images to your server and leave the image link in the database in case this needs to be redone.

Twigz 01-26-2006 07:34 PM

Quote:

Originally Posted by derekivey
Also just so everyone knows my progress of version 1.0.6, I am pretty much done, I just have to finish adding the image hosting feature. vB's Product installer will automatically copy all of the current site images to your server and leave the image link in the database in case this needs to be redone.

Pm sent!
Thanks ..

derekivey 01-26-2006 07:44 PM

Yup, just got it. Looking into the problem right now for you.

Derek

derekivey 01-26-2006 07:47 PM

Hi, I just tried adding a site and it added fine. Does it work for you?

Twigz 01-26-2006 07:55 PM

Quote:

Originally Posted by derekivey
Hi, I just tried adding a site and it added fine. Does it work for you?

Yes, seems to be working fine Now.. Thank you for whatever you did..
Great hack & Support.

-Twigz

derekivey 01-26-2006 08:26 PM

Quote:

Originally Posted by Twigz
Yes, seems to be working fine Now.. Thank you for whatever you did..
Great hack & Support.

-Twigz

No Problem, I didn't do anything lol.

derekivey 01-29-2006 03:08 AM

Ok, This hack should be released by tomorrow (Sunday), I just have to add a AdminCP page to manage the uploaded images and stuff. The rest is complete.

Derek

derekivey 01-29-2006 08:40 PM

Version 1.0.6 has been released. Please see the first post for the changes in this one. Follow the readme file carefully to install or upgrade.

derekivey 01-29-2006 08:48 PM

HOW TO: Editing the Dynamic Image

You may be wondering how you edit the included Dynamic image in this hack. Here is a simple how to, to do it.

OPEN: images/toplist/buttons/dynamic/image.png

FIND:
PHP Code:

chdir('/home/derek/public_html/vbtest'); 

You need to change '/home/derek/public_html/vbtest' to the path to your forum. Make sure it looks like that though.

Next, if you want to change the background image, simply make a png image and overwrite background.png with it.

If you want to change the color of the text in the dynamic image, you would edit this line:
PHP Code:

$color imagecolorallocate($image00255); 



0, 0, 255 are the RGB values for the colors. You need to change them to the color you want, the current one is blue.

Now scroll to the bottom until you find a line like this:
PHP Code:

imagestring($image$font4428$rank$color); 



For each of those lines, you will need to change the 2 numbers so that each each thing is aligned with the right part of the image. See my included dynamic image as an example. The first number is the x value, and the second one is the y value.

I hope this little how to helps you edit your image better, sorry if it's kind of confusing.

Derek

Allan 01-29-2006 09:18 PM

This version is stable for translate ?

derekivey 01-29-2006 09:55 PM

Yes, I have tested it thoroughly before I released it.

loonytune15 01-30-2006 12:37 AM

good good, uploading now :D

ok a couple of probs.

First i got some error messages when importing the new product file, did it again but didn't get the message again so i couldn't copy it.

Also the topsites are no longer showing in the forumhome. I have the setting enabled to allow it on the forumhome.

I also am having probs with the images and the fact they are no longer there, some of the ones have saved but others have lost the paths to them. I tried uploading the site images but it wont work either.

Also their is no option to have a remote linked image.

am-fs 01-30-2006 04:53 AM

Great Job...........Derekivey :up:

I am haveing a slight problem

I used 468x60 banners and now you have added the button option only.

Is there any way to get it back the option to put the banner under the site title?
I know you recommend smaller images but i dont really want to use the button option. THe banners make it easy to surf the sites.....IMO

Another thing, is there away to remove a vote from a member with out editing the Total Ratings & Average?

I have a member that likes to play jokes and went around and gave some site negitive votes, even tho i corrected it on the Total Rating & Average, its not tallying it up right.

EXP. site had 4 (5 star votes) and 1 ( 3 star) , i remove the 3 star vote and any site that just has 1 vote is rated higher.

Again, thanks for this wonderful hack :)

derekivey 01-30-2006 10:06 AM

Wehn you installed the product it should have ran some code that copied the images over to your server. Are you guys sure it didn't do that?

klaush 01-30-2006 10:45 AM

Quote:

Originally Posted by derekivey
Wehn you installed the product it should have ran some code that copied the images over to your server. Are you guys sure it didn't do that?

Yes, sure.

I noticed another problem, when trying to fix the missing banners. I can?t upload them to the default directory, even if the permissions are given to upload gif, jpeg and png.

Any idea, derekivey?

SpiderFive 01-30-2006 10:50 AM

The images are on the server , but some of them will not show in the toplist

derekivey 01-30-2006 10:05 PM

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.

For those of you having problems with images not showing up can you please give me the url to your site so that I may take a look?

@am-fs that is currently not a feature. When you fix the total rating, you will need to subtract 1 from the total votes. You should be able to do this when you edit the site.

Thanks,
Derek

derekivey 01-31-2006 12:12 AM

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

klaush 01-31-2006 06:34 PM

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!

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

puertoblack2003 02-03-2006 09:17 PM

Quote:

Originally Posted by derekivey
What? Everything is fixed in the latest version. Can you please clarify?

Thanks,
Derek

lol.. :rolleyes: .he's talking about error message whe you upload button to site i have that as well whe i get online to site i'll post it up i have to hurray cause after error it redirect back to page..only that happens when uploading button from file folder on the pc.... :ermm:

derekivey 02-03-2006 10:32 PM

Ok, please post the error for me then and I will get it fixed.

Thanks,
Derek

ChrisBaktis 02-04-2006 01:14 AM

I have edited the templates a little to fit my site but I was wondering how I can eliminate the Button...I took out the option of uploading one by just removing that option in the Add A Site emplate - how can I remove that column so when a user looks at the Top List the red X doesnt show....

Any Help?

ChrisBaktis 02-04-2006 01:49 AM

figured it out.

derekivey 02-04-2006 02:26 AM

Ok, Glad you figured it out. Just make sure to backup your changes when you upgrade to later versions, because most of the time the templates change between versions.

Derek

hohleweg 02-04-2006 10:03 AM

hi
i have install the hack and its great
BUT
look
Quote:

<a href="http://www.buggy125.de/forum/in.php?id=1" target="_BLANK">Mein Hobby der Buggy!</a>
and / or
i came in continuous loop :-(

why?
greet jo

MoveOver.cc 02-04-2006 12:33 PM

Firstly excellent idea and sorry if this question has already been asked.

I have uploaded all the files as per in the instructions etc etc.

When I click on toplist from the home page then either click on "edit site" "delete site", "rate site" or click the link for the site, it either tells me the page cannot be found or the screen is shown for about half a second then you dont see it.

Any help please as I am pretty new to this.

derekivey 02-04-2006 02:12 PM

Quote:

Originally Posted by hohleweg
hi
i have install the hack and its great
BUT
look

and / or


i came in continuous loop :-(

why?
greet jo

You did not set the IN url in the Toplist Settings, in the AdminCP. Please do so, and it should work.

Quote:

Originally Posted by MoveOver.cc
Firstly excellent idea and sorry if this question has already been asked.

I have uploaded all the files as per in the instructions etc etc.

When I click on toplist from the home page then either click on "edit site" "delete site", "rate site" or click the link for the site, it either tells me the page cannot be found or the screen is shown for about half a second then you dont see it.

Any help please as I am pretty new to this.

Can you PM me the url to your forum so I can see?

Thanks,
Derek

puertoblack2003 02-04-2006 10:32 PM

hey i updated the hack to newer version but was having problem when you upload files from picture folder and was giving me error message..but what i did was i revert everything back to version 5 since that version i had no problems everything looks good but when i edited certain things to the toplist site this is the error message i was getting...

MySQL Error : Unknown column 'rating_total' in 'field list'
Error Number : 1054
Date : Saturday, February 4th 2006 @ 04:26:09 PM
Script : http://www.xxxxxxx.com/admincp/toplist_admin.php
Referrer : http://www.puertotech.com/admincp/to...p?do=edit&id=1
IP Address : xxxx.xxxx.xxxx.xxx
Username : puertoblack2003
Classname : vb_database

can you help please

puertoblack2003 02-05-2006 12:46 AM

Quote:

Originally Posted by nievesidenshop
hey i updated the hack to newer version but was having problem when you upload files from picture folder and was giving me error message..but what i did was i revert everything back to version 5 since that version i had no problems everything looks good but when i edited certain things to the toplist site this is the error message i was getting...

MySQL Error : Unknown column 'rating_total' in 'field list'
Error Number : 1054
Date : Saturday, February 4th 2006 @ 04:26:09 PM
Script : http://www.xxxxxxx.com/admincp/toplist_admin.php
Referrer : http://www.puertotech.com/admincp/to...p?do=edit&id=1
IP Address : xxxx.xxxx.xxxx.xxx
Username : puertoblack2003
Classname : vb_database

can you help please



edited:...lol...nevermind after reading through this book :rolleyes: i found the problem and was resolved....i executed queries in page 16 verse 234 :rolleyes: thanks


All times are GMT. The time now is 05:22 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.02394 seconds
  • Memory Usage 1,859KB
  • 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
  • (11)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
  • (2)pagenav_pagelinkrel
  • (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