Version: , by the_sisko
Developer Last Online: Oct 2023
Version: 2.2.x
Rating:
Released: 03-31-2001
Last Update: Never
Installs: 38
No support by the author.
UPDATE!!! NEW DOWNLOADFILE | 02. April 2001 Release vB Links 1.0
So here it is, the final version of my link hack is available to download.
Here are some features for this version:
showing links with the following information: Name, URL, Email, Banner, Banner ALT Text, Description, Forumlink, Hitcounter (outgoing), Categories
main page shows all links, but you can: a:sort by category and b:search for a site
registrated user can add new links, but admin or mod must confirm the links in the CP
an email is sent to you when there is a new link to approve
Links can be ordered over pages. Limit for links per page can be set
outgoing links will be redirect over a redirect page with information that you're leaving the forum...and outgoing counter will be set plus 1
Category is show on each link
CP: you can easy add new site on your own or edit a site
CP:can add or edit categories
CP: Categories can be reordered
CP:confirm and edit new sites
CP:upload banners to let them load faster
More:
There are about 13 new templates and 2 new tables on the database which will be created over an easy installscript.
How to install?
Just download the attached file and unzip it, then open install.txt and follow the instructions. Need any help or find any bugs, please report them here. And don't hate me for the code, I tried my best!
Future:
As I like my script and need it anyway, there will be a next version of it, with more features. Some of the following features I am working on:
New startpage with a overview of all categories and the ability to add subcategories as well
automatic post of a new post in a specific. thread when admin / mod approved a link
logging user who's add the link (its easy but don't had the time for this version
categories and subcategories in Navbar
get used of the vB rate feature and try to integrate it
code clean up
better translation
and more...
INstall and upgrade
For those of you who will install the script the first time, just download the attached file and read firsttime_install.txt.
For those of you who allready updated the templates, just reupload "links.php" and do step 1. and 2. in upgrade_install.txt, and also open CP and add the links_redirect_add & links_redirect_url template which is attached to this message. This will fix all your probs
For those fo you who do not change the templates yet, but installed the hack, just do whats in upgrade_install.txt
Originally posted by GMTalk Hey I got an error after the install. I tested the install to see what it looked like and I like it. but I am getting the following error.
Warning: Supplied argument is not a valid MySQL result resource in /home/httpd/gmforums.com/forum1/links.php on line 31
any insight I would appreciate it.
Thanks.
BTW no hacks on the forum except this one.
John
Sorry for the late answer but here it comes:
Looks like there are some troubles with the new tables! Can you take a look at your database structure and can confirm if the two new tables were created? They called: vb_links and vb_links_category!
I've made a quick install of this since it's exactly what I was looking for. And so far it looks great. (Not going for final install untill vB final is out...)
But I do have a question about the security...
Does the adminlinks.php file have to be out in the open? I mean, can anyone who stumbles on the url open it and start editing the entries (or delete them)?
Or asked differently: can adminlinks be moved to the admin directory
Originally posted by Sean Howbout you allow users the ability to edit their links, or the admin may also?
Just an idea.
At the mom only the admin can edit the Links, but the script is written so you can add the links admin links in the mod CP as well, because it uses the mod global.php file.
But when I have integrated to log the users, there will be a possibility for the users to edit the links.
Quote:
Originally posted by Pingu I've made a quick install of this since it's exactly what I was looking for. And so far it looks great. (Not going for final install untill vB final is out...)
But I do have a question about the security...
Does the adminlinks.php file have to be out in the open? I mean, can anyone who stumbles on the url open it and start editing the entries (or delete them)?
Or asked differently: can adminlinks be moved to the admin directory
The file is secure as the other admin files as well, the mod global.php is included and only if you are an mod or admin you access the file. Just log out and test it on your own!
Now this:
I saw something about a max file size, can that be set by admins?
And how many banners can one person upload? Will he overwrite the same banner over and over again, or will he be able to swamp the place with more and more uploads?
The max file size is hardcoded set to about 100 KB, because I think thats a good size. In the next version I could easy make thsi an variable or make it an option (btw: I am think about puting all of the other option like, email, max links per site .....to be change in CP)
Banners could be uploaded by user one time only, when thex submit a banner. You as admin can upload an dupload them again. So I think user can do x uploads but with what effect?
Anyway, will think about a bannerlist in CP to choose to delete them if thats an need option? Also we can make use of php to include banners an htaccess the directory they located in? but not sure if it works without any modules???
So if anyone can help me with the option to have a URL and save the image in that url I can strip out the banner upload and the script will download the selected banner it self and a user cannot upload anything to our place?!