Log in

View Full Version : Pop Attach beta 3.5.x


Q-v-n-s-Q
12-18-2006, 10:00 PM
Pop Attach beta


this is beta version only!!

i was in a hurry so ima share it fist!!!

i will update latter

Enjoy

open dl.php

replace : http://www.sitename.com/ to your site url

upload dl.php to /forumroot

replace : postbit_attachment

with:

<script language="javascript">
<!--
var openwin;
function popupwin(url,myname,w,h,s)
{
settings='height='+h+',width='+w+',scrollbars='+s+ ',toolbar=no,location=no,status=no,menubar=no,resi zable=no,dependent=no'
openwin=window.open(url,myname,settings);
}// -->
</script>
<tr>
<td><img class="inlineimg" src="$stylevar[imgdir_attach]/$attachment[attachmentextension].gif" alt="<phrase 1="$attachment[attachmentextension]">$vbphrase[file_type_x]</phrase>" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td><a href="#" onClick="popupwin('dl.php?attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&amp;d=$attachment[dateline] ','Loading','400','400','no');">$attachment[filename]</a> ($attachment[filesize], <phrase 1="$attachment[counter]">$vbphrase[x_views]</phrase>)</td>
</tr>

done!!!

example: http://www.gamerzarea.com/forums/php/1294-pop-attachment-vb3-5-x.html

Hornstar
12-19-2006, 11:36 PM
Is this for attachments? so when you go to download them, they pop up instead. because was not sure what I was looking for at your site Ricky.

Ntfu2
12-19-2006, 11:44 PM
Just someone releasng some code to get people to put his adsense/yahoo code on their sites to make him money. Funny how they always forget to mention to edit their adsesne/ypn account out and insert their own.


Anyone who installs this, should also edit on dl.php

<script language="JavaScript" type="text/javascript">
<!--
ctxt_ad_partner = "1376584775";
ctxt_ad_section = "";
ctxt_ad_bg = "";
ctxt_ad_width = 300;
ctxt_ad_height = 250;
ctxt_ad_bc = "FFFFFF";
ctxt_ad_cc = "FFFFFF";
ctxt_ad_lc = "0000FF";
ctxt_ad_tc = "000000";
ctxt_ad_uc = "999999";
// -->
</script>
<script language="JavaScript" src="http://ypn-js.overture.com/partner/js/ypn.js">
</script>


To match their own. BTW i installed this on my adult site, and forgot to remove that, you should be banned shortly. Thanks

Q-v-n-s-Q
12-20-2006, 06:03 AM
Just someone releasng some code to get people to put his adsense/yahoo code on their sites to make him money. Funny how they always forget to mention to edit their adsesne/ypn account out and insert their own.


Anyone who installs this, should also edit on dl.php

To match their own. BTW i installed this on my adult site, and forgot to remove that, you should be banned shortly. Thanks


i did remove it, because there 2 copy of dl.php so i was edit the wrong one


thanks for notice me that