Previous Thread
Next Thread
Print Thread
Rate Thread
Page 3 of 3 1 2 3
Re: [7.3.x] ubb.links
sirdude #318398 12/19/2009 11:01 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
OP Offline
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Gracias SD - the first post here has the most current code. smile


- Allen wavey
- What Drives You?
Sponsored Links
Re: [7.3.x] ubb.links
AllenAyres #318400 12/20/2009 1:05 PM
Joined: Nov 2003
Posts: 482
Enthusiast
Offline
Enthusiast
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..

Re: [7.3.x] ubb.links
sirdude #318413 12/30/2009 9:10 PM
Joined: Mar 2007
Posts: 94
Power User
Offline
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

Re: [7.3.x] ubb.links
badfrog #318414 12/30/2009 9:39 PM
Joined: Mar 2007
Posts: 94
Power User
Offline
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]

Re: [7.3.x] ubb.links
badfrog #318415 12/30/2009 10:52 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
OP Offline
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Merci BF - initial post updated with bugfix smile


- Allen wavey
- What Drives You?
Sponsored Links
Re: [7.3.x] ubb.links
AllenAyres #318962 12/04/2012 10:47 PM
Joined: Mar 2007
Posts: 94
Power User
Offline
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:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gardener
Gardener
Sweden, Stockholm
Posts: 1,715
Joined: May 1999
Forum Statistics
Forums63
Topics37,543
Posts293,773
Members13,837
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online 331
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 3
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,805
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 9
isaac 8
driv 2
temp 2
Morgan 1
Top Likes Received
isaac 38
Gizmo 10
Brett 7
Morgan 2
Top Likes Received (30 Days)
isaac 4
Gizmo 2
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2020 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 7.7.5
(Snapshot build 20200602.dev)
Responsive Width:

PHP: 5.4.45 Page Time: 0.048s Queries: 28 (0.018s) Memory: 3.3187 MB (Peak: 3.6276 MB) Data Comp: Zlib Server Time: 2020-06-04 05:05:05 UTC
Valid HTML 5 and Valid CSS