MyBB Community Forums

Full Version: HOw To [add Web Counter]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hy I'm New Here An don't Know Where to Add my counter code..
I Want to Show it On all Pages even on redirection page (is This possible?)
I want My Counter To be in center Or With "myBB Copyright"
----------------------------
my 2nd. Problem: Please can somebudy tell me What Code And Where to Insert my ADS Codes To Show my ADS on the "redirection" page ??

Thanx in Advence To Everyone !
Most code goes into the template system in the ACP (Admin Control Panel).
I'm not sure if the "footer" template is shown on all pages, but you can try it.
You can change the redirect code in "Redirect Templates"
You would first add the counter in the footer template, which is in:

Admin CP -> Templates -> Modify / Delete -> *Template Name* -> Expand

To add it at the center of the bottom of the page, above the bottom menu, add this right below the <br /> at the top:

<div align="center">[b]**Counter Code**[/b]</div><br />
However, this will not make it show up on the redirection page. If you want to have it show up on the redirection page in addition to all other pages, do what I just told you to do, and then go here in the Admin CP:
Admin CP -> Templates -> Modify / Delete -> *Template Name* -> Expand -> Redirect Templates (in bold) -> redirect

Right below the </table> near the bottom, add this code:

[b]**Counter Code**[/b]<br />
That should make it show up on all pages, including the redirection pages. Obviously, replace **Counter Code** with the code of the counter you are adding Wink

Now for your second problem. If you want to add the ads on the redirection page, where on the page? Above the "Thank You," box, or below the "Thank You," box?

Hope this helps!
- Belloman

Edit: laie_techie beat me... oh well, I hope mine helps as well Smile
Belloman Wrote:Now for your second problem. If you want to add the ads on the redirection page, where on the page? Above the "Thank You," box, or below the "Thank You," box?

Hope this helps!
- Belloman

I Want To Insert an ADS code Right on the "Thank you " Box !

Thanx to all 4 help HELP !! (my first "Problem") SOLVED !
well as Belloman mentioned and as i understand you need to add advertisments above and below the redirection message, in the redirection page!.

go to Admin CP > Templates > Modify / Delete > Expand > Redirect Templates > redirect
find
<body> <br />

Add this code below it
<div align="center"><a href="http://techex.techindo.com"><img src="http://techex.techindo.com/images/logo2.jpg" border="0"></a>
</div>

And find

 </body> 


and add the same code just Above it.

Edit it to your correspondence images and links.

Many regards