vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vBJournal for vBulletin 3.5 (https://vborg.vbsupport.ru/showthread.php?t=96462)

Stangsta 04-05-2006 09:46 PM

Quote:

Originally Posted by thumbsucker
Can someone tell me where I can get MOODS for VBJournal?

You make your own in the options panel.

davide101 04-06-2006 08:39 PM

I inspired by Cloud Warrior, I decided it was time to get the latest blog entries on the rest of my site. After an hour of playing around, I have some working code. This code is NOT COMPLETE! You need to manually put in the RDF header information in the code. Please don't try to use it if you aren't comfortable playing with PHP code. If someone wants to fix it up and repost it with an explanation that a noobie could follow, by all means go ahead. My brain is about to quit for the day so I'm not quite up to it.

Added the following section of code to the journal.php file causes journal.php?do=rss will pull the latest entries in RDF format.

Code:

// RSS SUPPORT

if($_REQUEST['do']=='rss')
{
        $vbulletin->input->clean_array_gpc('r', array(
                'type' => TYPE_STR,
        ));
        // ATTN Compatibility Code
        $type =& $vbulletin->GPC['type'];
        // ATTN Compatibility Code
       
        require_once(DIR . '/includes/functions_file.php');
        // $journalinfo= $db->query_first("SELECT journalist,journalist_id,journalname,journaldesc FROM " . TABLE_PREFIX . "journals");
        $getentries= $db->query("SELECT " . TABLE_PREFIX . "journal_entries.entrytitle, " . TABLE_PREFIX . "journal_entries.entrytext, " . TABLE_PREFIX . "journal_entries.entrydate,
                        " . TABLE_PREFIX . "journal_entries.private, " . TABLE_PREFIX . "journal_entries.entry_id, " . TABLE_PREFIX . "journal_entries.allowedusers, " . TABLE_PREFIX . "journals.journalist FROM
                        " . TABLE_PREFIX . "journal_entries, " . TABLE_PREFIX . "journals WHERE " . TABLE_PREFIX . "journal_entries.entry_active=1 AND
                        " . TABLE_PREFIX . "journal_entries.journal_id = " . TABLE_PREFIX . "journals.journal_id ORDER BY entrydate DESC");
   
                                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>Diabetes Daily Member Blogs: Recently Updated</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;
                                $previousentry = 0;

                                while($entry= $db->fetch_array($getentries))
                                {
                                        if($entry['private']!=1 AND $previousentry != $entry['entry_id'])
                                        {
                   
                                                $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_short= substr ( $entry['entrytext'], 0, 200);

                                                $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<author>".htmlspecialchars($entry['journalist'])."</author>\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_short."]]></content:encoded>\r\n";
                                                $rss1_body .= "\t\t<description>".htmlspecialchars(strip_tags($entry_short))."</description>\r\n";
                                                $rss1_body .= "\t</item>\r\n\r\n";
                                        }
                                                                                $previousentry = $entry['entry_id'];
                                        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
}

The more I play with this hack, the more I love it!

tuanluu 04-06-2006 11:46 PM

I think It is time to realease an update for this mode. due the popular and more bugs free! What do your think?

AN-net 04-07-2006 01:11 AM

i am working on 1.5 of this hack on the 3.0.x platform, once its complete i will port it over to 3.5.x.

tuanluu 04-07-2006 04:51 AM

thank I am very glad to hear this good news

Brandon Sheley 04-08-2006 04:01 AM

how can I make the navbar link viewable to guest ?

PixelFx 04-10-2006 08:42 PM

any way to fix BB Code in threads when posting in vbjournal? I'm using php 4.4.2 / mysql 4.1.18 / apache 2.0 .. on xp pro .. with vb3.5.4 ..

everything else seems to work but that.

bada_bing 04-11-2006 02:39 AM

Any chance of updating this to 3.5.x and any current screen shots?

SludgeMeister 04-12-2006 03:58 AM

Is there anyway to allow users to feed their LiveJournal into vbJournal (via RSS?)? I notice AN-Net had mention of it sometime in 2005 but it seems to have faded away and can't determine whether this version has this option?

Thanks

AN-net 04-12-2006 01:30 PM

Quote:

Originally Posted by SludgeMeister
Is there anyway to allow users to feed their LiveJournal into vbJournal (via RSS?)? I notice AN-Net had mention of it sometime in 2005 but it seems to have faded away and can't determine whether this version has this option?

Thanks

this version does not, however on the vB Journal Development RoadMap i do plan to have at some point interaction with API's of popular journal and blogging systems.

Morrighan256 04-12-2006 10:46 PM

Okay, been through 25 pages of this thread and didn't see my particular issue, so here goes.

I downloaded this hack, unzipped it, and uploaded the files through my FTP first. Then I installed the product through my AdminCP. Then I went into my templates and made all the changes, copy/pasting so I didn't miss anything. I set the permissions, and checked the vbJournal settings under that menu.

I created my journal, but for some reason, whenever I click "Go to My Journal" through my UserCP, I get a blank white screen.

http://www.cipher-wotr.com/forum/jou...howjournal&j=1

That's the addy of the page. Same thing when I go through the Navbar.

I uninstalled. Reinstalled. Checked the templates. Set the permissions. Completely deleted everything and did it all over again. Still the same error. My site is:

http://www.cipher-wotr.com/forum/index.php

I'm running vBulletin 3.5.4, MySQL 4.1.11, PHPMyAdmin 2.6.2. And as an addendum, the things I've done above are the extent of my knowledge. I know enough about HTML to copy/paste where I'm told, and that's it. :disappointed: Any help would be greatly appreciated.

PixelFx 04-13-2006 06:41 AM

any chance of getting info on what I need to do to fix bbcode in threads in the journal? its really the any error I've found, .. when installing it. I'm on vb3.5.4 / apache 2.0 / mysql 4.1.18, php 4.4.2 .. if that helps.

Deska 04-13-2006 10:31 PM

Lets hope AN-net will release his version asap :D

thumbsucker 04-14-2006 10:48 AM

This is working great for me (3.5.4). Thanks for the hard work!

I hope it doesn't crash as the journals grow larger though....

superstar3 04-14-2006 12:00 PM

Quote:

Originally Posted by thenetbox
Hi

Is there a way to allow image uploads/attachments with a post?


I to wish to know is there a way to allow the upload of images/attachments?

Please help

AN-net 04-14-2006 03:09 PM

Quote:

Originally Posted by superstar3
I to wish to know is there a way to allow the upload of images/attachments?

Please help

not in this version but i have alot planned for vb journal ahead. please note everybody i am not supporting this version but i will support all versions in the future developed by me.

criscokid 04-14-2006 10:20 PM

Quote:

Originally Posted by AN-net
Please note everybody i am not supporting this version but i will support all versions in the future developed by me.

Will your version be compatabile with the Myspace Profile Re-Write PRO! 1.0.0 mod? The reason why I ask is because the vBJournal hack is required.

AN-net 04-15-2006 03:23 AM

Quote:

Originally Posted by criscokid
Will your version be compatabile with the Myspace Profile Re-Write PRO! 1.0.0 mod? The reason why I ask is because the vBJournal hack is required.

i would assume so...if the guy lists it. personally, i did not develop this particular version. Andreas ported with his own code so i can not vouch for this hack or any other hack. i am just wanting people to know that vB Journal is still continuing and will soon be on the 3.5 platform.

snafuu 04-15-2006 06:26 AM

Okay a couple weeks ago I upgraded to 3.5.4 and it told me to update the navbar postbit or something like that. Since then the Journal link on the navbar is gone. I have tried reinstalling the xml file but it does nothing.

Can someone post the code I need to put in the navbar and where to put it?

Thanks!

criscokid 04-15-2006 09:40 AM

Quote:

Originally Posted by AN-net
not in this version but i have alot planned for vb journal ahead.

I'm new to this mod and thread - do you have any idea of time when your version of this mod is going to be available? I'm asking because I'd like to know if I should install this version or hold off and wait for yours.

AN-net 04-15-2006 01:38 PM

Quote:

Originally Posted by criscokid
I'm new to this mod and thread - do you have any idea of time when your version of this mod is going to be available? I'm asking because I'd like to know if I should install this version or hold off and wait for yours.

i am sorry but it is my policy not to give release dates.

FLMom 04-16-2006 04:45 PM

Quick question....

Is there anyway to make the journal entries show in the new posts? Everyone at my site forgets about the journals because they never see a post for them. Is there anything that a noob (me) can do to change this?
TIA! :D

criscokid 04-16-2006 08:21 PM

Just installed this mod but when posting a journal entry the 'mood' drop down box is blank.

CyberRanger 04-16-2006 09:07 PM

Quote:

Originally Posted by criscokid
Just installed this mod but when posting a journal entry the 'mood' drop down box is blank.

You have to add moods in the admincp.

criscokid 04-17-2006 01:17 PM

Quote:

Originally Posted by westpointer
You have to add moods in the admincp.

I can't see any referenceto vbJournal anywhere in the AdminCP - where should it be?

What are the common / funky moods that othe people are adding to their installs of vbJournal? (I've not used Myspace before so don't know what they use / what users might be familiar with).

Morrighan256 04-17-2006 02:05 PM

Quote:

Originally Posted by Morrighan256
Okay, been through 25 pages of this thread and didn't see my particular issue, so here goes.

I downloaded this hack, unzipped it, and uploaded the files through my FTP first. Then I installed the product through my AdminCP. Then I went into my templates and made all the changes, copy/pasting so I didn't miss anything. I set the permissions, and checked the vbJournal settings under that menu.

I created my journal, but for some reason, whenever I click "Go to My Journal" through my UserCP, I get a blank white screen.

http://www.cipher-wotr.com/forum/jou...howjournal&j=1

That's the addy of the page. Same thing when I go through the Navbar.

I uninstalled. Reinstalled. Checked the templates. Set the permissions. Completely deleted everything and did it all over again. Still the same error. My site is:

http://www.cipher-wotr.com/forum/index.php

I'm running vBulletin 3.5.4, MySQL 4.1.11, PHPMyAdmin 2.6.2. And as an addendum, the things I've done above are the extent of my knowledge. I know enough about HTML to copy/paste where I'm told, and that's it. :disappointed: Any help would be greatly appreciated.

Bump.

MillerLight 04-17-2006 08:34 PM

Does anyone have a live example I can look at on there site?

I have snooped around, but would like to see a live production on a site.

Thanks ;)

jetjames 04-18-2006 02:30 PM

Hello, I am new to vbulliten, and I'm trying to install this hack. I have uploaded the files in step 1. In step 2 it says "Import product-journalhack.xml", I'm not sure what this means. Where do I Import? Then I'm assuming the template edits are done in the admin on vbulliten?
Thanks,
Kevin

Roms 04-19-2006 12:11 AM

Thanks! :)

capebretoner 04-19-2006 03:43 PM

AN-net :

I am going to be installing this version of the Journal in the next couple of weeks, however I am wondering if your version will allow me to upgrade easily? if so great.... If not will there be any way for me to import all of the pre-existing journals to your version.

Thanks

AN-net 04-20-2006 09:58 AM

Quote:

Originally Posted by capebretoner
AN-net :

I am going to be installing this version of the Journal in the next couple of weeks, however I am wondering if your version will allow me to upgrade easily? if so great.... If not will there be any way for me to import all of the pre-existing journals to your version.

Thanks

i will make an upgrader for this version.

capebretoner 04-20-2006 11:51 AM

Perfect, thanks.....

shockx5 04-21-2006 12:11 AM

im getting this error

Code:

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

I don't understand what I've done wrong, ive installed this hack successfully on another forum, and i did the exact same thing on this forum in doing it currently and its not working :(


Help please...it only happens when i open journal.php. and its only when the permissions to view the journal are set to on, if you have no permissions to view it then it opens...cept with the no permission message.

FLMom 04-21-2006 03:06 AM

Quote:

Originally Posted by FLMom
Quick question....

Is there anyway to make the journal entries show in the new posts? Everyone at my site forgets about the journals because they never see a post for them. Is there anything that a noob (me) can do to change this?
TIA! :D



Anyone??

YOimYO 04-21-2006 12:54 PM

ok, I have installed this on one of my boards, and it works perfectly.

BUT. I have another board that has MANY MANY hacks. Is it possible for me to do manually all the plugin entries ?


thx :) nice hack btw ;)

