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
  #382  
Old 10-21-2004, 02:52 PM
Cloud-Warrior's Avatar
Cloud-Warrior Cloud-Warrior is offline
 
Join Date: Feb 2002
Location: Galway, Ireland
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi -

I added RSS 1.0 (RDF) functionality to my install of vB Journal. Basically, you have to change "SELECT journalist" to "SELECT journalist,journalname,journaldesc" in the downloadjournal section of journal.php, make sure your Unregistered usergroup can view journals in the Admin CP, and paste this code in journal.php after the XML download part:

Code:
// RSS 1.0 Begins

			else if($type=="rss1")
			{
				require_once('./includes/functions_bbcodeparse.php');

				$rss1_header .= "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\r\n\r\n";
				$rss1_header .= "<rdf:RDF\r\n";
				$rss1_header .= "  xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\r\n";
				$rss1_header .= "  xmlns:dc=\"http://purl.org/dc/elements/1.1/\"\r\n";
				$rss1_header .= "  xmlns:content=\"http://purl.org/rss/1.0/modules/content/\"\r\n";
				$rss1_header .= "  xmlns=\"http://purl.org/rss/1.0/\"\r\n";
				$rss1_header .= ">\r\n\r\n";
				$rss1_header .= "<channel rdf:about=\"".$vboptions['bburl']."/journal.php?do=downloadjournal&amp;j=".$j."&amp;type=rss1\">\r\n";
				if ($journal['journalname'] == "") { $journal['journalname'] = $journal['journalist'] . "'s Blog"; }
				$rss1_header .= "<title>".htmlspecialchars($journal['journalname'])."</title>\r\n";
				$rss1_header .= "<link>".$vboptions['bburl']."/journal.php?do=showjournal&amp;j=".$j."</link>\r\n";
				if (empty($journal['journaldesc'])) { $journal['journaldesc'] = $journal['journalist']."'s Blog at ".$vboptions['bbtitle']; }
				$rss1_header .= "<description>".htmlspecialchars($journal['journaldesc'])."</description>\r\n\r\n";
				$rss1_header .= "<items>\r\n";
				$rss1_header .= "\t<rdf:Seq>\r\n";

				$totalentries = 0;

				while($entry= $DB_site->fetch_array($getentries))
				{
					if($entry['private']!=1)
					{
						$totalentries++;

						$entry['entrytext']= parse_bbcode2($entry['entrytext'], 0, $setting['allow_imgcode'], $setting['allow_smilies'], $setting['allow_bbcode']);
						$entry['entrytext']= unhtmlspecialchars(stripslashes($entry['entrytext']));
						$entry['entrytext']= ereg_replace("{smilies}", $vboptions['bburl']."/images/smilies", $entry['entrytext']);

						$entry['entrytitle']= stripslashes($entry['entrytitle']);


						$rss1_header .= "\t\t<rdf:li rdf:resource=\"".$vboptions['bburl']."/journal.php?do=showentry&amp;e=".$entry['entry_id']."\" />\r\n";
						$rss1_body .= "\t<item rdf:about=\"".$vboptions['bburl']."/journal.php?do=showentry&amp;e=".$entry['entry_id']."\">\r\n";
						$rss1_body .= "\t\t<title>".htmlspecialchars($entry['entrytitle'])."</title>\r\n";
						$W3CDTFdate = preg_replace("/(\+|\-)([0-9]{2})([0-9]{2})/","$1$2:$3", date("O",$entry['entrydate']));
						$rss1_body .= "\t\t<dc:date>".date("Y-m-d",$entry['entrydate'])."T".date("H:i:s",$entry['entrydate']).$W3CDTFdate."</dc:date>\r\n";
						$rss1_body .= "\t\t<link>".$vboptions['bburl']."/journal.php?do=showentry&amp;e=".$entry['entry_id']."</link>\r\n";
						$rss1_body .= "\t\t<content:encoded><![CDATA[".$entry['entrytext']."]]></content:encoded>\r\n";
						$rss1_body .= "\t\t<description>".htmlspecialchars(strip_tags($entry['entrytext']))."</description>\r\n";
						$rss1_body .= "\t</item>\r\n\r\n";
					}

					if($totalentries=="15") { break; }
				}

				$rss1_header .= "\t</rdf:Seq>\r\n";
				$rss1_header .= "</items>\r\n\r\n";
				$rss1_header .= "</channel>\r\n\r\n";

				$rss1_body .= "</rdf:RDF>";

				$filestring = utf8_encode($rss1_header.$rss1_body);
				$filename = "$journal[journalist]_blog_".vbdate($vboptions['dateformat'], TIMENOW).'.rdf';

				header("Content-Type: application/rdf+xml; charset=utf-8");
       			header('Expires: ' . gmdate('D, d M Y H:i:s') . ' GMT');
		        header('Content-Disposition: attachment; filename="' . $filename . '"');
		        header('Content-Length: ' . strlen($filestring));
		        header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
		        header('Pragma: public');

				echo $filestring;
			}

// RSS 1.0 Ends
You'll then need to add a link to download it in the drop down menu. More as I figure it out...

Edit (2005-03-30): The template is called journal_journalpage - change type=xml to type=rss1 and XML Format to RSS 1.0 Format. Fixed problem with a missing private check.

Edit (2005-03-31): Added content:encoded CDATA, and removed UBB tags. Changed items to use URL instead of an arbitrary sequence number. I also like to change "ORDER by entrydate ASC" to DESC in downloadjournal, but this is personal preference.

