vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vBJournal Lite 1.1b (https://vborg.vbsupport.ru/showthread.php?t=43717)

Shadow_NL 08-24-2003 07:44 AM

Quote:

08-20-03 at 08:35 PM memobug said this in Post #284
There is a link for [View All Entries]. It seems to work properly on some of the posters' forums.

Regards,

Matt

It didn't work on the journal, more posts showed up but still not all, any other ideas anyone?

memobug 08-24-2003 08:19 AM

Quote:

Today at 09:44 AM Shadow_NL said this in Post #285
It didn't work on the journal, more posts showed up but still not all, any other ideas anyone?
It would be interesting to check the database and see if the posts are still there or if it is a display problem. Particularly "Pamela's Journal" which looks like it is supposed to have 59 entries but only 22 and one-half seem to be coming up.

I think the entries are in the Journal table. If you have php-my admin, you could look and see what's there.

Good luck,

Matt

Shadow_NL 08-24-2003 11:36 AM

It is a display problem, all entries are still in the database. Any way I can make them show?

memobug 08-24-2003 07:43 PM

Hi Shadow,

Looking at your journals, the problem seems consistent across all the users. After about 22 messages, it will only print the title. It's stopping right where it should be printing the Mood & Now Playing line.

Why don't you try archiving your journal.php and uploading the original one from this thread as a test. The one without the moods mod. The fact that it is dropping out when it should be printing a mood has me thinking that this may be part of the problem.

Regards,

Matt

Sefiros 08-25-2003 04:49 PM

Does anyone know how to make this work with vBulletin 3.0.0? It may already have been answered, but I'm too lazy / tired to look for it.

Thanks!

Kaelon 09-03-2003 08:12 PM

Sefiros - vBJournal Lite is not meant to work with anything other than vBulletin 2.x.

memobug 09-03-2003 10:15 PM

Greetings,

Can anyone think of a reason why inline images (created with IMG tags) are not being parsed correctly using this hack? I have seen two other posts here reporting the same problem, and I have been tearing my hair out over it.

1) Other BB code is fine: smiles, underline, bold, italic, font, color , 2) URLs are do not autolink but can be linked manually with URL /URL tags.

3) When I embedded IMG /IMG tags, with the required brackets, of course, it simply displays the unlinked URL surrounded by the IMG /IMG tags.

I have even tried hacking the post display procedure to make it ignore the forum's individual preferences on IMG display, but it doesn't work!!

Regards,

Matt

NightWalk8r 09-16-2003 06:12 AM

HELP!!!

ok, the journal.php is showing up as a blank page........what did i do wrong?? :/

here's the link if u wanna look at it http://www.anim3.com/forums/journal.php

TIA :(

NightWalk8r 09-17-2003 04:34 AM

nvm, i found out the problem..........templates didnt get created, had to do it manualy =/

Harlequin 09-23-2003 02:18 AM

You know, I was really thinking about this in the shower and I thought that this might be a start to solving the whole blog business.


Most people in the anime community really enjoy owning their own blog -- a journal style site that is customized entirely by them, but the majority of the time they don't want to bother with actually setting up the script that runs the blog's background -- that's where vBJournal comes in (excellent work on vBJournal Lite, btw.)


If an admin were to put two custom profile fields, hidden on profile view but editable by the user; one for 'Custom Journal Header' and one for 'Custom Journal Footer', and having journal.php call this custom header and custom footer that the user has defined, this would allow the journal system to work it's magic as a backbone for their site -but- not actually have your site keep their site's data and thus, saving on your bandwidth as a whole.


It's a tradeoff, but I think it'd work well if journal.php can skip around the default header/head inserts/style. It'd take a little work on FAQing for the user, but in general, I don't believe this would be too hard to implement.


Thanks for the great work guys. :)

sabret00the 09-24-2003 01:24 AM

how can i get the number of comments to show up on the journal-home (journal.php) (where it shows 10 latest entries)

memobug 10-02-2003 01:15 PM

Quote:

Originally Posted by memobug
I just installed this and embedded BB Code images worked the first time I tried, but subsequently they do not. I tried editing the original post with img tags, and adding more posts, but they appear simply as url-type links.

I think I resolved the problem with the no embedded image display that a couple of people were reporting. The problem appears to be that the bbcode parsing improperly executed. It was called like this:

bbcodeparse($journal[entry]);

Ordinarily there would be additional parameters, $forumid and $allowsmilies, for something like this

$journal[description] = bbcodeparse($journal[entry],$forumid,$allowsmilies);

Then bbcodeparse would lookup the forum's image display flag and decide whether to display html, images and smilies. It would pass those instructions forward as additional argumetns to bbcodeparse2 like this:

bbcodeparse2($bbcode,$dohtml,$dobbimagecode,$dosmi lies,$dobbcode)

Of course the journal doesn't have a valid forum ID, so it was behaving a little strangely and not displaying images on my forum on my server. It worked for some.


The Bottom Line
But if you have this problem, you can make the bbcode call explicit, and tell it absolutely whether to display html, embedded images, smilies and bbcode in your journals:
Code:

1. Around line 680 (I have added stuff so the numberings off by +/ 10 lines:

// replace this:
            $journal[description] = bbcodeparse($journal[entry]);
// with this:
            $journal[description] = bbcodeparse2($journal[entry],0,1,1,1);

2. around line 360

// replace this:               
$journal_comment[comment] = bbcodeparse($journal_comment[comment]);
// with this:
                $journal_comment[comment] = bbcodeparse2($journal_comment[comment],0,1,1,1);

That should take care of embedded images. I suppose you could also make it ....1,1,1,1); to enable the display of html in your gallery.


Next step, figure out why URLs are not being hotlinked automatically!

Regards,

Matt

memobug 10-02-2003 01:22 PM

Quote:

Originally Posted by sabret00the
how can i get the number of comments to show up on the journal-home (journal.php) (where it shows 10 latest entries)

Not sure exactly what you mean. I can see a few useful possibilities, though:

1) Do you want a new table that is something like

Journals with the most Comments
TreeBay's Journal 19 Comments
Lesley's Journal 8 Comments
LivingArt's Journal 3 Comments
BonsaiMon's Journal 2 Comments
pdbbonsai's Journal 2 Comments
waltseed's Journal 2 Comments
buzzy's Journal 1 Comments


2) Do you want a new table that is something like:

Most Recent Comments
2-Oct-2003 07:00 AM | By TreeBay in waltseed's Journal
29-Sep-2003 07:06 PM | By Lesley in BonsaiMon's Journal
23-Sep-2003 10:37 PM | By Lesley in LivingArt's Journal
22-Sep-2003 07:25 PM | By LivingArt in buzzy's Journal
19-Sep-2003 09:02 PM | By TreeBay in Lesley's Journal

or
3) Maybe you want to display the number of comments next to the number of entries in the existing tables without adding tables?

Regards,

Matt

Red Blaze 10-02-2003 01:22 PM

Works pretty good for me so far. :) THANK YOU!!

Any updates on it though? I'd like for the user's buddies to see the private entries instead of just the admins.

mariannet 10-07-2003 04:05 PM

Hi there

Love this hack - but...

I keep getting this error:

*******************************
Database error in vBulletin 2.3.0:

Invalid SQL: UPDATE user SET journal=0 WHERE userid=1
mysql error: Unknown column 'journal' in 'field list'

mysql error number: 1054

Date: Tuesday 07th of October 2003 06:58:01 PM
Script: http://cgi.dullernes-univers.dk/ms/m...on=lockjournal
Referer:
********************************

The actions actually takes place even though this error happens.

What to dooooo?

Red Blaze 10-08-2003 01:03 PM

I found these problems and some have been mentioned before.

I barely found them. The install went well is what I ment. ^^;;

1) The comment button is broken. I can't make a comment, it'll take me to an unknown page. Tried to fix it, but couldn't.
2) The Avatars won't show. It would give me an "x" or nothing at all. It's a "no avatar selected" type of thing. I added that hack. It's a defult avatar in other words.

morpheusXIIX 10-10-2003 01:52 AM

Quote:

Originally Posted by mariannet
Hi there

Love this hack - but...

I keep getting this error:

*******************************
Database error in vBulletin 2.3.0:

Invalid SQL: UPDATE user SET journal=0 WHERE userid=1
mysql error: Unknown column 'journal' in 'field list'

mysql error number: 1054

Date: Tuesday 07th of October 2003 06:58:01 PM
Script: http://cgi.dullernes-univers.dk/ms/m...on=lockjournal
Referer:
********************************

The actions actually takes place even though this error happens.

What to dooooo?

looks like the table JOURNAL wasnt added to your database. I would check that.

Red Blaze 10-14-2003 02:23 PM

Can I get any help with making a comment? When a user makes a comment and clicks on "Add comment" button, it can't find the page, and the comment information doesn't go to the database.

EDIT: Ok, I sorta fixed it, but the info STILL doesn't go to the database. It just goes to the main Journal page. This is the link I have in the journal_comments template.
Quote:

<form action="journal.php?journalid=$journal[journalid]&action=addcomments" method="post" onSubmit="return validate(this)">
This is the form code in the journal_commentnewbit template
Quote:

<input type="hidden" name="userid" value="$userid" border="0"><input type="hidden" name="journalid" value="$journalid" border="0"><input type="hidden" name="s" value="journal.php?s=$session[sessionhash]&journalid=$journal[journalid]&action=view" border="0"><input class="bginput" type="submit" name="submit_add_comment" value="Add Comment" tabindex="7" accesskey="s" border="0">
What do I have wrong? Yes I did edit it to try to fix it, but no use.

EDIT II: Nevermind, fixed it, I just deleted the templates and reinstalled just the template section. Turned out to be one stupid thing that was missing. >_>;

EDIT III: Working very very very well now, no probs as of yet this time. ^^;

EDIT IV: Just thought of this, (so many EDITs, huh? o.O; ). Is there a way to add attachments to entries? I'd really like that add-on.

reismarktq2 10-16-2003 03:47 PM

Quote:

Originally Posted by memobug
Not sure exactly what you mean. I can see a few useful possibilities, though:

1) Do you want a new table that is something like

Journals with the most Comments
TreeBay's Journal 19 Comments
Lesley's Journal 8 Comments
LivingArt's Journal 3 Comments
BonsaiMon's Journal 2 Comments
pdbbonsai's Journal 2 Comments
waltseed's Journal 2 Comments
buzzy's Journal 1 Comments


2) Do you want a new table that is something like:

Most Recent Comments
2-Oct-2003 07:00 AM | By TreeBay in waltseed's Journal
29-Sep-2003 07:06 PM | By Lesley in BonsaiMon's Journal
23-Sep-2003 10:37 PM | By Lesley in LivingArt's Journal
22-Sep-2003 07:25 PM | By LivingArt in buzzy's Journal
19-Sep-2003 09:02 PM | By TreeBay in Lesley's Journal

or
3) Maybe you want to display the number of comments next to the number of entries in the existing tables without adding tables?

Regards,

Matt

Matt: I'd like Door Number 3 on this one, PLEASE, ASAP. :)

sabret00the 10-16-2003 04:23 PM

do you mean like they have over at www.bluelight.nu?

reismarktq2 10-18-2003 09:54 PM

Something like:
Quote:

Blog Statistics
reismark's Blog: 9 Entries | 131 Views | 5 Comments
spycatcher34's Blog: 6 Entries | 84 Views | 7 Comments
etc.
etc...

Jakor Sevel 11-10-2003 07:21 PM

Is there a way for me to turn off the option that admins can read private entries?

memobug 11-10-2003 08:43 PM

You'd need to hack the journal.php Look for /* View Journal Page */ and find:

PHP Code:


    
//check if user is owner of journel or user is admin.
    
if(($bbuserinfo[userid] == $userid) || ($bbuserinfo[usergroupid] == "6")) 

and take out the

