![]() |
It was gif and jpg format. But as mentioned before it was possible to add it from the acp.
|
Hmm, can you PM me the url to your forum so I can try it? It should let you upload gif and jpg images. Maybe even try reuploading the .php files.
Derek |
Very nice hack...
suggestions for future versions (maybe suggested before didn't real ALL of the 38 pages) * an automatic check if the site has included your code (removal or suspension if your code has been removed) * point system for users that have lots of ins (if a user comes from their site.. an registers .. addition to referrer?) * usage of real banners.. (most sites have) instead of buttons..(or choice) with automatic resizing if banner is not the exact requested size... these are just suggestions it is great as is Felix |
been testing it .. and it is great...
found one little bug.. (or feature? :surprised: ) Example: A user uploads a pic.. and the sitename, description etc... everything is fine.. now the user sees he has a typo in the text.. so he edits it. when he saves it.. everything is fine.. BUT: the picture is gone.. as a matter of fact the file is still there.. but somehow in the db it is gone.. the user sees a broken image. I think its a little bug in edit_site.php because when you edit your sites it stores the $key variable into the database. BUT if you have not modified the image.. the variable $key is not defined anywhere (actually it takes the $key variable out of the included global.php) My workaround is the following (maybe there is a more elegant way to do it) First make a backup copy of edit_site.php in edit_site.php find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
maybe its not very elegant.. but it works for me. which meens that when i edit a site without changing the image.. it does not delete the image. Felix ----------- As for the second little problem.. the dynamic image not showing.. its a problem with my localhost apache (test environment) that does not accept .htacess (but some providers dont either). so what i did was: rename the file image.png to image.php then in the template Toplist_HTML_Code i replaced all 4 instances of image.png with image.php for me its working now!! |
Which XML do i use??
|
Quote:
Quote:
|
actually in the db it was not gone (i wrote that before i took a closer look)
the value of the $key variable was replaced by the one created in global.php thx for looking in to it Felix |
Ok, everything works fine, cept when I try to access the page:
you do not have permission to access this page. This could be due to one of several reasons: 1. Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system? 2. If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation. |
You have to set the usergroup permissions for each user in the Usergroup manager.
|
AH and there is one (maybe the most important) thing I am missing..
Usually in a ranking list you can set after how many ins the banner appears! I run a standalone toplist where it is set to 5, so only after 5 ins the banner of the user is up.. (because that is the only way you can get people to post a link towards you) i guess it must be somewhere in the settings.. and I missed it. If not.. this is a BIIIG request! Felix |
Thanks for the suggestion. I like the idea and am adding it to my todo list.
Thanks, Derek |
Quote:
You are right, that is a bug. I will release a fix shortly. Derek |
Ok here is the fix. Please download this attached file, upload, and select overwrite if your FTP program asks you.
Thanks, Derek |
Thx for the quick fix..!!!
will test ist this evening.. just looked at the code.. much better than mine!!! Felix |
No Problem :)
|
works like a charm
|
After update my Images are also not shown up and I have the same Problem as Ramsesx. What was the solutions?
Edit: During update I get the following Error for every Entry: Code:
Warnung: copy(): URL file-access is disabled in the server configuration in /admincp/plugin.php(1239) : eval()'d code (Zeile 13) |
Found another little bug... no its not.. its rather an annoyance..
AND it will NOT AFFECT (I think) all systems (only the phpmyadmin users) I stumbled into it when backing up my database with phpmyadmin... when i wanted to get the backup.sql file back into the database.. it gave me an error... Why? because one field is named "in" and phpmyadmin thinks it is a sql statement. so what i did to upload the backup.sql file.. I edited the field name to "ins" and everything was ok.. then in phpmyadmin (once the file was loaded) I renamed the field back to "in" and everything was ok.. What would be nice in a future version would be to have that field called: "ins" once and for all.. then there would be no more problems.. Felix |
Quote:
Try the attached product file instead. I took out the code that grabs any images that people have already added before you upgraded, and uploads them to your server. Since your server configuration doesn't allow file uploads, you will have to edit the hack to not allow image uploads, or get your php configuration changed to allow it. Derek |
Quote:
Derek |
That Works. Thanks.
But in my Toplist now all old Entrys did not show up any Banner of the old Entrys. :( |
Yeah the new version switched from linking the the image urls, instead it uploads them to your server. I will try and release an update to support the old method but right now it doesn't.
|
Umpf. Too bad... about 150 Entries now have no Banner. Shit...
|
Check the database, I think I left the old field in there, you could probably just edit the templates so it uses the url to the images instead.
|
I have Prob with 1.06
My Pictures isn´t shown and if I click an see the path ist will be search the pic here: /images/toplist/buttons/dynamic/image.png?id=1 The Pic on my ftp ist at: images/toplist/buttons/dynamic/image.png It is chmod 777, but it will not be shown in the Toplist? Any Idea, what to do? Thanks, André |
Did you edit that file in notepad according to this post?
|
Quote:
i had the same problem.... it displayed basiclly a broken image... i just removed that image from the center since i couldnt figure it out... i left it all stock and it didnt show up and i edited the file too so i removed that image |
what image is suppose to show in the center one by the way?
|
It's supposed to show a dynamic image which shows various stats about the site like the number of in and out hits, rating, rank, etc. I'm thinking about adding something to the AdminCP to help everyone edit it more easliy.
|
Derek, is there a easy way to disable the rating?
Thanks |
Quote:
if i remember right.. i just renamed the image.png to image.php and changed the link all 3 times in the template (from image.png to image.php) Felix |
Quote:
nah it aint that cause i have a few other hacks installed that basiclly do the same thing as that.... ill try what you said we shall see its worth a try |
Quote:
|
Quote:
|
Should have been fixed. Right click the image and paste here what it is linking to.
Thanks, Derek |
any word on whats going on with the middle png image yet?
|
Can you paste what you have in it so far so I can try taking a look to see whats wrong? Paste it in tags please.
Thanks, Derek |
<a rel="nofollow" href="http://www.example.com/in.php?id=1" target="_BLANK"><img src="http://www.example.com/images/toplist/buttons/dynamic/image.png?id=1" border="0" alt="example" /></a>
i changed them all from my link but thats what its displaying in the middle image html code.... it dont display the image just a red x for a broken image..... |
I love this hack. One suggestion I have:
Allow affiliates to link to a version of the boards where they have defined the header and footer. This would encourage people to drive traffic to the boards because it looks just like their site. It would really allow the board to be a nexus of discussion from a wide variety of different sites. Keep up the great work. |
Quote:
|
All times are GMT. The time now is 09:34 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:
|