Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
vB Journal for vBulletin 3.0.3(v1.0.1) Details »»
vB Journal for vBulletin 3.0.3(v1.0.1)
Version: 1.0.1, by AN-net AN-net is offline
Developer Last Online: Jan 2010 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 09-16-2004 Last Update: 09-22-2005 Installs: 462
DB Changes Template Edits
Code Changes  
No support by the author.

vB Journal v1.0.1
By Antonbomb22(Anthony Scudese)

vB Journal 1.5 Beta 1 is now available, click here.

Features:
  • Full vBulletin 3.0.3 intergration
  • Install file for SQL queries
  • Comment System
  • "GoToMyJournal"
  • link from postbit to journal
  • link from profile to journal
  • link from memberlist to journal
  • usergroup permissions
  • journal buddy system(by Wonko)
  • Journal Search Engine
  • journal highlight
  • bbcode parsing
  • smilie parsing
  • Admin Cp Support Section
  • Journal Status Icons
  • Who is viewing
  • most recent journal entries and journals
  • Who Can View for journals and entries
  • Complete journal and entry privacy
  • Comment on entries or journals
  • Journal Moderation(Like Post and Thread Moderation)
  • Entry Moderation(Like Post and Thread Moderation)
  • Pagination
  • Rating System
  • Lock System
  • Moods
  • "Can Have Journal" on a per user basis
  • Ip Logging
  • Journalists can name their journals
  • Export entries in TXT or XML format
  • Flood System
  • Administrators have absolute permissions
  • Search in Journal
  • Last Entry on Journal Index
  • Numerous AdminCp Settings
  • Unique Standard vB Images for vB Journal
  • View Single Entry
  • and so much more...

Version 1.0.1:
  • Many parts of vB Journal 1.0.0 were rewritten to cap security holes lurking within the code.

Features for later versions:
  • journalists can specify colors for their journal
  • attachments
  • subscriptions
  • journal moderators
  • report system
  • more administration options
  • complete phrasing

Demos:
Add-Ons(I Will not give support for these because i did not create them):
Side Credits:
  • Journal Buddy System ~ WonkotheSane
  • Closed Beta Tester ~ Pitman
  • Closed Beta Tester ~ DantX
  • Helpful Person ~ Oblivion Knight
And to all those who helped me find my mistakes and encourage me

