SMF For Free Support Forum
Signup For Free Forum
September 07, 2008, 03:04:31 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] 2
  Print  
Author Topic: SMF Pages not working  (Read 883 times)
0 Members and 1 Guest are viewing this topic.
mrthunder23
SMF For Free Member
*
Offline Offline

Posts: 42


View Profile
« on: May 19, 2008, 05:23:31 pm »

Forum Url: http://eguitar.smfforfree2.com
I have been trying for ages to get it to work, any enlightment?
Logged
josh555
SMF For Free Full Member
*
Offline Offline

Posts: 122


View Profile WWW
« Reply #1 on: May 19, 2008, 05:30:56 pm »

post your code please
Logged

Life goes by so fast, you only do what you think is right.
mrthunder23
SMF For Free Member
*
Offline Offline

Posts: 42


View Profile
« Reply #2 on: May 19, 2008, 10:50:13 pm »

Code:
<script>
function SMFpageV2(Link,Title,Tab,Content){
//Created by Agent Moose (smcodes.smfforfree3.com)
var loc = window.location.href.split("/index.php")[0];
if(location.href == loc + "/index.php?action=" + Link){
document.title = Title;
$("#bodyarea").hide();
$("#bodyarea").before("<div id='SMFpageV2'><div class='tborder'><div class='catbg' style='padding: 6px; vertical-align: middle; text-align: center; '>" + Title + "</div><table border='0' width='100%' cellspacing='1' cellpadding='4' class='bordercolor'><tr><td class='windowbg2' width='100%'>" + Content + "</td></tr></table></div></div>");
};
$(".maintab_back:contains(Logout) , .maintab_back:contains(Register)").before("<td valign='top' class='maintab_back'><a href='" + loc + "/index.php?action=" + Link + "'>" + Tab + "</a></td>");
};
SMFpageV2("GTSE","TAB SEARCH ENGINE","EVOLVING GUITAR TAB SEARCH ENGINE","<form method="get" action="http://www.google.com/search"> <div style="border:1px solid black;padding:4px;width:20em;"> <table border="0" cellpadding="0"> <tr><td> <input type="text" name="q" size="25" maxlength="255" value="" /> <input type="submit" value="Search" /></td></tr> <tr><td align="center" style="font-size:75%"> <input type="checkbox" name="sitesearch" value="http://eguitar.smfforfree2.com/index.php/board,5.0.html" checked /> Use Evolving Guitar's Tab Search Engine<br /> </td></tr></table> </div> </form>");
</script>
Logged
josh555
SMF For Free Full Member
*
Offline Offline

Posts: 122


View Profile WWW
« Reply #3 on: May 20, 2008, 01:37:28 am »

ahh, i have the same problem when putting html in to that. Ask agent moose i know he will know.
Logged

Life goes by so fast, you only do what you think is right.
legend 1234
SMF For Free Full Member
*
Offline Offline

Posts: 224


Legend 1234


View Profile WWW
« Reply #4 on: May 20, 2008, 04:00:14 am »

when using this code because your using html you must take out all " and add them with ' but only for the code and - SMFpageV2("<--not these one-->"," 

it should now work Smiley

legend 1234
Logged

Need help with something ? General support l Guides and tuts l codes
josh555
SMF For Free Full Member
*
Offline Offline

Posts: 122


View Profile WWW
« Reply #5 on: May 20, 2008, 04:23:38 am »

ahh thanks legend! My chat page finally works. I guess i should read entire posts from now on instead of just the codes Shocked
Logged

Life goes by so fast, you only do what you think is right.
Agent Moose
Moderator
*****
Offline Offline

Posts: 628


Do not PM me for Code Support or Request


View Profile WWW
« Reply #6 on: May 20, 2008, 02:45:55 pm »

Try this:
Code:
<script>
function SMFpageV2(Link,Title,Tab,Content){
//Created by Agent Moose (smcodes.smfforfree3.com)
var loc = window.location.href.split("/index.php")[0];
if(location.href == loc + "/index.php?action=" + Link){
document.title = Title;
$("#bodyarea").hide();
$("#bodyarea").before("<div id='SMFpageV2'><div class='tborder'><div class='catbg' style='padding: 6px; vertical-align: middle; text-align: center; '>" + Title + "</div><table border='0' width='100%' cellspacing='1' cellpadding='4' class='bordercolor'><tr><td class='windowbg2' width='100%'>" + Content + "</td></tr></table></div></div>");
};
$(".maintab_back:contains(Logout) , .maintab_back:contains(Register)").before("<td valign='top' class='maintab_back'><a href='" + loc + "/index.php?action=" + Link + "'>" + Tab + "</a></td>");
};
SMFpageV2("GTSE","TAB SEARCH ENGINE","EVOLVING GUITAR TAB SEARCH ENGINE",'<form method="get" action="http://www.google.com/search"> <div style="border:1px solid black;padding:4px;width:20em;"> <table border="0" cellpadding="0"> <tr><td> <input type="text" name="q" size="25" maxlength="255" value="" /> <input type="submit" value="Search" /></td></tr> <tr><td align="center" style="font-size:75%"> <input type="checkbox" name="sitesearch" value="http://eguitar.smfforfree2.com/index.php/board,5.0.html" checked /> Use Evolving Guitar's Tab Search Engine<br /> </td></tr></table> </div> </form>');
</script>
Logged

Eternal Flame Coming Soon

SMC Code Index - The best Code Index for all your Needs!  Includes a bunch of codes not on Support.
mrthunder23
SMF For Free Member
*
Offline Offline

Posts: 42


View Profile
« Reply #7 on: May 20, 2008, 04:05:11 pm »

Nothing >_<
Logged
LaundryLady
Global Moderator
*
Offline Offline

Posts: 3042



View Profile WWW
« Reply #8 on: May 20, 2008, 04:37:27 pm »

Replace this
Code:
<script src="jquery.js"></script>

with this:

Code:
<script src="/jquery.js"></script>

In your header, and see if that helps.
Logged

mrthunder23
SMF For Free Member
*
Offline Offline

Posts: 42


View Profile
« Reply #9 on: May 20, 2008, 05:00:53 pm »

K. Nope, no change.
Logged
LaundryLady
Global Moderator
*
Offline Offline

Posts: 3042



View Profile WWW
« Reply #10 on: May 20, 2008, 05:52:06 pm »

Put the code in your footers not your headers. That's how Agent Moose wrote the directions.
Logged

mrthunder23
SMF For Free Member
*
Offline Offline

Posts: 42


View Profile
« Reply #11 on: May 20, 2008, 05:56:59 pm »

For real..I thought it said either location.
I am sorry, I have a really bad concusion and neck injury, I am not into it today.

Still nothing.
« Last Edit: May 20, 2008, 06:00:19 pm by mrthunder23 » Logged
josh555
SMF For Free Full Member
*
Offline Offline

Posts: 122


View Profile WWW
« Reply #12 on: May 20, 2008, 06:40:30 pm »

Code:
<script>
function SMFpageV2(Link,Title,Tab,Content){
//Created by Agent Moose (smcodes.smfforfree3.com)
var loc = window.location.href.split("/index.php")[0];
if(location.href == loc + "/index.php?action=" + Link){
document.title = Title;
$("#bodyarea").hide();
$("#bodyarea").before("<div id='SMFpageV2'><div class='tborder'><div class='catbg' style='padding: 6px; vertical-align: middle; text-align: center; '>" + Title + "</div><table border='0' width='100%' cellspacing='1' cellpadding='4' class='bordercolor'><tr><td class='windowbg2' width='100%'>" + Content + "</td></tr></table></div></div>");
};
$(".maintab_back:contains(Logout) , .maintab_back:contains(Register)").before("<td valign='top' class='maintab_back'><a href='" + loc + "/index.php?action=" + Link + "'>" + Tab + "</a></td>");
};
SMFpageV2("GTSE","TAB SEARCH ENGINE","EVOLVING GUITAR TAB SEARCH ENGINE","<form method="get" action='http://www.google.com/search'> <div style='border:1px solid black;padding:4px;width:20em;'> <table border='0' cellpadding='0'> <tr><td><input type='text' name='q' size='25' maxlength='255' value='' /> <input type='submit' value='Search' /></td></tr> <tr><td align='center' style='font-size:75%'> <input type='checkbox' name='sitesearch'value='http://eguitar.smfforfree2.com/index.php/board,5.0.html' checked /> Use Evolving Guitar's Tab Search Engine<br /> </td></tr></table> </div> </form>");
</script>

try that in your footers.. instead of agent mooses
« Last Edit: May 20, 2008, 06:42:39 pm by josh555 » Logged

Life goes by so fast, you only do what you think is right.
mrthunder23
SMF For Free Member
*
Offline Offline

Posts: 42


View Profile
« Reply #13 on: May 20, 2008, 06:49:41 pm »

MY SITE WILL NOT LET ME ACESS IT ANYMORE! IT SAYS PHP has encountered an Access Violation at 7C82CAA2
Edit: And nothing happened now that it works again.
« Last Edit: May 20, 2008, 06:58:32 pm by mrthunder23 » Logged
josh555
SMF For Free Full Member
*
Offline Offline

Posts: 122


View Profile WWW
« Reply #14 on: May 20, 2008, 07:12:29 pm »

Code:
<script>
function SMFpageV2(Link,Title,Tab,Content){
//Created by Agent Moose (smcodes.smfforfree3.com)
var loc = window.location.href.split("/index.php")[0];
if(location.href == loc + "/index.php?action=" + Link){
document.title = Title;
$("#bodyarea").hide();
$("#bodyarea").before("<div id='SMFpageV2'><div class='tborder'><div class='catbg' style='padding: 6px; vertical-align: middle; text-align: center; '>" + Title + "</div><table border='0' width='100%' cellspacing='1' cellpadding='4' class='bordercolor'><tr><td class='windowbg2' width='100%'>" + Content + "</td></tr></table></div></div>");
};
$(".maintab_back:contains(Logout) , .maintab_back:contains(Register)").before("<td valign='top' class='maintab_back'><a href='" + loc + "/index.php?action=" + Link + "'>" + Tab + "</a></td>");
};
SMFpageV2("GTSE","TAB SEARCH ENGINE","EVOLVING GUITAR TAB SEARCH ENGINE","<form method='get' action='http://www.google.com/search'> <div style='border:1px solid black;padding:4px;width:20em;'> <table border='0' cellpadding='0'> <tr><td> <input type='text' name='q' size='25' maxlength='255' value='' /> <input type='submit' value='Search' /></td></tr> <tr><td align='center' style='font-size:75%'> <input type='checkbox' name='sitesearch' value='http://eguitar.smfforfree2.com/index.php/board,5.0.html' checked /> Use Evolving Guitar's Tab Search Engine<br /> </td></tr></table> </div> </form>");
</script>

if that one doesn't work then idk. But try that one
Logged

Life goes by so fast, you only do what you think is right.


Pages: [1] 2
  Print  
 
Jump to:  

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