Previous Thread
Next Thread
Print Thread
Rate Thread
#266999 01/16/2004 1:51 AM
Joined: May 1999
Posts: 241
Coder
Coder
Offline
Joined: May 1999
Posts: 241
Just a quick little addition for those using both IIP (5.4.4 in my case) and TLD 1.5. Unzip the attached file and copy it over your custombox12pal.php in your pals directory. Then, edit your IIP configuration to show the box.

A sample can be seen in the bottom, right-hand column on my Entrance page.

Enjoy!

Found a little bug in the redirect line (#56). It should read:
print "<li><a href=" [:"red"]$config[phpurl][/]/links_redirect.php?lid=$row[lid]&url=$row[url]" target="_blank">$row[title]</a> (added $time)</li>";
instead of: print "<li><a href="links_redirect.php?lid=$row[lid]&url=$row[url]" target="_blank">$row[title]</a> (added $time)</li>";

I've changed the upload to match the correct version.
Attachments
105270-custombox12pal.zip (0 Bytes, 15 downloads)

Last edited by MattyJ; 01/17/2004 11:25 PM.
Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Wonderful! Thanks!

Joined: Apr 2002
Posts: 610
Code Monkey
Code Monkey
Joined: Apr 2002
Posts: 610
Nice. I like it!

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3


- Allen wavey
- What Drives You?
Joined: Apr 2003
Posts: 359
Enthusiast
Enthusiast
Joined: Apr 2003
Posts: 359
Much thanks...


Sponsored Links
Joined: May 1999
Posts: 241
Coder
Coder
Offline
Joined: May 1999
Posts: 241
Just wanted to point out that I found a little bug in the redirect line (#56). It should read:
print "<li><a href=" $config[phpurl]/links_redirect.php?lid=$row[lid]&url=$row[url]" target="_blank">$row[title]</a> (added $time)</li>";

instead of:
print "<li><a href="links_redirect.php?lid=$row[lid]&url=$row[url]" target="_blank">$row[title]</a> (added $time)</li>";

I've changed the upload to match the correct version.


--------------------
Matt Reinfeldt
http://www.mattreinfeldt.com/
Joined: Apr 2003
Posts: 359
Enthusiast
Enthusiast
Joined: Apr 2003
Posts: 359
Making the change you annotated throws the IIP all out of whack and I see it did the same thing on your site as well.

Joined: May 1999
Posts: 241
Coder
Coder
Offline
Joined: May 1999
Posts: 241
Gonzo,

That change didn't mess up my layout...? I was experimenting with some other code for a little bit. It could be that you dropped by while I was busy making typos... The attachment shows what I see on my site now, and I see that your site is looking the same. The code change above just makes sure to call the links_redirect.php script from the ubbthreads directory instead of the one that your IIP index.php resides in. That's it. It shouldn't affect layout at all. If it is, send me the code and I'll review it.

Enjoy!
Attachments
105650-screenshot.jpg (0 Bytes, 23 downloads)


--------------------
Matt Reinfeldt
http://www.mattreinfeldt.com/
Joined: Apr 2003
Posts: 359
Enthusiast
Enthusiast
Joined: Apr 2003
Posts: 359
Thank you Matt...yea, I was snooping around I guess at the time the typos were in place.

Okay, I'll reinsert the code you changed and I'll see how it reacts. If there are issues with it again then I'll attach the code.

Thanks again Matt.

Joined: May 1999
Posts: 241
Coder
Coder
Offline
Joined: May 1999
Posts: 241
Sounds fair to me! In reality, all you really need to do is insert [:"red"]$config[phpurl]/[/] before [:"blue"]links_redirect.php [/] in that line, you don't need to swap out the whole file if you already have it installed.


--------------------
Matt Reinfeldt
http://www.mattreinfeldt.com/
Sponsored Links
Joined: Apr 2003
Posts: 359
Enthusiast
Enthusiast
Joined: Apr 2003
Posts: 359
Well, would you lookie there.

Thanks Matty....no problems.

Joined: May 1999
Posts: 241
Coder
Coder
Offline
Joined: May 1999
Posts: 241
Glad to hear it! Take care!!


--------------------
Matt Reinfeldt
http://www.mattreinfeldt.com/

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
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)