vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Show Thread Enhancements - NYO - Simple Attachments Rules (S.A.R) 3.6.x (https://vborg.vbsupport.ru/showthread.php?t=129668)

Algren_San 10-21-2006 10:00 PM

NYO - Simple Attachments Rules (S.A.R) 3.6.x
 
S.A.R 1.0.0
Install time: 30sec
Template edit: 1
what version can use this Product?: all of the 3.6.x
Can i use it on any other version with product import feature?: yes!

Info:
Hello and thx very much for choosing my first product released on vbulletin.org (dont run away
its well coded) first of all thx to Barakat since he did have the idea, i just ported to a xml
product and make it to be accesible and better from ADMIN CP

This plugin is to Create a custom rules that are displayed on the top of yours attachments (ScreenShot on the files)

*-*-*-*Change Log*-*-*-*
23 November of 2006
1.1.0 Version Released
Version up to 3.6.4 working on 3.5.x 3.6.x
sunday 22 October of 2006

1.0.0 Version Released
option to enable and disable from 'ADMINCP vb options'
you can edit/create as many rules for attachments change the color as you want to match the forum or lets better say you can use HTML on it :) and use it to match your forum style.

*-*-*-*-*-*-*-*-*-*-*-*-*

HOW TO INSTALL

1st. Import the product product-attachmentsrulesnyo.xml to your forum (Go to your AdminCP > Plugins & Products > Manage Products > [Add/Import Product])
2nd. Open the postbit or postbit_legacy template(depends on which one you are using)and

find :
PHP Code:

<!-- attachments --> 

add after :
PHP Code:

                <if condition="$vboptions[attachmentsrulesnyo] == 1">
                               
$vboptions[attachmentsrulesnyo_rules]
                </if> 

Save the template

Done!!!

Thx for using it and please click install Regards Algren_San www.nyonlinegames.com Owner.
ANY recomendation please feel free to tell me.:beard:

Enjoy !!!!

Andre31 10-22-2006 11:22 AM

You`ve forgott the xml. There is no XML, which can I download.

Algren_San 10-22-2006 11:23 AM

Quote:

Originally Posted by Andre31
You`ve forgott the xml. There is no XML, which can I download.

omg xD lol kk sorry

Algren_San 10-22-2006 11:24 AM

there you go its there XD im sorry lol i was exited xD

Andre31 10-22-2006 11:25 AM

No prob.:up:

I?ve installed on my local system (3.6.2) and it works fine. Great Plugin.

Installed

ChavMagnet 10-22-2006 11:56 AM

I reworded this hack cos the way it was presented was very bad english do i get a shout :D:D

Algren_San 10-22-2006 12:01 PM

Quote:

Originally Posted by ChavMagnet
I reworded this hack cos the way it was presented was very bad english do i get a shout :D:D

you are the one who create the rules text etc from admin cp with html i dont see any complications on that...

owww EDIT

you mean Barakat release, yeah i read it :P

ChavMagnet 10-22-2006 12:25 PM

Hehe

Algren_San 10-22-2006 09:44 PM

Quote:

Originally Posted by Andre31
No prob.:up:

I?ve installed on my local system (3.6.2) and it works fine. Great Plugin.

Installed


Thx nice to know that it worked for you :):up:

Barakat 10-23-2006 10:14 PM

Thanks for the product its much better , and u r wellcome

dieselpowered 10-25-2006 09:40 PM

I think it would be beneficial to have the border and alignment match that of the attachment border and alignment. You see how yours is longer to the right and left? How would I go about changing that?

Algren_San 10-25-2006 11:36 PM

Quote:

Originally Posted by Barakat
Thanks for the product its much better , and u r wellcome

glad to know it :)

Algren_San 10-25-2006 11:37 PM

Quote:

Originally Posted by xtremeoff-road
I think it would be beneficial to have the border and alignment match that of the attachment border and alignment. You see how yours is longer to the right and left? How would I go about changing that?

go to

admincp>> vbulletin option >> simple attachments rules >> edit it as you wish, you can use HTML its up to you doing it or not :P

Algren_San 11-23-2006 07:52 AM

Working great also on 3.6.4

Bison 12-30-2006 12:33 AM

I'm surprised I missed this ... very useful hack, my friend! ;)

MrPHD 12-30-2006 10:50 AM

Installed and workin very nice

blind-eddie 12-30-2006 01:01 PM

Reading text in your screenshot raises a question for me. Is there a program, that while uploading attachments to your site ,scans it. Like built in AVG Anti-virus. This would be nice for our domain, as well as anyone who DL it.

OmniBuzz 12-31-2006 06:11 AM

It would be nice if :
- rules could be changed according to the file types attached (differents set of rules for different files attached - as long as they are all from the same "set" family, like pictures, or video, or zip files )
- rules could be changed according to forum ids
- rules could be changed according to users type
- if we could have 3 to 5 differents set of rules
- if people had to "accept" the rules before downloading or vizualizing an attached file
Thanks :)

Algren_San 01-09-2007 12:18 PM

Quote:

Originally Posted by MrPHD (Post 1147457)
Installed and workin very nice

glad to know that

Quote:

Originally Posted by blind-eddie (Post 1147509)
Reading text in your screenshot raises a question for me. Is there a program, that while uploading attachments to your site ,scans it. Like built in AVG Anti-virus. This would be nice for our domain, as well as anyone who DL it.

my friend thats why the plugin is for, it give the ALERT to the users when they are about to download an attachment.
its not scaned based on any a-v. sorry.

Quote:

Originally Posted by OmniBuzz (Post 1147910)
It would be nice if :
- rules could be changed according to the file types attached (differents set of rules for different files attached - as long as they are all from the same "set" family, like pictures, or video, or zip files )
- rules could be changed according to forum ids
- rules could be changed according to users type
- if we could have 3 to 5 differents set of rules
- if people had to "accept" the rules before downloading or vizualizing an attached file
Thanks :)

agree and i will have time in about 3 days and i will start working on a new one taking in consideration your feedback :) thanks

OmniBuzz 01-09-2007 09:04 PM

Thanks a lot, I love this mod :)

blind-eddie 01-10-2007 12:44 AM

Thanks for the info, will install after your update.

taydu 01-21-2007 03:23 AM

Quote:

Originally Posted by xtremeoff-road (Post 1104362)
I think it would be beneficial to have the border and alignment match that of the attachment border and alignment. You see how yours is longer to the right and left? How would I go about changing that?

Find

Code:

<div style="padding:$stylevar[cellpadding]px">
Below add

Code:

<if condition="$vboptions[attachmentsrulesnyo] == 1">
                              $vboptions[attachmentsrulesnyo_rules]
                </if>


oldfan 02-12-2007 01:25 AM

awesome!

rjmjr69 03-28-2007 05:33 PM

no update huh?

OmniBuzz 03-28-2007 10:38 PM

Quote:

Originally Posted by Algren_San (Post 1154519)
agree and i will have time in about 3 days and i will start working on a new one taking in consideration your feedback :) thanks

Are you caught into a time loop ?
:D

puertoblack2003 07-30-2008 10:13 PM

works well for 3.7.2:up:

oldfan 06-18-2011 01:54 AM

work on 4.XX?


All times are GMT. The time now is 06:06 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.01147 seconds
  • Memory Usage 1,778KB
  • 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
  • (2)bbcode_php_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (27)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