vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin.org Site Feedback (https://vborg.vbsupport.ru/forumdisplay.php?f=7)
-   -   Plugin vs. Code modification (https://vborg.vbsupport.ru/showthread.php?t=91392)

tamarian 06-30-2005 03:12 PM

Plugin vs. Code modification
 
Last time I saw this discussed, it was stated something like this "If there are no code modifications for vbulletin files, then it's a plugin in".

Is this still the case, or has it been changed?

The way things have been moved and shuffled between plugins and code changes forums, it's hard to say what criteria is being applied in moving them.

Dream 06-30-2005 04:16 PM

btw, most of my scripts are upload-only... any chance we get a "upload-only" category

Link14716 06-30-2005 07:11 PM

It seems some of the staff think that if it requires uploading a file, it's a code modification. That doesn't make a whole lot of sense because a code modification, by definition, would have to modify code, and you'd have to upload the plugin .xml in your admin cp anyways.

Honestly, I say it can't be classed as a code modification unless it modifies code, everything else is a plugin or a template mod. Classifying something as a plugin or a template mod is a bit more difficult, but still not hard.

Apparently, the staff are discussing this now. Hopefully, someone uses logic, because there are several plugins that were moved to code mods when they aren't modifying code.

Chris M 06-30-2005 10:25 PM

But technically if they require you to upload files they aren't "plugins" either - The idea of a plugin is you plug it in and it works ;)

Satan

Reeve of shinra 06-30-2005 10:46 PM

But how would you plug it in without uploading it? Obviously if a user can upload the files to thier server, they should be smart enough to upload a file :)

Chris M 06-30-2005 10:48 PM

Quote:

Originally Posted by Reeve of shinra
But how would you plug it in without uploading it? Obviously if a user can upload the files to thier server, they should be smart enough to upload a file :)

Theres a difference between uploading a .xml format plugin through the Admin CP and connecting via FTP to upload a .php file to a specified folder - You don't have to be a genius to use a "Browse, Find, Select, Open, Submit" routine to install a plugin ;)

You may require some intelligence to open up an FTP connection to your site though, although limited, we do have to respect that some users IQs are the cube of 1 ;):p

Satan

Andreas 06-30-2005 11:13 PM

Quote:

we do have to respect that some users IQs are the cube of 1
ROFLOL.
Hmm, I might be too dumb, but I don't use FTP ... for my Server?

Chris M 06-30-2005 11:15 PM

Quote:

Originally Posted by KirbyDE
ROFLOL.
Hmm, I might be too dumb, but I don't use FTP ... for my Server?

What do you use then Kirby? :)

Satan

Andreas 06-30-2005 11:20 PM

Scp?

Chris M 06-30-2005 11:21 PM

Ok :p

I'm not ashamed to admit I use FTP :)

Mostly because I like the ability to be lazy and go "copy", "paste" :p

Satan

Andreas 06-30-2005 11:25 PM

Erm, you are aware of WinSCP?
From the GUI point of View, there is not much of a difference to any FTP Client ...

Chris M 06-30-2005 11:43 PM

I am aware of it yes :)

I just am happy to get along with Windows's standard FTP - Most people hate it but it is extremely simple to use :p

Satan

tamarian 07-01-2005 12:11 AM

Quote:

Originally Posted by hellsatan
But technically if they require you to upload files they aren't "plugins" either - The idea of a plugin is you plug it in and it works ;)

This is not true. Many "plugins" require you to upload an installer file to run, before being able to use the "plugin".

So you have plugins with no uploads, and plugins with uplaods.

We may also need a 3rd category (no code modification), since many of the hacks in "code modification" contain no code modification. Example, vB Survey, you just upload it, run install, then call the new file survey.php from any template..

So it does not use the new vB plugin system, but it does not require code modification either.

As a user, I would saty away from it, since it's listed as a code modification, and I may prefer not to modify my vB code. This would be misleading to members, since it requires no code modification whatsover, neither to vB, or anything else, yet thay are labeled "code modification".

Dream 07-01-2005 12:19 AM

Quote:

Originally Posted by tamarian
Example, vB Survey, you just upload it, run install, then call the new file survey.php from any template..

out of curiosity, does it change the database?

tamarian 07-01-2005 12:24 AM

Quote:

Originally Posted by Dream
out of curiosity, does it change the database?

It does not change vBulletin's tables, but it adds it's own new tables.

Many of the hacks listed under plugins modify vB tables :)

Chris M 07-01-2005 12:38 AM

Quote:

Originally Posted by tamarian
This is not true. Many "plugins" require you to upload an installer file to run, before being able to use the "plugin".

So you have plugins with no uploads, and plugins with uplaods.

We may also need a 3rd category (no code modification), since many of the hacks in "code modification" contain no code modification. Example, vB Survey, you just upload it, run install, then call the new file survey.php from any template..

So it does not use the new vB plugin system, but it does not require code modification either.

As a user, I would saty away from it, since it's listed as a code modification, and I may prefer not to modify my vB code. This would be misleading to members, since it requires no code modification whatsover, neither to vB, or anything else, yet thay are labeled "code modification".

