The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Toplist Details »» | |||||||||||||||||||||||||
Toplist
Developer: derekivey Version: 2.0.0 vBulletin Version: 3.5.5 (Seems to work fine on 3.6.0) File Edits: 0 Template Edits: 2 (Optional) New Phrases: 294 Uses Plugins: Yes! Difficulty: Easy Description: This hack adds a Toplist to your forums. You can choose in the AdminCP whether to rank the sites by their In hits or their Out hits. It is fully phrased to make it easy to translate to another language if you need to. The users are able to add a site, edit, or delete their site if they added it. The Administrators can Edit the users' sites or Delete them. This hack is for vBulletin 3.5.5. *** I Strongly Recommend That You Backup Your Database Before Installing/Upgrading This Hack! *** Planned features for a later release:
The change log is now available here. Screen Shots I have added screen shots of this hack in action below. More screenshots are located here. Demo You can find demo information here. Translations You can find a French translation of this hack here. For a How To on Editing the Dynamic Image, See this Post. Please click Install you installed this hack. Thanks! Supporters / CoAuthors Show Your Support
|
Comments |
#772
|
|||
|
|||
Quote:
Nice ideas! I think I will add most of them, but I don't know how I would go about creating a cache for the generated banners. Do you know how I could do this? Also, I'm not sure how I can add a plus, or negative sign right now because it would probably require me to rewrite a lot of the script. Right now, the ranks are not stored in the database, so there is no record of their old ones at all. I could probably make another table in the database to store them but not sure yet, I'll have to see about that one. Derek |
#773
|
|||
|
|||
Quote:
the cache folder schould be 777 and each time a banner is created dont forget the chmode 0777 so it can be overwritten by a newly generated one. (I forgot that one.. because it worked fine without it.. -the script being the creator- but when i upgraded to another version of my script.. i couldnt access the files anymore) heres the code snippet for the file creation: PHP Code:
Ah yes and i think i read that php 5 doesnt like the @ in front of the commands.. but im not sure.. in the script that calls the banner... if -> no cache banner exists for this banner id.. -> create new one (like now) -> but save it to cache -> and then display it (on the fly like done now) (SEE THE CODE SNIPPET ABOVE !!) else if -> cache banner exists for this id.. -> check creation time -> if it is older than (now) minus offset -> create new one -> overwrite the old one -> display it on the fly (like it is done now) (SEE THE CODE SNIPPET ABOVE !!) else (it was created between now and (now-time offset)) do nothing and only display the cached one with: PHP Code:
if no time offset is set.. then all banners are created on the fly and caching is disabled. this would not require database for cached banner.. difference to offset is calculated by file creation time. it would be better than to create it on change of stats.. because that would require database. thats the way i would do it.. but there is maybe a better way.. Quote:
felix |
#774
|
|||
|
|||
I am attaching the image.
Also, I am having a new problem with categories. How do you delete or edit categories? I get this error. Quote:
Mike |
#775
|
|||
|
|||
ok fixed my other problem but whats up with Main Category you cant delete or edit that or something? i try to delete it or edit and its telling me Sorry, in order to delete a category you must select an ID to delete. Please try again.
|
#776
|
||||
|
||||
Nice ideas in there
Still got 2 bugs currently. 1. none of the images are working in the admincp. 2. I hvae slected the optin to open in new window yet it still opens in the same window. Any ideas? |
#777
|
|||
|
|||
Quote:
|
#778
|
|||
|
|||
Guys,
Please try uploading the attached file to the admincp directory to see if it fix any of those bugs. It seems to be working for me but I want to make sure. Thanks, Derek |
#779
|
|||
|
|||
i personnally think that putting graphs in the dbase takes more ressources than filesystem.. anyway noone can find the cachefolder if you get it with readfile
-------------- Just looked at my standalone toplist and found what I was missing here: Anti cheat.. we have now the ability to control if the code is on the users site.. great. but the user could click hundreds of times on his banner on his site.. giving it lots of ins! there are 2 ways of preventing this.. by logging ips.. and with cookies.. second: a user links out to his site.. this is a good and clean site.. its ok.. after a week.. he changes the outlink and sends people clicking his banner to a viagra site.. or a ringtone site or a porn site.. his outlink the admin should be notified. (ok... as few of these sites will have the code - which is checked here - it is only of minor importance) Felix @derek if you wish i can pm you admin info for that toplist so you can take a look at the admin interface. |
#780
|
||||
|
||||
that file you atached works Derek. I am now showing the images in the admincp.
but the open in new window still doesn't work. |
#781
|
|||
|
|||
Ok I'll take a look at that loonytune15. Do you still have the categories problem though?
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|