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

Reply
 
Thread Tools Display Modes
  #21  
Old 04-27-2006, 02:24 AM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One more for the "Learning"! :classic:

Either way you frame the questions/options, however, it's the end result that matters most in a mod.
Reply With Quote
  #22  
Old 04-29-2006, 11:59 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Trana
Since there has been a rash of non-working hacks released that install via the plugin system with no problems, I would opt for the template hacks. At least then I have some place to start looking for why it is not working.

So, if the hack actually works well right out of the box, I guess a plugin is nice, but now everyone and their mothers are releasing "products".
The problems will only increase as more and more coders use the "search and replace" method ... I recommend that you request all coders to have 2 versions. This way you know where the edits are.
Reply With Quote
  #23  
Old 04-30-2006, 02:37 AM
Gio~Logist's Avatar
Gio~Logist Gio~Logist is offline
 
Join Date: Jun 2004
Location: San Francisco
Posts: 2,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Princeton
The problems will only increase as more and more coders use the "search and replace" method ... I recommend that you request all coders to have 2 versions. This way you know where the edits are.
Theoretically, if the search and replace method doesn't work, neither will instructions due to the fact that the instructions will ask to locate the same thing that the search in replace does. If one doesn't work without a hastle, then the other one won't work without a hastle.
Reply With Quote
  #24  
Old 04-30-2006, 02:44 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All the times I've used search and replace has been with the $navbar variable. That is pretty safe.

After reading Princeton's post, though, he brought some things up I hadn't thought about before. I might do some reconsidering on the search and replace idea (unless it has to do with $navbar, then I'm going for it! ).
Reply With Quote
  #25  
Old 04-30-2006, 03:32 AM
Rukbat Rukbat is offline
 
Join Date: Feb 2006
Location: Mississippi Gulf Coast
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lordy, after a year of mod'ing a phpBB2 board I was nearly at a loss on how these fancy schmancy mods for vB worked.... wanted to do a simple change to a template and it took me a while to figure out how to even get to them, lol.... was so used to going into my site file directory and opening them there.

But I guess even with the plug-ins I'd prefer a txt file that actually tells me the changes that are being made, how else can I learn or figure out what the problem is if there is one? Recently did an import of a product that had a snafu in it, was supposed to create a field in two tables in my vB database, but it didn't... if I hadn't had all that phpBB experience I wouldn't have had a clue as to where to even look for where to fix it from the error message I was getting. would also be helpful if in the thread that in the description of the product/plug-in if there are any 'known' conflicts with others that they could be listed.

But when it gets down to the poll above I guess I'll have to go with the 'learning experience' choice
Reply With Quote
  #26  
Old 04-30-2006, 04:33 AM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm sure a large percentage of users who prefer plugin mods never bother to look inside the .XML files and study the routines. I too appreciate template edits because it forces you to look at the codes. I come from UBB where editing .pl and .cgi files were expected and with the experience it's helped me grasp vB's structure. There's a great satisfaction that comes from learning.

With that said it's all good either way.
Reply With Quote
  #27  
Old 04-30-2006, 11:34 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Once again, too much worrying about "resources". The resources used by a simple search and replace are miniscule compared to the overall resources used to generate any vb page. As for saying they add up with 100 hacks - anyone with that many hacks should expect problems, way too many ......
Reply With Quote
  #28  
Old 04-30-2006, 12:57 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

that "miniscule" may not worry you much because you have some knowledge on working/running a server ... you probably have direct access to it - do you think everyone else does?

that "miniscule" may be fine for someone who knows what's "under the hood" ... do you think everyone else understand what's going on?

that "miniscule" may be fine for someone who knows the difference between a "good" script and "bad" script ... do you think everyone has this knowledge?

that "miniscule" may be the cause of someone's problem down the road

Quote:
Theoretically, if the search and replace method doesn't work, neither will instructions due to the fact that the instructions will ask to locate the same thing that the search in replace does. If one doesn't work without a hastle, then the other one won't work without a hastle.
yea -- ok ... and, you still don't see how "instructions" would be helpful?
Reply With Quote
  #29  
Old 04-30-2006, 01:11 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm definately against all this automated installs.

I learnt through doing it myself, and I didn't know a thing about html or php when I first started using vB. In fact I was one of those admins who didn't know what 'forum root', 'ftp', 'upload', etc meant.

Also, I've started experiencing more and more problems with my template mods after the automated stuff has some in as there is no indication in the style manager about other things being there and so this is affecting placement of codes.

Finally, if everyone has to start doing two sets of instructions then we are going back to the HTL days IMO and that was a nightmare, especially for people who didn't understand or know about the HTL.

Keep it simple, use manual template edits.

Quote:
Originally Posted by gio~logist
Theoretically, if the search and replace method doesn't work, neither will instructions due to the fact that the instructions will ask to locate the same thing that the search in replace does. If one doesn't work without a hastle, then the other one won't work without a hastle.
Agreed, but at least if you know a bit about vB's template structure then you can find similar sections and take it from there.
Reply With Quote
  #30  
Old 04-30-2006, 04:43 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Princeton
that "miniscule" may not worry you much because you have some knowledge on working/running a server ... you probably have direct access to it - do you think everyone else does?

that "miniscule" may be fine for someone who knows what's "under the hood" ... do you think everyone else understand what's going on?

that "miniscule" may be fine for someone who knows the difference between a "good" script and "bad" script ... do you think everyone has this knowledge?

that "miniscule" may be the cause of someone's problem down the road
Sorry but that's just baseless scaremongering and it is completely irrelevant whether someone knows about their server or not. The "resouces" used by search and replace are so small I doubt you could actually measure them - and your server would already need to be on the edge of imminent collapse for them to ever cause a problem - in which case you are already in big trouble anyway.
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:59 AM.


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.04114 seconds
  • Memory Usage 2,274KB
  • Queries Executed 14 (?)
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
  • (5)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_postinfo_query
  • fetch_postinfo
  • 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