Previous Thread
Next Thread
Print Thread
Hop To
Anonymous
Unregistered
Anonymous
Unregistered
In public_display_profile.pl there ist the target="_blank" missing for the users homepage link (which is bad when your board is in a frame).

Line 244:
Change from
<a href="$user_profile[3]">$user_profile[3]</a>

To
<a href="$user_profile[3]" target="_blank">$user_profile[3]</a>

[This message was edited by Charles Capps on November 05, 2002 at 09:27 AM.]

Anonymous
Unregistered
Anonymous
Unregistered
Profile windows are always opened new, meaning the new window would be replaced with the homepage.

UBB should never be run in a frame to boot...

--
Charles Capps
Programmer, Infopop Corporation
Please do not contact me privately for support - post on the board or open a support ticket instead!

Anonymous
Unregistered
Anonymous
Unregistered
No, it's not the profile window, it'S just the users homepage link there. This link does not open in a new window (as it does when you click on the hompage link at a users post. here a new window opens correctly.

we are running ubb inside a frame now for years there is really now problem with that <img src="https://www.ubbcentral.com/boards/images/graemlins/wink.gif" alt="" /> we display our global navigation with a frame on the left.

Greetings
gero

Anonymous
Unregistered
Anonymous
Unregistered
The homepage link in a topic uses target="_new".

What's the URL to your board, please...

--
Charles Capps
Programmer, Infopop Corporation
Please do not contact me privately for support - post on the board or open a support ticket instead!

Anonymous
Unregistered
Anonymous
Unregistered
Yes _new or _blank works both.

You will find the board here:

http://www.literaturcafe.de/forum

Anonymous
Unregistered
Anonymous
Unregistered
Is that based on the German translation, or did you translate it yourself? (It might matter...)

--
Charles Capps
Programmer, Infopop Corporation
Please do not contact me privately for support - post on the board or open a support ticket instead!

Anonymous
Unregistered
Anonymous
Unregistered
I translated it myself, but that has nothing to do with the translation. The target is also missing in the english version :-)

Anonymous
Unregistered
Anonymous
Unregistered
Can you provide a URL to a page that has the broken homepage link?

--
Charles Capps
Programmer, Infopop Corporation
Please do not contact me privately for support - post on the board or open a support ticket instead!

Anonymous
Unregistered
Anonymous
Unregistered
Hello Charles,

the problem does not occure on my board anymore, because I fixed it (see my first post at the top for details)

Greetings

Anonymous
Unregistered
Anonymous
Unregistered
Er, okay... what line of what template did you modify?

--
Charles Capps
Programmer, Infopop Corporation
Please do not contact me privately for support - post on the board or open a support ticket instead!

Anonymous
Unregistered
Anonymous
Unregistered
gero, I think what Charles was trying to say is that when you click on the profile icon it opens a new window, the only places that it doesn't are in Rate Member, Moderators and PNTF, and the user usually clicks on links only from the profile icon, which opens a new window, so there is no need to open 2 new windows...

Anonymous
Unregistered
Anonymous
Unregistered
Tip: I would alway use target="_blank" to open a link inside a new window.

The target "_new" is no reserved name in HTML which means it's a "normal" window name.

The problem that might occure with that (which might confuse a user): if the user does not close the window which was opened with "_new" and sends it into the background instead all further links he clicks on with that target will change the content of the window in the background but the user might not see it. For him nothing happens. _blank makes sure that always a new window is opened.

Greeting
Gero

Anonymous
Unregistered
Anonymous
Unregistered
@ LK:
I would alway open a new window for external links (second effect: the user does not leave my site totally <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" /> )

@ Charles:
See top ao page :rolleyes:

Anonymous
Unregistered
Anonymous
Unregistered
Duh, sorry. Monday.. <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" />

--
Charles Capps
Programmer, Infopop Corporation
Please do not contact me privately for support - post on the board or open a support ticket instead!

Anonymous
Unregistered
Anonymous
Unregistered
Out of all the windows opening or linking to, I would have preferred that the Print Page feature would have opened in a new window. Where can I change this?

Anonymous
Unregistered
Anonymous
Unregistered
Line ~175 of public_topic_page.

--
Charles Capps
Programmer, Infopop Corporation
Please do not contact me privately for support - post on the board or open a support ticket instead!


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
0 members (), 686 guests, and 131 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)