Previous Thread
Next Thread
Print Thread
Rate Thread
Page 3 of 3 1 2 3
sirdude #318398 12/19/2009 11:01 PM
Joined: Mar 2000
Posts: 21,080
Likes: 3
I type like Navaho
I type like Navaho
Joined: Mar 2000
Posts: 21,080
Likes: 3
Gracias SD - the first post here has the most current code. smile


- Allen wavey
- What Drives You?
Sponsored Links
Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
Originally Posted by AllenAyres
Gracias SD - the first post here has the most current code. smile


ah, mah bad.. i'll d/l it and have a looksee.. smile

edit: ok.. dl'd it and the code is well commented, so i should be able to give this a go.. one thing is important to be added is to use mysql_real_escape_string to prevent malicious SQL baddies.. but overall, very good structure!! wink

I am aiming for 2 weeks (got a day job) to have a rev for your approval, Allen..

Joined: Mar 2007
Posts: 94
Power User
Power User
Joined: Mar 2007
Posts: 94
I am getting an error when people try to follow any of the "latest links"

File not found: scripts/links_redirectphp.inc.php

Joined: Mar 2007
Posts: 94
Power User
Power User
Joined: Mar 2007
Posts: 94
I fixed it!

line 643 in links.inc.php has an error,
search for
Code
make_ubb_url("ubb=links_redirect.php?lid=$row[lid]&url=$row[url]
and replace it with
Code
make_ubb_url("ubb=links_redirect&lid=$row[lid]&url=$row[url]

badfrog #318415 12/30/2009 10:52 PM
Joined: Mar 2000
Posts: 21,080
Likes: 3
I type like Navaho
I type like Navaho
Joined: Mar 2000
Posts: 21,080
Likes: 3
Merci BF - initial post updated with bugfix smile


- Allen wavey
- What Drives You?
Sponsored Links
Joined: Mar 2007
Posts: 94
Power User
Power User
Joined: Mar 2007
Posts: 94
at some point in recent history, my links stopped parsing correctly, instead of passing you through to the URL (http://rollingheavymagazine.com),

it puts it all together like

/threads/ubbthreads.php/ubb/links_redirect/lid/198/url/http://rollingheavymagazine.com

I have no idea how long this has been happening.....

Page 3 of 3 1 2 3

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Shock Hosting
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Ruben Rocha
Ruben Rocha
Lutz,FL,USA
Posts: 253
Joined: January 2000
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,824
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 3429
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 4
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260108)