Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-18-2006, 08:43 AM
Zia's Avatar
Zia Zia is offline
 
Join Date: Dec 2005
Location: golpo.net
Posts: 931
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Google Adsese Serc & Miva Express Banner+search

Hello...
we are well concern abut google add-sense

can any one made a mod..
for handling both banner for Adsense & Miva express? (for publisher)

Like : adsense & Miva express after last post.[clean]
Adsense & miva last thread on seacr result.

Search : google & miva search in drop down forum search. and like the image


Oh..
code needed for mivaexpress..its the basic code generating from the publishers account

Code:
<style>
.searchBox {
  border : 1px solid #000000;
  background-color : #FFFFFF;
  color : #000000;
  font-size : 13px;
  font-family :  Verdana, Arial, Helvetica, sans-serif;
  font-weight: bold;
}

.searchButton {
  border : 1px solid #000000;
  font-size : 13px;
  font-family :  Verdana, Arial, Helvetica, sans-serif;
  font-weight: bold;
}

</style>

<!-- SEARCH BOX BEGIN -->
<form action='SearchResults.html' style='margin 0px 0px 0px 0px'>
<table border=0 cellpadding=0 cellspacing=0  rules="none">
 <tr>
  <td><input type='text' name='keyword' size='25' class='searchBox'></td>

  <td>+</td>
  <td><input type='Submit' name='Search' value='Search' class='searchButton'></td>

 </tr>
</table>
</form>
<!-- SEARCH BOX END -->

Basic code for "Dynamic Content"
Code:
<TABLE BGCOLOR=#888888 WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=1><TR VALIGN=TOP><TD><TABLE BGCOLOR=white BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%><TR VALIGN=TOP><TD BGCOLOR=#888888><TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 width=100%><TR><TD WIDTH=2>+</TD><TD ALIGN=LEFT WIDTH=100%><FONT FACE=Helvetica SIZE=-1 COLOR=white><B><font color='white'>MivaExpress</font></B></FONT></TD></TR></TABLE></TD></TR><TR VALIGN=TOP><TD>
<script>
listings = new Array ();
</script>
<script src="http://arx.us.miva.com/rd/feed/JavaScriptFeed.jsp?cat=Bangladesh%2Cbangaly%2Chumor%2Cgossip%2Cgaming%2Cmusic&trackID=U5310110603&pID=204657&nl=5&excID="></script>
<script>
if (listings != null && listings.length > 0) {
document.write("<table border=0 cellpadding=0 cellspacing=0 width=100%>");
document.write("<tr><td colspan=3><img src='http://arx.us.miva.com/Images/pixel.gif' height=4></td></tr>");
document.write("<tr>");
document.write("<td><img src='http://arx.us.miva.com/Images/pixel.gif' width=4></td>");

document.write("<td width='100%'>");
for (i = 0; i < listings.length; i++) {
var title = listings[i].title;
if (listings[i].title.length > 150)
title = listings[i].title.substring(0, 150) + "...";

document.write("<a href='" + listings[i].uri +"'><font face='verdana,sans-serif' size='1'><b>" + title + "</b></font></a><br>");


var desc = listings[i].description;
if (listings[i].description.length > 550)
desc = listings[i].description.substring(0, 550) + "...";
document.write("<font face='verdana,sans-serif' size='1'>+" + desc + "</font><br>");




if (i < listings.length-1)
document.write("<br>");
}
document.write("</td>");
document.write("<td><img src='http://arx.us.miva.com/Images/pixel.gif' width=1 height=1></td>");
document.write("</tr>");
document.write("<tr><td colspan=3><img src='http://arx.us.miva.com/Images/pixel.gif' height=4></td></tr>");
document.write("</table>");
}
</script>
</TD></TR></TABLE></TD></TR></TABLE>

--------------
Hope some one will help us out
Reply With Quote
  #2  
Old 06-26-2006, 09:01 AM
MadKad's Avatar
MadKad MadKad is offline
 
