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

Reply
 
Thread Tools Display Modes
  #1  
Old 08-11-2005, 09:51 PM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default I'm so lost in 3.5.x

Hopefully, I'm not the only one that is struggling to adapt to the new and cleaner way of vBulletin coding.

Just when I thought that I was slowly getting to grips with creating small modifications, Jelsoft completely changes the way that vBulletin works code wise (thanks to OOP?). I feel so lost amongst the changed var/array/function names that it makes me feel pretty much clueless.. I've just spent a couple of hours looking at files within the admincp and includes directories to try and find the code related to Admin Notes, in an attempt to port one of my 3.0.x modifications, and everything has completely changed..

Don't get me wrong, I'm far from efficient with code and have never once studied a PHP manual. I've simply learnt a few 3.0.x basics from other people's work.. Would I perhaps understand 3.5.x's code a lot more if I was to sit down and study some tutorials? Any recommendations?
Reply With Quote
  #2  
Old 08-11-2005, 10:16 PM
twoseven twoseven is offline
 
Join Date: Jan 2004
Location: in floris' pants
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no idea i'm lost as well with these hooks as well as the changed methods of doing somethings. all i can say is grab a small plugin look at the code and play with it. its just like being thrown a curveball when your expecting a fastball but i guess we will get used to it
Reply With Quote
  #3  
Old 08-11-2005, 10:18 PM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I haven't even started looking at the code. There has been quite a few changes from Beta to RC so I'm going to wait till Gold.
Reply With Quote
  #4  
Old 08-11-2005, 10:29 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm, actually the changes are not that dramatic.
Sure, many functions have been moved (became methods of Classes), renamed as well as Variables.

But besides that, the basic structure is still the same.
Reply With Quote
  #5  
Old 08-11-2005, 10:52 PM
bigcurt's Avatar
bigcurt bigcurt is offline
 
Join Date: Nov 2004
Location: KierDarby.php
Posts: 1,009
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

eh? who know..smallcurt might just stay with 3.0.X 0_o..I mean look at overgrow..there still on 2.2.9 arent they? And there HUGE lol.

~Curt
Reply With Quote
  #6  
Old 08-11-2005, 10:59 PM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it just me, or have many queries (especially admincp based ones) been replaced?
I can't find any queries relating to admin notes, only this new stuff referring to the admin data manager class.

I've never liked staying with older versions of software, I always have to upgrade!
Reply With Quote
  #7  
Old 08-11-2005, 11:04 PM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Oblivion Knight
I've never liked staying with older versions of software, I always have to upgrade!
Why else do you think I run PHP 5b3 and MySQL 5.0.10-beta on my localhost...

And @ the being lost, don't worry. Boobfool is even more lost than you are, and I'm taking the hits because of it
Reply With Quote
  #8  
Old 08-11-2005, 11:08 PM
AN-net's Avatar
AN-net AN-net is offline
 
Join Date: Dec 2003
Location: AnimationTalk.com
Posts: 2,367
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well to prepare myself for 3.5 i began coding in OOP for vb journal 1.5 and 2.0. i also began to port my custom hacks over to oop to prepare for what 3.5 will be like. so far im doing good its really the same as functions but just a different look. i am unsure how true to OOP i am being so if someone wants to glance at my code i would appreciate it. anyways try picking up Sitepoint's PHP Anthology Volumes 1 and 2
Reply With Quote
  #9  
Old 08-11-2005, 11:11 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Admin Notes are being loaded by fetch_userinfo()
Reply With Quote
  #10  
Old 08-11-2005, 11:58 PM
Christine's Avatar
Christine Christine is offline
 
Join Date: Oct 2001
Location: PA
Posts: 472
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am in the same boat with php OOP
Quote:
Originally Posted by AN-net
anyways try picking up Sitepoint's PHP Anthology Volumes 1 and 2
Thank you! This was recommended to me before, but I forgot to order them. Just did now.
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 04:42 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.04799 seconds
  • Memory Usage 2,251KB
  • 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
  • (2)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
  • (1)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