Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved URL Link
#1
Not Solved
Where can I modify how URL links are processed? I want to add something to every link that is not part of the domain of the forums.

For example, if the URL link contains the domain of the forums, it will just go to the page like it does now, but when it is a URL link for another site, I want to add something in front of the URL link. So instead of http://mybb.com, it would be ABChttp://mybb.com.
#2
Not Solved
You could possibly use a plugin, and I know there is a plugin for this but just can't think of the name for it. It basically gives the user a notice that it is leaving the forum and going to a external site.
#3
Not Solved
(2013-01-25, 04:39 AM)iHydra Wrote: You could possibly use a plugin, and I know there is a plugin for this but just can't think of the name for it. It basically gives the user a notice that it is leaving the forum and going to a external site.

I am not really looking to inform my members that they are going to another site. I am more interested in add something to their URL.
#4
Not Solved
I still need help with this if anyone knows.
#5
Not Solved
You can edit inc/class_parser.php

Look for
$link = "<a href=\"$fullurl\" target=\"_blank\">$name</a>";
                return $link; 

Source: http://community.mybb.com/thread-128502-...#pid931032

And not sure how PHP and it's \***\ works but you would add w.e you want in front of the \"$fullurl\"


Forum Jump:


Users browsing this thread: 1 Guest(s)