Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
vBdoc - Source code documentation in the admincp [no longer supported] Details »»
vBdoc - Source code documentation in the admincp [no longer supported]
Version: 0.3, by Brad Brad is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.5.8 Rating:
Released: 07-12-2005 Last Update: 09-16-2005 Installs: 11
Re-useable Code Additional Files Translations  
No support by the author.

[high]This modification is no longer supported![/high] -

Jelsoft has released their own source code documentation, thus I will no longer be working on this project or making new html files from the source code.

See this thread to get the link to the offical API documentation.


Quote:
vBdocs is an add-on for developers that places the source code documentation right in the admincp. The documentation is generated with the latest version of phpdoc and picks up on just about everything that was included in the source code documentation wise.

There are still known errors in the documentation, you can read the error log at /docs/vbsource/errors.html.

If you would like you can generate your own doc files, the instructions on how to do so are at phpdoc's website.

Installation instructions included in the zip file, same as the upgrade instructions.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 07-13-2005, 02:14 AM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice one Brad

Satan
Reply With Quote
  #3  
Old 07-13-2005, 02:41 AM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry kinda confused, is this a phpdoc compilation of beta 4? are you going to update it in each new version
Reply With Quote
  #4  
Old 07-13-2005, 03:16 AM
bigcurt's Avatar
bigcurt bigcurt is offline
 
Join Date: Nov 2004
Location: KierDarby.php
Posts: 1,009
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

alright brad, maybe im dumb but..I would love something like that for 3.0.X..does it list the source php files in your admin cp? Is that what it does.
Reply With Quote
  #5  
Old 07-13-2005, 03:53 AM
merk merk is offline
 
Join Date: Nov 2001
Location: Canberra, Australia
Posts: 601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bigcurt
alright brad, maybe im dumb but..I would love something like that for 3.0.X..does it list the source php files in your admin cp? Is that what it does.
No. phpDoc is a comment syntax for giving documentation on functions and classes inside the files themselves.

It is not available in 3.0.x (because the devs didnt use it).

Brad: Did you manage to reduce the number of errors by changing configurations or is it the syntax that Jelsoft are using that is causing most of the errors?
Reply With Quote
  #6  
Old 07-13-2005, 05:12 AM
Brad Brad is offline
 
Join Date: Nov 2001
Posts: 4,765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dream
sorry kinda confused, is this a phpdoc compilation of beta 4? are you going to update it in each new version
Yes this is beta 4 as noted in the zip file . With each version I will generate new files.

I do plan on going back and cleaning up the .html files, right now they are what phpdoc generated with no modification.

Quote:
Originally Posted by merk
Brad: Did you manage to reduce the number of errors by changing configurations or is it the syntax that Jelsoft are using that is causing most of the errors?
You can see the error log at /docs/vbsource/errors.html, while there are a lot listed there note that many of them are because of two things. Illegal use of 'var' and redeclared defines.

One thing for others that want to make their own phpdoc files, you need to tell phpdoc to pick up on a custom tag vB uses. Make sure you tell it to look for 'date' so it will extract @date.

Keep in mind that we are dealing with beta code, and I'm no phpdoc expert . Even with the errors phpdoc still pulls a ton of useful information
Reply With Quote
  #7  
Old 07-13-2005, 09:11 AM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
2. Upload the folder /docs/ to your admin cp directory.
So why is the navigation link pointing to /forums/docs/ instead of /forums/admincp/docs/ ?

Remove the [high]/[/high] before the docs in the link in the .xml file

Satan
Reply With Quote
  #8  
Old 07-13-2005, 12:02 PM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Brad, in the xml you should replace:
<link>/docs/vbsource/index.html</link>

with:
<link>./docs/vbsource/index.html</link>
Reply With Quote
  #9  
Old 07-13-2005, 07:30 PM
bigcurt's Avatar
bigcurt bigcurt is offline
 
Join Date: Nov 2004
Location: KierDarby.php
Posts: 1,009
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

doh! I got ya now, I guess I was thinking about somthing else/dreaming :-D
Reply With Quote
  #10  
Old 07-13-2005, 08:57 PM
Brad Brad is offline
 
Join Date: Nov 2001
Posts: 4,765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmmm strange it was right on localhost but wrong in the zip file, updating zip now (the joy of uploading 1.29MB on a 16.8k connection )
Reply With Quote
Reply

Thread Tools

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:15 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.09727 seconds
  • Memory Usage 2,288KB
  • Queries Executed 23 (?)
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
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)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
  • (9)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