Go Back   vb.org Archive > Community Central > vBulletin.org Site Feedback
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-07-2004, 07:40 PM
tamarian tamarian is offline
 
Join Date: Oct 2001
Location: Canada
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Question re: hack rules, PHP only

Hi Admins,

I was about to release vBouncer for vB3, but noticed the new rule that hacks must be in PHP?

Quote:
Hacks are PHP code changes, nothing more and nothing less.
The vB2 hack was in both Perl and PHP. However, vB3 now includes the -f mail option in the admin panel, so there are no more PHP changes required, just the Perl script.

So, please let me know if you'd like it released, withheld, or have any suggestions.

TIA
Reply With Quote
  #2  
Old 02-07-2004, 07:48 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tamarian
Hi Admins,

I was about to release vBouncer for vB3, but noticed the new rule that hacks must be in PHP?


The vB2 hack was in both Perl and PHP. However, vB3 now includes the -f mail option in the admin panel, so there are no more PHP changes required, just the Perl script.

So, please let me know if you'd like it released, withheld, or have any suggestions.

TIA
You could release a Perl script I believe, but to tell you the truth, if it's Perl, I wouldn't touch it.
Reply With Quote
  #3  
Old 02-07-2004, 08:17 PM
tamarian tamarian is offline
 
Join Date: Oct 2001
Location: Canada
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Link14716
You could release a Perl script I believe, but to tell you the truth, if it's Perl, I wouldn't touch it.
No one is asking anyone to touch anything This is a simple yes/no question directed to the vBulletin.org administrators or moderators regarding the hack rules posted, with the relavent part in quotes.
Reply With Quote
  #4  
Old 02-07-2004, 08:27 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tamarian
No one is asking anyone to touch anything This is a simple yes/no question directed to the vBulletin.org administrators or moderators regarding the hack rules posted, with the relavent part in quotes.
I was just staing my personal opinion along with an answer that I believe is correct.

The rules announcement leaves a lot to be desired though - besides the fact that there are probably rules that aren't even in there (as was the case with the HTL deal), it seems that it is just a copy of the vB2 announcement with a few things changed. Here's a big dose of contradiction(sp?) right here:
Quote:
As there seems to be some confussion as to what is allowed and what is not I'll clear it up:

* PHP Include hacks/modifications are allowed, and should normally go in the mini-mods forum as they are adding PHP Code.
* Hacks or addons with additional PHP files included or those which make one or more edits to standard vBulletin files.
* Template modifications that add a new level of functionality to vBulletin through the use of conditionals and PHP Include system.
Quote:
Hacks are PHP code changes, nothing more and nothing less. As a rule, remember that if your 'hack' can be done solely from the Admin Control Panel, then it does not qualify as a hack. Furthermore, hacks are not template changes. If you have a cool idea that is based solely on editing templates (excluding PHP Include hacks, which should go in the Mini-Mods section) - should be released on vBulletin Templates.
Reply With Quote
  #5  
Old 02-07-2004, 08:36 PM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
* Template modifications that add a new level of functionality to vBulletin through the use of conditionals and PHP Include system.
i do beleive that's the bit that's wrong
Reply With Quote
  #6  
Old 02-07-2004, 08:54 PM
tamarian tamarian is offline
 
Join Date: Oct 2001
Location: Canada
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Umm, the boucing emails hack has nothing to do with templates or includes. Would be great to find a PHP solution, but I'd really hate to allow apache/php to access any secure files on my servers. Any PHP security suggestions to translate this hack would be welcome though, preferably in another thread.

In the mean time, the final judgement as to what the rules mean belong to those who apply them. I personally think it's fine to release it, but hate to have it deleted after all the writing/editing if the mods think otherwise.
Reply With Quote
  #7  
Old 02-07-2004, 09:09 PM
MindTrix's Avatar
MindTrix MindTrix is offline
 
Join Date: Apr 2002
Location: United Kingdom
Posts: 1,833
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I dont believe it's ok to release it as it does not edit vB in anyway, Or does it?
Reply With Quote
  #8  
Old 02-07-2004, 09:17 PM
tamarian tamarian is offline
 
Join Date: Oct 2001
Location: Canada
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MindTrix
I dont believe it's ok to release it as it does not edit vB in anyway, Or does it?
It used to (vB2 version of the hack) alter vB files, but those edits are now part of vB3, for the sending part. So no PHP edits are required in vB3.

The remaining portion in Perl handles the server mail spool and alters vB members subscriptions to threads if their email is bounced above certain limit, to reduce server loads on large vB's.

And yes, I agree with your interpretation that it's not o.k., but thought I'd confirm from vb.org folks to see if they want it anyway.
Reply With Quote
  #9  
Old 02-07-2004, 09:21 PM
MindTrix's Avatar
MindTrix MindTrix is offline
 
Join Date: Apr 2002
Location: United Kingdom
Posts: 1,833
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well i believe people will find it usefull. However if it does not edit a single vB php file i do not believe it will class as a hack.
Reply With Quote
  #10  
Old 02-07-2004, 10:08 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

from what i see within the old thread, it's a file which has to be uploaded, so it's not doable just from within the ACP, and therfore can be released here.

btw. @Link: do not claim something wrong.
The 'no htl only' rule was there at the moment HTL got released.
The thread was posted within the announcementforum, and a lot of people replied to it.
It's just that we forgot to change the full releases announcement at the same time (we did it a bit later), but there was an announcement before you released your hack!
Reply With Quote
Reply


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 02:43 PM.


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.05054 seconds
  • Memory Usage 2,259KB
  • Queries Executed 11 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (8)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete