Best of joomla gives you news, joomla templates, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
The FireBoard forum component development is still going on. In order to get better, FireBoard will be moved from the Best of Joomla website.
During this transition period, the forum in Best of Joomla will be closed to new posts.
Welcome, Guest
Please Login or Register.    Lost Password?
FireBoard Manual Latest release discussions Download FireBoard
Re:Make bbCode URL Tags Open In a New Window/Tab (1 viewing) (1) Guest
TOPIC: Re:Make bbCode URL Tags Open In a New Window/Tab
#48195
Make bbCode URL Tags Open In a New Window/Tab 9 Months, 1 Week ago  
Do you want to make bbCode URL tags open in a new window/tab using the target='_blank' parameter that is the default for other links in Fireboard 1.0.4 stable?

Here's how.

  • Open the file /components/com_fireboard/sources/interpreter.fireboard.inc.php
  • Go to line 227 and add the target='_blank' right before the end of the link in the line for
    Code:

    $tns =


(Sorry, I tried to include the code, but it was butchered every time I submitted the post.)

Save the file and you should now have bbCode URL's that open in a new window/tab like the rest of the links in Fireboard.
linux4me (User)
Junior Boarder
Posts: 28
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2008/04/16 21:06 By linux4me.
 
 
#48883
Re:Make bbCode URL Tags Open In a New Window/Tab 8 Months, 3 Weeks ago  
Hello,

I do not have the code you pasted in your post on my line 227. Here is what my line 227 looks like in that file:

$tempstr = ''.$tempstr;

I have search all over the to find a solution to this and stumbled upon your post. I had tried various variations of including your modifications to the script on this line and have been unsuccessful. Hope you or someone could help out. Thank you.
supersanek123 (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#48920
Re:Make bbCode URL Tags Open In a New Window/Tab 8 Months, 3 Weeks ago  
I have attached the script as a text file. Look on line 227 of it and you can find the code I'm referring to. Actually, I think you are just looking a couple of lines above where you need to be.

File Attachment:
File Name: interpreter-b36168cdbc09226ce53abfff3d345ab3.txt
File Size: 19735
linux4me (User)
Junior Boarder
Posts: 28
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2008/04/16 21:07 By linux4me.
 
 
#48961
Re:Make bbCode URL Tags Open In a New Window/Tab 8 Months, 3 Weeks ago  
You are awesome! Thank you so much!

Is there a way to cloak the URL's too? Thanx
supersanek123 (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#49006
Re:Make bbCode URL Tags Open In a New Window/Tab 8 Months, 3 Weeks ago  
Now that you know where the URL's are composed, I guess you could do just about anything possible with PHP there, but I'm not sure what you mean by "cloak"?
linux4me (User)
Junior Boarder
Posts: 28
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#49008
Re:Make bbCode URL Tags Open In a New Window/Tab 8 Months, 3 Weeks ago  
Yeah, i'll do some messing around with it. By "cloaking" i meant so the browser does not show or hides the tracking URL code when hovering over the URL link that will open in new window.

THank you!
supersanek123 (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#49012
Re:Make bbCode URL Tags Open In a New Window/Tab 8 Months, 3 Weeks ago  
Are you talking about a tool-tip like the "title=" tag in a hyperlink? I don't have that in my browser (Firefox) and don't see any title tags in the forums with my template (default EX).

I'd take a look at the source code for a sample forum page where you're seeing it to see if the links have a title tag. If so, you'll need to find out where that's being put in.
linux4me (User)
Junior Boarder
Posts: 28
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#49019
Re:Make bbCode URL Tags Open In a New Window/Tab 8 Months, 3 Weeks ago  
I'm pretty sure im doing horrible job explaining. I dont know the correct term for this but its the url "status" path of the link that shows up in bottom-left corner of the browser , i attached a picture.

I use affiliate links in some of them so i dont want person looking at the url and seeings its an affiliate link, rather either display blank .
supersanek123 (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2008/04/18 05:27 By supersanek123.
 
 
#49020
Re:Make bbCode URL Tags Open In a New Window/Tab 8 Months, 3 Weeks ago  
picture
supersanek123 (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#49060
Re:Make bbCode URL Tags Open In a New Window/Tab 8 Months, 3 Weeks ago  
Oh! I get what you mean. That actually has to be done client-side (Javascript) and not server-side (PHP).

Take a look here and at the other examples they list for ways to do this. You can also google something like "browser hide status" and find a bunch of free scripts.
linux4me (User)
Junior Boarder
Posts: 28
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
Go to top