Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
1 registered (Ruben), 42 Guests and 13 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 03/24/10
Posts: 8
Top Posters (30 Days)
Ruben 50
DennyP 24
Gizmo 24
Dunny 15
SteveS 13
AllenAyres 12
dbremer 10
SD 10
drkknght00 9
driv 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Topic Options
#219848 - 12/03/08 12:05 PM Contact Page Problem
David DelMonte Offline
stranger
Registered: 11/30/08
Posts: 10
Loc: Wash DC
I have selected a URL for a contact page. The problem is that it opens within the forum. Is there a setting to open a URL in a new page?

Thanks Again.

David
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#219852 - 12/03/08 12:23 PM Re: Contact Page Problem [Re: David DelMonte]
Ruben Online   hyper

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
I have not tried this in threads but you should be able to format the url with html to open in a new window.
See HERE for one example
_________________________
Blue Man Group
Top
#219853 - 12/03/08 12:36 PM Re: Contact Page Problem [Re: Ruben]
JAISP Offline
old hand
Registered: 02/10/07
Posts: 1144
In \libs\html.inc.php


Find:

Code:
$contactlink = "<a href=\"{$config['CONTACT_URL']}\">{$config['SITE_EMAIL_TITLE']}</a>";


and replace with:

Code:
$contactlink = "<a href=\"{$config['CONTACT_URL']}\" TARGET=\"_new\">{$config['SITE_EMAIL_TITLE']}</a>";
Top
#219854 - 12/03/08 01:02 PM Re: Contact Page Problem [Re: JAISP]
David DelMonte Offline
stranger
Registered: 11/30/08
Posts: 10
Loc: Wash DC
Thanks a ton. Works like a charm.. edit: but target="_top" worked even better. It does take me out of the forum, and I will gauge user reaction.

David


Edited by David DelMonte (12/03/08 01:15 PM)
Edit Reason: change in content
Top
#219855 - 12/03/08 01:27 PM Re: Contact Page Problem [Re: David DelMonte]
Ruben Online   hyper

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
I prefer to use the control panel as much as I can.
So when updates come around there is less editing.
You could of added
Quote:
\" target=\"_NEW\"

to the end of the contact us url in the control panel.
Does the same thing.

David I don't get what you mean by "take me out of the forum"?

BTW is there a special reason you are using a script form to send email instead of mailto?


Edited by Ruben Rocha (12/03/08 01:31 PM)
_________________________
Blue Man Group
Top
#219856 - 12/03/08 01:39 PM Re: Contact Page Problem [Re: Ruben]
JAISP Offline
old hand
Registered: 02/10/07
Posts: 1144
I use a script as well for contacts. The reason is that spam bots are not able to get your email address, I can have several users that can get mail through the forum, and it is the way all the big guys do it and I strive to be like them.
Top
#219857 - 12/03/08 01:54 PM Re: Contact Page Problem [Re: JAISP]
Ruben Online   hyper

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
I can understand for spam but those darn spammers have lots of other methods to find you and send something to you.
I just got away from email scripts for things such as cc,bcc subject etc.
I can do the same with MAILTO syntax to prefill all the fields in the email. And send to whoever I wish.
Quote:
mailto:astark1@unl.edu?subject=MailTo Comments&cc=ASTARK1@UNL.EDU&bcc=id@internet.node


But of course vanilla is my favorite milkshake. What is yours?
_________________________
Blue Man Group
Top



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10492 Members
36 Forums
33842 Topics
181709 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image