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
  #1022  
Old 04-10-2005, 07:18 AM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just noticed that the queries in my showthread.php file had shot up to 26.! :speechless:

<fix available here>
Reply With Quote
  #1023  
Old 04-10-2005, 07:53 AM
scabbed scabbed is offline
 
Join Date: Dec 2004
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thx for that, i have just do it
Reply With Quote
  #1024  
Old 04-10-2005, 12:38 PM
zetetic's Avatar
zetetic zetetic is offline
 
Join Date: Apr 2004
Posts: 338
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Oblivion Knight
This is a temporary fix, but it's better than adding loads of queries!
Wow, that fix made my queries drop from 35 to 16!

Here's hoping there's a more efficient way to add that menu item...
Reply With Quote
  #1025  
Old 04-10-2005, 06:56 PM
YLP1 YLP1 is offline
 
Join Date: Aug 2004
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I grow up, I want to be just as smart as Oblivion Knight is with PHP and VB...
Reply With Quote
  #1026  
Old 04-10-2005, 09:04 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

where does it take the journal id in postbit? it is showing all users with no journals because there are no id even for those who have a journal
Reply With Quote
  #1027  
Old 04-11-2005, 06:47 AM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lionel
where does it take the journal id in postbit? it is showing all users with no journals because there are no id even for those who have a journal
Whoops! My bad.. :nervous:

I'll try and come up with a solution shortly.. There's got to be a better way than adding so many queries.

------------------------------------------------------------------

Ok, here it is.. The fix that will only show the menu item if the user has a journal, and grab the journal_id correctly with no additional queries added to your showthread.php page..

If you haven't already, remove this code from the includes/functions_showthread.php file:
Code:
		$journal= $DB_site->query_first("SELECT journal_id,journaldesc FROM ".TABLE_PREFIX."journals  
		WHERE journalist_id='".$post[userid]."'
		");
		if(empty($journal[journal_id]))
		{
			$show[journal]="false";
		}
		else
		{
			$show[journal]="true";
			if(strlen($journal[journaldesc])>150)
			{
				$journal[journaldesc]= "".substr($journal[journaldesc], 0, 150)."...";
			}
		}
Now undo the changes that we made to the postbit(_legacy) and journal_journalpage templates earlier.. If you didn't use the previous fix, you obviously don't need to do this.


Now in the postbit(_legacy) template, find:
HTML Code:
<if condition="$show[journal]=='true'">
<tr>
<td class="vbmenu_option"><a href="journal.php?do=showjournal&j=$journal[journal_id]" title="$journal[journaldesc]">Visit $post[musername]'s Journal</a></td>
</tr>
</if>
Replace it with:
HTML Code:
	<if condition="$post['journal_id']">
		<tr><td class="vbmenu_option"><a href="journal.php?$session[sessionurl]do=showjournal&j=$post[journal_id]" title="$journal[journaldesc]">Visit $post[musername]'s Journal</a></td></tr>
	</if>
Now open the showthread.php file, find (1st instance of):
Code:
			user.*, userfield.*, usertextfield.*,
On the same line next to it, add:
Code:
 journal.journal_id,
Find (in the same query):
Code:
		LEFT JOIN " . TABLE_PREFIX . "usertextfield AS usertextfield ON(usertextfield.userid = user.userid)
Below it add:
Code:
		LEFT JOIN " . TABLE_PREFIX . "journals AS journal ON(journal.journalist_id = user.userid)
You should be set to go.! Please note that this fix is for the linear display mode only.. :ninja:
Reply With Quote
  #1028  
Old 04-11-2005, 10:45 AM
Nordinho Nordinho is offline
 
Join Date: Aug 2004
Location: Netherlands
Posts: 288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Jeek...that saves a whole lot of queries...thanks a lot for the fix!!
Reply With Quote
  #1029  
Old 04-11-2005, 10:48 AM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Oblivion
Reply With Quote
  #1030  
Old 04-11-2005, 11:07 AM
msimplay's Avatar
msimplay msimplay is offline
 
Join Date: Aug 2002
Location: UK
Posts: 1,059
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[high]* msimplay joins the crew thanks Oblivion [/high]
Reply With Quote
  #1031  
Old 04-11-2005, 01:34 PM
zetetic's Avatar
zetetic zetetic is offline
 
Join Date: Apr 2004
Posts: 338
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Oblivion Knight
Now undo the changes that we made to the postbit(_legacy) and journal_journalpage templates earlier.. If you didn't use the previous fix, you obviously don't need to do this.
Hmm... I don't remember exactly what the changes were and you've edited that post. :ermm:
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 05:58 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.06254 seconds
  • Memory Usage 2,339KB
  • 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
  • (5)bbcode_code
  • (2)bbcode_html
  • (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