klaush 04-21-2006 06:22 PM

Quote:

Originally Posted by Morrighan256
Bump.

So here "white screen"! Any help would be fantastic!

Thanks!

BrentW 04-23-2006 12:20 AM

Quote:

Last Update: 17. Nov 2005
I'm giving up hope this mod will ever work with PHP 5 and SQL 4.1+ anytime soon. Kinda sad considering both of those are the way to the future. Oh well, my own fault for being too lazy to learn PHP ;)

kyle 04-23-2006 01:36 PM

Guys is there anyway to set Journal to show up on the frontpage CMPS?

jndeakin 04-23-2006 08:21 PM

Got this working pretty well, and asked one of our journal-users for their opinion on our test forum. One thing which concerned them was the option for people to download other people's journals. I can't see any way of switching that off. Is there one?

The search facility works, but doesn't actually jump to the entry it found, just the head of the page. Is that an error on my part, or just how it works?

The previous journal wasn't vBjournal, so it's taking a bit of playing with the database to get it working :)

Thanks for writing it in the first place, and thanks for any help!

Jim Deakin

noonespecial 04-24-2006 01:55 AM

I'm trying to add the user's avatar on comments..

$this->comment['avatarrevision'];

Isn't grabbing the avatarrevision number though, can someone help???


All times are GMT. The time now is 08:36 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02732 seconds
  • Memory Usage 1,866KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete