Previous Thread
Next Thread
Print Thread
Rate Thread
Page 3 of 3 1 2 3
Re: [7.3.x] ubb.links [Re: sirdude] #318398
12/19/2009 10:01 PM
12/19/2009 10:01 PM
Joined: Mar 2000
Posts: 25,587
Texas
AllenAyres Offline OP
I type Like navaho
AllenAyres  Offline OP
I type Like navaho

Joined: Mar 2000
Posts: 25,587
Texas
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 [Re: AllenAyres] #318400
12/20/2009 12:05 PM
12/20/2009 12:05 PM
Joined: Nov 2003
Posts: 491
SoCal
S
sirdude Offline
Enthusiast
sirdude  Offline
Enthusiast
S

Joined: Nov 2003
Posts: 491
SoCal
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 [Re: sirdude] #318413
12/30/2009 8:10 PM
12/30/2009 8:10 PM
Joined: Mar 2007
Posts: 94
somewhere on the coast of Main...
badfrog Offline
Power User
badfrog  Offline
Power User

Joined: Mar 2007
Posts: 94
somewhere on the coast of Main...
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 [Re: badfrog] #318414
12/30/2009 8:39 PM
12/30/2009 8:39 PM
Joined: Mar 2007
Posts: 94
somewhere on the coast of Main...
badfrog Offline
Power User
badfrog  Offline
Power User

Joined: Mar 2007
Posts: 94
somewhere on the coast of Main...
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 [Re: badfrog] #318415
12/30/2009 9:52 PM
12/30/2009 9:52 PM
Joined: Mar 2000
Posts: 25,587
Texas
AllenAyres Offline OP
I type Like navaho
AllenAyres  Offline OP
I type Like navaho

Joined: Mar 2000
Posts: 25,587
Texas
Merci BF - initial post updated with bugfix smile


- Allen wavey
- What Drives You?
Sponsored Links
Re: [7.3.x] ubb.links [Re: AllenAyres] #318962
12/04/2012 9:47 PM
12/04/2012 9:47 PM
Joined: Mar 2007
Posts: 94
somewhere on the coast of Main...
badfrog Offline
Power User
badfrog  Offline
Power User

Joined: Mar 2007
Posts: 94
somewhere on the coast of Main...
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

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
· Blue Host
· Interserver.net
Visit us on Facebook
Member Spotlight
badfrog
badfrog
somewhere on the coast of Maine
Posts: 94
Joined: March 2007
Show All Member Profiles 
Forum Statistics
Forums64
Topics37,467
Posts293,523
Members13,802
Most Online1,498
Mar 17th, 2017
Top Posters(All Time)
AllenAyres 25,587
JoshPet 11,330
Rick 8,373
LK 7,396
Lord Dexter 6,503
Gizmo 5,947
Greg Hard 5,533
Top Posters(30 Days)
isaac 1
Today's Statistics
Currently Online 932
Topics Created 0
Posts Made 0
Users Online 2
Birthdays 14
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2018 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 7.7.0
(Snapshot build 20181115.dev)
PHP: 5.4.45 Page Time: 0.039s Queries: 16 (0.014s) Memory: 3.2310 MB (Peak: 3.4063 MB) Data Comp: Zlib Server Time: 2018-12-14 12:39:45 UTC