Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-08-2011, 08:20 PM
shoer76 shoer76 is offline
 
Join Date: Dec 2008
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Advertisements

Hi,

I'm looking for some help with html for advertising.

I have some banners loaded in my files and I'd like them to show. Can someone give me some basic html that would allow the banners to show in advertisements?

Thanks,
Eric
Reply With Quote
  #2  
Old 03-08-2011, 10:38 PM
your24hourstore your24hourstore is offline
 
Join Date: Feb 2010
Posts: 1,226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is it flash or just pics or html?

HTML Code:
<h3 {background-color:#b0c4de;} <center><a href="http://billstile.com/"><img src="images/ads/tile.gif" border="0" alt="Bill's Tile Service"></a>
<center/><h3/>
just change the pic and alt stuff this is a long banner for forum sideblock

--------------- Added [DATE]1299631214[/DATE] at [TIME]1299631214[/TIME] ---------------

HTML Code:
<center><img src="images/buttons/flags/Arkansas.gif" style="float:center; margin: 5px;" /> 
<img src="images/buttons/flags/Oklahoma.gif" style="float:center; margin: 10px;" /> <img src="images/buttons/flags/Other.gif" style="float:center; margin: 15px;" /><img src="images/buttons/flags/Missouri.gif" style="float:center; margin: 10px;" /> <img src="images/buttons/flags/Kansas.gif" style="float:center; margin: 5px;" /><center/>
--------------- Added [DATE]1299631270[/DATE] at [TIME]1299631270[/TIME] ---------------

might give you some ideas on what you need!
Reply With Quote
  #3  
Old 03-09-2011, 12:15 AM
shoer76 shoer76 is offline
 
Join Date: Dec 2008
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for that.

I guess there's no way for advertisements to rotate randomly besides the rotating banners hack?
Reply With Quote
  #4  
Old 03-09-2011, 01:29 AM
your24hourstore your24hourstore is offline
 
Join Date: Feb 2010
Posts: 1,226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sure there is you just have to do some work to make it happen I think i have can make some html that will rotate banners in there, but the ads them selves can be made to show only to some users or class, while showing other to some other class to if you learn to use advertising , you can make them show different ads to different people

--------------- Added [DATE]1299641540[/DATE] at [TIME]1299641540[/TIME] ---------------

don't you use some code like this in that mod, if so just drop the php script into the images ad directory and use this in the ads html

HTML Code:
images/titleimage/logo.php
Reply With Quote
  #5  
Old 03-09-2011, 11:13 AM
shoer76 shoer76 is offline
 
Join Date: Dec 2008
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi thanks for the help.

I managed to get a banner to show using

Code:
<img src="banners/vibram.jpg"/>
What I would like to do is add about 10 to 20 of them, have them rotate, and have them linked to a website.

Thanks for any further help!
Reply With Quote
  #6  
Old 03-09-2011, 01:01 PM
your24hourstore your24hourstore is offline
 
Join Date: Feb 2010
Posts: 1,226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok so use this hack but change it to show the banners https://vborg.vbsupport.ru/showthrea...ghlight=rotate
"his instructions show to put it in title image but use these directions", note this all loads up your site and uses bandwidth,

HTML Code:
  1) You need to upload the file logo.php to the directory of your banner image images/banners/.
2) Then upload the banners you want to rotate to "images/banners/" directory. (Delete example images from this folder else they will be used by rotation script)
---Images must be of all same size else the page jumps as the images gets taller or shorter.
--- Images can be in jpg, gif and png format.
3) Edit the html in ads to use this path as the pic "images/banners/logo.php".
Code:
<h3 {background-color:#b0c4de;} <center><a href="www.yourwebsite.com"><img src="images/banners/logo.php" border="0"></a>
<center/><h3/>
this code is your ad after you edit it to your site, This should change an ad to a random image on every refresh
Reply With Quote
  #7  
Old 03-09-2011, 03:26 PM
shoer76 shoer76 is offline
 
Join Date: Dec 2008
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry I think I misspoke!

I'm just looking to get a random banner to show each time the page is refreshed. Not actually have the banners rotating.
Reply With Quote
  #8  
Old 03-09-2011, 03:30 PM
your24hourstore your24hourstore is offline
 
Join Date: Feb 2010
Posts: 1,226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

that will do that it will randomly change banners if you set it up the way i described
it will show any banner it wants in banners as long as they are the same size and of the file type gif jpg or png
Reply With Quote
  #9  
Old 03-09-2011, 04:11 PM
shoer76 shoer76 is offline
 
Join Date: Dec 2008
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks got it working.

Only other thing I'm trying to do with it is to have a separate url for each banner. Would that be something difficult to accomplish?

Thanks for your time!
Reply With Quote
  #10  
Old 03-09-2011, 04:19 PM
your24hourstore your24hourstore is offline
 
Join Date: Feb 2010
Posts: 1,226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes not with that setup, you would have to create a directory for each site you want to send it to then set each one up as you did image/banners/ with the logo.php file and all that see it only rotates what in that directory. So the next one would have images/banners2/

Code:
<h3 {background-color:#b0c4de;} <center><a href="www.yourwebsite.com"><img src="images/banners2/logo.php" border="0"></a>
<center/><h3/>
Reply With Quote
Reply


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04225 seconds
  • Memory Usage 2,254KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_code
  • (4)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete