Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 06-11-2009, 10:15 PM
zhiichiro zhiichiro is offline
Member
 
Join Date: Mar 2009
Posts: 106
Credits: 11,774
zhiichiro
Default links

if i put a link on one of my pages.php?page=title..

and someone click that link, it will open another window or tab right?

to see what i mean, click my link below and click any picture :

http://www.zhiichiro.0fees.net/adoptables/pages.php?page=games

the picture will bring you to other web/link..

what i want is.. when i click a picture, or any link that i put on a page, it will open on same window, and will not open new tab...

how can i do that?
Reply With Quote
  #2  
Old 06-11-2009, 11:16 PM
Seapyramid Seapyramid is offline
Premium Member
 
Join Date: Feb 2009
Posts: 373
Gender: Female
Credits: 15,574
Seapyramid
Default RE: links

use
Code:
 target="_blank"
in your HTML URL ... this is simple HTML.. please read http://www.w3schools.com/html/default.asp
Reply With Quote
  #3  
Old 06-12-2009, 01:59 AM
zhiichiro zhiichiro is offline
Member
 
Join Date: Mar 2009
Posts: 106
Credits: 11,774
zhiichiro
Default RE: links

i wanna ask something...

why other "donators" do their best to help everyone who ask, by helping them the easiest way.. while you always give that link. i only know little about html, and i will not learn everything over night =.=" , and i need help about this "link" asap.

what i ask doesnt need serious studies about html, and is easy to those who "knew" it.. that's why i want them to help me.

seriously, it's not you.
Reply With Quote
  #4  
Old 06-12-2009, 03:51 AM
trollis76 trollis76 is offline
Member
 
Join Date: Feb 2009
Posts: 160
Credits: 13,473
trollis76
Default RE: links

Well, Sea is trying to help you this way:
Maybe you don't learn everything over a single night, but when you learn you will never need this kind of help anymore..?

Did I get you right Sea?
Reply With Quote
  #5  
Old 06-12-2009, 05:12 AM
zhiichiro zhiichiro is offline
Member
 
Join Date: Mar 2009
Posts: 106
Credits: 11,774
zhiichiro
Default RE: links

yeah, i know that if i learn something, i can manage my self..

i did know something about this. but that's not much.

i have to fix the link thing today, and someone tries to help, but not much..


if no one wants to answer my question, you can now lock the topic.

thanks anyway.
Reply With Quote
  #6  
Old 06-12-2009, 06:10 AM
trollis76 trollis76 is offline
Member
 
Join Date: Feb 2009
Posts: 160
Credits: 13,473
trollis76
Default RE: links

I'm trying to look for the solution right now. But I really don't know where to look since this is PHP, and the only HTML on the site is inside the template. :/
Reply With Quote
  #7  
Old 06-12-2009, 11:30 AM
Seapyramid Seapyramid is offline
Premium Member
 
Join Date: Feb 2009
Posts: 373
Gender: Female
Credits: 15,574
Seapyramid
Default RE: links

Quote:
Originally Posted by zhiichiro
yeah, i know that if i learn something, i can manage my self..

i did know something about this. but that's not much.

i have to fix the link thing today, and someone tries to help, but not much..


if no one wants to answer my question, you can now lock the topic.

thanks anyway.
Excuse me! I did answer your question and gave you the code to do what you wanted to do! I also gave the link because the information on how to do it is there as well! If you would have read my post or looked at the link you would have it working already!

To trollis76: Yes, you got it perfectly right and you have also been working hard to learn I have noticed :)

Sea
Reply With Quote
  #8  
Old 06-12-2009, 12:11 PM
Bloodrun's Avatar
Bloodrun Bloodrun is offline
I am, who I am.
 
Join Date: Apr 2009
Posts: 532
Gender: Male
Credits: 28,618
Bloodrun
Send a message via Yahoo to Bloodrun
Default RE: links

Quote:
Originally Posted by zhiichiro
i wanna ask something...

why other "donators" do their best to help everyone who ask, by helping them the easiest way.. while you always give that link. i only know little about html, and i will not learn everything over night =.=" , and i need help about this "link" asap.

what i ask doesnt need serious studies about html, and is easy to those who "knew" it.. that's why i want them to help me.

seriously, it's not you.
It is not the Donators job to help you out. If they do help you out, then be thankful.

It is my job to make sure everyone at least gets the basic understanding of their question when it's asked, and that they at least get a solid answer.

Which both, have been given to you multiple times.
Reply With Quote
  #9  
Old 06-12-2009, 02:43 PM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 10,708
BMR777 is on a distinguished road
Default RE: links

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. :)
Reply With Quote
  #10  
Old 06-15-2009, 12:16 PM
zhiichiro zhiichiro is offline
Member
 
Join Date: Mar 2009
Posts: 106
Credits: 11,774
zhiichiro
Default RE: links

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing the links under Member's Links. LucasA33 Questions and Supports 1 12-24-2013 08:04 PM
Links will not work Eagle9615 Questions and Supports 4 07-03-2013 11:30 PM
:Links Bar: AlkseeyaKC Questions and Supports 9 06-23-2011 04:20 PM
Links SJC Questions and Supports 2 04-17-2009 06:46 PM
Broken links RipJawWolfFang Questions and Supports 2 04-11-2009 03:16 AM


All times are GMT -5. The time now is 07:17 AM.

Currently Active Users: 9740 (0 members and 9740 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636