vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Pop Attach beta 3.5.x (https://vborg.vbsupport.ru/showthread.php?t=134386)

Q-v-n-s-Q 12-18-2006 10:00 PM

Pop Attach beta 3.5.x
 
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:
Code:


<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,resizable=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...t-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
Code:

<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

Quote:

Originally Posted by Ntfu2 (Post 1141935)
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


All times are GMT. The time now is 05:01 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.01072 seconds
  • Memory Usage 1,724KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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