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 11:01 PM
12/19/2009 11:01 PM
Joined: Mar 2000
Posts: 21,084
Texas
AllenAyres Offline OP
I type Like navaho
AllenAyres  Offline OP
I type Like navaho

Joined: Mar 2000
Posts: 21,084
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 1:05 PM
12/20/2009 1:05 PM
Joined: Nov 2003
Posts: 482
SoCal
S
sirdude Offline
Enthusiast
sirdude  Offline
Enthusiast
S

Joined: Nov 2003
Posts: 482
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 9:10 PM
12/30/2009 9: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 9:39 PM
12/30/2009 9: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 10:52 PM
12/30/2009 10:52 PM
Joined: Mar 2000
Posts: 21,084
Texas
AllenAyres Offline OP
I type Like navaho
AllenAyres  Offline OP
I type Like navaho

Joined: Mar 2000
Posts: 21,084
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 10:47 PM
12/04/2012 10: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
AllenAyres
AllenAyres
Texas
Posts: 21,084
Joined: March 2000
Show All Member Profiles 
Forum Statistics
Forums64
Topics37,482
Posts293,586
Members13,810
Most Online1,498
Mar 17th, 2017
Top Posters(All Time)
AllenAyres 21,084
JoshPet 10,370
LK 7,395
Lord Dexter 6,709
Gizmo 5,779
Greg Hard 4,625
Top Posters(30 Days)
driv 19
isaac 17
Gizmo 6
Today's Statistics
Currently Online 975
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 18
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2019 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 7.7.2
(Snapshot build 20190304.dev)
PHP: 5.4.45 Page Time: 0.048s Queries: 16 (0.017s) Memory: 3.2490 MB (Peak: 3.4178 MB) Data Comp: Zlib Server Time: 2019-03-19 01:35:00 UTC