![]() |
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 |
All times are GMT. The time now is 04:28 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:
|