vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Google Adsese Serc & Miva Express Banner+search (https://vborg.vbsupport.ru/showthread.php?t=118940)

Zia 06-18-2006 08:43 AM

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
http://img141.imageshack.us/img141/7465/search2ji.jpg

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

MadKad 06-26-2006 09:01 AM

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' ?

Zia 06-26-2006 09:25 AM

:) 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

MadKad 06-26-2006 09:51 AM

Well yer I will try but you need to answer that question :D

Zia 06-26-2006 10:16 AM

got it..1 moments...
answering u

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

O_O

MadKad 06-26-2006 11:49 AM

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


All times are GMT. The time now is 04:59 PM.

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.00947 seconds
  • Memory Usage 1,743KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete