PDA

View Full Version : vBJournal Lite 1.1b


Pages : [1] 2

Ryangel
19 Sep 2002, 11:12
ATM, this hack would work with ALL versions of vB unless they renamed the 'user' table :speechless:


README.txt (can be found in the zip)


README.txt
New in 1.1b
- Edit journal.php (2 lines). New journal.php here, for 1.1a users (http://www.vbulletin.org/forum/attachment.php?s=&postid=301258)

================================================================================ =====
================================================================================ =====
=== vBJournal Lite version 1.1b =============================================
================================================================================ =====
================================================================================ =====
This is an addon to vBulletin and acts as an online journal/diary. Users can add entries, either

making them private or public(for all to see). For the public entries, users can comment on them.

Thats about it. You should be able to get a better idea viewing a live demo at

http://sgstudents.com/forum/journal.php. The GUI was modeled after gamingforces journal at

http://www.gamingforce.com/forums/journal.php .
-------------------------------------------------------------------------------------
=== This being my first hack, i am SURE that there are going to be =======
=== some bugs, and problems, so just to warn you first =======
=== :: BACKUP YOUR DATABASE ! :) =======
-------------------------------------------------------------------------------------

Now thats over with lets start... I will list the steps of what needs to be done...
NOW :

1) Edit the images to suit your site.
2) Upload the images to the forum's /images folder.

3) Upload install_journal.php to your admin directory.
4) Run install_journal.php and follow instructions... shouldn't be a problem. but i only tested

it once .

5) Run this query (using phpmyadmin,or use this hack

http://www.vbulletin.org/forum/show...&threadid=26272 , etc)

ALTER TABLE user ADD journal SMALLINT NOT NULL

[note this will add a column in your 'user' table, but i think that shouldnt be a problem ...]

6) Upload journal.php to your forum's root directory.
7) goto journal.php page and click on the button ... (should say "Get a journal" or "Unlock

Journal" Cant rem which
... bad memory. lol) this will enable the admin journal (userid=1) and show the first default

welcome msg.

8) Link to journal in postbit.
------------------------------

- open admin/functions.php

FIND

/////////////////////////////////////////////////////

$datecut = time() - $cookietimeout;

if ($counter%2==0) {
$post[backcolor]="#13486D";
$post[bgclass] = "alt1";
} else {

/////////////////////////////////////////////////////

Add ABOVE THIS


/////////////////////////////////////////////////////

// vBJournal Hack by Ryangel
if($post[journal]==1){
$journal = '<a href="journal.php?s=&journalid='.$post[userid].'&action=view"><img

src="http://www.vbulletin.org/forum/images/journal.gif" alt="View '.$post[username].'\'s Journal" border="0"/></a>';
}
else {
$journal = '';
}

/////////////////////////////////////////////////////


save and upload admin/functions.php.

9) open your postbit template and add $journal to where you want the link to show.


You are done ! The journal should be able to work now :D

FEW THINGS TO NOTE
------------------------------------------
- private entries can only be viewed by the owner or admin.
- erm... did i say a few? ok thats the main thing to note.... I'll edit this as it comes to my

mind. lol :laugh:

IN WORKS FOR NEXT VERSION
------------------------------------------
- incooperate moods
- better interface ( but that you can do now by editing the templates yourself ;))
- Admin interface -> from admin cp.
- New user option to choose whether buddies/admin can view private entries.
- anything else that might come up from discussions.


Version Update Log
------------------

1.1a
- Fixed some table color code.
- Added template txt for manual install.

DEMO: http://sgstudents.com/forum/journal.php

culprit
19 Sep 2002, 11:35
Any chance of some screenshots?

Cheers

Ryangel
19 Sep 2002, 12:46
ahh thanks. demo link added in first post

Erwin
19 Sep 2002, 13:06
Your demo link doesn't work. :)

Erwin
19 Sep 2002, 13:07
Okay, the link should be this:

http://sgstudents.com/forum/journal.php

Ryangel
19 Sep 2002, 13:09
thanks.... fixed ... :\

Erwin
19 Sep 2002, 13:12
Looks great! Well done! How many entries do you show on a page? You have 27 all at once at the moment on the same page.

Do the entries increase the post count? Do the comments increase the post count? Just wondering...

Ryangel
19 Sep 2002, 13:16
Originally posted by Erwin
Looks great! Well done! How many entries do you show on a page? You have 27 all at once at the moment on the same page.

Do the entries increase the post count? Do the comments increase the post count? Just wondering...

hmmm if I'm thinking of what you're thinking.... currently it shows the last 10 entries of the user. If you wanted to view older entries. You'll have to click on view all entries.

oh yeah , and no none of this increases the post count

Lesane
19 Sep 2002, 13:17
Great hack, this spares me some time. ;)

Well done.

NexDog
19 Sep 2002, 13:22
Yep, can't wait to install...hopefully in a day or two. :)

Regit
19 Sep 2002, 13:45
great !! can you descirbe some feature of this hack ?

Ryangel
19 Sep 2002, 14:03
Originally posted by Regit
great !! can you descirbe some feature of this hack ?

This is an addon to vBulletin and acts as an online journal/diary. Users can add entries, either making them private or public(for all to see). For the public entries, users can comment on them. Thats about it. You should be able to get a better idea viewing a live demo at http://sgstudents.com/forum/journal.php

zachb
19 Sep 2002, 14:26
thank you!! i am so glad this came out. great job. installed.

zachb
19 Sep 2002, 14:27
suggestion: let user's search for member journal's on the journal page.

[D]Vincent
19 Sep 2002, 15:05
Great. I won't install until later today when I'm fully awake though. But anyways, did you just not use cellspacing on your forum templates for it? Or is there not cellspacing used in it at all. Because I'm lazy and I prefer to have cellspacing=1 so I can see the border. That annoyed the hell out of me on the quiz hack. Never changed it lol

Velocd
19 Sep 2002, 15:16
Cool, I might implement this into my site instead of creating my own Journal system, mainly because my hacking time has been cut back lately.

/me installs

Low Tek
19 Sep 2002, 18:53
Woo. I've been waiting for this come out.

Anyway you can add the link to a user's journal in their profile?

What about adding a Mood selection to each entry?

Riddel
19 Sep 2002, 19:12
wow!! awesome!! I've been waiting for this hack for a long long time! you rock man!

ptbyjason
19 Sep 2002, 19:34
Low Tek I think it puts a link to the journal of the person when you view their profile, but I might be wrong. I know if you look at his post bit there is a button that will let you view the user's journal if they have one.

I think this is a great hack.

I have a question of my own also. Is there a way to allow the user to attach a file or photo in the journal entry?

Odil
19 Sep 2002, 20:42
I have 4 styles installed on my board so this hack when it goes to install the templates, it says it does but there are no templates ever installed for any of the 4 styles. What do I need to do?

Can you at least provide a text on the templates to install so I can do them manually?

Odil

Riddel
19 Sep 2002, 21:22
yea..the templates in the install.php is a little buggy in mine too

indiamike
19 Sep 2002, 21:50
Thanks for releasing this. It's been a long wait for something like this.

Installation went well and will give a little feedback in a few days when I have a chance to play around with it for awhile.

Very Cool...
Thank You :classic:

Mike

indiamike
20 Sep 2002, 00:15
uh--oh---

Need some help.

On the main journal page my user names and journal titles are coming up in an unreadable color (white on white). In which template can I find the color that controls the user name and the journal title.
I have been poking around and can't figure it out.

http://www.indiamike.com/india/journal.php

Cheers
Mike

Ryangel
20 Sep 2002, 01:33
Originally posted by indiamike
uh--oh---

Need some help.

On the main journal page my user names and journal titles are coming up in an unreadable color (white on white). In which template can I find the color that controls the user name and the journal title.
I have been poking around and can't figure it out.

http://www.indiamike.com/india/journal.php

Cheers
Mike

yeah i did think that this would be a problem.. you'll have to edit the journal_mostentrybits, journal_mostviewbits, journal_recententrybits ,

find the first <normalfont> and change to <normalfont color="{ categoryfontcolor }"> , tell me if it works. (without the spaces in categoryfontcolor and the {})

I'll update the zip file later when I'm home.

Ryangel
20 Sep 2002, 01:36
Originally posted by Odil
I have 4 styles installed on my board so this hack when it goes to install the templates, it says it does but there are no templates ever installed for any of the 4 styles. What do I need to do?

Can you at least provide a text on the templates to install so I can do them manually?

Odil

mmm thats a whole load of templates, but I'll create a txt file and post it up when I'm back. say 2 hours from now.

Ryangel
20 Sep 2002, 01:43
Originally posted by ptbyjason
Low Tek I think it puts a link to the journal of the person when you view their profile, but I might be wrong. I know if you look at his post bit there is a button that will let you view the user's journal if they have one.


atm, there isnt a link in the user profile to the journal, will add that in the next update :)


I have a question of my own also. Is there a way to allow the user to attach a file or photo in the journal entry?

Not atm, only if you use the vB code tags, theres no attachment support atm. Will consider this iin future updates.

Ryangel
20 Sep 2002, 01:45
Originally posted by Low Tek

What about adding a Mood selection to each entry?

I hear ya :) Mood selection is in the works atm. I'm still deciding whether to incooperate other mood hacks or just implement a real simple one. Will have to check with the other hack authors.

Ryangel
20 Sep 2002, 01:48
Originally posted by zachb
suggestion: let user's search for member journal's on the journal page.

Noted ! :)

indiamike
20 Sep 2002, 02:15
Originally posted by Ryangel


yeah i did think that this would be a problem.. you'll have to edit the journal_mostentrybits, journal_mostviewbits, journal_recententrybits ,

find the first <normalfont> and change to <normalfont color="{ categoryfontcolor }"> , tell me if it works. (without the spaces in categoryfontcolor and the {})



Thanks for the response.
That was actually the first place I had looked when I was having problems. Even after editing it and replacing it with your code and hand doing it over and over it still didn't take. The solution...well....I cheated...since I couldn't figure out how to get the font color to change I just changed the color of the table.

I am dumbfounded why this didn't work and tried all sorts of different color combos in the font tag....hmm....dunno...I am usually pretty good at editing templates.

We will have to keep looking into this.

Cheers
Mike

Ryangel
20 Sep 2002, 02:52
hmmm *confused*
/me waits for more bugs.

Velocd
20 Sep 2002, 02:55
Originally posted by Ryangel


I hear ya :) Mood selection is in the works atm. I'm still deciding whether to incooperate other mood hacks or just implement a real simple one. Will have to check with the other hack authors.

Just use my vBmoods, it can easily be implemented without hassels and is the best out there on the vBulletin.org :p

Ryangel
20 Sep 2002, 02:57
Originally posted by Velocd


Just use my vBmoods, it can easily be implemented without hassels and is the best out there on the vBulletin.org :p

yeah? ok! Will get down to it asap :) Looks great .

Ryangel
20 Sep 2002, 03:20
Originally posted by indiamike


Thanks for the response.
That was actually the first place I had looked when I was having problems. Even after editing it and replacing it with your code and hand doing it over and over it still didn't take. The solution...well....I cheated...since I couldn't figure out how to get the font color to change I just changed the color of the table.

I am dumbfounded why this didn't work and tried all sorts of different color combos in the font tag....hmm....dunno...I am usually pretty good at editing templates.

We will have to keep looking into this.

Cheers
Mike

ahhh i think i got it... goto those files again and in the first <tr ...
remove the id="cat" :) that should do the trick. I'll update the files now...

Ryangel
20 Sep 2002, 04:07
Originally posted by [D]Vincent
Great. I won't install until later today when I'm fully awake though. But anyways, did you just not use cellspacing on your forum templates for it? Or is there not cellspacing used in it at all. Because I'm lazy and I prefer to have cellspacing=1 so I can see the border. That annoyed the hell out of me on the quiz hack. Never changed it lol

Cellspacing set to 0 you can change that in the journal template.

Ryangel
20 Sep 2002, 04:08
Originally posted by Odil
I have 4 styles installed on my board so this hack when it goes to install the templates, it says it does but there are no templates ever installed for any of the 4 styles. What do I need to do?

Can you at least provide a text on the templates to install so I can do them manually?

Odil

File in first post updated. (includes template.txt)
I'll just put the file here as well.

Riddel
20 Sep 2002, 04:35
okay well this may be a silly problem and there must be something obvious i am overlooking but when I click "Add Entry to Journal" it takes me to a 404 page?

Odil
20 Sep 2002, 04:38
Originally posted by Ryangel


File in first post updated. (includes template.txt)
I'll just put the file here as well.

Thank you! I knew it would be alot of templates, I looked through the install file and I could see how many. I just didn't know enoug to know how to copy them from there if it was even posible.

Thanks for the work!

Odil

Ryangel
20 Sep 2002, 04:58
Originally posted by Riddel
okay well this may be a silly problem and there must be something obvious i am overlooking but when I click "Add Entry to Journal" it takes me to a 404 page?

hmmm , got a link i can see?

Ryangel
20 Sep 2002, 04:59
Originally posted by Odil


Thank you! I knew it would be alot of templates, I looked through the install file and I could see how many. I just didn't know enoug to know how to copy them from there if it was even posible.

Thanks for the work!

Odil

Np :)

Riddel
20 Sep 2002, 05:40
here. hmm it is a strange error. i think I installed everything correctly

Ryangel
20 Sep 2002, 07:14
Originally posted by Riddel
http://www.zanarkand.net/metropolis/journal.php

here. hmm it is a strange error. i think I installed everything correctly

hmm curious. I did try to add a new entry with a new user and that worked. hmmm

omegauk
20 Sep 2002, 08:42
7) goto journal.php page and click on the button ... (should say "Get a journal" or "Unlock Journal" Cant rem which
... bad memory. lol) this will enable the admin journal (userid=1) and show the first default welcome msg.


Hey I am stuck in step 7, I went to journal.php but dont see any button, is blank

indiamike
20 Sep 2002, 09:34
Originally posted by Ryangel


ahhh i think i got it... goto those files again and in the first <tr ...
remove the id="cat" :) that should do the trick. I'll update the files now...

Sweet...that worked perfect. :D

Mike

Ryangel
20 Sep 2002, 11:20
Originally posted by omegauk
7) goto journal.php page and click on the button ... (should say "Get a journal" or "Unlock Journal" Cant rem which
... bad memory. lol) this will enable the admin journal (userid=1) and show the first default welcome msg.


Hey I am stuck in step 7, I went to journal.php but dont see any button, is blank

did you upload the images?

omegauk
20 Sep 2002, 11:23
Its fixed now, I forgot to enter the templates. :)

Riddel
20 Sep 2002, 14:42
@Ryangel, hmm how strange, no matter what account I try it on, member account or admin account, it still gives me a 404 error page?

Ryangel
20 Sep 2002, 15:55
Originally posted by Riddel
@Ryangel, hmm how strange, no matter what account I try it on, member account or admin account, it still gives me a 404 error page?

for example, my dummy account Danny, password - labrat.

curious .... as you can see in your journal. I've added 2 entries before. I just tried again but i got that 404 error you mentioned. atm i have no idea why this would happen. Maybe if anyone else installed this have the same problem?

Ryangel
20 Sep 2002, 16:02
hmmm, ok this might be the problem.
I looked at the source of the add entry page and found that your form points to /journal.php?journalid=2&... while mine shows the full url
I've used $bburl in this line. maybe it doesnt work for you ? try replacing the /journal.php with http://www.zanarkand.net/metropolis/journal.php ?

I'm just taking a wild guess here.

Kaelon
20 Sep 2002, 17:09
This looks great!

Is there any way that you can modify the "View All Entries" display to be multi-paged, for those users that will have hundreds of entries? Thanks!

Kaelon

Gamingforce
20 Sep 2002, 17:45
Good deal, at least you could give credit to my journal which you very closely modeled it after: http://www.gamingforce.com/forums/journal.php

afterlab
20 Sep 2002, 18:04
In full agreement, Gamingforce. I was going to back you up before you commented, but I was unsure if this was unjust to you. Anyways, thanks for the hack, i'll be installing on my forums some time this week.

Riddel
20 Sep 2002, 19:12
It worked!!! thank you so very much!

Velocd
20 Sep 2002, 19:21
Originally posted by Gamingforce
Good deal, at least you could give credit to my journal which you very closely modeled it after: http://www.gamingforce.com/forums/journal.php

Lol, I thought there was some close comparison in the appearance of both journal systems. It's not an incredibly huge deal though, as long as it's not code manipulated.

Kaelon
20 Sep 2002, 20:29
Great work! Several issues:

1. I noticed that on the Journal Stats block, only a custom avatar appears and not one of the standard avatars. Is there any way to ensure that the avatar is displayed?

2. Users that have apostrophe's (e.g., "Mari'a") or other special characters are unable to add journals. The specific error:

Database error in vBulletin 2.2.7:

Invalid SQL: INSERT into journal (journalid, title, entries, views, enabled, timestamp, userid) values (2633, 'Tantic Bry Try'Kar\'s Journal', 0, 0, 1, '1032551764', 2633)
mysql error:

mysql error number: 0

Date: Friday 20th of September 2002 03:56:04 PM
Script: http://www.....com/forums/forums/journal.php?action=createjournal
Referer: http://www.....com/forums/journal.php?s=

You can fix this by finding the following line in journal.php:

$username = $username_retrieve['username'];

And adding right beneath it:

$username = addslashes($username);

Hope this helps! Great hack, again!

Chris M
20 Sep 2002, 21:13
My Journal (http://www.darkblazes.com/forums/journal.php?s=&journalid=1&action=view)

Brilliant work m8:)

Satan

Koss
20 Sep 2002, 21:31
If I wanted to add this to different styles do I have to do it manually ?/
thanks

Chris M
20 Sep 2002, 21:41
No...

Just edit install_journal.php, and find :

$DB_site->query("INSERT INTO template (templateid, title, template, templatesetid) VALUES (NULL,'$key','".addslashes($val)."',1)");

Just change that "1" at the end of the line, to the templatesetid of the other style, and upload it...Then just do the first step, and delete the file after that...

Satan

Koss
20 Sep 2002, 21:52
Originally posted by hellsatan
No...

Just edit install_journal.php, and find :

$DB_site->query("INSERT INTO template (templateid, title, template, templatesetid) VALUES (NULL,'$key','".addslashes($val)."',1)");

Just change that "1" at the end of the line, to the templatesetid of the other style, and upload it...Then just do the first step, and delete the file after that...

Satan
you rule! thanks man :bunny:

Koss
20 Sep 2002, 22:03
ok I changed the file but it screws up on step 3 and I get this error:

Database error in vBulletin Control Panel 2.2.6:

Invalid SQL: CREATE TABLE journal (
journalid int(11) NOT NULL auto_increment,
title text NOT NULL,
description text NOT NULL,
imagename text NOT NULL,
entries int(11) NOT NULL default '0',
views int(11) NOT NULL default '0',
enabled smallint(6) default '0',
timestamp int(11) NOT NULL default '0',
userid int(11) NOT NULL default '0',
PRIMARY KEY(journalid)) TYPE=MyISAM;
mysql error: Table 'journal' already exists

mysql error number: 1050

Date: Friday 20th of September 2002 03:00:46 PM
Script: http://www.mysite.com/forums/forums/admin/install_journal.php?step=3
Referer: http://www.mysite.com/forums/admin/install_journal.php?step=2


im not sure whats wrong :surprised:

Kaelon
20 Sep 2002, 22:31
I'm having another problem...

When users go to add an entry to their account, they see on the breadcrumb up top a link to my standard account's Journal, not their journal.

E.g., instead of it saying

Forums > Journal > User's Journal > Add a New Entry

It says

Forums > Journal > My Standard Account's Journal > Add a New Entry

I was able to remove this issue from the template, and when you go to "edit" an entry, the breadcrumb displays properly with links.

Apparently, this is a problem happening on all installations and journals, including your demo one. Is there a way to possibly fix this? Thanks!

Regards,
Kaelon

Koss
20 Sep 2002, 22:33
for some reason the script points to
http://www.mysite.com/forums/forums/admin/install_journal.php?step=3

when it should be:
http://www.mysite.com/forums/admin/install_journal.php?step=3

Chris M
20 Sep 2002, 22:47
@Koss - I said to stop after adding the templates;)

Thats why you get the errors...:)

Satan

Riddel
20 Sep 2002, 22:47
Koss, are you using a journal system already? that error says that the journal table is already taken up by something. Just delete what you have there and you should be okay

afterlab
21 Sep 2002, 00:28
Does this hack block HTML out from journal entries when submitting and modifying them?

Kaelon
21 Sep 2002, 01:20
afterlab - from what I can tell, yes.

Any thoughts on the above problems I mentioned? :p

Kaelon

Ryangel
21 Sep 2002, 01:42
Originally posted by Kaelon
This looks great!

Is there any way that you can modify the "View All Entries" display to be multi-paged, for those users that will have hundreds of entries? Thanks!

Kaelon

ahhhh if you look carafeully into the journal.php code , you'll see alot of commented code of this. I came across a huge bug and i didnt want to spend too much time on it having time constriants.
Will add that it the future though.

Koss
21 Sep 2002, 01:51
crap I read this too late.....anyhow thanks for your help guys
everything works fine, but I had to add 37x4 templates manually *me tired* :/

Ryangel
21 Sep 2002, 02:01
Originally posted by Kaelon
I'm having another problem...

When users go to add an entry to their account, they see on the breadcrumb up top a link to my standard account's Journal, not their journal.

E.g., instead of it saying

Forums > Journal > User's Journal > Add a New Entry

It says

Forums > Journal > My Standard Account's Journal > Add a New Entry

I was able to remove this issue from the template, and when you go to "edit" an entry, the breadcrumb displays properly with links.

Apparently, this is a problem happening on all installations and journals, including your demo one. Is there a way to possibly fix this? Thanks!

Regards,
Kaelon

hmm, I'm working on this now. Wonder why no one on my board has told me about it ...

Ryangel
21 Sep 2002, 02:11
Originally posted by Kaelon
I'm having another problem...

When users go to add an entry to their account, they see on the breadcrumb up top a link to my standard account's Journal, not their journal.

E.g., instead of it saying

Forums > Journal > User's Journal > Add a New Entry

It says

Forums > Journal > My Standard Account's Journal > Add a New Entry

I was able to remove this issue from the template, and when you go to "edit" an entry, the breadcrumb displays properly with links.

Apparently, this is a problem happening on all installations and journals, including your demo one. Is there a way to possibly fix this? Thanks!

Regards,
Kaelon

ok got it fixed.

open journal.php

find

$journal = $DB_site->query_first("SELECT u.username, u.userid, j.journalid, j.title, j.description, j.timestamp, j.userid, j.entries, j.views
FROM journal j
LEFT JOIN user u ON j.userid = u.userid
AND j.journalid = $journalid");


which is within
/* Journal Add Entry Page */

and change the AND to WHERE or just replace the above with this


$journal = $DB_site->query_first("SELECT u.username, u.userid, j.journalid, j.title, j.description, j.timestamp, j.userid, j.entries, j.views
FROM journal j
LEFT JOIN user u ON j.userid = u.userid
WHERE j.journalid = $journalid");

Elanor
21 Sep 2002, 02:12
Nice addon. I'd like to add the link to the personal journal on my VBIndex (which is outside the forums root). How can I do this?

Ryangel
21 Sep 2002, 02:18
Originally posted by Kaelon
Great work! Several issues:

1. I noticed that on the Journal Stats block, only a custom avatar appears and not one of the standard avatars. Is there any way to ensure that the avatar is displayed?


Working on this now



2. Users that have apostrophe's (e.g., "Mari'a") or other special characters are unable to add journals. The specific error:



You can fix this by finding the following line in journal.php:

$username = $username_retrieve['username'];

And adding right beneath it:

$username = addslashes($username);

Hope this helps! Great hack, again!

Thanks! :)

Ryangel
21 Sep 2002, 02:41
updated journal.php ver1.1b

Ryangel
21 Sep 2002, 02:47
Originally posted by Kaelon
Great work! Several issues:

1. I noticed that on the Journal Stats block, only a custom avatar appears and not one of the standard avatars. Is there any way to ensure that the avatar is displayed?


hmm i cant quite seem to get this to work atm...
not familiar with the avatar code. If anyone knows where to look or can help. It'll be much appreciated :)

Ryangel
21 Sep 2002, 02:53
Originally posted by Gamingforce
Good deal, at least you could give credit to my journal which you very closely modeled it after: http://www.gamingforce.com/forums/journal.php

Done! its in the readme.

Keta
21 Sep 2002, 05:48
ok i just had a thought how about adding on a buddy list to the journal? so the writer can set their journal to buddy list only...

amsch
21 Sep 2002, 13:53
I am not getting anything when I go to, this page.
http://20ishparents.com/boards/journal.php

amsch
21 Sep 2002, 14:13
Ok, I figured out my problems. The install said it installed the templates but didn't. Did it manually at worked great!

amsch
21 Sep 2002, 14:17
Some suggestions. And maybe some of these things are already in there.

Journal Catagories. I run a parenting community and they like different types of journals. Weight loss, pregnancy ect.

Only certain usergroups able to create journals. (if anyone knows how to do this, I would be forever greatfull!)

ability to view all journals vs the top. I only have one created so now quite sure how this works yet.

Also, journal link in their profile.

That is about all I can think of right now.

amsch
21 Sep 2002, 14:25
Ok, I noticed it also does not increase post counts. It would be nice to increase board counts and member counts.

Kaelon
21 Sep 2002, 16:29
Thanks for your work, Ryangel. This is great stuff you've done here!

As I see it, the only pressing issues that really remain, in order of priority:

1. Having multiple pages for the "View All Entries" display, so as to make things legible. Unfortunately, I'm not really sure where to start with this one.

2. Getting all avatars, not just custom ones, to work. I have some experience fooling around with avatars in custom scripts, so I'll give this a try and see what I can do - if anything. I'll let you know what I can do.

Thanks again for this great hack!

Regards,
Kaelon

DWZ
22 Sep 2002, 09:01
Some ideas you might want to think about adding in: Make the entry "public" i.e. everyone can see, but the ability to disable comments on a post by post bases. So like a check-box on the post page that says "Disallow Comments", and when ticked, no one can comment on it. Current playing music, just a text box and on the journal entry, it would say something like "Now Playing: whatever the person types in" Ability to make it a "friends only" post, where that only people on your buddy list can view the entry. probably better to make it separate from the vBulletin one, as there may be people you want to have on your vBulletin buddy list, but you don't want them viewing your "friends only" journal entires. Maybe by default making the people on your vBulletin buddy list be on your Journal buddy list, but the ability to remove them from your journal one without them being removed from the vBulletin one. Maybe even setting it up so when a person is added to their Journal buddy list they get an email? i.e.Hello username,
This is a notice to let you know that you have been added to username's journal buddy list. This means you are now allowed to view their "Friends Only" journal entires.

You can view username's journal here: http://sgstudents.com/forum/journal.php?s=&journalid=13&action=view

Thanks,
Forum name teamAnyway, just some ideas :)

Koss
23 Sep 2002, 05:47
just a suggestion, maybe there is a way to add a page where it shows a list of all the members with a journal

or better yet maybe add a column on the member page (members.php) with a link of all the members with a journal

culprit
23 Sep 2002, 09:11
Top hack. Getting hammered by my users.

There doesn't seem to be a word-wrap though. My pages are scrolling badly.

Any hints?

culprit
23 Sep 2002, 10:01
Its OK, got it sorted. In case anyone else is having same grief:

Just remove the 'nowrap' markup from the 'journal_entrybits' template.

Ryangel
26 Sep 2002, 13:10
Originally posted by DWZ
Some ideas you might want to think about adding in: Make the entry "public" i.e. everyone can see, but the ability to disable comments on a post by post bases. So like a check-box on the post page that says "Disallow Comments", and when ticked, no one can comment on it. Current playing music, just a text box and on the journal entry, it would say something like "Now Playing: whatever the person types in" Ability to make it a "friends only" post, where that only people on your buddy list can view the entry. probably better to make it separate from the vBulletin one, as there may be people you want to have on your vBulletin buddy list, but you don't want them viewing your "friends only" journal entires. Maybe by default making the people on your vBulletin buddy list be on your Journal buddy list, but the ability to remove them from your journal one without them being removed from the vBulletin one. Maybe even setting it up so when a person is added to their Journal buddy list they get an email? i.e.Anyway, just some ideas :)

All superb additions. Sadly I had to rush my vbJournal to release it as I am going away for training starting next week (and wont get to see a comp for 2 months. :confused: well, maybe not 2 months. but prob wont have the time for it... ah you get what i mean ... i hope.)

I did mention its a lite version so all the points have been taken down when I'm back to add into the full journal. No doubt maybe, there'll be a better Journal released when I'm back. Then no worries. I'll just download the new Hack, and see if i can make other hacks :) If not i'll continue with the journal where i left off.

This may be my last time here for awhile so till we meet again! Great community here. I would have 'dumped' my vb forums a long time ago if it wasnt for this site.

/me thinks of all the wonderful hacks waiting for me when i get back to vbulletin.org *grins*

Ghostsuit
26 Sep 2002, 13:55
Have fun at Trainiing! Would you mind if we poked around with your code and added mit's to the Journal and if so would you mind anyone posting what they have done here?

Ryangel
26 Sep 2002, 13:59
Originally posted by Ghostsuit
Have fun at Trainiing! Would you mind if we poked around with your code and added mit's to the Journal and if so would you mind anyone posting what they have done here?

hmmhmm sure. Make sure you write up in tthe readme on what you did exactly though. So i can keep up with what you guys have done.

Silenced Soul
26 Sep 2002, 15:52
Man, this is AWESOME. Perfect for what i was doing, you've saved me tons of time.

Nice install, everything went well... great job.

Kaelon
26 Sep 2002, 19:40
Good idea, Ghostsuit. I hope that people will release mods for this hack on this thread so that we can keep updated. :)

Kaelon

Ghostsuit
27 Sep 2002, 18:12
Yeah things I would like to see are Mood hack and and Now playing hacks built in might have a look at them both my self but since I've never created a hack it might take me some time ;)

muppet
30 Sep 2002, 00:04
How hard would it be to activate VBCode within the journal system.
Obviously moods and 'now playing' features are nice but having the vbcode basics.. or at least smilies would help brighten up the place :)

Hack installed tho and I must say it's a big hit!

grumpy
30 Sep 2002, 19:25
Question: I thought the members would be able to edit any comments made to their own journals, but I received an email from one of my members that cant do this. Was I mistaken?

Darkwolf
04 Oct 2002, 04:38
how do i get it on the online.php to have

"Viewing Journals"

instead of

Unknown Location: /journal.php?

anyone know ?

Erwin
04 Oct 2002, 07:26
Originally posted by Darkwolf
how do i get it on the online.php to have

"Viewing Journals"

instead of

Unknown Location: /journal.php?

anyone know ?

The easiest way is to install Firefly's Online Location hack - check his profile to find the hack.

Ghostsuit
05 Oct 2002, 18:14
Originally posted by muppet
How hard would it be to activate VBCode within the journal system.
Obviously moods and 'now playing' features are nice but having the vbcode basics.. or at least smilies would help brighten up the place :)

Hack installed tho and I must say it's a big hit! The vbcode should work in the Journal. Check here My Journal (http://www.alternativenation.net/forums/journal.php?journalid=3&action=view) It has the vb img tag in one post and smilies in others

redd
05 Oct 2002, 21:03
Has anyone figured a way to break up the journals in multiple pages? My members are really going to town with their journals and they will be ridiculously long soon!

afterlab
05 Oct 2002, 21:09
A good suggestion is to allow users only 1 entry per day (make sense, right?). If anyone wants this addon, I can show you how.

DrkFusion
05 Oct 2002, 21:42
Originally posted by afterlab
A good suggestion is to allow users only 1 entry per day (make sense, right?). If anyone wants this addon, I can show you how.
I would like to know :)

-Arunan

Kaelon
08 Oct 2002, 16:27
Please, afterlab :) Any chance that you might be able to tackle the other issues? Thanks!

Something else also just occurred to me -- is there a way to create a listing of all journals? Maybe a link that refers to a separate template to list all users with active journals?

Kaelon

MoonSlasher
09 Oct 2002, 19:03
Sweet!
Great job, I've installed it today and everything is working smooth :) I think many users at my forum will love this feature.
Thanks!

Alchemyst
11 Oct 2002, 01:06
Before I install this I have afew questions (and please forgive me if they were asked before, it's early and I'm incoherant) - can Admins limit the amount of entries a person can have at any one time, and can admins/mods edit/delete the entries?

Ghostsuit
11 Oct 2002, 08:44
Originally posted by Alchemyst
Before I install this I have afew questions (and please forgive me if they were asked before, it's early and I'm incoherant) - can Admins limit the amount of entries a person can have at any one time, and can admins/mods edit/delete the entries? No way to limit the amount of entries but I'm sure it could be hacked to set that. And yes admin's can edit/delete. I'd guess Mods can too but I've not checked.

yzztik
11 Oct 2002, 17:15
I had the same questions. Anyone know what changes I would need to make to be able to limit the journal entries? I don't want for their entries to stay there forever and eat up all my space :-p Thanks to whomever can help :)

groovesalad
20 Oct 2002, 14:29
Anyone ever figure out how to split the journals up into pages? Say 25 entries per page, etc?

Neopiper
21 Oct 2002, 03:20
and also anyone could give a code on how to show journal link on User profiles if a user have a journal?

Willard Reece
23 Oct 2002, 17:24
Ok I installed it and ran it and when I go to get journal I get the error page, but it created the journal if I refreshed the page it came up,
What do i do to solve this?

and also I created a test acct and made a journal for the test acct, how to I get rid of it.
I see no edit or remove commands for a admin to remove journals or even a user can't delete their own posts to a journal.
I'm going to try to remove the test acct to see if it removes the test acct journal. while I'm waiting for a answer to my ??s
Thanks
Willard
www.reecefamilies.com

Willard Reece
23 Oct 2002, 21:21
Also
Who wants a journal where the admin of a site can read your private thoughts.
gota be a way to make the private----- private!!!!

ohgenki
24 Oct 2002, 16:34
erm....IE cannot post....???

i tried using Opera browser and it requires me to "repost" the data...however, by using IE to post, it cannot be posted.

it always goes back to the main journal page without the entry being added...how do i solve this ?

pcoskat
24 Oct 2002, 16:46
does this work with 2.2.8?

Also, how does this affect disk space? I have a lot of members (9000+), and while I don't expect everyone to use the journal, I wouldn't be surprised if a couple thousand did...

Any thoughts?

ohgenki
24 Oct 2002, 17:01
what's ur server's specs ?

NTLDR
24 Oct 2002, 17:36
Originally posted by Willard Reece
Also
Who wants a journal where the admin of a site can read your private thoughts.
gota be a way to make the private----- private!!!!

How do you suggest making it private? You can't, the same as anyone who has access to your DB can see everything, passwords, email addresses etc. The only way to make it private is to cut everyones access to the webserver.

ohgenki
24 Oct 2002, 17:49
I seriously need help....i just downloaded the file...and i installed it.

However, everytime i post a reply...it just redirects me back to the main journal page. its empty.

however, i can add using the Opera Browser, by reposting. Otherwise, i cannot add at all...it doesn't repost...and instead of

http://www.mysite.com/journal.php

i get this instead:

http://www.mysite.com/journal.php?journalid=11&action=addentry

Willard Reece
24 Oct 2002, 17:49
Originally posted by NTLDR


How do you suggest making it private? You can't, the same as anyone who has access to your DB can see everything, passwords, email addresses etc. The only way to make it private is to cut everyones access to the webserver.


You can't see the passwords ,, but yes you can see the email addresses and if someone wants to keep it like a dairy them an admin could read it and post your thoughts all over h!! and back.
Thats what I am saying.

But basicly my only prob with it is I wish a admin could delete post made in any journal or what ever.
I didn't see that as a option. and also the error page.

ohgenki
24 Oct 2002, 17:53
can someone help me ?

Willard Reece
24 Oct 2002, 18:07
Have you done the function edit that it says to do.
I see that by your url that you have removed it so I can't see it.
but you need to follow the install to the end.

ohgenki
24 Oct 2002, 18:10
yes, in admin/functions.php i added:

// vBJournal Hack by Ryangel
if($post[journal]==1){
$journal = '<a href="journal.php?s=&journalid='.$post[userid].'&action=view"><img src="{imagesfolder}/journal.gif" alt="View '.$post[username].'\'s Journal" border="0"/></a>';
}
else {
$journal = '';
}

$datecut = time() - $cookietimeout;

if ($counter%2==0) {
$post[backcolor]="{firstaltcolor}";
$post[bgclass] = "alt1";
} else {
$post[backcolor]="{secondaltcolor}";
$post[bgclass] = "alt2";
}

is that right ?

NTLDR
24 Oct 2002, 18:16
Originally posted by Willard Reece
You can't see the passwords

Yes you can, they just happen to be an MD5 hash unless you have hacked it out of vB.

But basicly my only prob with it is I wish a admin could delete post made in any journal or what ever.

Not having installed this hack I don't know how the DB is set out but you just need to run a simple query along the lines of the following:

DELETE FROM journal WHERE journalid=X ANDuserid=X

ohgenki
24 Oct 2002, 18:17
can u help me with my problem ?

Willard Reece
24 Oct 2002, 19:20
ohgenki

looks like you put it in the right spot.

ohgenki
25 Oct 2002, 06:09
yeah i did...but no idea why it just doesn't display new entries...

ohgenki
06 Nov 2002, 05:20
only opera browser works with it and i must do a 'repost' IE and Netscape doesn't allow users to post the new entries in the journal...but it allows a creation of one...

ethank
07 Nov 2002, 07:29
I'm having a problem getting IMG tags working with my journal. Anyone know what the problem would be?

EThan

teenfront
11 Nov 2002, 15:01
any idea when this is coming out of beta?

Jitway
12 Nov 2002, 18:19
Any suggestions... I get this error on the install_forum.php
Database error in vBulletin Control Panel 2.2.8:

Invalid SQL: INSERT INTO journal_entry (entryid, title, entry, private, timestamp, userid, journalid, displayorder) VALUES (1, 'Welcome to the Jitway's Gaming/Family! Journal.', 'Version 1.1b Have fun. :)', '0', '1027264704', '1', '1', '1')
mysql error: You have an error in your SQL syntax near 's Gaming/Family! Journal.', 'Version 1.1b Have fun. :)', '0', '1027264704', '1',' at line 1

mysql error number: 1064

Date: Tuesday 12th of November 2002 02:00:28 PM
Script: http://www.jitway.com/forums/forums/admin/install_journal.php?step=3
Referer: http://www.jitway.com/forums/admin/install_journal.php?step=2

Jitway
12 Nov 2002, 18:37
I get this error when I go to the actually forum.php page and click on the get journel button
Database error in vBulletin 2.2.8:

Invalid SQL: SELECT COUNT(commentid) FROM journal_comments where journalid = 1
mysql error: Table 'jitway_xmb2.journal_comments' doesn't exist

mysql error number: 1146

Date: Tuesday 12th of November 2002 02:31:28 PM
Script: http://www.jitway.com/forums/forums/journal.php?journalid=1&action=view
Referer:

Also here is the templates all in a folder that you can use to install easier with the template backup system hack.

NexDog
29 Nov 2002, 12:54
/NexDog finally installs...:)

ohgenki
07 Dec 2002, 08:29
nexdog u have a copy of it ?

NexDog
10 Dec 2002, 10:24
/me has indeed.

Koss
12 Dec 2002, 20:37
Originally posted by NexDog
* NexDog has indeed.

whats this?

Koss
20 Dec 2002, 04:02
anyone know how to change the color of the links?

thanks

redd
24 Dec 2002, 15:00
We've been using this hack for a few months without any problems. Now, all of a sudden, we've been receiving error messages:

Database error in vBulletin :

Link-ID == false, connect failed
mysql error:

mysql error number:

Date: Tuesday 24th of December 2002 09:40:46 AM
Script: /forum/journal.php?s=&journalid=12338&action=view

We ONLY receive errors regarding connecting to view the journals, not the rest of the forum, and we've received at least 30 in the last week.

Has anyone else been having problems?

EcpHosting
29 Dec 2002, 22:59
NOTE: please during setup of the new version, allow the user to SELECT which STYLE to install to. The installation installed to my default style and didnt go to my CUSTOM style.

Just a note, and i may have missed something, but if you are getting a blank screen AND are using a custom style, you will need to move templates over from default to your style.

EcpHosting
29 Dec 2002, 23:57
I am getting the following error when users attempt to create a journal entry:

Database error in vBulletin 2.2.9:

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

mysql error number: 1054

Date: Sunday 29th of December 2002 07:14:32 PM
Script: http://bigfish.truewalk.com/journal.php?action=createjournal
Referer:

However, if the user REFRESHES the page, it says the journal already exists and it acts flawless from there.

Also, the "$forums" in the postbit is not working for the user who has an entry. Any ideas for either?

Brahm
01 Jan 2003, 05:49
Yeah when I try to install in 2.29 I get to step 3 and get a MySQL error,

Database error in vBulletin Control Panel 2.2.9:

Invalid SQL: CREATE TABLE journal (
journalid int(11) NOT NULL auto_increment,
title text NOT NULL,
description text NOT NULL,
imagename text NOT NULL,
entries int(11) NOT NULL default '0',
views int(11) NOT NULL default '0',
enabled smallint(6) default '0',
timestamp int(11) NOT NULL default '0',
userid int(11) NOT NULL default '0',
PRIMARY KEY(journalid)) TYPE=MyISAM;
mysql error: Table 'journal' already exists

mysql error number: 1050

Date: Wednesday 01st of January 2003 12:10:56 AM
Script: http://www.ashkins.net/forum/forum/admin/install_journal.php?step=3
Referer: http://www.ashkins.net/forum/admin/install_journal.php?step=2

Brahm
01 Jan 2003, 08:59
Man oh man. With a little manual database entry I managed to push past the above error message. I created the tables and did the inserts manually through the end of the install, and it now works. Thanks a bunch Ryangel. It works, it really works!

Elvis
12 Jan 2003, 08:13
Originally posted by Willard Reece
But basicly my only prob with it is I wish a admin could delete post made in any journal or what ever.
I didn't see that as a option. and also the error page.


I've done it.... it was annoying the crap outta me too....

this file will:

display 20 of each of the 3 columns on the Journal jump page, and will also allow admins to edit/delete journal entries and comments.

Just download and rename this file to journal.php
then upload to your main directory

Enjoy,

Elvis

indiamike
12 Jan 2003, 15:21
Originally posted by Elvis

I've done it.... it was annoying the crap outta me too....

Elvis

Uploaded and just got errors.... :confused: Database error in vBulletin 2.2.5:

Invalid SQL: SELECT u.username, e.entryid, e.journalid, e.title, e.entry, e.timestamp, e.userid, e.private, e.displayorder, e.comments
FROM journal_entry e
LEFT JOIN user u ON e.userid = u.userid
WHERE e.journalid = 81
ORDER BY e.timestamp DESC LIMIT
mysql error: You have an error in your SQL syntax near '' at line 5

mysql error number: 1064

Date: Sunday 12th of January 2003 11:12:23 AM
Script: http://www.indiamike.com/india/india/journal.php?s=&journalid=81&action=view
Referer: http://www.indiamike.com/india/journal.php


Seems to be requesting the wrong url.

Elvis
12 Jan 2003, 16:23
Originally posted by indiamike


Uploaded and just got errors.... :confused:

Seems to be requesting the wrong url.



Well, I just verified that the file I uploaded is exactly like the one I currently have in use - it is.

Also... from the error, it looks as though you may be missing a line of an SQL statement - did you edit this file AT ALL?

and finally, I dont understand how you could be requesting a wrong URL, every instance of the goto starts like:

$goto="journal.php?s=

it's referring to itself - there are no directory changes at all.

indiamike
12 Jan 2003, 19:03
hmmm...I didn't alter it it in anyway and just uploaded it to try it out to see what it would do.


I uninstalled it but the error showed up when I would click on a members name to view their journal.

Has anyone else tried this yet?


Mike

sabret00the
19 Jan 2003, 14:35
i got multiple stylesets but your installer will only install to the default is their a fix available?

redd
24 Jan 2003, 14:52
Would this page http://www.devarticles.com/art/1/110/ help anyone that understands php to create multiple pages for the journals?

ethics
25 Jan 2003, 20:53
Well, I finally used this. Was a breeze. Anyone who needs the templates (for the template backup import) instead of hacking the journal.php see the attached file (it has all templates used in this hack).

sabret00the
26 Jan 2003, 01:27
i've searched this thread and basically altho i saw a half answer i'm looking for a full answer (meaning not firefly's hack lol)

basically i'd like it so that when you view online.php is says who's journal you're viewing, is that possible at all?

ethics
26 Jan 2003, 01:57
There's no other way, but firefly's hack is fast, easy, and will work for you for many other hacks. I have soooo many different hacks installed on my board and now, with FireFly's hack. everyone knows where and what others are doing. :)

sabret00the
26 Jan 2003, 03:10
i think i'll have to try writing it myslef then :-S

sabret00the
26 Jan 2003, 18:54
been having a few problems with that idea, but i'll muster on

new thing tho' how do you add smilies to the addentry page and add comments page 0_o

oh and is there a way to only allow members to view journals?

ChurchMedia
02 Feb 2003, 21:25
Fantastic hack! Just what I was looking for. :) Is there a way to let users include html or VB code in their entries?

ChurchMedia
03 Feb 2003, 01:48
Originally posted by Koss
just a suggestion, maybe add a column on the member page (members.php) with a link of all the members with a journal

Here's how to do this:

In memberlist.php find:
if ($userinfo[receivepm]) {
eval("\$userinfo[pmlink] = \"".gettemplate("postbit_sendpm")."\";");
} else {
$userinfo[pmlink] = "&nbsp;";
}

and add after:


// vBJournal Hack by Ryangel
if($userinfo[journal]==1){
$journal = '<a href="journal.php?s=&journalid='.$userinfo[userid].'&action=view"><img src="images/journal.gif" alt="View '.$userinfo[username].'\'s Journal" border="0"/></a>';
}
else {
$journal = '';
}
// vBJournal Hack End

In memberlist template, find


<td bgcolor="{categorybackcolor}" colspan=

Your columnspan needs to be increased by one, so if it's 7, make it 8.

In same template, find:

</tr>
$memberlistbits

Beneath that add:


<td bgcolor="{tableheadbgcolor}" align="center"><smallfont color="{tableheadtextcolor}"><b>Journal</b></smallfont></td>

In the memberlistbit template find:

</tr>

Right above that add:

<td bgcolor="{firstaltcolor}">$journal</td>

That should do it :)

geniuscrew
04 Feb 2003, 13:47
OK I deleted the first entry and I got "Deathsttryke's Journal Entries : -1"

I posted my own and my entries equalled 0 - [ makes sense]

Can you make so that either a] you can delete the welcome message or b] you can delete it but it doesn't change?

Thanks


Other than that, wicked hack!

Crinos
05 Feb 2003, 07:19
Great hack ... anyone know a way of showing a list of all user journals?

Oblivion Knight
07 Feb 2003, 13:27
Does anyone know if the page linking has been added yet?
Just noticed that afterlab has this feature working here (http://forums.ffrepublic.com/journal.php?action=view&journalid=1&perpage=5&pagenumber=1).. Is this his own journal system or is he using this one?

I'd love to have a journal system running at Umbrella Online, but for me there seem to be a few bugs and features missing with this version from reading other people's posts.. I could be wrong.. ;)

sabret00the
18 Feb 2003, 11:22
Originally posted by ChurchMedia
Fantastic hack! Just what I was looking for. :) Is there a way to let users include html or VB code in their entries? my users all have the ability to use vBcode, dunno about html tho'

Jitway
18 Feb 2003, 20:23
Never could get the installer to make the changes in the database. Too bad too! :hurt:

sabret00the
19 Feb 2003, 13:03
any news on the follow up version with the additional features like

+ mood
+ listening too
+ smilie box on add entry & add reply

Zelda-King
23 Feb 2003, 14:47
OK, I installed it on vB 2.2.9.

1) There should be an option to delete one's own journal, and also for an administrator to delete journals. If I delete users their journals are still on record and naturally you get a database error when you click on a deleted user's journal.

2) As has been said (and as I know Gamingforce has on his forums), there should be a profile link to the user's journal with a different message if they have no journal.

3) What's the deal with private entries? I assume that's so only people on your buddy list can view the entry (like at Gamingforce) but none of my buddies can read my private entries.

I'll also recap on what else is initially needed;

- 'Maximum replies per page' setting.
- Admins should be able to edit/delete replies (just in case the system gets abused).
- Word wrap is needed. If someone puts a load of ........... s with no spaces it should automatically wrap at so many characters so the tables aren't broken (a solution has been discussed for this but it needs incorporating in the hack).

Those are the 'musts' in my opinion. Now a suggestion.

Personally I would like at least an option so guests can't even VIEW journals unless the usergroup is manually permitted (I wouldn't want banned people seeing journals).

On top of that, outstanding work!

limey
23 Feb 2003, 23:50
Installed...

Quick question...

I would like to make the comments linkable the same as the discuss button. Its just confusing for people to view comments by clicking the discuss button. Essentially its the same thing, but just for UI purposes.

How would do I do that?

thanks!

Zelda-King
25 Feb 2003, 09:34
Originally posted by Elvis




Well, I just verified that the file I uploaded is exactly like the one I currently have in use - it is.

Also... from the error, it looks as though you may be missing a line of an SQL statement - did you edit this file AT ALL?

and finally, I dont understand how you could be requesting a wrong URL, every instance of the goto starts like:

$goto="journal.php?s=

it's referring to itself - there are no directory changes at all. I didn't alter anything and I have the same problem;

Database error in vBulletin 2.2.9:

Invalid SQL: SELECT u.username, e.entryid, e.journalid, e.title, e.entry, e.timestamp, e.userid, e.private, e.displayorder, e.comments
FROM journal_entry e
LEFT JOIN user u ON e.userid = u.userid
WHERE e.journalid = 14
ORDER BY e.timestamp DESC LIMIT
mysql error: You have an error in your SQL syntax near '' at line 5

mysql error number: 1064

Date: Tuesday 25th of February 2003 03:18:48 AM
Script: http://www.gamercrossfire.net/bb/bb/journal.php?journalid=14&action=view
Referer:

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

Originally posted by ChurchMedia


Here's how to do this:

In memberlist.php find:
if ($userinfo[receivepm]) {
eval("\$userinfo[pmlink] = \"".gettemplate("postbit_sendpm")."\";");
} else {
$userinfo[pmlink] = "&nbsp;";
}

and add after:


// vBJournal Hack by Ryangel
if($userinfo[journal]==1){
$journal = '<a href="journal.php?s=&journalid='.$userinfo[userid].'&action=view"><img src="images/journal.gif" alt="View '.$userinfo[username].'\'s Journal" border="0"/></a>';
}
else {
$journal = '';
}
// vBJournal Hack End

In memberlist template, find


<td bgcolor="#336D95" background="http://www.vbulletin.org/forum/images/catagory_backing.gif" colspan=

Your columnspan needs to be increased by one, so if it's 7, make it 8.

In same template, find:

</tr>
$memberlistbits

Beneath that add:


<td bgcolor="#1D6AA0" align="center"><smallfont color="#EEEEFF"><b>Journal</b></smallfont></td>

In the memberlistbit template find:

</tr>

Right above that add:

<td bgcolor="#13486D">$journal</td>

That should do it :) Much appreciated. I used this. A few notes though;

In memberlist.php use // vBJournal Hack by Ryangel
if($userinfo[journal]==1){
$journal = '<a href="journal.php?s=&journalid='.$userinfo[userid].'&action=view"><img src="images/journal.gif" alt="View '.$userinfo[username].'\'s Journal" border="0"/></a>';
}
else {
$journal = ''; instead of // vBJournal Hack by Ryangel
if($userinfo[journal]==1){
$journal = '<a href="journal.php?s=&journalid='.$userinfo[userid].'&action=view"><img src="images/journal.gif" alt="View '.$userinfo[username].'\'s Journal" border="0"/></a>';
}
else {
$journal = '';
// vBJournal Hack by Ryangel

In the memberlist template add;

<td bgcolor="{*tableheadbgcolor*}" align="center"><smallfont color="{*tableheadtextcolor*}"><b>Journal</b></smallfont></td> above $memberlistbits

rather than putting
<td bgcolor="#1D6AA0" align="center"><smallfont color="#EEEEFF"><b>Journal</b></smallfont></td> below it.

In the memberlistbit template use;

<td bgcolor="{*firstaltcolor*}">$journal</td>

rather than <td bgcolor="#13486D">$journal</td>

Most of this isn't your fault. I noticed when you put something like {*tableheadbgcolor*} (without the *s) it's replaced with the tableheadbgcolor HTML for this board.

Remove all the *s in my coding for it to work.

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

Now, I'm trying to put a journal link in user profiles. Now where in the member.php would I insert
// vBJournal Hack by Ryangel
if($userinfo[journal]==1){
$journal = '<a href="journal.php?s=&journalid='.$userinfo[userid].'&action=view"><img src="images/journal.gif" alt="View '.$userinfo[username].'\'s Journal" border="0"/></a>';
}
else {
$journal = '';
}?

I stuck it under $referrals = $refcount[count];
eval("\$referrals = \"".gettemplate("getinfo_referrals")."\";");
} else {
$referrals = '';
} but when I put $journal in the 'getinfo' template it takes no notice if someone has a journal. For example, if I put something like // vBJournal Hack by Ryangel
if($post[journal]==1){
$journal = '<a href="journal.php?s=&journalid='.$post[userid].'&action=view"><img src="http://www.vbulletin.org/forum/images/journal.gif" alt="View '.$post[username].'\'s Journal" border="0"/></a>';
}
else {
$journal = 'No journal enabled';
} in member.php, their profile shows 'No journal enabled' regardless in spite of the same hack working in admin/functions.php and memberlist.php.

sabret00the
25 Feb 2003, 19:44
Originally posted by limey
Installed...

Quick question...

I would like to make the comments linkable the same as the discuss button. Its just confusing for people to view comments by clicking the discuss button. Essentially its the same thing, but just for UI purposes.

How would do I do that?

thanks! edit the template 0_o

limey
25 Feb 2003, 21:58
The correct template is journal_entrybits

Basically copied the discuss link and wrapped it around the "comments" in the template.

Robink
26 Feb 2003, 17:14
Installed!! My USERS Love this Hack!!

Thanks!! No problems whatsoever!

Zelda-King
26 Feb 2003, 18:15
Here's my version of the 'admins can edit/delete stuff' journal.php file. Simply upload 'journal2.php' to your forum root directory, delete 'journal.php' and rename this 'journal.php'.

I have tested this and everything else seems to work as normal for everyone else. I didn't really change much. The code was already in effect for 'edit/delete' but not for the actual 'update' bit so I pasted the necessary code there.

On the subject of bugs there's a database error if you try to view a non-existent journal (instead of a redirect that is). Also, if you change someone's name their old name shows up on their personal journal page, in spite of the new name showing on the main journal page and in the comments section for a particular entry.

Yeah, and people shouldn't be able to refresh their screen in their own journals to get their view count up.

sabret00the
02 Mar 2003, 17:40
is there any way to get this to appear on a users profile with a link as the latest journal entry's name?

e.g.

<a href="$userinfo[journal]">$journal[newestentryname]</a>

Zhin Jio
07 Mar 2003, 08:02
Damn, and I can't seem to find the <Install this hack> link yet. Pity.

Installed. I just had a user request blog functionality for himself. I'm also using this as a 'News Columns' sort of thing on the main page.

Thanks again,

- ZJ

Erwin
07 Mar 2003, 08:05
The Install This Hack link is at the bottom of each thread - right below Email This Page to Someone.

McDohl
10 Mar 2003, 11:15
Hey guys.

I must be seriously thick, that or I have absolutely no knowledge of PHP to save my life. Which is strange, i've installed mods before.

I've tried to edit admin/functions.php like you said, I followed everything, uploaded, and then there was this:

Parse error: parse error, unexpected T_STRING in /home2/halfbloo/public_html/forum/admin/functions.php on line 75

Fatal error: Call to undefined function: getuserinfo() in /home2/halfbloo/public_html/forum/admin/sessions.php on line 366

I have no clue on how to aid this so any help would be appreciated.

Many thanks in advance. :)

Zelda-King
10 Mar 2003, 15:42
Hmm, did you use WordPad? If so, did you save it as a doc rather than a txt/php file? That puts unwanted formatting where the hack should be on one line and so on.

NotePad is better for this, though if that's not the problem then maybe you've got the breaks wrong?

Anyway, the code should look like this;
// vBJournal Hack by Ryangel
if($post[journal]==1){
$journal = '<a href="journal.php?s=&journalid='.$post[userid].'&action=view"><img src="{imagesfolder}/journal.gif" alt="View '.$post[username].'\'s Journal" border="0"/></a>';
}
else {
$journal = '';
}
$datecut = time() - $cookietimeout;

if ($counter%2==0) {
$post[backcolor]="{firstaltcolor}";
$post[bgclass] = "alt1";
} else {

msimplay
13 Mar 2003, 01:23
um i have multiple styles on my site will the installer install templates in all the styles?

msimplay
13 Mar 2003, 03:20
Confirmed working for Vbulletin 2.3 release candidate 1
no it was painstaking and i had to install the templates for the other 2 styles seperately phew all done though now

+d-cipher
14 Mar 2003, 19:29
I like that idea of this hack. I have a few questions about it though.

Is there a way to integrate this with all my members userCP?
That way they don't have to go to a seperate page to add/delete thier entries but just go to their userCP.

Can members entries then be viewed by viewing the members profiles as well? (using the getinfo template).

msimplay
16 Mar 2003, 22:19
I love this hack and i was wondering if it would be released on vb3

sabret00the
01 Apr 2003, 17:22
i got a member spamming her journal would it be possible to limit the number of entries per hour to 1?

attroll
01 Apr 2003, 17:46
This looks like a great hack. I would like to install it but here is why I can not. I am hoping that there is a way around this.

I would like it so that the owner of the journal and one other (being whom ever the owner chooses) can also add or edit the journals.

The reason being. I run a site for Appalachian Trail hikers and the way journals are written is as follows. The owner (whom is hiking the Trail) sends a jouranl entry to there friend in land based mail, whom then in turn submits it on the site.

At this time the friend can not post the entry for the person unless they log into the site as the person hiking the Trail.

Is there a way we can have it so that the owner and one other of choice can add or edit the journal?

Cyricx
03 Apr 2003, 22:20
I'm wondering if theres anyway to get this to show up on forumhome, meaning like there are (x) new public journal enteries!

Then you can click on that and see the latest additions?

Similar to the way posts work.

Any ideas?

Neopiper
05 Apr 2003, 16:11
anyone know how to add extra field such as mood into the journal? thx :)

Oblivion Knight
05 Apr 2003, 23:54
/me clicks install.

Installed and from first impressions, it appears to be running well.
Any bugs or new features that I discover, I will post about in here.. :)

Thanks Ryan,
Oblivion Knight.

midnightz
06 Apr 2003, 01:04
I love this hack addiction - But I would like anybody to give me heads up on how I can do two things...

1 - New post in journals and or comments show up in $newposts (will help journal traffic)

2 - having all comments under the entries shown or so you can view all comments without having to dig in :)

Any help would be great

Cheers,

midnightz

Zelda-King
06 Apr 2003, 11:09
I've had a request about my journal.php (which allows admins to edit/delete stuff and also keeps guests/banned people out) so I'm going to attach it. My previous journal.php didn't keep anyone out. I'm pretty much using Ryangel's own code. I just added it to a few places. I really like this setup myself, and this is the very version I've used for ages, just this minute taken from my own server, so I expect no problems.

jbear6
06 Apr 2003, 14:56
Thanks Zelda-King! :)

Jbear6

attroll
06 Apr 2003, 16:40
Zelda-King

Is there a way for admins to delete the whole Journal or keeps selected people and guest out? I downloaded your journal.php and tried it and it did not have any of those options. Or is that something that is not complete yet?

Oblivion Knight
09 Apr 2003, 11:19
Does anyone know of a database query I could use to increase my entry count by 1?
When deleting the default admin message, it lowers my entry count to -1.

I'd have a go myself, but knowing very little about MySQL databases I don't really want to play around with things I shouldn't.



[EDIT]
I manually went in to the database structure for the journal table and increased my entry count by 1 with no problems at all.. :)

attroll
13 Apr 2003, 21:55
04-06-03 at 12:03 PM Zelda-King said this in Post #177 (http://www.vbulletin.org/forum/showthread.php?postid=378229#post378229)
I've had a request about my journal.php (which allows admins to edit/delete stuff and also keeps guests/banned people out) so I'm going to attach it. My previous journal.php didn't keep anyone out. I'm pretty much using Ryangel's own code. I just added it to a few places. I really like this setup myself, and this is the very version I've used for ages, just this minute taken from my own server, so I expect no problems.

I downloaded this zip file but I still see now way to delete a journal as a admin. What am I doing wrong.

Zelda-King
13 Apr 2003, 22:13
You can't delete journals. You can delete/edit comments and entries.

This current system doesn't work like that (journal deletions). People can just 'lock' journals. You'd have to delete from the database.

For the next version though, journal deletions 'should' be accounted for otherwise there would be database errors if one somehow tries to view the journal of a deleted user. (Has already mentioned this.)

You can keep selected usergroups out. In that file usergroups 1, 3 and 4 can't view journals. I'm not sure if I added usergroup 8 there. On my server usergroups 8 and 10 are added to the 'no-permissions' list. I have my code thus;

//if user is NOT registered / Email not confirmed / (COPPA) Users Awaiting Moderation THEN cannot CREATE journal.
if(($bbuserinfo[usergroupid] == "1") || ($bbuserinfo[usergroupid] == "3") || ($bbuserinfo[usergroupid] == "4") || ($bbuserinfo[usergroupid] == "8") || ($bbuserinfo[usergroupid] == "10")){
//redirect
$goto="index.php?s=$session[sessionhash]";
eval("standardredirect(\"".gettemplate("redirect_noaccessjournal")."\",\"$goto\");");Just edit that for whichever usergroups you don't want to view the journal feature. For example, by default, 8 = 'Banned by Moderators'.

Xelation
14 Apr 2003, 21:10
hey zelda-king.. I know you posted some code above saying how to put a link to a users journal using $journal... j/w did you get that to work yet? I could really use that :D

klunderj
14 Apr 2003, 23:25
installed!

Thanks for this great hack... I used it to add a Captains Fishing log to my forum http://www.fishonhuron.tzo.com/journal/ . Fishermen can keep track of their fishing adventures, and it keeps track of their season catch, etc.

Thanks again

redd
19 Apr 2003, 23:32
Has anyone attempted paging yet? We're up to 300 entries per page and they are growing fast.

I've tinkered with the instructions at http://www.devarticles.com/art/1/110 for building a paging class, but I've never touched php code before, and I'm not having any success. Maybe someone with php knowledge would have better luck with it.

VAN
24 Apr 2003, 02:07
<<< Nevermind >>> :)

VAN
24 Apr 2003, 04:38
Ok. Installed and functioning after some manual DB edits. Cool hack!

Now some suggestions for the next version....

Ability to:
allow/disallow HTML (in entries and comments)
allow/disallow vB Code (in entries and comments)
allow/disallow attachments

Also would like to see the interface for adding new entries more similar to that used for posting forum threads and replies. (vB code buttons, options, etc.

Also this would probably be pretty difficult, but I would like it to work so that if I have someone on my ignore list, they are automatically prevented rom viewing ALL of my journal entries.

VAN
24 Apr 2003, 05:39
Oh, and since Journal entries can be pretty loooong, the ability to preview before posting would be great! :)

Zelda-King
24 Apr 2003, 12:53
04-14-03 at 09:10 PM Xelation said this in Post #183 (http://www.vbulletin.org/forum/showthread.php?postid=382176#post382176)
hey zelda-king.. I know you posted some code above saying how to put a link to a users journal using $journal... j/w did you get that to work yet? I could really use that :D Oh, you mean in profiles or memberlist? The modifications to have it in memberlist have been posted in this thread. For profiles we just pasted a load of code out of newreply.php or something so $journal would be compatible with member.php (to be honest I'm rusty on that procedure. It was long ago and it was my co-site founder that did that particular trick. He also edited journal.php so views wouldn't count if you were viewing your OWN journal).

For the journal code I recommend this in member.php;

Above// Get referralsadd//Get Journal
if($userinfo[journal]==1){
$journal = '<a href="journal.php?journalid='. $userinfo['userid'] .'&action=view">View Journal for '. $userinfo['username'] .'</a>';
}
else {
$journal = ''. $userinfo['username'] .' has no journal.';
}
I'd attach my member.php but we're not allowed to post vBulletin coding.

Koutaru
25 Apr 2003, 19:58
:( the last time the author posted was on 09-26-02 08:59 AM

I would have loved to see like a buddy option or maybe just a "daily reads" option. You can add people to your "daily reads" and it'll show up on the main journal page for quick access.

Or form friends so you can link to each other's journal.

And *maybe* some customization of a user's journal page as in color and font wise.

:) paging would also be very useful

Brad
26 Apr 2003, 04:11
Hey all,

Ive decided to take up the task of compleating this hack, i dont know how far im going to go with it yet, but I do promise paging, allowing buddys to view private entrys, and alot of misc stuff to clean it up overall (perrmissions,admin options etc).

midnightz
26 Apr 2003, 04:14
Please add where new entries are collapsed, but most important new entries and comments get searched and appear in $newposts :)

That would be yummy :)

Koutaru
26 Apr 2003, 04:47
:) Thanks Anime-loo. I can't wait!

VAN
26 Apr 2003, 07:05
Cool deal, Anime-Loo! Don't forget to incorporate my ideas. ;)

Oh, and if you could get it to alternate background colors like in showthread using $backcolor that would be cool too!

Oblivion Knight
26 Apr 2003, 08:11
Today at 05:11 AM Anime-loo said this in Post #191 (http://www.vbulletin.org/forum/showthread.php?postid=387234#post387234)
Hey all,

Ive decided to take up the task of compleating this hack, i dont know how far im going to go with it yet, but I do promise paging, allowing buddys to view private entrys, and alot of misc stuff to clean it up overall (perrmissions,admin options etc).

I'll look forward to it, the Journal hack is by far one of my favourite "extra" additions to vBulletin..

Bug fixes, new features and such are very welcome :)

bandersen
27 Apr 2003, 20:40
thank you - install went fine on 229!

ExcErr
29 Apr 2003, 20:19
can you add some features to your hack (may somebody has asked about it...):
1. user favorites (this and next features to be displayed in the left column)
2. user readers (people how read this journal very offen)
3. titles of new comments

ExcErr
29 Apr 2003, 20:35
and it will be good that users can make their own styles of journal (bgcolor, bordercolor, fonts...)

sabret00the
29 Apr 2003, 22:37
i too cannot wait, it will be awesome loo, eta 0_o

sabret00the
29 Apr 2003, 23:00
just went thru the thread, hope i didn't miss anything, anyway heres a list of the requested features for the 'pro' version

+ link from profile with journal entry name
+ buddies view private entries
+ search for journal
+ search through journal
+ display all journals
+ display all entries on multiple pages
+ attachments
+ HTML allowed in entries
+ journal catergories
+ only certain usergroups can create entries
+ user has ability to disable comments
+ currently playing music
+ emoticon legend on add reply and add comment
+ flood checker
+ ability to personalise/customize journal colours, fonts and background

Cold Steel
30 Apr 2003, 05:03
04-26-03 at 12:11 AM Anime-loo said this in Post #191 (http://www.vbulletin.org/forum/showthread.php?postid=387234#post387234)
Hey all,

Ive decided to take up the task of compleating this hack, i dont know how far im going to go with it yet, but I do promise paging, allowing buddys to view private entrys, and alot of misc stuff to clean it up overall (perrmissions,admin options etc).


Good deal. I'm looking forward to seeing your work. :)

msimplay
30 Apr 2003, 12:54
Ooh am really looking forward to that :D
i didn;t expect anyone to carry it on but am really happy you did :D

Brad
30 Apr 2003, 13:26
Yesterday at 06:37 PM sabret00the said this in Post #199 (http://www.vbulletin.org/forum/showthread.php?postid=389105#post389105)
i too cannot wait, it will be awesome loo, eta 0_o


Give it two weeks, three max, I plan on getting out of the house over the next few days cause ive done nothing but code and browse the net for 4 days ;)

midnightz
01 May 2003, 06:08
Yesterday at 12:00 AM sabret00the said this in Post #200 (http://www.vbulletin.org/forum/showthread.php?postid=389122#post389122)
just went thru the thread, hope i didn't miss anything, anyway heres a list of the requested features for the 'pro' version

+ link from profile with journal entry name
+ buddies view private entries
+ search for journal
+ search through journal
+ display all journals
+ display all entries on multiple pages
+ attachments
+ HTML allowed in entries
+ journal catergories
+ only certain usergroups can create entries
+ user has ability to disable comments
+ currently playing music
+ emoticon legend on add reply and add comment
+ flood checker
+ ability to personalise/customize journal colours, fonts and background

Please add - New journal entires and comments appear in new posts and searches and an admin override that you can edit, delete, or lock. :)


Thx,

midz

Zelda-King
01 May 2003, 09:48
I've been trying to find the buddy variable to add so buddies can read private entries. I DID find a buddy variable but it was the wrong one. It lets people who ADD you read your private entries as opposed to the other way round. I couldn't even get it to work from variables in the 'who am I a buddy of?' hack so someone's going to have to specially add a variable I think.

midnightz
01 May 2003, 10:05
I will help with graphics, if anybody wants some PSD's to play with and color code buttons with different designs to match thier site... no probs :)

redd
04 May 2003, 17:11
I would be happy with just two new features... The first and most important would be paging.

The second would be the ability to generate a list of members with journals.

ULTIMATESSJ
05 May 2003, 13:58
one problem i got is that some guy has spammed his journal, and even though i am an admin, i am not allowed to delete his entries, so how am i supposed to remove the spam?

Zelda-King
05 May 2003, 15:56
I posted a journal.php in this thread that gives administrators delete/edit rights.

Lorddraco98
06 May 2003, 01:54
having a little problem, i did everything correctly, ran the installer, uploaded the files, but when I run journal.php, i get nothing, just a blank page. I checked my DB and it seems that the templates got in there, but i dunno what's wrong, any ideas?

WEForums
06 May 2003, 01:56
Make sure you didn't put the templates into a theme you are not using.

Lorddraco98
06 May 2003, 01:57
Today at 09:56 PM WEForums said this in Post #211 (http://www.vbulletin.org/forum/showthread.php?postid=392007#post392007)
Make sure you didn't put the templates into a theme you are not using.

