vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin.org Site Feedback (https://vborg.vbsupport.ru/forumdisplay.php?f=7)
-   -   Should products that only perform template edits be in "Add-ons"? (https://vborg.vbsupport.ru/showthread.php?t=158597)

Lea Verou 09-25-2007 07:03 PM

Quote:

Originally Posted by Alfa1 (Post 1346027)
Maybe the terminology is not optimal for the categorization, but the current categorization divides modifications into those with and without manual template edits. I think this is optimal for novice users and those who want to avoid manual edits in relation to the hassle of them when upgrading vb.

That's not correct. There are a lot add-ons that include manual template edits (but do add functionality to the forum, and that's why they are in "Add-ons").

Alfa1 09-26-2007 10:06 AM

Then that doesn't make any sense.

Lea Verou 09-26-2007 01:34 PM

Quote:

Originally Posted by Alfa1 (Post 1347396)
Then that doesn't make any sense.

What doesn't make any sense?

Lizard King 09-26-2007 01:42 PM

Quote:

Originally Posted by Wayne Luke (Post 1346035)
Same... Automatic template edits tend to cause so many problems if you change a style even a little bit. Making manual edits is a lot easier when you have a lot of edits in your templates across the board. From my point of view, they make providing support a lot worse as well, simply because you can't easily get to a default style without disabling functions on a customer's board.

An addition to this automatic template edits use more resource on your server.

Dean C 09-26-2007 02:11 PM

Quote:

Originally Posted by Lizard King (Post 1347511)
An addition to this automatic template edits use more resource on your server.

Not if they are done efficiently. Of course they technically use more resources, but it's such a miniscule amount it barely makes a difference even on large sites :)

Lizard King 09-26-2007 02:36 PM

Quote:

Originally Posted by Dean C (Post 1347526)
Not if they are done efficiently. Of course they technically use more resources, but it's such a miniscule amount it barely makes a difference even on large sites :)

If you have a lot of plugins or products installed on your board it makes difference and imagine if you even donot have enough server resource then disabling these auto template edits may be a saver for you ;)

Dean C 09-26-2007 03:09 PM

Quote:

Originally Posted by Lizard King (Post 1347552)
If you have a lot of plugins or products installed on your board it makes difference and imagine if you even donot have enough server resource then disabling these auto template edits may be a saver for you ;)

It makes absolutely no difference how many plugins or products you have installed if you're dynamically changing the HTML before its output. As long as you do it carefully, and efficiently it barely touches the resources.

TECK 09-26-2007 04:30 PM

Quote:

Originally Posted by Dean C (Post 1347526)
Not if they are done efficiently. Of course they technically use more resources, but it's such a miniscule amount it barely makes a difference even on large sites :)

Dean, are you sure? Let's do a quick test: Emulate on your test server 1000 users that do 5 preg_replace() per second in a timed loop (through an eval() function) and let me know what are the results. :)
Just for your information, using eval() for templates is already bad... now imagine that you stiff your code with the replaces, especially the ones that use regular expressions. Very bad. So for me, this is definitely a no go.

Quote:

Originally Posted by Dean C (Post 1347569)
It makes absolutely no difference how many plugins or products you have installed if you're dynamically changing the HTML before its output. As long as you do it carefully, and efficiently it barely touches the resources.

Let's put it this way: most vBulletin developers hate to use the plugins, for one simple reason: performance. The more code you add through plugins, the worst your board will run. This is not about writing judicious code, is about pure and simple math. More is worst on a busy server environment. So ya... adding more plugins will ruin your board performance.

We don't want to get into those details related to performance tests. vBulletin devs have an impressive array of server configurations and they test their software from any possible angle and performance, which I guarantee you... no hacker does it on those forums. I'm a little freaky with server software (to a point that I write my own custom RPM's to improve the overall server performance) and I still don't have 25% of the capacity to test things like vB. I only have 3 servers to test a piece of code. 3 servers that hammer one board emulating thousands of users spinning like crazy your disks. Still this is not satisfactory to some customers. You get the idea? So for sure I will not edit in any way, shape or form the original vBulletin board, unless I can prove it 100% that my code will not break anything.

You talked about "doing it carefully, and efficiently". I'm just curious, what is your testing process. Until you reply, let me tell you my coding method also: I edit as less as possible the actual vBulletin files.. and if I'm forced, I never use the plugins sytem. I aways edit the PHP code, it improves the code performance by a lot, compared with the same code used through plugins. That is tested by myself into heavy server environment, so I know is true. :)

Dream 10-03-2007 11:12 AM

Quote:

Originally Posted by TECK (Post 1347621)
I never use the plugins sytem. I aways edit the PHP code, it improves the code performance by a lot, compared with the same code used through plugins. That is tested by myself into heavy server environment, so I know is true. :)

That's a good point. But another point is that computing resources should be used to make life more pratical, as in not needing to edit files everytime you have a new version of the software, just upgrade and everything still works, saving you a bunch of time you can spend on other things.

Lea Verou 10-03-2007 04:47 PM

Quote:

Originally Posted by Dream (Post 1352048)
That's a good point. But another point is that computing resources should be used to make life more pratical, as in not needing to edit files everytime you have a new version of the software, just upgrade and everything still works, saving you a bunch of time you can spend on other things.

Agreed :)
And anyway, I would prefer to pay more for a better server than to have to edit the files on each vb upgrade :eek:

I think we are quite off-topic...


All times are GMT. The time now is 09:59 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.01090 seconds
  • Memory Usage 1,750KB
  • 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
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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