Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
Prev Previous Post   Next Post Next
  #1  
Old 03-26-2002, 06:04 AM
Gamingforce's Avatar
Gamingforce Gamingforce is offline
 
Join Date: Oct 2001
Location: New York City
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Integrated Journal System

I have been working over the past few days to bring an journal system integrated with vBulletin. Although I didn't really document the changes as I went along, I could put it together as a hack package possibly if people are interested.

On our particular message board we call this journal system ChocoJournal. This is a pretty major hack. It involves modifications, changes to the user table, two new database tables, modification of vBulletin files and the use of the journal.php script which handles almost everything. Before going into this project I didn't know too much about MySQL and I wasn't too experienced with PHP but I have learned so much from coding this thing.

ChocoJournal Key Features:
  • User may enable / disable journal
  • Very easy to use since most of the information is obtained automatically
  • Journal entries support vBcode
  • A user selectable amount of newest entries are displayed first
  • Option to view all entries
  • User is able to comment on entries
  • Journal entries can be made private (only viewable to people on your buddy list)
  • Moderators and Admins do not have control over your journal entries.
  • You or the commentor may delete comments.
  • Current song / mood options in entries
  • Stats box on main journal page featuring total entries, number of private entries with a percentage of the total, number of journal page views, the number of buddies the user has and if you are on the buddy list of the user (to find out if you can read private entries)
  • Clicking on the avatar of the user in the stats box brings you to their profile
  • Sessions supported globally throughout the journal system
  • Journal status is integrated with profile featuring last entry time, and last public entry title.
  • Chocobos are fast

(How a user activates their journal [taken from my board])
Quote:
To activate your journal, go into User CP > Modify Profile and select the checkbox next to Enable ChocoJournal. You can change the entry display number from the default (10) to one of the choices in the pulldown menu. To edit / view your journal, click the ChocoJournal link on the extreme right of the User CP Nav Bar.
Here is a sample journal page:
http://www.gamingforce.com/forums/jo...=view&userid=1

Here is a sample of how the profile page looks like with the journal information:
http://www.gamingforce.com/forums/me...tinfo&userid=1

Planned features
> Give an option to allow / not allow commenting on an entry by entry basis.
> Design a universal journal home page featuring journal system stats and other cool stuff.
> Put an integrated page into a user's journal that shows the latest entries from each of buddy of the user.
> Possible integration of LiveJournal entries.

Let me know what you think. Thanks!
Reply With Quote
 

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 02:40 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.08518 seconds
  • Memory Usage 3,114KB
  • Queries Executed 12 (?)
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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (30)post_thanks_box
  • (30)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (30)post_thanks_postbit_info
  • (30)postbit
  • (30)postbit_onlinestatus
  • (30)postbit_wrapper
  • (1)showthread_list
  • (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_threadedmode.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_threaded
  • showthread_threaded_construct_link
  • 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