Latest News:
Latest Mods: Latest Tutorials:


 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[release] Redirection page v5
Author Message
Andraž Rihtar
Theme designer


Posts: 1,901
Joined: Aug 2009
Reputation: 8
Post: #21
RE: [release] Redirection page v5
Dared is no longer active on the forums to my knowledge

Andraž Rihtar - Ex-Support Team Member
06-29-2010, 02:15 AM


mark-in-dallas
Junior Member


Posts: 19
Joined: Dec 2009
Reputation: 0
Post: #22
RE: [release] Redirection page v5
Thanks Svizy,

Can anybody else code this?

I'm thinking an if/else statement could probably be put in the class_parser.php, but just don't know how to code it myself. Maybe something like this, but that would actually work?

Code:
$name = preg_replace("#&\#([0-9]+);#si", "&#$1;", $name); // Fix & but allow unicode
if
$link = "<a href=\"{$mybb->settings['bburl']}\" target=\"_blank\" rel=\"nofollow\">$name</a>";
return $kink
else
$link = "<a href=\"/yonlendir.php?url=$fullurl\" rel=\"nofollow\">$name</a>";
return $link;
(This post was last modified: 06-29-2010, 03:26 AM by mark-in-dallas)
06-29-2010, 03:25 AM




User(s) browsing this thread: 2 Guest(s)