The same can be said for some existing vB3 and vB2 hacks though - They actually modify no existing vBulletin code, but simply use the vBulletin template system and database structure to function :)

I believe a third forum is required though - Plugins, Code Modifications and Forum Extensions...

Technically, since it does not alter vBulletin code, nor "Plug in" directly, it extends the functionality of the forum through using the vBulletin system to power itself and provide functionality ;)

Satan

Dream 07-01-2005 12:43 AM

Quote:

Originally Posted by hellsatan
The same can be said for some existing vB3 and vB2 hacks though - They actually modify no existing vBulletin code, but simply use the vBulletin template system and database structure to function :)

I believe a third forum is required though - Plugins, Code Modifications and Forum Extensions...

Technically, since it does not alter vBulletin code, nor "Plug in" directly, it extends the functionality of the forum through using the vBulletin system to power itself and provide functionality ;)

I dont think mods that change the database would fall in that category though, unless its a new table with a really wierd name that will never be used by vBulletin itself. imo anyway

tamarian 07-01-2005 12:43 AM

Quote:

Originally Posted by hellsatan
The same can be said for some existing vB3 and vB2 hacks though - They actually modify no existing vBulletin code, but simply use the vBulletin template system and database structure to function :)

I believe a third forum is required though - Plugins, Code Modifications and Forum Extensions...

Technically, since it does not alter vBulletin code, nor "Plug in" directly, it extends the functionality of the forum through using the vBulletin system to power itself and provide functionality ;)

Satan

I think we're in agreement here that a 3rd classification is required, and "extensions" does sound good, but also sounds a bit like "plugin" :)

vB2 and vB3 didn't have this issue, since they were classified by functionality (forum home, admin, thread etc)

Paul M 07-01-2005 01:41 AM

It seems very simple to me - if an existing file is edited its a code modification, otherwise it goes in the the plugins section (uploading new files is not editing, it's plugging in new files). Is it really so hard ?

Logikos 07-01-2005 02:13 AM

Quote:

Originally Posted by Paul M
It seems very simple to me - if an existing file is edited its a code modification, otherwise it goes in the the plugins section (uploading new files is not editing, it's plugging in new files). Is it really so hard ?

Paul M Said it. Why is this so misunderstanding. There should be 2 cats. 1. Code Mods. If your hack edits one line or more of the orignal PHP code. Then its a code mod. Otherwise its not. Guess we'll have to wait untill the admins come on....

Reeve of shinra 07-01-2005 02:43 AM

It should be one catagory for version 3.5 hacks and plugins with the typical directly structure of /admin /misc /caldander /forumdisplay etc. -- in the thread list it hsould say whether it alters templates or db or files.

I am begining to see a need for the download database.

Guest190829 07-01-2005 03:01 AM

I completely agree with Paul M, uploading files are not modifying existing code!

Logikos 07-01-2005 03:44 AM

Quote:

Originally Posted by Reeve of shinra
It should be one catagory for version 3.5 hacks and plugins with the typical directly structure of /admin /misc /caldander /forumdisplay etc. -- in the thread list it hsould say whether it alters templates or db or files.

I am begining to see a need for the download database.

Things will change when 3.5.0 Gold is released...

Link14716 07-01-2005 03:51 AM

Quote:

Originally Posted by Paul M
It seems very simple to me - if an existing file is edited its a code modification, otherwise it goes in the the plugins section (uploading new files is not editing, it's plugging in new files). Is it really so hard ?

Apparently it is.

Erwin 07-01-2005 04:03 AM

Staff are discussing this.

My personal view is that we can divide hacks into the following 4 types:

1. Code modifications - modify vB source code - will not be officially supported by Jelsoft and takes longer to upgrade.

2. Plugins - uses hooks, may have additional PHP files, no source code mod.

3. Addons - additional PHP files, no hooks, no source code mods.

4. Template mods

We are basically missing an Addon forum - I am lobbying to have one added for now. When we have the new hack database up and running when we go to 3.5 we will be using tags which means we can mix and match the above. For example, some hacks will have a plugin, an addon and a source code mod. Members will be able to sort between the different types or in combination. But for now, we may need another forum.

tamarian 07-01-2005 04:43 AM

Quote:

Originally Posted by Erwin
1. Code modifications - modify vB source code - will not be officially supported by Jelsoft and takes longer to upgrade.

2. Plugins - uses hooks, may have additional PHP files, no source code mod.

3. Addons - additional PHP files, no hooks, no source code mods.

4. Template mods

But let's not use the name "addon". On vb.org, "addon" has a specific meaning from past usage. It's means the hack is an addon to another major hack. Like the "Add-On Releases" forum under vB3: "Support threads for Hack Add-ons are in here."

Maybe "integrated mods" or a better name...

Dream 07-01-2005 05:02 AM

"standalone scripts"

Chris M 07-01-2005 10:00 AM

Extensions ;)

Satan

twoseven 07-01-2005 03:09 PM

how about: Files that dont require any code modification
that seems short enough :)

Chris M 07-01-2005 03:31 PM

Yes - Addons, Extensions, Standalone Scripts, or Files that don't require any code modification :ermm:

I think the first 3 are more likely :p

Satan

Paul M 07-01-2005 03:42 PM

"extensions" seems logical. :)

