Thread: links
View Single Post
  #11  
Old 06-15-2009, 04:10 PM
Bloodrun's Avatar
Bloodrun Bloodrun is offline
I am, who I am.
 
Join Date: Apr 2009
Posts: 532
Gender: Male
Credits: 47,726
Bloodrun
Send a message via Yahoo to Bloodrun
Default RE: links

Quote:
Originally Posted by zhiichiro
Quote:
Originally Posted by BMR777
This may actually be the fault of the BBCode parser.

In inc > bbcode.php find:

PHP Code:
$text preg_replace('|\[url=(.+?)\](.+?)\[\/url\]|i''<a href="$1" target="_blank">$2</a>'$text); 
Replace With:

PHP Code:
$text preg_replace('|\[url=(.+?)\](.+?)\[\/url\]|i''<a href="$1">$2</a>'$text); 
That should make it where all links open in the same window, rather than in another window. :)
thnx but, where can i find the bbcode.php?

and also, i only need this on some pages, not all.
Okay, zichi alot of your questions could be answered by yourself, if you actually took the time to look.

your bbcode.php file is in your inc directory.
if you only want it for somepages, then make a new bbcode.php file, and only call it from the pages you want it to be used on.
Reply With Quote