RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AJAX upload progress bar

File sharing script

File mirror script

Newsletter script
banners down the side of images

 
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro
View previous topic :: View next topic  
Author Message
Jesse202



Joined: 07 May 2010
Posts: 150

PostPosted: Nov 09, 2010 4:41 pm    Post subject: banners down the side of images Reply with quote

Looking to add banners down the side of the images on the download page. there was a old thread on how to do this, but the code needed to be modified dows not exist in the new version. does anyone know how to do this?
Back to top
View user's profile Send private message
PowerChaos



Joined: 19 Dec 2009
Posts: 440
Location: belguim

PostPosted: Nov 11, 2010 11:57 pm    Post subject: Reply with quote

what you exacly mean

the download site is download1.html (where the downloads goes to )

just use this code on the place you like to post ads on

Code:

<TMPL_IF ads>
your ads in here , will only show to usergroup who need to see ads
</TMPL_IF>


just place it on the position you like to have it , in my case it is just in main.html so it shows on all pages

Greetings From PowerChaos
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Jesse202



Joined: 07 May 2010
Posts: 150

PostPosted: Nov 12, 2010 5:54 am    Post subject: Reply with quote

I mean so there are banners on the left and right of the image. Setup like below:

I have a banner here
Banner image banner
I have a banner here

Just on the download1 page
Back to top
View user's profile Send private message
PowerChaos



Joined: 19 Dec 2009
Posts: 440
Location: belguim

PostPosted: Nov 12, 2010 10:35 am    Post subject: Reply with quote

well , i can say that you can try this code
but not sure if it works , just mess a bit around with this

first of all you need to use tabels ( i am bad at that thing )

Code:

<TMPL_IF image_url>
<TMPL_IF ads>
<table>
<tr><td>AD CODE HERE</td>
<td><p><img src="<TMPL_VAR image_url>" class="pic" alt="<TMPL_VAR file_name>" onLoad="scaleImg(this)" style="-ms-interpolation-mode:bicubic" GALLERYIMG="no"></p></td>
<td>AD CODE HERE</td></tr>
</table>


</TMPL_IF>
<TMPL_UNLESS ads>
<p><img src="<TMPL_VAR image_url>" class="pic" alt="<TMPL_VAR file_name>" onLoad="scaleImg(this)" style="-ms-interpolation-mode:bicubic" GALLERYIMG="no"></p>
</TMPL_UNLESS>
</TMPL_IF>

as you notice , if ads ( ads need to show) then it takes above code , unless ads does not need to show then it takes the code below

hopely it works for you and can you start a little messing around with it to fix to your needs

if you need the example you provided ( 1 top , 3 middle , 1 bothom)
then please use this in place of the above table code

Code:

<table>
<tr><td colspan=3 align=center width=1000px>Banner</td></tr>
<tr><td width=120px>ADS</td><td width=860px>IMAGE</td><td width=120px>ADS</td></tr>
<tr><td colspan=3>BANNER</td></tr>
</table>


hopely this can help you a lot more

Greetings From PowerChaos
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Jesse202



Joined: 07 May 2010
Posts: 150

PostPosted: Nov 12, 2010 8:19 pm    Post subject: Reply with quote

Thanks. I'll play around with it a little later. Also, it's two ads in the middle and one on the top.

Ad above the image, ad to the left of the image, ad to the right of the image and ad on the bottom.
Back to top
View user's profile Send private message
Jesse202



Joined: 07 May 2010
Posts: 150

PostPosted: Nov 15, 2010 4:12 pm    Post subject: Reply with quote

Cannot believe I didn't think of this myself lol such commonsense. Anyway, I do not have an option of no ads, so I just added simple tables:

Code:


<TMPL_IF image_url>
<table>
<tr><td>ADSPACE CODE</td>
<td><p><img src="<TMPL_VAR image_url>" class="pic" alt="<TMPL_VAR file_name>" onLoad="scaleImg(this)" style="-ms-interpolation-mode:bicubic" GALLERYIMG="no"></p>
</td>
<td>ADSPACE CODE</td></tr>
</table>
</TMPL_IF>
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2005 phpBB Group