Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
Members Can't Download Attachments Before Reply Details »»
Members Can't Download Attachments Before Reply
Version: 1.1, by MARCO1 MARCO1 is offline
Developer Last Online: Jan 2022 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.8.x Rating:
Released: 01-29-2009 Last Update: Never Installs: 87
Auto-Templates
Code Changes  
No support by the author.

Members Can't Download Attachments

Members can't download Attachments Before Reply .

Versions :
vB 3.8.x

Install :

Import The Product From Your Admincp
Open Read Me file In attachments For File Changes

If You Use This modification click INSTALL

Download Now

File Type: zip Can't See Attach - EN 3.8.X.zip (41.6 KB, 780 views)

Screenshots

File Type: jpg 1.jpg (32.6 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 02-09-2009, 12:28 AM
Nadeemjp Nadeemjp is offline
 
Join Date: Aug 2008
Location: Japan
Posts: 601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great hack
and yes i am with the popular opinion for the thanks button and reply button

installed
Reply With Quote
  #23  
Old 02-09-2009, 08:15 AM
MARCO1's Avatar
MARCO1 MARCO1 is offline
 
Join Date: Jun 2008
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes i develop the coding to work with post thanks
Reply With Quote
  #24  
Old 02-09-2009, 03:44 PM
Tianuc Tianuc is offline
 
Join Date: Dec 2007
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1 - Hit thanks button Very, very good!
Thank you!
Reply With Quote
  #25  
Old 02-09-2009, 11:45 PM
MARCO1's Avatar
MARCO1 MARCO1 is offline
 
Join Date: Jun 2008
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tianuc View Post
1 - Hit thanks button Very, very good!
Thank you!
Yes i think this will be Very Good
Reply With Quote
  #26  
Old 02-12-2009, 06:16 AM
DPtheGod's Avatar
DPtheGod DPtheGod is offline
 
Join Date: May 2007
Location: Everett, WA
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome hack, man! I give you props! I am going to install it tonight when I get home.
Reply With Quote
  #27  
Old 02-12-2009, 04:48 PM
MARCO1's Avatar
MARCO1 MARCO1 is offline
 
Join Date: Jun 2008
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DPtheGod View Post
Awesome hack, man! I give you props! I am going to install it tonight when I get home.
Good , i waiting your feedback
Reply With Quote
  #28  
Old 02-21-2009, 09:21 AM
Tianuc Tianuc is offline
 
Join Date: Dec 2007
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looking forward to the new version.
Reply With Quote
  #29  
Old 03-06-2009, 08:20 PM
nrms?'s Avatar
nrms? nrms? is offline
 
Join Date: Dec 2008
Location: Portugal
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@MARCO1 one more suggestion "integrate download links with changes options in CP Adm"...

Are you prognostics for one update this mod...?

Nice work...:up:
Reply With Quote
  #30  
Old 03-08-2009, 01:10 AM
cooltechie cooltechie is offline
 
Join Date: Apr 2004
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good idea. I can't wait to try it but will wait for updated version that includes thanks button. I clicked on install.
Reply With Quote
  #31  
Old 03-15-2009, 10:22 AM
Powlo Powlo is offline
 
Join Date: Feb 2008
Location: Sunderland UK
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MARCO1 View Post
NEW UPDATE


YES lasto !

in your attachment.php

search for

PHP Code:
   if ( !$vbulletin->db->query_first "SELECT postid FROM " TABLE_PREFIX "post WHERE userid='".$vbulletin->userinfo[userid]."'  AND threadid=$threadinfo[threadid]) ) : 
and in ( post WHERE userid='" )
write your usergroup this will be have permission to see attachments without reply the thread

example :
PHP Code:
post WHERE userid='2,3,4,5,6" 


This didnt work for me, i got an error..

Code:
Database error in vBulletin 3.8.0:

Invalid SQL:
SELECT postid FROM post WHERE userid=61'  AND threadid=6836;

MySQL Error   : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''  AND threadid=6836' at line 1
Error Number  : 1064
Request Date  : Sunday, March 15th 2009 @ 11:18:54 AM
Error Date    : Sunday, March 15th 2009 @ 11:18:55 AM
Script        : http://www.******.com/forum/attachment.php?attachmentid=5100&d=1237062483
Referrer      : http://www.*******.com/forum/showthread.php?t=6836
IP Address    : **.**.**.**
Username      : ******
Classname     : vB_Database
MySQL Version : 5.0.45
This is what i changed..

PHP Code:
   if ( !$vbulletin->db->query_first "SELECT postid FROM " TABLE_PREFIX "post WHERE userid=6".$vbulletin->userinfo[userid]."'  AND threadid=$threadinfo[threadid]) ) :   
                        eval(
'print_output("' fetch_template('MARCO1 Cant See Attach') . '");');   
                endif ; 

any ideas?
Reply With Quote
Reply

Thread Tools

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 04:33 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04751 seconds
  • Memory Usage 2,336KB
  • Queries Executed 27 (?)
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)bbcode_code
  • (3)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete