Uutiset:

Wondering if this will always be free?  See why free is better.

Main Menu
Advertisement:

banner on left side of forum

Aloittaja sadiqbaig, tammikuu 21, 2006, 03:26:23 IP

« edellinen - seuraava »

sadiqbaig

plz help

i want to have tower banner on left handside

of forum

plz post the code in here

JayBachatero

Ok do this to BoardIndex.template.php

Koodi (find) [Valitse]
function template_main()
{
global $context, $settings, $options, $txt, $scripturl, $modSettings;


Koodi (replace) [Valitse]

function template_main()
{
global $context, $settings, $options, $txt, $scripturl, $modSettings;

// Show some statistics next to the link tree if SP1 info is off.
echo '<table width="100%" border="0" cellspacing="5" cellpadding="0">
<tr>
            <td valign="top">
BANNER STUFF HERE
            </td>
            <td valign="top">


You will find this towards the end
Koodi (find) [Valitse]

echo '
</table></div>';


Koodi (replace) [Valitse]

echo '
</table></div></td></tr></table>';


-JayBachatero
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

sadiqbaig

#2
tanx a lot but i m getting parse error

but i removed sum tags n now it works but c the output

http://waplinks3.com/wapforum/index.php?theme=7


if atleast u could download this index.template file

http://joomla.medspan.info/joomla-downloads/func,fileinfo/id,12/

coz i m getting error wen downloading

plz plz

n paste the code in here

i want to have same ad banners on left like

that site

sadiqbaig

#3
c wat i mean

http://waplinks3.com/wapforum/index.php?theme=7


this is wat i have added to board template



function template_main()
{
global $context, $settings, $options, $txt, $scripturl, $modSettings;

// Show some statistics next to the link tree if SP1 info is off.
echo '<table width="100%" border="0" cellspacing="5" cellpadding="0">
<tr>
            <td valign="top">
<script type="text/javascript"><!--
google_ad_client = "pub-7787046119435229";
google_ad_width = 120;
google_ad_height = 600;
google_ad_format = "120x600_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
            </td>
   
<td valign="bottom">', theme_linktree(), '</td>
<td align="right">';
if (!$settings['show_sp1_info'])


JayBachatero

Can you please send me the unmodified file for that theme to [email protected].

-JayBachatero
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

JayBachatero

Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

sadiqbaig


i m using opera n firefox

so i m having problem downloding this file

plz can u upload zip file not php file

plz

i tried more than 10 times

JayBachatero

Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

sadiqbaig


tanx a lot

i owe u n SmF Groupa lot

if  only i could b able to help url in neways ;) :)

btw i downloaded zip file using firefox

if i want the same banner ad underneath that add

i tried this

echo'
<br>';


but no use

neways check mysite

http://learnwap.com

again tanx a lot

sadiqbaig


if i want it in all pages

the left banner ad

i have to add it in index.template page

the same code

isnt it ?

JayBachatero

Lainaus käyttäjältä: sadiqbaig - tammikuu 24, 2006, 02:37:03 AP
if i want the same banner ad underneath that add
i tried this

echo'
<br>';


but no use
neways check mysite
http://learnwap.com

User that then add the banner code again.

Lainaus käyttäjältä: sadiqbaig - tammikuu 24, 2006, 02:39:56 AP
if i want it in all pages
the left banner a
i have to add it in index.template page
the same code
isnt it ?
Yes you will have to edit index.template.php

PS You're welcome.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

sadiqbaig


i tried this


echo'
<br>';
echo '<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
            <td valign="top">
                <script type="text/javascript"><!--
                google_ad_client = "pub-7787046119435229";
                google_ad_width = 120;
                google_ad_height = 600;
                google_ad_format = "120x600_as";
                google_ad_type = "text_image";
                google_ad_channel ="";
                //--></script>
                <script type="text/javascript"
                  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
                </script>
            </td>
            <td valign="top">';



but it doesnt display ad underneath

but displays next to left ad banner

JayBachatero

Add this after the </script> of the old one.

<br />
                <script type="text/javascript"><!--
                google_ad_client = "pub-7787046119435229";
                google_ad_width = 120;
                google_ad_height = 600;
                google_ad_format = "120x600_as";
                google_ad_type = "text_image";
                google_ad_channel ="";
                //--></script>
                <script type="text/javascript"
                  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
                </script>
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert


JayBachatero

You're welcome.  Glad to hear you got it to look how you wanted it.

-JayBachatero
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

sadiqbaig


sorry 4asking again

but can u plz tell me ne gud paid software

which allows me 2do it without knowing xhtml

i want the ad user info key stats , google tower ad

HOME  link , n smf search

in index.template page

but i cant find function template_main()

also i tried searching for integrating

smf search like this site smf search

which is that topic

ne1 plz if u know post it

i ave read ssi

but than i will have 2add all graphics etc......

JayBachatero

You need to edit the coresponding template files.  Each file has it's own function that you need to edit.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

sadiqbaig


oh tanx

just leave all the part i said earlier

i just want to have tower banner on left

in index.template.php

sorry for same ?

just post the code

where i ave 2put it in index

Advertisement: