Return to iWEBTOOL

Go Back   iWEBTOOL Talk > The Web and your Website > Programming > PHP
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
 
Welcome to iWEBTOOL Talk, where you talk about webmaster-related stuff.
 
Discuss topics which interest you.
With over thousands of threads (topics), we're sure you'll find something that'll interest you.
Ask for help whenever you need it.
We have thousands of members who are available to help you if you need it.
It's absolutely FREE!

 1  Register           2  Browse the board           3  Discuss whatever may interest you!
 


Reply
 
Thread Tools Search this Thread Display Modes
Old 04-28-2008, 05:22 AM   #1
LemonTide
Smurf
 
LemonTide's Avatar
 
Join Date: Apr 2008
Posts: 38
LemonTide is on a distinguished road
Lightbulb PHP Script Question. NEWBIE HERE.

I recently created & purchased a online forum for a hefty price. I was confident I could keep forum traffic up & earn back my investment in ad commission. With the upgrade now I can run it without forced ads on my own server as well as incorporate my own ads. I have been trying so hard to do so. However i am used to HTML & cant get this to work.

I consulted the people I purchased the forum from & they said this: "To add those you would need to access the forum files (either through file manager or through FTP). Then browse to public_html/templates. Then edit each templates 'overall_footer.tpl' and edit the code in using HTML."

The page I am editing is a PHP Forum. & I am trying to insert a HTML script from Chitika a program like adsense that turns relevants words on the page into paid links. So I located the file stated in the message. The "overall_footer.tpl". I then inserted the HTML script & had no luck when reloading the page. The script did not take effect. I tried moving it around several times. I am seeking help. Where do I insert my HTML!?

The "overall_footer.tpl" is as follows:

PHP Code:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>{SITENAME} :: {PAGE_TITLE}</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>

<body>
<table width="860" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td height="35" background="softmetal/bgsoftmetal.jpg">&nbsp;</td>
  </tr>
  <tr> 
    <td background="templates/softmetal/images/bgsoftmetal.jpg"><table width="94%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr> 
          <td>
<div align="center"><span class="copyright"><br />{ADMIN_LINK}<br />
<!--
    We request you retain the full copyright notice below including the link to www.phpbb.com.
    This not only gives respect to the large amount of time given freely by the developers
    but also helps build interest, traffic and use of phpBB 2.0. If you cannot (for good
    reason) retain the full copyright we request you at least leave in place the 
    Powered by phpBB {PHPBB_VERSION} line, with phpBB linked to www.phpbb.com. If you refuse
    to include even this then support on our forums may be affected. 

    The phpBB Group : 2002
// -->
Powered by <a href="http://www.phpbb.com/" target="_phpbb" class="copyright">phpBB</a> {PHPBB_VERSION} &copy; 2001, 2002 phpBB Group<br />{TRANSLATION_INFO}</span><br></div>
            <div align="center"><span class="copyright">SoftMetal theme by <a href="http://www.macthink.net/" class="copyright">Macthink</a></span></div></td>
    </tr>
</table>

</td></tr></table>
</body>
</html>

        
      
  
  <tr> 
    <td height="40" background="templates/softmetal/images/bgbottomsoftmetal.jpg">&nbsp;</td>
  </tr>

Thanks again, any help is so greatly appreciated. I spent a lot getting rights to post ads & now I hope to learn how so I can earn it back plus more. Lets keep rockin the net & this forum!
LemonTide is offline   Reply With Quote
 
This is an Ad Revenue Sharing forum Place your advert here
SEO Checklist
Get yourself better ranking with
our "Do-it-Yourself" SEO Checklist.
Click Here
Old 04-28-2008, 06:37 AM   #2
Bagi Zoltán
iWEBTOOL Moderator
 Contributor 
 
Bagi Zoltán's Avatar
 
Join Date: Aug 2006
Location: Hungary
Posts: 1,762
Bagi Zoltán is a glorious beacon of lightBagi Zoltán is a glorious beacon of lightBagi Zoltán is a glorious beacon of lightBagi Zoltán is a glorious beacon of lightBagi Zoltán is a glorious beacon of light
Default Re: PHP Script Question. NEWBIE HERE.

Please, post the javascript code of the ads as well. Thanks!
Bagi Zoltán is offline   Reply With Quote
Old 04-28-2008, 06:41 AM   #3
LemonTide
Smurf
 
LemonTide's Avatar
 
Join Date: Apr 2008
Posts: 38
LemonTide is on a distinguished road
Exclamation Re: PHP Script Question. NEWBIE HERE.

Here is the javascript for the ad as requested. Thank you for your help, you have no idea how much it is appreciated.

PHP Code:
<!-- Paste this code into the body sectionnot the head section of the page -->
<
script type="text/javascript"><!--
ch_client "lemontide";
ch_non_contextual 0;
ch_linkStyle"style3";
ch_linkColor "#E99B00";
//--></script>
<script  src="http://scripts.chitika.net/static/linx/chitika_linx.v3.js" type="text/javascript">
</script> 

You helping me with this is really RoCkIn!
LemonTide is offline   Reply With Quote
Old 04-28-2008, 06:45 AM   #4
Bagi Zoltán
iWEBTOOL Moderator
 Contributor 
 
Bagi Zoltán's Avatar
 
Join Date: Aug 2006
Location: Hungary
Posts: 1,762
Bagi Zoltán is a glorious beacon of lightBagi Zoltán is a glorious beacon of lightBagi Zoltán is a glorious beacon of lightBagi Zoltán is a glorious beacon of lightBagi Zoltán is a glorious beacon of light
Default Re: PHP Script Question. NEWBIE HERE.

Try with this code please, as I saw the main section was commented (<!--). You may place it whereever you want into a tpl file.

HTML Code:
<script type="text/javascript"> ch_client = "lemontide"; ch_non_contextual = 0; ch_linkStyle= "style3"; ch_linkColor = "#E99B00"; </script> <script src="http://scripts.chitika.net/static/linx/chitika_linx.v3.js" type="text/javascript"> </script>
Bagi Zoltán is offline   Reply With Quote
Old 04-28-2008, 06:51 AM   #5
LemonTide
Smurf
 
LemonTide's Avatar
 
Join Date: Apr 2008
Posts: 38
LemonTide is on a distinguished road
Default Re: PHP Script Question. NEWBIE HERE.

I'll give it a test run. Thank you.. Ill get back to you in a moment.
LemonTide is offline   Reply With Quote
Old 04-28-2008, 06:55 AM   #6
LemonTide
Smurf
 
LemonTide's Avatar
 
Join Date: Apr 2008
Posts: 38
LemonTide is on a distinguished road
Default Re: PHP Script Question. NEWBIE HERE.

No luck.
LemonTide is offline   Reply With Quote
Old 04-28-2008, 07:02 AM   #7
Bagi Zoltán
iWEBTOOL Moderator
 Contributor 
 
Bagi Zoltán's Avatar
 
Join Date: Aug 2006
Location: Hungary
Posts: 1,762
Bagi Zoltán is a glorious beacon of lightBagi Zoltán is a glorious beacon of lightBagi Zoltán is a glorious beacon of lightBagi Zoltán is a glorious beacon of lightBagi Zoltán is a glorious beacon of light
Default Re: PHP Script Question. NEWBIE HERE.

Can go give me the URL of the site where the javascript code is already placed?
Thanks
Bagi Zoltán is offline   Reply With Quote
Old 04-28-2008, 07:10 AM   #8
LemonTide
Smurf
 
LemonTide's Avatar
 
Join Date: Apr 2008
Posts: 38
LemonTide is on a distinguished road
Default Re: PHP Script Question. NEWBIE HERE.

PM sent.
LemonTide is offline   Reply With Quote
Old 04-28-2008, 04:10 PM   #9
LemonTide
Smurf
 
LemonTide's Avatar
 
Join Date: Apr 2008
Posts: 38
LemonTide is on a distinguished road
Default Re: PHP Script Question. NEWBIE HERE.

Can anyone help me?
LemonTide is offline   Reply With Quote
Old 05-01-2008, 12:12 PM   #10
Web
Smurf
 
Web's Avatar
 
Join Date: Feb 2007
Posts: 22
Web is on a distinguished road
Default Re: PHP Script Question. NEWBIE HERE.

your overall_footer.tpl looks like a html header to me

what's the url of your forum?
__________________
@Birmingham
Web is offline   Reply With Quote
Old 05-04-2008, 12:32 PM   #11
Bungeebones
Smurf
 
Bungeebones's Avatar
 
Join Date: May 2008
Location: Florida
Posts: 9
Bungeebones is on a distinguished road
Send a message via AIM to Bungeebones
Default Re: PHP Script Question. NEWBIE HERE.

I'm new to the forum and saw the posts. My experience is it takes a lot of hunting usually to find the right places to make changes. Some items come from the data base. Others are in the html templates. And still others get changed in your configuration settings (which end up getting saved in the data base also).
Bungeebones is offline   Reply With Quote
Old 05-05-2008, 04:07 AM   #12
LemonTide
Smurf
 
LemonTide's Avatar
 
Join Date: Apr 2008
Posts: 38
LemonTide is on a distinguished road
Default Re: PHP Script Question. NEWBIE HERE.

Iv figured it out. Thanks for your help everyone.
LemonTide is offline   Reply With Quote
 
This is an Ad Revenue Sharing forum Place your advert here
Webmaster Tools Webmaster Tools Click Here
Reply



Quick Reply
Message:

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Answer on PHP Forum Question. LemonTide General Talk 7 04-21-2008 11:14 PM
Newbie question on adding tools cindy Help and Support 0 01-27-2008 04:04 AM
Will .php Pages Get Indexed? (Newbie Question) Martin81Vette Search Engine Optimization (SEO) 11 08-09-2007 03:01 PM
newbie question sellinggalveston.com Introduce yourself 4 03-26-2007 11:44 AM
Newbie here..... weddinggift Introduce yourself 3 03-15-2007 01:19 AM


All times are GMT. The time now is 08:05 AM.


Powered by vBulletin v3.6.7 © 2008, Jelsoft Enterprises Ltd. SEO by vBSEO © 2006, Crawlability, Inc.