Chris M 07-01-2005 06:29 PM

Quote:

Originally Posted by Paul M
"extensions" seems logical. :)

Indeed, as you are extending the functionality of vBulletin ;)

Satan

Regs 07-01-2005 08:05 PM

This place is whacked, I swear... Talk about over-complicating something that should be so simple!

Tell me, how many vB.org staff members does it take to change a light bulb?

:D

tamarian 07-01-2005 10:10 PM

Quote:

Originally Posted by Erwin
We are basically missing an Addon forum - I am lobbying to have one added for now.

Erwin, this sentence was stuck in my mind for a while, as I was wondering who does Erwin have to lobby? I mean the hacks were moved ovenight from plugins to code midification without any word. And now the vb.org admins need to lobby to get it back or add a 3rd category?

I honetly mean no disrespect by asking this, but who is making these dicisions for vb.org? I can understand vb.com would want certain controls for licensing reasons, but other than that, the hack authors here (that would include staff and us non staff equally) should be the ones deciding on what happens with our work..

The recent closed discussion and the insulting idea that "authors may exploit members" and ending the discussion with "this is how it's going to be for now" does further my concerns that mod authors no longer have any say on how their work would be handled, and decisions would be made on their behalf without consultation with them or without even an explanation until the deed is done.

Categoris and classification issues would pale in comparison to having external sources dictate things, (or by some staff) despite what is best for mod authors and mod users, with no consultation, and this new attitude by staff ("this is how it's going to be", "stop talking about it", "what do you need it for?" etc....).

Dream 07-02-2005 05:14 AM

Plug-ins
if (ONLY plug-ins || ONLY(plug-ins && template mods))
  • Plug-n-Play - if (ONLY plug-ins)
Code Mods
if (php code modifications)

Extensions
if (ONLY upload files || ONLY(upload files && (template mods || plug-ins))
  • AdminCP Extensions made by Dream ;)

Xenon 07-03-2005 01:14 PM

Name: Extensions ^^

and to answer your question Tamarian:
The hacks were moved, because of one reason: within the plugin releases just real plugins should be (speak, you can add them just via admincp)
Not every admin of a board has FTP access as well, that's why there are different admin permissions since vb3 as well.

moving extra files into the modification forum is just the way it was before 3.5
additional files have been in the code modification forums as well, noone complaint.

Of course it's a bit messy right now, but you should all realize, that vb3.5 is still in BETA.
during vb3 we didn't even allow releases of hacks.
We're working on our new Database system, which would make all those discussions here irrelevant, as it will use tags instead of forumseparations. You see we already started to do so when you edit a hack, and have to tick checkboxes. There will be some more in the future.
Because no matter what separation we will do right now, there will always be hybrids: template and plugin, plugin and extension, extension and code mod.....
we cannot create one forum for every single possibility, thats why we are discussion the best intermediate way within the staff, and as the staff is not one person, everyone has a bit different pov about what would be the best way

Chris M 07-03-2005 02:25 PM

Quote:

Originally Posted by Regs
This place is whacked, I swear... Talk about over-complicating something that should be so simple!

Tell me, how many vB.org staff members does it take to change a light bulb?

:D

4,945 :)

Purely because you would require that many users online to get a total feedback of one message per second to annoy the actual user trying to change the lightbulb ;)

Btw: w00t - Extensions!:D

Satan

tamarian 07-03-2005 09:16 PM

Quote:

Originally Posted by Xenon
Of course it's a bit messy right now, but you should all realize, that vb3.5 is still in BETA.

Fair enough, even though 3.5 may not go gold for several months.

I guess my comment was about some fundamentals in forum management:

1. Do you guys want vb.org to be suitable to vb.org staff first and foremost, or do you want it to be suitable for vb.org staff, members, developers, style artists, and all hack/mod/plugin/style users.

2. Do you want vb.org to be outstanding in it's offerings and capabilities, or do you want to just meat the minimum needs, nothing beyond what is is absolutely required.

I hope you'd throw this in for a quick check in your meetings.

The majority of vb.org members (all members) run various online communities and are aware of the dynamics of successful online communities. They are your friends, not "the others", and can be very helpful simply by the knowledge and experience they have.

You may gain a lot of insight if you simply announce your plans in advance and seek their input and feedback, they may surprise you by ideas and solution you never thought of, and make things a lot easier for everyone. Not to change things first, and say "that's how it" is later, or "what do you need that for..", or "stop talking about it".. etc..

Erwin 07-03-2005 10:35 PM

I was going to use the term "Uploads" but "Extensions" sound heaps better... let me go change it now...

Erwin 07-03-2005 10:39 PM

Refer to this announcement on the terms to be used:
https://vborg.vbsupport.ru/showthread.php?t=91582

This should standardise it so people know what everyone is talking about. :)


All times are GMT. The time now is 10:38 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.01603 seconds
  • Memory Usage 1,840KB
  • 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
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete