Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBJournal Lite 1.1b Details »»
vBJournal Lite 1.1b
Version: 1.00, by Ryangel Ryangel is offline
Developer Last Online: Sep 2007 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 09-18-2002 Last Update: Never Installs: 71
 
No support by the author.

ATM, this hack would work with ALL versions of vB unless they renamed the 'user' table :speechless:


README.txt (can be found in the zip)


README.txt
New in 1.1b
- Edit journal.php (2 lines). New journal.php here, for 1.1a users

================================================== ===================================
================================================== ===================================
=== vBJournal Lite version 1.1b =============================================
================================================== ===================================
================================================== ===================================
This is an addon to vBulletin and acts as an online journal/diary. Users can add entries, either

making them private or public(for all to see). For the public entries, users can comment on them.

Thats about it. You should be able to get a better idea viewing a live demo at

http://sgstudents.com/forum/journal.php. The GUI was modeled after gamingforces journal at

http://www.gamingforce.com/forums/journal.php .
-------------------------------------------------------------------------------------
=== This being my first hack, i am SURE that there are going to be =======
=== some bugs, and problems, so just to warn you first =======
=== :: BACKUP YOUR DATABASE ! =======
-------------------------------------------------------------------------------------

Now thats over with lets start... I will list the steps of what needs to be done...
NOW :

1) Edit the images to suit your site.
2) Upload the images to the forum's /images folder.

3) Upload install_journal.php to your admin directory.
4) Run install_journal.php and follow instructions... shouldn't be a problem. but i only tested

it once .

5) Run this query (using phpmyadmin,or use this hack

https://vborg.vbsupport.ru/show...&threadid=26272 , etc)

ALTER TABLE user ADD journal SMALLINT NOT NULL

[note this will add a column in your 'user' table, but i think that shouldnt be a problem ...]

6) Upload journal.php to your forum's root directory.
7) goto journal.php page and click on the button ... (should say "Get a journal" or "Unlock

Journal" Cant rem which
... bad memory. lol) this will enable the admin journal (userid=1) and show the first default

welcome msg.

8) Link to journal in postbit.
------------------------------

- open admin/functions.php

FIND

/////////////////////////////////////////////////////

$datecut = time() - $cookietimeout;

if ($counter%2==0) {
$post[backcolor]="#13486D";
$post[bgclass] = "alt1";
} else {

/////////////////////////////////////////////////////

Add ABOVE THIS


/////////////////////////////////////////////////////

// vBJournal Hack by Ryangel
if($post[journal]==1){
$journal = '<a href="journal.php?s=&journalid='.$post[userid].'&action=view"><img

src="https://vborg.vbsupport.ru/images/journal.gif" alt="View '.$post[username].'\'s Journal" border="0"/></a>';
}
else {
$journal = '';
}

/////////////////////////////////////////////////////


save and upload admin/functions.php.

9) open your postbit template and add $journal to where you want the link to show.


You are done ! The journal should be able to work now

FEW THINGS TO NOTE
------------------------------------------
- private entries can only be viewed by the owner or admin.
- erm... did i say a few? ok thats the main thing to note.... I'll edit this as it comes to my

mind. lol :laugh:

IN WORKS FOR NEXT VERSION
------------------------------------------
- incooperate moods
- better interface ( but that you can do now by editing the templates yourself )
- Admin interface -> from admin cp.
- New user option to choose whether buddies/admin can view private entries.
- anything else that might come up from discussions.


Version Update Log
------------------

1.1a
- Fixed some table color code.
- Added template txt for manual install.

DEMO: http://sgstudents.com/forum/journal.php

Show Your Support

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

Comments
  #82  
Old 09-22-2002, 08:01 AM
DWZ's Avatar
DWZ DWZ is offline
 
Join Date: Dec 2001
Posts: 207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Some ideas you might want to think about adding in:
  • Make the entry "public" i.e. everyone can see, but the ability to disable comments on a post by post bases. So like a check-box on the post page that says "Disallow Comments", and when ticked, no one can comment on it.
  • Current playing music, just a text box and on the journal entry, it would say something like "Now Playing: whatever the person types in"
  • Ability to make it a "friends only" post, where that only people on your buddy list can view the entry. probably better to make it separate from the vBulletin one, as there may be people you want to have on your vBulletin buddy list, but you don't want them viewing your "friends only" journal entires. Maybe by default making the people on your vBulletin buddy list be on your Journal buddy list, but the ability to remove them from your journal one without them being removed from the vBulletin one. Maybe even setting it up so when a person is added to their Journal buddy list they get an email? i.e.
    Quote:
    Hello username,
    This is a notice to let you know that you have been added to username's journal buddy list. This means you are now allowed to view their "Friends Only" journal entires.

    You can view username's journal here: http://sgstudents.com/forum/journal....13&action=view

    Thanks,
    Forum name team
Anyway, just some ideas
Reply With Quote
  #83  
Old 09-23-2002, 04:47 AM
Koss Koss is offline
 
Join Date: Jan 2002
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just a suggestion, maybe there is a way to add a page where it shows a list of all the members with a journal

or better yet maybe add a column on the member page (members.php) with a link of all the members with a journal
Reply With Quote
  #84  
Old 09-23-2002, 08:11 AM
culprit culprit is offline
 
Join Date: Oct 2001
Location: North-East UK
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Top hack. Getting hammered by my users.

There doesn't seem to be a word-wrap though. My pages are scrolling badly.

Any hints?
Reply With Quote
  #85  
Old 09-23-2002, 09:01 AM
culprit culprit is offline
 
Join Date: Oct 2001
Location: North-East UK
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its OK, got it sorted. In case anyone else is having same grief:

Just remove the 'nowrap' markup from the 'journal_entrybits' template.
Reply With Quote
  #86  
Old 09-26-2002, 12:10 PM
Ryangel Ryangel is offline
 
Join Date: Jun 2002
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by DWZ
Some ideas you might want to think about adding in:
  • Make the entry "public" i.e. everyone can see, but the ability to disable comments on a post by post bases. So like a check-box on the post page that says "Disallow Comments", and when ticked, no one can comment on it.
  • Current playing music, just a text box and on the journal entry, it would say something like "Now Playing: whatever the person types in"
  • Ability to make it a "friends only" post, where that only people on your buddy list can view the entry. probably better to make it separate from the vBulletin one, as there may be people you want to have on your vBulletin buddy list, but you don't want them viewing your "friends only" journal entires. Maybe by default making the people on your vBulletin buddy list be on your Journal buddy list, but the ability to remove them from your journal one without them being removed from the vBulletin one. Maybe even setting it up so when a person is added to their Journal buddy list they get an email? i.e.
Anyway, just some ideas
All superb additions. Sadly I had to rush my vbJournal to release it as I am going away for training starting next week (and wont get to see a comp for 2 months. well, maybe not 2 months. but prob wont have the time for it... ah you get what i mean ... i hope.)

I did mention its a lite version so all the points have been taken down when I'm back to add into the full journal. No doubt maybe, there'll be a better Journal released when I'm back. Then no worries. I'll just download the new Hack, and see if i can make other hacks If not i'll continue with the journal where i left off.

This may be my last time here for awhile so till we meet again! Great community here. I would have 'dumped' my vb forums a long time ago if it wasnt for this site.

[high]* Ryangel thinks of all the wonderful hacks waiting for me when i get back to vbulletin.org *grins*[/high]
Reply With Quote
  #87  
Old 09-26-2002, 12:55 PM
Ghostsuit's Avatar
Ghostsuit Ghostsuit is offline
 
Join Date: Nov 2001
Location: Glasgow, Scotland
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have fun at Trainiing! Would you mind if we poked around with your code and added mit's to the Journal and if so would you mind anyone posting what they have done here?
Reply With Quote
  #88  
Old 09-26-2002, 12:59 PM
Ryangel Ryangel is offline
 
Join Date: Jun 2002
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Ghostsuit
Have fun at Trainiing! Would you mind if we poked around with your code and added mit's to the Journal and if so would you mind anyone posting what they have done here?
hmmhmm sure. Make sure you write up in tthe readme on what you did exactly though. So i can keep up with what you guys have done.
Reply With Quote
  #89  
Old 09-26-2002, 02:52 PM
Silenced Soul's Avatar
Silenced Soul Silenced Soul is offline
 
Join Date: Apr 2002
Location: holdin' it down for tha 303
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Man, this is AWESOME. Perfect for what i was doing, you've saved me tons of time.

Nice install, everything went well... great job.
Reply With Quote
  #90  
Old 09-26-2002, 06:40 PM
Kaelon's Avatar
Kaelon Kaelon is offline
 
Join Date: Jan 2002
Posts: 405
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good idea, Ghostsuit. I hope that people will release mods for this hack on this thread so that we can keep updated.

Kaelon
Reply With Quote
  #91  
Old 09-27-2002, 05:12 PM
Ghostsuit's Avatar
Ghostsuit Ghostsuit is offline
 
Join Date: Nov 2001
Location: Glasgow, Scotland
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah things I would like to see are Mood hack and and Now playing hacks built in might have a look at them both my self but since I've never created a hack it might take me some time
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:23 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.04773 seconds
  • Memory Usage 2,320KB
  • Queries Executed 25 (?)
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
  • (3)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
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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