edit 2: fixed it, thanks

WEForums
06 May 2003, 02:07
No problem. Have to watch that if you're rushing through the hack. ;)

Koutaru
06 May 2003, 02:10
^^; How's it going Anime-loo? any updates?

girlzclan
14 May 2003, 22:54
There should also be an option to disable smilies, :)

Brad
15 May 2003, 01:06
05-05-03 at 10:10 PM Koutaru said this in Post #214 (http://www.vbulletin.org/forum/showthread.php?postid=392015#post392015)
^^; How's it going Anime-loo? any updates?


Its going..I have the paging and some other stuff done but I still want to optimize the files some more and add a few things.

Right now im doing alot of work because im a broke teen with his needs :ermm:

Also at this time im building my new site and forums (not at kousetsu).
Loo-portal and vB journal pro will be a large part of it, Im expecting to have both out before summer.

gmarik
17 May 2003, 09:22
The demos links doen't work any more - can you fix that?

miss poison
23 May 2003, 15:43
This journal idea is the greatest!

thanks. *thumbs up*

Intex
24 May 2003, 11:32
Anime-loo looking forward to your work :).


05-15-03 at 02:06 AM Anime-loo said this in Post #216 (http://www.vbulletin.org/forum/showthread.php?postid=395260#post395260)
Its going..I have the paging and some other stuff done but I still want to optimize the files some more and add a few things.

Right now im doing alot of work because im a broke teen with his needs :ermm:

Also at this time im building my new site and forums (not at kousetsu).
Loo-portal and vB journal pro will be a large part of it, Im expecting to have both out before summer.

gmarik
25 May 2003, 08:30
WISHLIST

- It must have an archive by year / month

- A mini calendar with a link to every day posted

- If several posts in one day, than than they are united under one date, not repeating it several times.

- A WYSIWG panel (as HiveMail)

- Categorys (from another vbhack)

- Redirection template stuff should be shown on the same page somewhere at the top (redirection action must be edited in functions.php)

- A date select dropdown menu

- Random photo

- If user makes a new journal, and has n/a birtdhday, he must fill that field, birtday and location (maybe gender too)

WHAT IS DONE BY ME

- Added a .CSS file

- started xHTML transformation

subu1
25 May 2003, 11:37
sorry my english is verryyyyyyyy bad, but i have a questions.

Why don't have my User no Journal Button in the Postbit.

subu1
25 May 2003, 17:37
ups, edit it works :laugh:

gmarik
25 May 2003, 18:11
Subu, it's only a beta. Many thing have still to be done.
But you must agree - it's a good beginning. Let's work together on this hack. I wrote, what we have to do - so le'ts get to work!

subu1
25 May 2003, 18:17
ok it works:-)

Koutaru
25 May 2003, 18:59
05-14-03 at 08:06 PM Anime-loo said this in Post #216 (http://www.vbulletin.org/forum/showthread.php?postid=395260#post395260)
Its going..I have the paging and some other stuff done but I still want to optimize the files some more and add a few things.

Right now im doing alot of work because im a broke teen with his needs :ermm:

Also at this time im building my new site and forums (not at kousetsu).
Loo-portal and vB journal pro will be a large part of it, Im expecting to have both out before summer.


I'm so nervous I might start hacking into the current one but I really want to wait for yours first :) -- we'll see ;)

gmarik
26 May 2003, 10:25
Loo - maybe we could start working on that hack together?
I posted my wishlist and screenie - what do you think about it?

gmarik
26 May 2003, 10:26
People of the world - we could make a Content Managment Systemt out of it!!!

bandersen
27 May 2003, 11:34
I am also looking forward to the upgrade!

insanctus
27 May 2003, 11:40
Yes an update of this would be nice.

Many on my forum seem to like it.

bandersen
29 May 2003, 12:56
how do I enter an image in the journal the way the journal is now? when posting... sort of.

Oblivion Knight
29 May 2003, 13:21
Today at 01:56 PM bandersen said this in Post #230 (http://www.vbulletin.org/forum/showthread.php?postid=401513#post401513)
how do I enter an image in the journal the way the journal is now? when posting... sort of.

The [img] tag should do the trick.. ;)

bandersen
29 May 2003, 14:37
I tried that... but this journal is not a forum. I have set yes on dynamic img tag. All that shows when adding an img in the journal is the code line itself. I have img showing in forums set for it.


Have you gotten this to work on your end?
Can you pls give code example...

gmarik
30 May 2003, 19:54
- A new folder for every user journal

- "journal_statsbits" template can be changed by every user - ther could be text links or a photography, for example, of a portrait.

- Download as txt file hack integration and Vb code in titles

- Can have multiple attachments

- A smaret views counter (maybe a vBstats hack integration)

- If the only journal in journal.php, than redirect as in AP when found only one item directly to the found one

- Zodiac and Age hack integration

- ARCHIVE SUMMARY
->View by Date
->View by Category

- Advanced search

- Notify me when someone replies to this post? and other functions from Quick Reply Box

- An "image bank" - a popup browser with uploaded imges for inserting sorted by categorys (avatar category hack integration)

Oblivion Knight
30 May 2003, 20:04
Yesterday at 03:37 PM bandersen said this in Post #232 (http://www.vbulletin.org/forum/showthread.php?postid=401543#post401543)
I tried that... but this journal is not a forum. I have set yes on dynamic img tag. All that shows when adding an img in the journal is the code line itself. I have img showing in forums set for it.


Have you gotten this to work on your end?
Can you pls give code example...

It's working fine for me just by using the [img] tags.. :nervous:

bandersen
30 May 2003, 21:35
Today at 10:04 PM Oblivion Knight said this in Post #234 (http://www.vbulletin.org/forum/showthread.php?postid=402077#post402077)
It's working fine for me just by using the [img] tags.. :nervous:


hm..
like this (without the space)

http://www.mydomain.com/file.jpg

Oblivion Knight
30 May 2003, 23:49
Yesterday at 10:35 PM bandersen said this in Post #235 (http://www.vbulletin.org/forum/showthread.php?postid=402102#post402102)
hm..
like this (without the space)

http://www.mydomain.com/file.jpg

Yes. The only difference being that I did it in lowercase, but that shouldn't make a difference.

bandersen
01 Jun 2003, 10:46
I've done:
Admin CP -> vBulletin Options -> Attachments -> View Images ->Yes

Admin CP -> vBulletin Options -> Posting code -> Allow Dynamic URL for [img] tags?
->no (ps. no changes if I try with a yes)

Admin CP -> Forums & Moderators -> Modify -> [edit] -> Allow BB IMG Code in post -> Yes for some forums and the image shows there.

User CP --> Edit Options --> Show image attachments and [img] code in Posts ->Yes

The size of the image is way below what I have allowed. Extension is allowed.

Still no image (or link even) showing in the journal... just plain text

what am I overlooking?

Oblivion Knight
01 Jun 2003, 10:56
Do all other bbtags and smilies work correctly with the journal for you?

bandersen
01 Jun 2003, 12:00
hm...
smileys work, but the URL and EMail tags do not (no link just plain text)


Today at 12:56 PM Oblivion Knight said this in Post #238 (http://www.vbulletin.org/forum/showthread.php?postid=402797#post402797)
Do all other bbtags and smilies work correctly with the journal for you?

Oblivion Knight
01 Jun 2003, 16:17
If your bbtags aren't working correctly with the journal, there was a problem with the install..

I think someone had a similar problem earler in this thread.

bandersen
01 Jun 2003, 19:13
I've now read this thread again.... I see people asking the same as I.. but none of those posting a solution...
Perhaps better wait for the new update as I read the code was to be redone anyways. Thanks for the support Oblivion Knight!

gmarik
03 Jun 2003, 17:30
Adding the AP things. Only the first part.


// Step 2
if ($install=="2") {

$DB_site->query("INSERT INTO settinggroup VALUES (126, 'Journal Pro', 126)");
$DB_site->query("INSERT INTO setting VALUES (NULL,126, 'Mini Calendar', 'valid', '1', 'Do you wish to have a mini calendar with links to posts?', 'yesno', 1)");
$DB_site->query("INSERT INTO setting VALUES (NULL,126, 'WYSIWG panel', 'valid', '1', 'Do you wish to have a WYSIWG panel when submiting / editing an entry?', 'yesno', 1)");
$DB_site->query("INSERT INTO setting VALUES (NULL,126, 'Short / Full Entrys', 'valid', '1', 'Do you wish to have short article linkinking to the full artcile?', 'yesno', 1)");
$DB_site->query("INSERT INTO setting VALUES (NULL,126, 'Random photo', 'valid', '1', 'Do you wish to have a random photo in your journal profile?', 'yesno', 1)");
$DB_site->query("INSERT INTO setting VALUES (NULL,126, 'Archive / Static HTML', 'valid', '1', 'Do you wish to have an archive by months and create static html from php files?', 'yesno', 1)");

echo "Adding field to vBulletin Options....<br>";
echo "..<b>Journal Professinal Settings have been added successfully!</b><br><br>";
echo "<b><a href='$PHP_SELF?install=3'>[Continue Installation]</a></b>";
}

bandersen
03 Jun 2003, 18:08
da, spasibo boljshoe? :-) "yes, I wish to have".... and perhaps able to register on tomorrows date / coming weeks too....

gmarik
04 Jun 2003, 06:34
Pozaluista :o) The problem is - don't have the time and knowledge. We defiantely need somebody, who could become the big remaker of this great hack.

Intex
04 Jun 2003, 08:08
I believe Amiloo said she would be looking at it, but I guess its not one of her priorities, especially after joining the vB.org team.

Ryangel
04 Jun 2003, 15:05
Will be working on it again, starting sometime this week. Stay tuned but no promises. busy busy busy ...

bandersen
05 Jun 2003, 22:32
Great... I wish someone would include the features mentioned here. If you need a tester PM me.

Crinos
12 Jun 2003, 05:08
Hmmm, I made mine like that by just replacing this in journal.php:

/*
if ($bbuserinfo[userid]==0) {
show_nopermission();
}
*/

with this:


if ($bbuserinfo[userid]==0) {
show_nopermission();
}


Basically just uncomment it :D

redd
12 Jun 2003, 15:20
I hope this still works with vB3.

Koutaru
12 Jun 2003, 16:35
It's not, vB3's coding has been completely reconfigured.