||($bbuserinfo[usergroupid]=="6"

If after doing that, the EDIT option still comes up next to the private entries, you'd hack the /* Edit Entry */ code in a similar way to prevent the admin from just clicking EDIT to read the post.

Of course, none of this is bulletproof; if you have database access you can read all you like.

Regards,

Matt

Jakor Sevel 11-10-2003 10:07 PM

Thank You. I didnt have to do the Edit one. Its works fine now.
And i want the people at my board to feel that they can type whatever they want the the Admins wouldnt see it by accident or something. I wouldnt be reading their private entries on purpose anywayz, so its doesnt matter if its still in the database.

DeathSociety 11-15-2003 08:30 PM

I love the hack! It's perfect except for one thing.. The Who's Online screws up when people view their journals.

Is there a way to fix that?

Check out the attachment for a screen shot.

Roxie 11-15-2003 09:18 PM

If you click it, it still takes you to where they are...but I haven't figured out how to fix that part. lol

Zelda-King 11-15-2003 09:24 PM

You can use FireFly's Online Locations hack to make it say what you want. ie, "Using Journal System".

DeathSociety 11-15-2003 10:47 PM

Quote:

Originally Posted by Zelda-King
You can use FireFly's Online Locations hack to make it say what you want. ie, "Using Journal System".

Thanks! It works fine now :)

sabret00the 11-15-2003 11:40 PM

bane wrote something that does the full online location to show reading who's journal or anything, anyway it's in the hack requests forum, he should release it :)

midnightz 12-09-2003 07:55 PM

Quote:

Originally Posted by reismarktq2
Matt: I'd like Door Number 3 on this one, PLEASE, ASAP. :)

Original quote - https://vborg.vbsupport.ru/showpost....&postcount=303

I would love 2 and 3 - Please :)

cybermomcafe 12-18-2003 11:21 PM

Any idea if this will/is going to work with vb3... I want to upgrade to vb3 Gamma... but I don't wanna kill my members journals...

gmarik 12-20-2003 07:52 AM

Nope, see KurFire hack ...

cybermomcafe 12-20-2003 06:13 PM

see what?...

ragintajin 12-21-2003 10:41 AM

Man, this hack looks awesome...I really hope you're gonna make a version for vB3!!

recumbent615 12-22-2003 12:58 AM

I'm having an issue, how do I delete a user's journal? I do not see an option for this ?

Kevin

AutomatikStudio 12-31-2003 03:12 AM

You know what would be something cool...is to somehow make it where a users journal was accessible from a subdomain. Like when a user registers for your boards it creates a subdomain like "whoever.boards.com" and the subdomain would point to their journal...then people could tell their friends "Hey...go look at my journal at 'whoever.boards.com'" and then you'd get tons of extra traffic and then you'd probably have the most popular boards ever created....all because of my idea :)

memobug 12-31-2003 05:01 AM

if your server supports htaccess files, you should be able to do something like this through a simple redirect. I have used it to spoof user and keyword subdirectories, so you could probably do subdomains if that was your thing.

You'll see what happens to the address bar when you click this link. htaccess turns the path /user/AutomatikStudio into a search on the term AutomatikStudio:

http://pictures.bonsaitalk.com/user/AutomatikStudio

Unfortunately, this did not make my forum the most popular on the Internet, however the latest stats indicate we are running a close second. ;)

Regards,

Matt

midnightz 01-20-2004 02:27 PM

Ok total weirdness!

has anybody had a active journal user, lose thier postbit link that shows up? Even if they have a journal and its active? This user is the only one and i checked all his setting in phpMyAdmin and they are fine, but the postbit only on him disapearing is completely weird as hell

Anybody have an idea?

CRego3D 02-05-2004 12:45 PM

Is there a way I can add the "Most Recent Entries" to a portal page ? (Using a php include maybe)

WaterTrooper 02-07-2004 01:27 AM

I just installed this hack and it's a very helpful one. :)


All times are GMT. The time now is 07:40 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.01752 seconds
  • Memory Usage 1,844KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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