Notes:
  • The WOL(Who's Online) is not yet finished but will be released shortly due to some bugs and flaws
  • You may not remove the copyright notice!
  • An import script for Ryangle's ported Journal will be made so dont install this hack for now if you have the vb3 port of Ryangle's

Support:
~READ FIRST POST COMPLETELY BEFORE POSTING PROBLEMS AND MAKE SURE YOU DID ALL EDITS AND REQUIREMENTS!~

Support may be denied if provided files are edited/modified and support may be stopped at any time due to any circumstances.

If you should run into any errors, problems, confusion, or maybe even a suggestion please
foward them to one of the following places:
Contents of Zip:
  • install.txt
  • journal.php
  • journaladmin.php
  • journalinstall.php
  • images

I have also provided several screenshots

Please click install

If you are missing phrases or blank spaces in the usergroup manager click here.

Updates/Fixes:

Supporters / CoAuthors

Show Your Support

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

Comments
  #512  
Old 11-11-2004, 01:07 AM
AN-net's Avatar
AN-net AN-net is offline
 
Join Date: Dec 2003
Location: AnimationTalk.com
Posts: 2,367
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lionel
When you mess up with sessions, you should warn people. For 6 weeks my online was messed up. I finally found out the reason. Your 'injournal' code does not belong in there!!!!!

-------------------------------
Open: /includes/functions.php
-------------------------------
Find:
global $bbuserinfo, $session, $foruminfo, $threadinfo, $calendarinfo, $permissions, $vboptions;
-------------------------------
Replace Above With:
global $bbuserinfo, $session, $foruminfo, $threadinfo, $calendarinfo, $journalinfo, $permissions, $vboptions;
-------------------------------

-------------------------------
Find:
$shutdownqueries['sessionupdate'] = str_replace('###REPLACE###', ',inforum = ' . intval($foruminfo['forumid']) . ', inthread = ' . intval($threadinfo['threadid']) . ', incalendar = ' . intval($calendarinfo['calendarid']) . ', badlocation = ' . intval($bbuserinfo['badlocation']), $shutdownqueries['sessionupdate']);
-------------------------------
Replace Above with:
$shutdownqueries['sessionupdate'] = str_replace('###REPLACE###', ',inforum = ' . intval($foruminfo['forumid']) . ', injournal = ' . intval($journalinfo['journal_id']) . ', inthread = ' . intval($threadinfo['threadid']) . ', incalendar = ' . intval($calendarinfo['calendarid']) . ', badlocation = ' . intval($bbuserinfo['badlocation']), $shutdownqueries['sessionupdate']);
-------------------------------

-------------------------------
Find:
$replace = array(
',inforum, inthread, incalendar, badlocation',
',' . intval($foruminfo['forumid']) . ', ' . intval($threadinfo['threadid']) . ', ' . intval($calendarinfo['calendarid']) . ',' . intval($bbuserinfo['badlocation'])
);
-------------------------------
Replace above with:
$replace = array(
',inforum, injournal, inthread, incalendar, badlocation',
',' . intval($foruminfo['forumid']) . ', ' . intval($journalinfo['journal_id']) . ', ' . intval($threadinfo['threadid']) . ', ' . intval($calendarinfo['calendarid']) . ',' . intval($bbuserinfo['badlocation'])
);
------------------------------
Save and upload /includes/functions.php
what are you talking about?
Reply With Quote
  #513  
Old 11-11-2004, 01:13 AM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am sorry if I sounded rude, but I am really upset. The table structure for session is different in 3.01 and the location of the journal code did not belong. As a result, my table format changed from dynamic to fixed, guest could not show as the code in funcions.php was misplaced.

For six weeks, I basically dissected every inch of vbulletin code to find out that the problem was in sessions update as per above code. The injournal alter table was last in the table, so of course the 'update' session became out of line with the newly added location of injournal in the shutdown query.

Again, I am sorry as I used your codes and know that you are a good coder.
Reply With Quote
  #514  
Old 11-11-2004, 01:20 AM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is the original vbulletin 3.01 table structure for session

PHP Code:
CREATE TABLE `session` (
  `
sessionhashvarchar(32NOT NULL default '',
  `
useridint(10unsigned NOT NULL default '0',
  `
hostvarchar(15NOT NULL default '',
  `
useragentvarchar(100NOT NULL default '',
  `
lastactivityint(10unsigned NOT NULL default '0',
  `
locationvarchar(255NOT NULL default '',
  `
styleidsmallint(5unsigned NOT NULL default '0',
  `
badlocationsmallint(5unsigned NOT NULL default '0',
  `
inforumsmallint(5unsigned NOT NULL default '0',
  `
inthreadint(10unsigned NOT NULL default '0',
  `
incalendarint(10unsigned NOT NULL default '0',
  `
loggedinsmallint(5unsigned NOT NULL default '0',
  `
idhashvarchar(32NOT NULL default '',
  `
bypasssmallint(6NOT NULL default '0',
  
PRIMARY KEY  (`sessionhash`)
TYPE=HEAP
Reply With Quote
  #515  
Old 11-11-2004, 01:22 AM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

notice where idhash is?

PHP Code:
CREATE TABLE `session` (
  `
sessionhashchar(32NOT NULL default '',
  `
useridint(10unsigned NOT NULL default '0',
  `
hostchar(15NOT NULL default '',
  `
idhashchar(32NOT NULL default '',
  `
lastactivityint(10unsigned NOT NULL default '0',
  `
locationchar(255NOT NULL default '',
  `
useragentchar(100NOT NULL default '',
  `
styleidsmallint(5unsigned NOT NULL default '0',
  `
loggedinsmallint(5unsigned NOT NULL default '0',
  `
inforumsmallint(5unsigned NOT NULL default '0',
  `
inthreadint(10unsigned NOT NULL default '0',
  `
incalendarsmallint(5unsigned NOT NULL default '0',
  `
badlocationsmallint(5unsigned NOT NULL default '0',
  `
bypasstinyint(4NOT NULL default '0',
  
PRIMARY KEY  (`sessionhash`)
TYPE=HEAP
Reply With Quote
  #516  
Old 11-11-2004, 01:27 AM
AN-net's Avatar
AN-net AN-net is offline
 
Join Date: Dec 2003
Location: AnimationTalk.com
Posts: 2,367
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lionel
I am sorry if I sounded rude, but I am really upset. The table structure for session is different in 3.01 and the location of the journal code did not belong. As a result, my table format changed from dynamic to fixed, guest could not show as the code in funcions.php was misplaced.

For six weeks, I basically dissected every inch of vbulletin code to find out that the problem was in sessions update as per above code. The injournal alter table was last in the table, so of course the 'update' session became out of line with the newly added location of injournal in the shutdown query.

Again, I am sorry as I used your codes and know that you are a good coder.
the code works for me, if you can further explain the problem or the conflict i will assist
Reply With Quote
  #517  
Old 11-11-2004, 01:29 AM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

AN net, look at above post and you will see the two tables for sessions are different. So when your code based on 3.03 was trying to update sessions, it could not.
Reply With Quote
  #518  
Old 11-11-2004, 01:32 AM
AN-net's Avatar
AN-net AN-net is offline
 
Join Date: Dec 2003
Location: AnimationTalk.com
Posts: 2,367
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lionel
AN net, look at above post and you will see the two tables for sessions are different. So when your code based on 3.03 was trying to update sessions, it could not.
i am sry for the mistake, if someone could provide me with vb3.0.1 functions.php file i will gladly fix this error, i did not realize the code and database change since 3.0.1
Reply With Quote
  #519  
Old 11-11-2004, 01:35 AM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I know it's not your fault. I am actually blaming vbulletin in my mind. There was no reasons for that change. At least that I could see.

Where could I send you the file?
Reply With Quote
  #520  
Old 11-11-2004, 01:35 AM
AN-net's Avatar
AN-net AN-net is offline
 
Join Date: Dec 2003
Location: AnimationTalk.com
Posts: 2,367
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lionel could use [sql] tags and [php] tags around the code you posted so guests will not be able to view this vb code, thank you and i am deeply sry for not being aware of that change and any stress it may have caused you

send the file via my aim or email
Reply With Quote
  #521  
Old 11-11-2004, 01:56 AM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am trying to send via aim, but it says you are idle
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 08:26 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.11353 seconds
  • Memory Usage 2,347KB
  • Queries Executed 26 (?)
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_php
  • (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
  • (4)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