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

Reply
 
Thread Tools
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
  #1372  
Old 08-15-2005, 09:14 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gio~logist
I noticed if i create a private journal, logged in members cannot see journal OR entries (like its suppose to be), however, guests can see the journal (it just wont list the entries) and if they click the "latest entry" link in someone's profile, they can see the entry. KEEP IN MIND EVERYTHING (JOURNAL AND ENTRY) WAS PRIVATE AND I MADE SURE!
Around line 1146 of journal.php
FIND
PHP Code:
if(($bbuserinfo['usergroupid']==6) OR ($bbuserinfo['userid']==$entry['journalist_id']) OR (in_array($bbuserinfo['userid'], array($entry['jwcv'])))) 
REPLACE that with
PHP Code:
if(($bbuserinfo['usergroupid']==6) OR ($bbuserinfo['userid']==$entry['journalist_id']) OR ($bbuserinfo['userid'] AND in_array($bbuserinfo['userid'], array($entry['jwcv'])))) 
This should fix the Problem.
Reply With Quote
  #1373  
Old 08-15-2005, 09:32 PM
Gio~Logist's Avatar
Gio~Logist Gio~Logist is offline
 
Join Date: Jun 2004
Location: San Francisco
Posts: 2,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KirbyDE
It seems like this Hack has a major Performance Issue:
It executes 1 additional Query for every Post in a Thread.
OOOOOOMMMMMMGGGGGGGGG!

So if you take all the edits out of showthread_functions.php and/or showthread.php, you'd be fine for now right?
Reply With Quote
  #1374  
Old 08-15-2005, 09:33 PM
Gio~Logist's Avatar
Gio~Logist Gio~Logist is offline
 
Join Date: Jun 2004
Location: San Francisco
Posts: 2,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KirbyDE
Around line 1146 of journal.php
FIND
PHP Code:
if(($bbuserinfo['usergroupid']==6) OR ($bbuserinfo['userid']==$entry['journalist_id']) OR (in_array($bbuserinfo['userid'], array($entry['jwcv'])))) 
REPLACE that with
PHP Code:
if(($bbuserinfo['usergroupid']==6) OR ($bbuserinfo['userid']==$entry['journalist_id']) OR ($bbuserinfo['userid'] AND in_array($bbuserinfo['userid'], array($entry['jwcv'])))) 
This should fix the Problem.

I'll try that ASAP
Reply With Quote
  #1375  
Old 08-15-2005, 09:40 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gio~logist
OOOOOOMMMMMMGGGGGGGGG!

So if you take all the edits out of showthread_functions.php and/or showthread.php, you'd be fine for now right?
Yes. I might be wrong with my assumption that it does add the Queries, but I don't think so.

Query-Less approach:
Modify the $posts/$cacheposts Queries in showthread.php to join the journals table.
Reply With Quote
  #1376  
Old 08-15-2005, 09:40 PM
Gio~Logist's Avatar
Gio~Logist Gio~Logist is offline
 
Join Date: Jun 2004
Location: San Francisco
Posts: 2,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Translation?
Reply With Quote
  #1377  
Old 08-15-2005, 09:45 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ja. Kann sein dass ich mich mit der Annahme get?uscht habe dass f?r jeden Beitrag in einem Thread ein zus?tzlicher Query ausgef?hrt wird, glaube ich aber eigentlich nicht.

Idee das ohne Queries zu realisieren:
Die $posts/$cacheposts Queries in showthread.php dahingehend ab?ndern dass ein JOIN auf Tabelle journals durchgef?hrt wird.

If that is what you wanted
Reply With Quote
  #1378  
Old 08-15-2005, 09:48 PM
Gio~Logist's Avatar
Gio~Logist Gio~Logist is offline
 
Join Date: Jun 2004
Location: San Francisco
Posts: 2,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ROTFL!!!!!!!!!!!!!

Translation= A language in which someone with only html and very little php knowledge, can understand.

Hence, a language alot unlike the one previously used.
Reply With Quote
  #1379  
Old 08-15-2005, 09:49 PM
Guest190829
Guest
 
Posts: n/a
Default

I think he's saying a better solution would be to join the journal query with another query. Specifically the $posts/$cacheposts queries. Therefore, elimanating the issue of executing 1 additional Query for every Post in a Thread.
Reply With Quote
  #1380  
Old 08-15-2005, 09:52 PM
Gio~Logist's Avatar
Gio~Logist Gio~Logist is offline
 
Join Date: Jun 2004
Location: San Francisco
Posts: 2,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Danny.VBT
I think he's saying a better solution would be to join the journal query with another query. Specifically the $posts/$cacheposts queries. Therefore, elimanating the issue of executing 1 additional Query for every Post in a Thread.

<sarcasm>
That helps
</sarcasm>

I understand that you guys are trying to help but i don't exactly know hwo to join queries....
Reply With Quote
  #1381  
Old 08-15-2005, 09:54 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK

Replace the Code added in functions_showthread.php with
PHP Code:
if ($post['journal_id'])
{
    
$show['journal'] = true;
    
$journal['journal_id'] =& $post['journal_id'];
    
$journal['journaldesc'] = fetch_trimmed_title($post['journaldesc'], 150);
}
else
{
    
$show['journal'] = false;

In showthread.php locate the $posts/$cacheposts Queries.
Add journals.journal_ad, journals.journaldesc to the List of selected Fields.
Add
PHP Code:
LEFT JOIN " . TABLE_PREFIX . "journals AS journals ON (journals.journalist_id=post.userid
to their Joins.

Done.

But as said: No guarantee that my assumption is right; can't test it as I don't have a vB 3.0.X Board with this Hack installed available at the moment to test it.
But from looking at the Code it seems so
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 03:32 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.08217 seconds
  • Memory Usage 2,354KB
  • 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
  • (6)bbcode_php
  • (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
  • (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
  • (10)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