SMF For Free Support Forum
Signup For Free Forum
November 21, 2008, 05:49:58 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to SMF For Free. The best free SMF Host
 
   Home   Help Search Arcade Gallery Login Register  

Pages: [1]
  Print  
Author Topic: [Request] Affiliates Tab?  (Read 416 times)
0 Members and 1 Guest are viewing this topic.
Alex P.
SMF For Free Sponsors
*
Offline Offline

Posts: 612


AKA Sub Zero


View Profile WWW
« on: January 23, 2008, 03:54:05 pm »

Forum Url: http://smgraphics.smfforfree4.com
Um, Is there a way to create an affiliates tab that will lead to a new page? If there is already something on this, please point me in that direction..
Logged

simply sibyl
Global Moderator
*
Offline Offline

Posts: 9128


Please do not PM me for Support


View Profile WWW
« Reply #1 on: January 23, 2008, 03:58:28 pm »

Forum Url: http://smgraphics.smfforfree4.com
Um, Is there a way to create an affiliates tab that will lead to a new page? If there is already something on this, please point me in that direction..

It its just one site you are going to have it go to you can add more tabs with this:
http://www.smfsupport.com/support/smf_for_free_codes/code_add_more_tabs-t4236.0.html;msg20980#msg20980

Logged

Alex P.
SMF For Free Sponsors
*
Offline Offline

Posts: 612


AKA Sub Zero


View Profile WWW
« Reply #2 on: January 23, 2008, 04:02:03 pm »

I mean like add a new page like.... this http://ultimategraphics.smfforfree3.com/index.php?action=affiliates

Is that possible (well I know it is, but would I be able to do that?)
Logged

simply sibyl
Global Moderator
*
Offline Offline

Posts: 9128


Please do not PM me for Support


View Profile WWW
« Reply #3 on: January 23, 2008, 04:05:56 pm »

I mean like add a new page like.... this http://ultimategraphics.smfforfree3.com/index.php?action=affiliates

Is that possible (well I know it is, but would I be able to do that?)

I do not know which code he is using for that, or if it has been released.
You would have to find out from him.
Logged

deathwilldie
Style Designer
****
Offline Offline

Posts: 630


Give me an idea for a Stylesheet


View Profile WWW
« Reply #4 on: January 23, 2008, 04:06:32 pm »

To do that you just add a new tab and then you use the code SMF Page V1 which can be found here:
http://www.smfsupport.com/support/smf_for_free_codes/smf_page_v1-t6218.0.html

Thats what I ended up doing.
Logged


Alex P.
SMF For Free Sponsors
*
Offline Offline

Posts: 612


AKA Sub Zero


View Profile WWW
« Reply #5 on: January 23, 2008, 04:13:46 pm »

Well... I might just make a topic and have a tab re-directing to it.
Logged

deathwilldie
Style Designer
****
Offline Offline

Posts: 630


Give me an idea for a Stylesheet


View Profile WWW
« Reply #6 on: January 23, 2008, 04:14:26 pm »

Yea that would work pretty much the same way too.
Logged


slayer766
SMF For Free Member
*
Offline Offline

Posts: 36



View Profile WWW
« Reply #7 on: February 01, 2008, 09:20:45 am »

^_^
Preview: http://divinityrpg.smfforfree4.com/index.php?action=affiliates

Place this at the bottom of your Headers box:

Quote from: If you already have the jquery script then just place the div tag up
<script src="jquery.js"></script><div id="affiliates">

Place this at the top of your Footers box:

Quote
<script type='text/javascript'>
//By slayer766 of thecodingzone.com

var url = location.href.split("?")[0];
var boardname = document.getElementsByTagName("span")[0].innerHTML;
$(function(){
$(".maintab_last").before("<td valign='top' class='maintab_back'><a href='"+url+"?action=affiliates'>Affiliates</a></td>");
});
if(location.href.match(/action=affiliates/i)!=null){
document.title=boardname+" Affiliates";
document.getElementById("affiliates").innerHTML = '<div class="tborder"><div class="catbg" align="center">'+boardname+' Affiliates</div><table><tr><td><a href="http://thecodingzone.com"> <img src="http://slaytanist.co.uk/tcz_aff.jpg" alt="TheCodingZone"></a></td><td><a href="http://thecodingzone.com"> <img src="http://slaytanist.co.uk/tcz_aff.jpg" alt="TheCodingZone"></a></td><td><a href="http://thecodingzone.com"> <img src="http://slaytanist.co.uk/tcz_aff.jpg" alt="TheCodingZone"></a></td><td><a href="http://thecodingzone.com"> <img src="http://slaytanist.co.uk/tcz_aff.jpg" alt="TheCodingZone"></a></td></tr><tr><td><a href="http://thecodingzone.com"> <img src="http://slaytanist.co.uk/tcz_aff.jpg" alt="TheCodingZone"></a></td><td><a href="http://thecodingzone.com"> <img src="http://slaytanist.co.uk/tcz_aff.jpg" alt="TheCodingZone"></a></td><td><a href="http://thecodingzone.com"> <img src="http://slaytanist.co.uk/tcz_aff.jpg" alt="TheCodingZone"></a></td><td><a href="http://thecodingzone.com"> <img src="http://slaytanist.co.uk/tcz_aff.jpg" alt="TheCodingZone"></a></td></tr></table></div>';
}
</script>

Then place this at the bottom of your Footers box:

Quote
</div>


The only thing you need to change or you can edit is what is in RED. Cheesy
Logged

Check our Code Index which currently contains 453 codes!



Pages: [1]
  Print  
 
Jump to:  

cheap low cost web hosting reviews

Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
ServerBeach Coupon
Page created in 0.283 seconds with 17 queries.