![]() |
Popular Links Hack
This hack will save the urls posted in the messages of your forum and count the visits to each url. Then you'll be able to list the popular Urls of your forum in a separate page.
Hack Facts: New DB Table: 1 New Files: 2 File Modifications: 1 New Templates: 2 Template Modifications: 1 Download the .zip and follow the Install.txt file. Any comment will be apreciated. |
The live demo can be accesed in:
http://www.forosdelweb.com/links_out.php Enjoy it.. And by the way this is my first hack. I hope its useful. |
Cool man, this hack looks sweet!
Thanks!! :). Keep up the good work. Dave. PS: /me installs ;). |
A very interesting hack :p
|
Ah found a bug :P.
It uses http://www.yoururl.com/out.php?http://www.otherurl.com It interprets it as a url, and doesn't redirect to http://www.otherurl.com. Can you fix it? Dave. |
Nevermind it seems too buggy for me.
I'm on the brink of releasing my script and I need urls to function correctly, seeing as my attachments don't. [high]* Davey uninstalls. [/high] Sorry. Maybe another time :). Dave. |
Davey. If I can help you somhow to make it work let me know. Your error is weird.
|
You should url encode the right url before you output it or youll get errors with urls.
|
hmm, see if this works:
find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
tell me if that works. |
Looks like a very nice hack - i might just convert this to suit my needs :)
Thanks - miSt |
Thanks to Slynderdale for the update to fix that bug
I'll add that to the .zip file. |
cooooooooool hack
thanx maestrosdelweb and keep up the good work :) |
I couldn't tell if this hack uses permissions - I guess not?
Will popular links in private forums show for all users? |
I haven't use perrmissions.
All links in the forum are getting recorded. What you could do is show the Most Popular links only to one group of users but that's not yet implemented. |
?? when users click a link in a forum they get an error:
Warning: Cannot add header information - headers already sent by (output started etc etc |
Hi there,
I must admit this hack looks pretty nice. Unfortunately I had to uninstall it because of the URL errors as stated previously above. Even with the fixed code I was still getting error pages. I think I'll wait until this becomes more stable. Sorry about that. :( |
Quote:
I'll look into it more later, I'm planning to add forum permission as well to it later too. |
Quote:
|
The changes to the code suggested by Slynderdale should fix the error.
The .zip file was updated with the changes. |
Great hack m8, a problem I found was that if the person posts the link in HTML, the hack is bypassed.
Yeah you can just ban html, but I thought I'd inform you, and is there a workaround ? |
Oh, and could you add "in" links?!
|
Yes. Great suggestion. So users can link back to your website.. Let me work on it soon.
|
Oh, I could send you some php sources that have this option, need the files? I could send them via e-mail to you.
Another suggestion: add a table with links and paths to images. If the link listed in link_ou.php is the one, that has an image, an additional image is shown, something like a small banner. |
All times are GMT. The time now is 01:18 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:
|