Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
vBJournal for vBulletin 3.5 Details »»
vBJournal for vBulletin 3.5
Version: 1.0.2 Beta, by Andreas Andreas is offline
Developer Last Online: Jan 2023 Show Printable Version Email this Page

Version: 3.5.1 Rating:
Released: 09-16-2005 Last Update: 11-16-2005 Installs: 597
DB Changes Uses Plugins Template Edits
Additional Files Is in Beta Stage  
No support by the author.

This is a Port of vB Journal by An-Net

A t t e n t i o n
This Hack is unsupported and incompatible with PHP 5.
You are herby advised to not use it.
If you do have this hack installed it is advised to use vBulletin Blog instead.
You can import current entries to vBulletin Blog via Impex and uninstall this hack afterwards.

Supporters / CoAuthors

Show Your Support

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

Comments
  #732  
Old 11-26-2005, 11:46 PM
noonespecial noonespecial is offline
 
Join Date: Nov 2002
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FamilyCorner
Are you using the CMPS module from VBAdvanced? If so you can incorporate it like I did:

http://www.familycorner.com/forums/journal.php3

If you are using this system then let me know, I'll be happy to post what I learned (probably here LOL)
Yes, I am using Vbadvanced (CMPS 2.0) ... how did you make that module??
Reply With Quote
  #733  
Old 11-27-2005, 04:59 AM
miner's Avatar
miner miner is offline
 
Join Date: Mar 2005
Posts: 594
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I use this and find few of my members enjoy it...

thankyou...
Reply With Quote
  #734  
Old 11-27-2005, 11:47 AM
Wordplay Wordplay is offline
 
Join Date: Nov 2001
Location: Dengoku
Posts: 864
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Andreas
@Wordplay
mySQL errors about conflicting collations.
meaning i'd be coming across what kind of problems?
Reply With Quote
  #735  
Old 11-27-2005, 12:09 PM
claimbuddy claimbuddy is offline
 
Join Date: May 2005
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Concept: Forum users create a Journal for a new case. Then, keep a diary and upload their images.

Just need these users of these case journals to be able to keep them private with the exception of admins....

If good fit, anybody want to undertake a paid project estimated at $1500.

Forgive me if this is not in the correct spot.

Thanks.

Call 504-638-1265
Reply With Quote
  #736  
Old 11-28-2005, 01:06 AM
Sergg Sergg is offline
 
Join Date: Apr 2005
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installation went real smooth, I edited permissions, that wents fine. So I decided to test it out, after I create a journal I got this error:

Parse error: parse error, unexpected T_PRIVATE, expecting ']' in /home/allrpg/public_html/forums/journal.php(564) : eval()'d code on line 188

Gives me the same error when I click on "my journal" and "journal index" from the nav bar. Also gives me the same error in the userCP.

Not sure what the problem is, I had some database errors during the time I was editing the templates, but I pretty sure that everything edited ok. Any ideas?
Reply With Quote
  #737  
Old 11-28-2005, 01:35 AM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Sergg
Quote:
Originally Posted by Myself in first post (which you don't seem to have read)
Known Issues
  • Beta 1 does not work properly with PHP 5. Problems are to be expected if you try to run this Hack with PHP 5.
Reply With Quote
  #738  
Old 11-28-2005, 01:42 AM
Sergg Sergg is offline
 
Join Date: Apr 2005
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Uh... as far as I know I don't have PHP5, In fact I'm pretty sure were still using PHP3.
Reply With Quote
  #739  
Old 11-28-2005, 01:45 AM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check it. If you are in fact using PHP 3, send me a PM with an ACP login.
(Though I am not sure if it would work with PHP 3 at all ... the minimum requirement for vBulletin itself is 4.1.0)
Reply With Quote
  #740  
Old 11-28-2005, 06:04 AM
nabeelaejaz nabeelaejaz is offline
 
Join Date: Oct 2005
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how do i administer it from the backend ... I do not see any settings option .. also I did like to add/edits moods ... how do i do that? Thank you.
Reply With Quote
  #741  
Old 11-28-2005, 08:37 AM
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,journalist_id" to "SELECT journalist,journalist_id,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/class_bbcode.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=\"".$vbulletin->options['bburl']."/journal.php?do=downloadjournal&amp;j=".$j."&amp;type=rss1\">\r\n";
                                if ($journalinfo['journalname'] == "") { $journalinfo['journalname'] = $journalinfo['journalist'] . "'s Blog"; }
                                $rss1_header .= "<title>".htmlspecialchars($journalinfo['journalname'])."</title>\r\n";
                                $rss1_header .= "<link>".$vbulletin->options['bburl']."/journal.php?do=showjournal&amp;j=".$j."</link>\r\n";
                                if (empty($journalinfo['journaldesc'])) { $journalinfo['journaldesc'] = $journalinfo['journalist']."'s Blog at ".$vbulletin->options['bbtitle']; }
                                $rss1_header .= "<description>".htmlspecialchars($journalinfo['journaldesc'])."</description>\r\n\r\n";
                                $rss1_header .= "<items>\r\n";
                                $rss1_header .= "\t<rdf:Seq>\r\n";

                                $totalentries = 0;

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

					        $parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
					        $entry['entrytext'] = $parser->do_parse($entry['entrytext']);
                                                $entry['entrytext']= unhtmlspecialchars(stripslashes($entry['entrytext']));
                                                $entry['entrytext']= ereg_replace("{smilies}", $vbulletin->options['bburl']."/images/smilies", $entry['entrytext']);

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


                                                $rss1_header .= "\t\t<rdf:li rdf:resource=\"".$vbulletin->options['bburl']."/journal.php?do=showentry&amp;e=".$entry['entry_id']."\" />\r\n";
                                                $rss1_body .= "\t<item rdf:about=\"".$vbulletin->options['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>".$vbulletin->options['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 = "$journalinfo[journalist]_blog_".vbdate($vbulletin->options['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.

Edit (2005-11-28): Updated for vB 3.5.
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 06:29 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.06678 seconds
  • Memory Usage 2,325KB
  • 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
  • (1)bbcode_code
  • (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