The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

adding script to the homepage footer?

5 posters

Go down

adding script to the homepage footer? Empty adding script to the homepage footer?

Post by shamzblueworld August 12th 2009, 5:57 am

ok here is a problem, i joined infolinks to advertise in my forum, they gave me a script to paste in my homepage footer through html. now i need to know how to do this? so please any expert explain to me how to do this..
shamzblueworld
shamzblueworld
Forumember

Male Posts : 568
Reputation : 0
Language : English,urdu,hindi,arabic, basic html, css... will learn xml,javascript and jscript
Location : Pakistan

http://www.funstopforum.net

Back to top Go down

adding script to the homepage footer? Empty Re: adding script to the homepage footer?

Post by sweet_potato August 12th 2009, 7:12 am

Hello adding html page is possible for ur homepage but for ur forum there's many way..

Give me ur page source for ur homepage so i can help ..

Smile
sweet_potato
sweet_potato
Forumember

Female Posts : 359
Reputation : 0
Language : english
Location : Philippines

http://www.dcboard.tk/

Back to top Go down

adding script to the homepage footer? Empty Re: adding script to the homepage footer?

Post by shamzblueworld August 12th 2009, 9:14 am

shamzblueworld
shamzblueworld
Forumember

Male Posts : 568
Reputation : 0
Language : English,urdu,hindi,arabic, basic html, css... will learn xml,javascript and jscript
Location : Pakistan

http://www.funstopforum.net

Back to top Go down

adding script to the homepage footer? Empty Re: adding script to the homepage footer?

Post by ankillien August 12th 2009, 9:52 am

Hello,

To add script to forum footer, you can go to Admin CP > Display > 'General' under 'Templates' > overall_footer...

Notice this part in the script...

Code:
<!-- close div id=&quot;page-body&quot; -->
         <div id="page-footer">
            <div align="center">
<div class="gen">

You can add your script right after that. Don't forget to hit the 'Publish' (+) button to make changes work.
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

adding script to the homepage footer? Empty Re: adding script to the homepage footer?

Post by kirk August 12th 2009, 10:20 am

also remember you can only do this on phppb2 and punnbb versions.
kirk
kirk
Forumaster

Male Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

adding script to the homepage footer? Empty Re: adding script to the homepage footer?

Post by shamzblueworld August 12th 2009, 2:10 pm

so its homepages footer right?
cuz i have pasted the script there but no change appears....
well lets see, i think they said that in two days the ads will apear there, we ll see
shamzblueworld
shamzblueworld
Forumember

Male Posts : 568
Reputation : 0
Language : English,urdu,hindi,arabic, basic html, css... will learn xml,javascript and jscript
Location : Pakistan

http://www.funstopforum.net

Back to top Go down

adding script to the homepage footer? Empty Re: adding script to the homepage footer?

Post by kirk August 12th 2009, 8:09 pm

shamzblueworld wrote:so its homepages footer right?
cuz i have pasted the script there but no change appears....
well lets see, i think they said that in two days the ads will apear there, we ll see

whats the code. it should not take two days it should show right away.
and where did you place it? you most likely would want it in overall_footer= top of the page
kirk
kirk
Forumaster

Male Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

adding script to the homepage footer? Empty Re: adding script to the homepage footer?

Post by shamzblueworld August 13th 2009, 1:41 am

<script type="text/javascript">var infolink_pid = 32028;</script>
<script type="text/javascript" src="http://resources.infolinks.com/js/infolinks_main.js"></script>

thats the script i have added in the overall footer.
btw its working now, i think its for just ading hyperlinks to some words/text
cuz thats what happening there.
www.funstop.tk
check it out
shamzblueworld
shamzblueworld
Forumember

Male Posts : 568
Reputation : 0
Language : English,urdu,hindi,arabic, basic html, css... will learn xml,javascript and jscript
Location : Pakistan

http://www.funstopforum.net

Back to top Go down

adding script to the homepage footer? Empty Re: adding script to the homepage footer?

Post by kirk August 13th 2009, 3:39 am

shamzblueworld wrote:<script type="text/javascript">var infolink_pid = 32028;</script>
<script type="text/javascript" src="http://resources.infolinks.com/js/infolinks_main.js"></script>

thats the script i have added in the overall footer.
btw its working now, i think its for just ading hyperlinks to some words/text
cuz thats what happening there.
www.funstop.tk
check it out

wow that's flipped out. i dint see it on your forum at first. the i tried it on my test forum. dint see nothing. and then i certain text in my scroll message that was coming up..
cool that's a new one to me. i had the code in the homepage message and it worked.
so you could place it there too if you wanted.
kirk
kirk
Forumaster

Male Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

adding script to the homepage footer? Empty Re: adding script to the homepage footer?

Post by shamzblueworld August 13th 2009, 3:53 am

yes, i can place it anywhere i want.
shamzblueworld
shamzblueworld
Forumember

Male Posts : 568
Reputation : 0
Language : English,urdu,hindi,arabic, basic html, css... will learn xml,javascript and jscript
Location : Pakistan

http://www.funstopforum.net

Back to top Go down

adding script to the homepage footer? Empty Re: adding script to the homepage footer?

Post by crevo August 23rd 2009, 9:31 pm

ankillien wrote:Hello,

To add script to forum footer, you can go to Admin CP > Display > 'General' under 'Templates' > overall_footer...

Notice this part in the script...

Code:
<!-- close div id=&quot;page-body&quot; -->
         <div id="page-footer">
            <div align="center">
<div class="gen">

You can add your script right after that. Don't forget to hit the 'Publish' (+) button to make changes work.

I tried to do this but the code that show there does not appear anywhere on my overall_footer script.
avatar
crevo
New Member

Posts : 3
Reputation : 0
Language : English

Back to top Go down

adding script to the homepage footer? Empty Re: adding script to the homepage footer?

Post by ankillien August 24th 2009, 4:09 am

After you save your changes in template you must hit the '+' button to publish it and make the changes work.
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum