Site Links Jumpbox
site'nin başlığına link ekleyorsunuz..
##############################################################
## MOD Title: Site Links Jumpbox
## MOD Author: ~HG~ < [email protected] >
## https://tik.lat/x3Jd0
## MOD Description: Creates a Site Link jumpbox in the header
##
## MOD Version: 1.0.0
##
## Installation Level: Easy
## Installation Time: 5 Minutes
## Files To Edit: templates/subSilver/overall_header.tpl
##
## Included Files: (n/a)
##############################################################
## For Security Purposes, Please Check: https://tik.lat/Uws8F for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum.
##############################################################
## Author Notes:
## You will need to find all instances of www.mysite.com and My Site and replace them with your ## own links. You can add as many links as you like to the menu simply by copying
## <option value="http://www.mysite.com*_blank">My Site</option> place it on the next line and ## edit as above.
##
## The menu also works with targets to open links in new windows. Simply add an asterisk ( * ) ## after the link - then specify the target.
## PREDEFINED TARGETS ARE:
##
## _blank : Open in new window
## _parent : Open in superior frame
## _top : Cancel all frames and open in current window
##
## If you have the Simple Network Bar installed there is no need to add the javascript in ## this mod so you can ignore all the information between ********** and </script>
##############################################################
## MOD History:
##
## 2006-05-15 : Version 1.0.0
## - first release
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------------
#
templates/subSilver/overall_header.tpl
#
#-----[ FIND ]----------------------------------------
#
</head>
#
#-----[ BEFORE ADD ]--------------------------------
#
**********
<!--
function land(ref, target)
{
lowtarget=target.toLowerCase();
if (lowtarget=="_self") {window.********=loc;}
else {if (lowtarget=="_top") {top.********=loc;}
else {if (lowtarget=="_blank") {window.open(loc);}
else {if (lowtarget=="_parent") {parent.********=loc;}
else {parent.frames[target].********=loc;};
}}}
}
function jump(menu)
{
ref=menu.choice.options[menu.choice.selectedIndex].value;
splitc=ref.lastIndexOf("*");
target="";
if (splitc!=-1)
{loc=ref.substring(0,splitc);
target=ref.substring(splitc+1,1000);}
else {loc=ref; target="_self";};
if (ref != "") {land(loc,target);}
}
//-->
</script>
#
#-----[ FIND ]------------------------------------------------
#
<td><a href="{U_INDEX}"><img src="templates/subSilver/images/logo_phpBB.gif" border="0" alt="{L_INDEX}" vspace="1" /></a>
#
#-----[ AFTER, ADD ]------------------------------------------
# Eklenmesi istediğiniz linki değiştiriyorsunuz "_blank" demek yeni bir sayfa açar. eğer "_parent" ile kullanırsanız linki sitenizde açar.
#
<br />
<form action="dummy" method="post">
<select name="choice" size="1" onChange="jump(this.form)">
<option value="">CHOOSE A LINK</option>
<option value="http://www.mysite.com*_blank">My Site</option>
<option value="http://www.mysite.com*_blank">My Site</option>
<option value="http://www.mysite.com*_blank">My Site</option>
<option value="http://www.mysite.com*_blank">My Site</option>
</select>
</form>
#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------------
#
# EoM
site'nin başlığına link ekleyorsunuz..
##############################################################
## MOD Title: Site Links Jumpbox
## MOD Author: ~HG~ < [email protected] >
## https://tik.lat/x3Jd0
## MOD Description: Creates a Site Link jumpbox in the header
##
## MOD Version: 1.0.0
##
## Installation Level: Easy
## Installation Time: 5 Minutes
## Files To Edit: templates/subSilver/overall_header.tpl
##
## Included Files: (n/a)
##############################################################
## For Security Purposes, Please Check: https://tik.lat/Uws8F for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum.
##############################################################
## Author Notes:
## You will need to find all instances of www.mysite.com and My Site and replace them with your ## own links. You can add as many links as you like to the menu simply by copying
## <option value="http://www.mysite.com*_blank">My Site</option> place it on the next line and ## edit as above.
##
## The menu also works with targets to open links in new windows. Simply add an asterisk ( * ) ## after the link - then specify the target.
## PREDEFINED TARGETS ARE:
##
## _blank : Open in new window
## _parent : Open in superior frame
## _top : Cancel all frames and open in current window
##
## If you have the Simple Network Bar installed there is no need to add the javascript in ## this mod so you can ignore all the information between ********** and </script>
##############################################################
## MOD History:
##
## 2006-05-15 : Version 1.0.0
## - first release
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------------
#
templates/subSilver/overall_header.tpl
#
#-----[ FIND ]----------------------------------------
#
</head>
#
#-----[ BEFORE ADD ]--------------------------------
#
**********
<!--
function land(ref, target)
{
lowtarget=target.toLowerCase();
if (lowtarget=="_self") {window.********=loc;}
else {if (lowtarget=="_top") {top.********=loc;}
else {if (lowtarget=="_blank") {window.open(loc);}
else {if (lowtarget=="_parent") {parent.********=loc;}
else {parent.frames[target].********=loc;};
}}}
}
function jump(menu)
{
ref=menu.choice.options[menu.choice.selectedIndex].value;
splitc=ref.lastIndexOf("*");
target="";
if (splitc!=-1)
{loc=ref.substring(0,splitc);
target=ref.substring(splitc+1,1000);}
else {loc=ref; target="_self";};
if (ref != "") {land(loc,target);}
}
//-->
</script>
#
#-----[ FIND ]------------------------------------------------
#
<td><a href="{U_INDEX}"><img src="templates/subSilver/images/logo_phpBB.gif" border="0" alt="{L_INDEX}" vspace="1" /></a>
#
#-----[ AFTER, ADD ]------------------------------------------
# Eklenmesi istediğiniz linki değiştiriyorsunuz "_blank" demek yeni bir sayfa açar. eğer "_parent" ile kullanırsanız linki sitenizde açar.
#
<br />
<form action="dummy" method="post">
<select name="choice" size="1" onChange="jump(this.form)">
<option value="">CHOOSE A LINK</option>
<option value="http://www.mysite.com*_blank">My Site</option>
<option value="http://www.mysite.com*_blank">My Site</option>
<option value="http://www.mysite.com*_blank">My Site</option>
<option value="http://www.mysite.com*_blank">My Site</option>
</select>
</form>
#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------------
#
# EoM