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

Reply
 
Thread Tools Display Modes
  #11  
Old 09-25-2007, 07:03 PM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alfa1 View Post
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").
Reply With Quote
  #12  
Old 09-26-2007, 10:06 AM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Then that doesn't make any sense.
Reply With Quote
  #13  
Old 09-26-2007, 01:34 PM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alfa1 View Post
Then that doesn't make any sense.
What doesn't make any sense?
Reply With Quote
  #14  
Old 09-26-2007, 01:42 PM
Lizard King Lizard King is offline
 
Join Date: Jan 2005
Location: Mersin
Posts: 907
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wayne Luke View Post
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.
Reply With Quote
  #15  
Old 09-26-2007, 02:11 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lizard King View Post
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
Reply With Quote
  #16  
Old 09-26-2007, 02:36 PM
Lizard King Lizard King is offline
 
Join Date: Jan 2005
Location: Mersin
Posts: 907
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dean C View Post
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
Reply With Quote
  #17  
Old 09-26-2007, 03:09 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lizard King View Post
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.
Reply With Quote
  #18  
Old 09-26-2007, 04:30 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dean C View Post
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 View Post
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.
Reply With Quote
  #19  
Old 10-03-2007, 11:12 AM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TECK View Post
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.
Reply With Quote
  #20  
Old 10-03-2007, 04:47 PM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dream View Post
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

I think we are quite off-topic...
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:01 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.04869 seconds
  • Memory Usage 2,269KB
  • 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
  • (10)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
  • (3)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