![]() |
Ok, No problem, glad you got it working. Also do you remember what kind of errors it gave you when you tried uploading the images?
|
Quote:
Code:
Database error in vBulletin 3.5.1: comment: also i ran the queries and seem to be in there i double checked everything just waiting for you i'm stuck :ermm: |
For some reason it looks like the SQL table for the ratings didn't get created. Try executing this code in PHPMyAdmin, or vB's query page in the AdminCP.
[sql] CREATE TABLE `toplist_ratings` ( `id` int(10) NOT NULL auto_increment, `site_id` int(10) NOT NULL default '0', `username` varchar(255) NOT NULL default '', `rating` int(1) NOT NULL default '0', PRIMARY KEY (`id`) ) TYPE=MyISAM; [/sql] Also if you have a table prefix, be sure to add that to the table name also. Derek |
Just wondering, because I really don't know. Why would a site have a toplist?
|
Quote:
got to love u man...lol... :rolleyes: it worked know i have to figure out how to resolve the new version....error message will keep you informed |
Quote:
Quote:
Thanks, Derek |
hi,
first: when i delete a site using admin panel, i see that message: Warning: unlink(/**************public_html/images/toplist/buttons/sites/forumbit_14): No such file or directory in /*****cp/toplist_admin.php on line 646 deleting succesfull.. second: when I'm adding a new site, toplist looks like that althoug i don't use a picture. why it try to screen image although i use blank: http://img291.imageshack.us/img291/7020/example7px.jpg sorry for my english. :( thanks |
Installed and working almost perfectly. Couple of questions:
- Where do I edit/add the missing image in the attached pic? - How do I set the allowed image types? I made the edits to the files in post 463, but it still wants "JPEG" instead of "JPG". Thanks! |
Quote:
Also can you PM me the url to your forum and a test account so that I can try the 2nd thing? It shouldn't be showing anything if you leave the image field blank. Quote:
For your second question, did you add $image_type == "image/jpg" to the if statement? Derek |
Thanks for the quick reply Derek. Got the broken image sorted out, thanks very much. :D
For the JPEG problem, I don't want ".jpeg" at all, so I changed all the instances listed from ' OR $image_type == "image/jpeg"' to OR $image_type == "image/jpg". I assume that should have worked as well, no? |
Wait, so you are saying you are removing .jpeg as well as .jpg? If so removing those should do the trick.
I'm kind of confused, sorry. Derek |
I'm trying to disallow "jpeg" and allow "jpg". ;)
Quote:
It's odd that it's not even recognizing the file format. From add_site: Code:
if ($image_type == "image/gif" OR $image_type == "image/pjpeg" OR $image_type == "image/jpeg" OR $image_type == "image/x-png") Code:
if ($image_type == "image/gif" OR $image_type == "image/pjpeg" OR $image_type == "image/jpeg" OR $image_type == "image/x-png") Code:
if ($image_type == "image/gif" OR $image_type == "image/pjpeg" OR $image_type == "image/jpeg" OR $image_type == "image/x-png") Code:
if ($image_type == "image/gif" OR $image_type == "image/pjpeg" OR $image_type == "image/jpeg" OR $image_type == "image/x-png") |
Yeah, just remove the following code in each file:
PHP Code:
PHP Code:
Derek |
But my code looks correct otherwise, eh? :\
I do like the check, just not sure why it isn't working. Btw, making those edits hoses the page. It kills the if loop. |
Well, I got it half working. I added:
OR $image_ext = ".jpg" to the statement. If I add a site, it accepts the image, but the image shows up as a red X. If I edit that same site and readd the same image, it works. I'm looking at the loop for add and edit, and they look identical. /me scratches his head |
Can you paste me the if statement that you have?
|
Code:
if ($image_type == "image/gif" OR $image_type == "image/pjpeg" OR $image_type == "image/jpeg" OR $image_type == "image/x-png" OR $image_ext == ".jpg" OR $image_type == "image/jpg") |
Try this:
PHP Code:
|
Recently my users have been asking questions regarding their anonymity as far as IP addresses are concerned. I've taken several precautions against ip's being logged, but now someone wants to know what keeps track of things coming in and out if IPs aren't logged. Are they being logged somewhere? haha, if so probably can't really disable that, and wouldn't want to i guess for incoming to the site atleast. :(
My next step is to see if phpadsnew logs ip addresses, I'm sure my cpanel stat software does too. |
Hi,
The IP Addresses are stored in the toplist_clicks table. Thats basically the only way to keep track of who clicked in. They are only stored there for In clicks, not out clicks. I don't see why your users would care though because even your web server logs all ip addresses that go to your site... Derek |
Toplist still not working for me.
After a user adds a site (without an image), the confirmation page still has the broken image in the middle. I did update the "image.png" file with my server path to my forum ('/home/myuser/public_html'), but it still does not work. My forum is in the root directory. Still...the image is broken Also...if a user tries to add a site and upload an image with it, theres an error saying it is not a correct file, even though it is. Will there be an update to this wonderful hack soon? - ShannonRawls.com |
Can you paste me the contents of your image.png file please? If you don't want to post it here, please send it to me in a PM.
Also what file type is it saying the file is when they try uploading it? Thanks, Derek |
its a regular ole jpg that wont upload. I have sent you the image.png file in PM
thank you kindly for your supoort and diligence. - ShannonRawls.com |
Quote:
Quote:
Thanks, Derek |
I seem to have a problem, I'm not sure if i'm uploading wrong but when I click the Add Site it takes me here http://www.Example.com//add_site.php It should look like this
http://www.Example.com/forum/add_site.php Is there a way to fix this? Can anyone help? |
Make sure you set your forums url right (vBulletin Options -> vBulletin Options -> Site Name / URL / Contact Details).
Derek |
Quote:
|
I will take a look at this. Thank You for reporting it.
Derek |
Yup, that is indeed a bug. It looks like that feature got broken. I will release a fix shortly.
Thanks again for reporting it. Derek |
Ok heres the fix:
Open admincp/toplist_admin.php. Find: PHP Code:
PHP Code:
Thanks, Derek |
I'm getting this on install:
Quote:
|
Did you modify the product file at all? It should install fine.
Derek |
No I have even downloaded the files again and replaced and it still dosnt work.
Quote:
|
Ok, I'll take a look at it and see if I can find out whats wrong.
Derek |
I think when a user modify, it should also show the code to paste on their site for incoming hits. Or have it available somewhere as [Get Code] or something. Right now, there's no link to get the code if you not get it right after submission?
Beside that, it's a wonderful script. Work flawless on the first install! Thanks Derekivey! |
ok I am having probs with the buttons again.
A member has added in his site and the button shows up in the admin cp and the toplist, but not on the forumhome scrolling list of sites, it only shows up as a red x. any ideas? |
Quote:
Quote:
Derek |
Hello,
is it possible to type more than 255 signs, if yes, where can I set it up, if not, can you include this feature in your next update? thanks |
255 Characters of what? If you want to accept more, you will need to edit the appropriate database field and change it's type from VARCHAR to something else such as text or something.
Derek |
Im talking about the text Site Name & Description, where only 255 characters are allowed.
Can I change this in the ACP? If not, could you add this feature? If you can not add it, where can I change it in the database? |
All times are GMT. The time now is 05:24 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|