Edit (2005-04-14): I've made quite a few changes to the code, namely adding UTF-8 encoding and using corresponding content-type, adding a check to make sure the journal title isn't empty, limiting the number of items to 15.
Reply With Quote
  #383  
Old 10-22-2004, 04:26 PM
blueuniverse blueuniverse is offline
 
Join Date: Jul 2004
Location: UK
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any update on the port from the older journal system?
Reply With Quote
  #384  
Old 10-22-2004, 08:41 PM
fiber1's Avatar
fiber1 fiber1 is offline
 
Join Date: Jun 2004
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AN-net
its the typos that always get me, thank you for observing that as i am an idiot>_<

i will update the zip and upload a fixed version of journal.php when i get home
When will this get updated?^^^
Reply With Quote
  #385  
Old 10-22-2004, 08:44 PM
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 fiber1
When will this get updated?^^^
been very busy as of lately, i will try to get it done as soon as i can
Reply With Quote
  #386  
Old 10-23-2004, 09:27 AM
blueuniverse blueuniverse is offline
 
Join Date: Jul 2004
Location: UK
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not sure if it has been mentioned, but latest journal post in postbit could be good, instead of just a link.

Any update on the port?
Reply With Quote
  #387  
Old 10-23-2004, 09:41 AM
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Location: New Zealand
Posts: 2,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has anyone else experienced the situation where the adding/editing of jbuddies just seems to refresh the page?

I check the userfield table and the name is there, but only the last one I added...each one overwrites the old ones.
Reply With Quote
  #388  
Old 10-23-2004, 10:08 AM
Phrost Phrost is offline
 
Join Date: Jul 2003
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are the cumulative fixes listed in the initial post a part of the latest package, or do they need to be installed after the fact?
Reply With Quote
  #389  
Old 10-23-2004, 05:24 PM
AN-net's Avatar
AN-net AN-net is offline
 
Join Date: Dec 2003
Location: AnimationTalk.com
Posts: 2,367
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok in this fix it fixes the permissions troubles people have been having and also the mood troubles occuring. please overwrite journal_entrybits template with this:

HTML Code:
<a name="e$entry[entry_id]"><table class="tborder" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]" border="0" align="center" width="100%">
<tr>
<td class="thead" align="$stylevar[left]"><div style="float:right"><a href="#e$entry[entry_id]"># $enum</a></div><a href="journal.php?do=showentry&e=$entry[entry_id]">$entry[entrytitle]</a></td>
</tr>
<tr>
<td class="alt1" align="$stylevar[right]"><div class="smallfont">Date Posted: $entry[date] at <span class="time">$entry[time]</span> <if condition="$canview[comments]"><a href="journal.php?do=showcomments&j=$j&e=$entry[entry_id]"></if>Comments ($entry[comments])<if condition="$canview[comments]"></a></if></div></td>
</tr>
<tr>
<td class="alt2" align="$stylevar[left]"><if condition="$show[mood] OR $entry[mood]>0"><div class="smallfont">Mood: <img src="$entry[mood_image]" alt="$entry[mood_name]" /></div><hr /></if>$entry[entrytext]</td>
</tr>
<tr>
<td class="alt1" align="$stylevar[right]"><div style="float:left"><!-- <a href="journal.php?do=report&e=$entry[entry_id]"><img src="$stylevar[imgdir_button]/report.gif" alt="Report This Journal Entry to an Administrator" border="0" /></a> --><if condition="$bbuserinfo[usergroupid]==6"><img src="$stylevar[imgdir_button]/ip.gif" border="0" title="Ip: $entry[ipaddress]" /></if><if condition="$can[comment] AND $canview[comments]"><a href="journal.php?do=showcomments&j=$j&e=$entry[entry_id]"><img src="$stylevar[imgdir_button]/discuss.gif" border="0" alt="Discuss This Entry" /></a></if></div><if condition="($caneditown[entry] AND $bbuserinfo[userid]==$journalinfo[journalist_id]) OR ($bbuserinfo[usergroupid]=='6')"><a href="journal.php?do=editentry&j=$j&e=$entry[entry_id]"><img src="$stylevar[imgdir_button]/edit.gif" border="0" /></a></if><if condition="($candeleteown[entry] AND $bbuserinfo[userid]==$journalinfo[journalist_id]) OR ($bbuserinfo[usergroupid]==6)"><a href="journal.php?do=delete&j=$j&e=$entry[entry_id]&t=e"><img src="$stylevar[imgdir_button]/delete.gif" border="0" /></a></if></td>
</tr>
</table></a>
<br />
and also upload the attached journal.php and overwrite the old one

i will update the zip shortly
Reply With Quote
  #390  
Old 10-23-2004, 05:56 PM
trackpads's Avatar
trackpads trackpads is offline
 
Join Date: Aug 2003
Location: Armyville
Posts: 1,074
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks again for all the hard work on this!!!
Reply With Quote
  #391  
Old 10-23-2004, 09:27 PM
msimplay's Avatar
msimplay msimplay is offline
 
Join Date: Aug 2002
Location: UK
Posts: 1,059
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

quick question would be if i applied fixes from before is it nessessary carry out this one or is it ok to leave it ?
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 11:20 PM.


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.09789 seconds
  • Memory Usage 2,369KB
  • Queries Executed 28 (?)
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
  • (1)bbcode_code
  • (1)bbcode_html
  • (2)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_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
  • 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