Join Date: Mar 2006
Location: UK
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I take it that this code

Code:
<TABLE BGCOLOR=#888888 WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=1><TR VALIGN=TOP><TD><TABLE BGCOLOR=white BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%><TR VALIGN=TOP><TD BGCOLOR=#888888><TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 width=100%><TR><TD WIDTH=2>+</TD><TD ALIGN=LEFT WIDTH=100%><FONT FACE=Helvetica SIZE=-1 COLOR=white><B><font color='white'>MivaExpress</font></B></FONT></TD></TR></TABLE></TD></TR><TR VALIGN=TOP><TD>
<script>
listings = new Array ();
</script>
<script src="http://arx.us.miva.com/rd/feed/JavaScriptFeed.jsp?cat=Bangladesh%2Cbangaly%2Chumor%2Cgossip%2Cgaming%2Cmusic&trackID=U5310110603&pID=204657&nl=5&excID="></script>
<script>
if (listings != null && listings.length > 0) {
document.write("<table border=0 cellpadding=0 cellspacing=0 width=100%>");
document.write("<tr><td colspan=3><img src='http://arx.us.miva.com/Images/pixel.gif' height=4></td></tr>");
document.write("<tr>");
document.write("<td><img src='http://arx.us.miva.com/Images/pixel.gif' width=4></td>");

document.write("<td width='100%'>");
for (i = 0; i < listings.length; i++) {
var title = listings[i].title;
if (listings[i].title.length > 150)
title = listings[i].title.substring(0, 150) + "...";

document.write("<a href='" + listings[i].uri +"'><font face='verdana,sans-serif' size='1'><b>" + title + "</b></font></a><br>");


var desc = listings[i].description;
if (listings[i].description.length > 550)
desc = listings[i].description.substring(0, 550) + "...";
document.write("<font face='verdana,sans-serif' size='1'>+" + desc + "</font><br>");




if (i < listings.length-1)
document.write("<br>");
}
document.write("</td>");
document.write("<td><img src='http://arx.us.miva.com/Images/pixel.gif' width=1 height=1></td>");
document.write("</tr>");
document.write("<tr><td colspan=3><img src='http://arx.us.miva.com/Images/pixel.gif' height=4></td></tr>");
document.write("</table>");
}
</script>
</TD></TR></TABLE></TD></TR></TABLE>
Goes in the page that the search takes you to? also if this is the case I take it that this page has to have the link name of SearchResults.html or what ever name you add to the action='SearchResults.html' ?
Reply With Quote
  #3  
Old 06-26-2006, 09:25 AM
Zia's Avatar
Zia Zia is offline
 
Join Date: Dec 2005
Location: golpo.net
Posts: 931
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thnx man...
umm do u have idea..to place 2 bannher(adrevenue block) side by side

_____________ _____________
| Banner 1 | | Banner 2 |
|_____________| |_____________|

gez i can explain via the aschi art :P above, it could be the short one for bellow the last thread

thnx
Reply With Quote
  #4  
Old 06-26-2006, 09:51 AM
MadKad's Avatar
MadKad MadKad is offline
 
Join Date: Mar 2006
Location: UK
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well yer I will try but you need to answer that question
Reply With Quote
  #5  
Old 06-26-2006, 10:16 AM
Zia's Avatar
Zia Zia is offline
 
Join Date: Dec 2005
Location: golpo.net
Posts: 931
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

got it..1 moments...
answering u

umm just checked the previews & search result..
it brings htmlsearch.jsp

O_O
Reply With Quote
  #6  
Old 06-26-2006, 11:49 AM
MadKad's Avatar
MadKad MadKad is offline
 
Join Date: Mar 2006
Location: UK
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yer thats ok it answers my question, one more thing isnt it against googles TOS to do something like this as you are adding something that compeats with them, you will need to find out for me brofre I do this
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 09:26 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.03657 seconds
  • Memory Usage 2,222KB
  • 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
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete