Go Back   vb.org Archive > Community Central > vBulletin.org Site Feedback
  #1  
Old 01-17-2007, 08:22 PM
MThornback MThornback is offline
 
Join Date: Apr 2005
Location: Canada
Posts: 388
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default PHP Version Limitations

Is it possible to add a field to each mod to identify the version of PHP plugins/products are coded in....I just upgraded to a php 5 host and we're having fun finding all the incompatibilities.
Reply With Quote
  #2  
Old 01-17-2007, 11:15 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

We'll have to think about that, adding new fields is not a quick job.
Reply With Quote
  #3  
Old 01-18-2007, 05:14 AM
Brad Brad is offline
 
Join Date: Nov 2001
Posts: 4,765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good idea but it'd take awhile for modification authors to update their threads (if they ever do it at all). We upgraded to php 5 awhile back without having many issues. A few modification broke but all of them were related to a change in the way array_merge() behaves in php 5. We didn't have one modification that couldn't be fixed with simple type casting.
Reply With Quote
  #4  
Old 01-18-2007, 12:30 PM
MThornback MThornback is offline
 
Join Date: Apr 2005
Location: Canada
Posts: 388
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I understand that Paul...I just thought i'd mention it because I can't be the only person it affects as servers upgrade or change hosts

Brad:
I'm not PHP savvy enough to do alot of my own PHP work....I can edit it fine and I understand the relationship from looking at it....but I have a better understanding of templates than PHP...thank you for the tip, i'll pass it on to my co-admins....but I have no idea what it means, they might
Reply With Quote
  #5  
Old 01-18-2007, 12:41 PM
Brad Brad is offline
 
Join Date: Nov 2001
Posts: 4,765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MThornback View Post
I understand that Paul...I just thought i'd mention it because I can't be the only person it affects as servers upgrade or change hosts

Brad:
I'm not PHP savvy enough to do alot of my own PHP work....I can edit it fine and I understand the relationship from looking at it....but I have a better understanding of templates than PHP...thank you for the tip, i'll pass it on to my co-admins....but I have no idea what it means, they might
https://vborg.vbsupport.ru/showthread.php?t=125302

There you go, I posted that when we were having errors pop up with a recent server upgrade. Most errors you'll see can be fixed using the information in that thread.

Also; PHP will give you the line number and filename when an error happens. Most of the time you can fix these errors even if you are not that good with php. Do some searching on php.net and on google for the error message you get and most of the time you'll find links upon links that deal with it. Do some reading up on the php basics, look up functions via the search engine at php.net, and play around with stuff in your free time. No one is born knowing how to program, we all had to start somewhere.
Reply With Quote
Reply

Thread Tools
Display Modes

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 11:05 AM.


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.03789 seconds
  • Memory Usage 2,189KB
  • 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
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete