View Full Version : vBJournal Lite 1.1b
Ryangel
09-18-2002, 10:00 PM
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 (https://vborg.vbsupport.ru/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
https://vborg.vbsupport.ru/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="https://vborg.vbsupport.ru/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
09-19-2002, 10:35 AM
Any chance of some screenshots?
Cheers
Ryangel
09-19-2002, 11:46 AM
ahh thanks. demo link added in first post
Erwin
09-19-2002, 12:06 PM
Your demo link doesn't work. :)
Erwin
09-19-2002, 12:07 PM
Okay, the link should be this:
http://sgstudents.com/forum/journal.php
Ryangel
09-19-2002, 12:09 PM
thanks.... fixed ... :\
Erwin
09-19-2002, 12:12 PM
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
09-19-2002, 12:16 PM
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
09-19-2002, 12:17 PM
Great hack, this spares me some time. ;)
Well done.
NexDog
09-19-2002, 12:22 PM
Yep, can't wait to install...hopefully in a day or two. :)
Regit
09-19-2002, 12:45 PM
great !! can you descirbe some feature of this hack ?
Ryangel
09-19-2002, 01:03 PM
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
09-19-2002, 01:26 PM
thank you!! i am so glad this came out. great job. installed.
zachb
09-19-2002, 01:27 PM
suggestion: let user's search for member journal's on the journal page.
[D]Vincent
09-19-2002, 02:05 PM
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
09-19-2002, 02:16 PM
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
09-19-2002, 05:53 PM
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
09-19-2002, 06:12 PM
wow!! awesome!! I've been waiting for this hack for a long long time! you rock man!
ptbyjason
09-19-2002, 06:34 PM
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?
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
09-19-2002, 08:22 PM
yea..the templates in the install.php is a little buggy in mine too
indiamike
09-19-2002, 08:50 PM
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
09-19-2002, 11:15 PM
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
09-20-2002, 12:33 AM
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
09-20-2002, 12:36 AM
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
09-20-2002, 12:43 AM
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
09-20-2002, 12:45 AM
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
09-20-2002, 12:48 AM
Originally posted by zachb
suggestion: let user's search for member journal's on the journal page.
Noted ! :)
indiamike
09-20-2002, 01:15 AM
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
09-20-2002, 01:52 AM
hmmm *confused*
/me waits for more bugs.
Velocd
09-20-2002, 01:55 AM
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
09-20-2002, 01:57 AM
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
09-20-2002, 02:20 AM
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
09-20-2002, 03:07 AM
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
09-20-2002, 03:08 AM
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
09-20-2002, 03:35 AM
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?
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
09-20-2002, 03:58 AM
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
09-20-2002, 03:59 AM
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
09-20-2002, 04:40 AM
here. hmm it is a strange error. i think I installed everything correctly
Ryangel
09-20-2002, 06:14 AM
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
09-20-2002, 07:42 AM
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
09-20-2002, 08:34 AM
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
09-20-2002, 10:20 AM
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
09-20-2002, 10:23 AM
Its fixed now, I forgot to enter the templates. :)
Riddel
09-20-2002, 01:42 PM
@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
09-20-2002, 02:55 PM
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
09-20-2002, 03:02 PM
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
09-20-2002, 04:09 PM
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
09-20-2002, 04:45 PM
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
09-20-2002, 05:04 PM
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
09-20-2002, 06:12 PM
It worked!!! thank you so very much!
Velocd
09-20-2002, 06:21 PM
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
09-20-2002, 07:29 PM
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
09-20-2002, 08:13 PM
My Journal (http://www.darkblazes.com/forums/journal.php?s=&journalid=1&action=view)
Brilliant work m8:)
Satan
If I wanted to add this to different styles do I have to do it manually ?/
thanks
Chris M
09-20-2002, 08:41 PM
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
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:
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
09-20-2002, 09:31 PM
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
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
09-20-2002, 09:47 PM
@Koss - I said to stop after adding the templates;)
Thats why you get the errors...:)
Satan
Riddel
09-20-2002, 09:47 PM
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
09-20-2002, 11:28 PM
Does this hack block HTML out from journal entries when submitting and modifying them?
Kaelon
09-21-2002, 12:20 AM
afterlab - from what I can tell, yes.
Any thoughts on the above problems I mentioned? :p
Kaelon
Ryangel
09-21-2002, 12:42 AM
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.
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
09-21-2002, 01:01 AM
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
09-21-2002, 01:11 AM
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
09-21-2002, 01:12 AM
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
09-21-2002, 01:18 AM
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
09-21-2002, 01:41 AM
updated journal.php ver1.1b
Ryangel
09-21-2002, 01:47 AM
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
09-21-2002, 01:53 AM
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.
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
09-21-2002, 12:53 PM
I am not getting anything when I go to, this page.
http://20ishparents.com/boards/journal.php
amsch
09-21-2002, 01:13 PM
Ok, I figured out my problems. The install said it installed the templates but didn't. Did it manually at worked great!
amsch
09-21-2002, 01:17 PM
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
09-21-2002, 01:25 PM
Ok, I noticed it also does not increase post counts. It would be nice to increase board counts and member counts.
Kaelon
09-21-2002, 03:29 PM
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
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 :)
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
09-23-2002, 08:11 AM
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
09-23-2002, 09:01 AM
Its OK, got it sorted. In case anyone else is having same grief:
Just remove the 'nowrap' markup from the 'journal_entrybits' template.
Ryangel
09-26-2002, 12:10 PM
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.
* Ryangel thinks of all the wonderful hacks waiting for me when i get back to vbulletin.org *grins*
Ghostsuit
09-26-2002, 12:55 PM
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
09-26-2002, 12:59 PM
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
09-26-2002, 02:52 PM
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
09-26-2002, 06:40 PM
Good idea, Ghostsuit. I hope that people will release mods for this hack on this thread so that we can keep updated. :)
Kaelon
Ghostsuit
09-27-2002, 05:12 PM
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
09-29-2002, 11:04 PM
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
09-30-2002, 06:25 PM
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
10-04-2002, 03:38 AM
how do i get it on the online.php to have
"Viewing Journals"
instead of
Unknown Location: /journal.php?
anyone know ?
Erwin
10-04-2002, 06:26 AM
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
10-05-2002, 05:14 PM
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
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
10-05-2002, 08:09 PM
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
10-05-2002, 08:42 PM
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
10-08-2002, 03:27 PM
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
10-09-2002, 06:03 PM
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
10-11-2002, 12:06 AM
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
10-11-2002, 07:44 AM
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
10-11-2002, 04:15 PM
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
10-20-2002, 01:29 PM
Anyone ever figure out how to split the journals up into pages? Say 25 entries per page, etc?
Neopiper
10-21-2002, 02:20 AM
and also anyone could give a code on how to show journal link on User profiles if a user have a journal?
Willard Reece
10-23-2002, 04:24 PM
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
10-23-2002, 08:21 PM
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
10-24-2002, 03:34 PM
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
10-24-2002, 03:46 PM
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
10-24-2002, 04:01 PM
what's ur server's specs ?
NTLDR
10-24-2002, 04:36 PM
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
10-24-2002, 04:49 PM
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
10-24-2002, 04:49 PM
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
10-24-2002, 04:53 PM
can someone help me ?
Willard Reece
10-24-2002, 05:07 PM
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
10-24-2002, 05:10 PM
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
10-24-2002, 05:16 PM
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
10-24-2002, 05:17 PM
can u help me with my problem ?
Willard Reece
10-24-2002, 06:20 PM
ohgenki
looks like you put it in the right spot.
ohgenki
10-25-2002, 05:09 AM
yeah i did...but no idea why it just doesn't display new entries...
ohgenki
11-06-2002, 04:20 AM
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
11-07-2002, 06:29 AM
I'm having a problem getting IMG tags working with my journal. Anyone know what the problem would be?
EThan
teenfront
11-11-2002, 02:01 PM
any idea when this is coming out of beta?
Jitway
11-12-2002, 05:19 PM
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
11-12-2002, 05:37 PM
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
11-29-2002, 11:54 AM
/NexDog finally installs...:)
ohgenki
12-07-2002, 07:29 AM
nexdog u have a copy of it ?
NexDog
12-10-2002, 09:24 AM
/me has indeed.
Originally posted by NexDog
* NexDog has indeed.
whats this?
anyone know how to change the color of the links?
thanks
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
12-29-2002, 09:59 PM
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
12-29-2002, 10:57 PM
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-01-2003, 04:49 AM
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-01-2003, 07:59 AM
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
01-12-2003, 07:13 AM
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
01-12-2003, 02:21 PM
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
01-12-2003, 03:23 PM
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
01-12-2003, 06:03 PM
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
01-19-2003, 01:35 PM
i got multiple stylesets but your installer will only install to the default is their a fix available?
Would this page http://www.devarticles.com/art/1/110/ help anyone that understands php to create multiple pages for the journals?
ethics
01-25-2003, 07:53 PM
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
01-26-2003, 12:27 AM
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
01-26-2003, 12:57 AM
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
01-26-2003, 02:10 AM
i think i'll have to try writing it myslef then :-S
sabret00the
01-26-2003, 05:54 PM
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-02-2003, 08:25 PM
Fantastic hack! Just what I was looking for. :) Is there a way to let users include html or VB code in their entries?
ChurchMedia
02-03-2003, 12:48 AM
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] = " ";
}
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
02-04-2003, 12:47 PM
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
02-05-2003, 06:19 AM
Great hack ... anyone know a way of showing a list of all user journals?
Oblivion Knight
02-07-2003, 12:27 PM
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
02-18-2003, 10:22 AM
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
02-18-2003, 07:23 PM
Never could get the installer to make the changes in the database. Too bad too! :hurt:
sabret00the
02-19-2003, 12:03 PM
any news on the follow up version with the additional features like
+ mood
+ listening too
+ smilie box on add entry & add reply
Zelda-King
02-23-2003, 01:47 PM
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
02-23-2003, 10:50 PM
<font color="red">Installed...</font>
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
02-25-2003, 08:34 AM
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] = " ";
}
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="https://vborg.vbsupport.ru/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="https://vborg.vbsupport.ru/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
02-25-2003, 06:44 PM
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
02-25-2003, 08:58 PM
The correct template is journal_entrybits
Basically copied the discuss link and wrapped it around the "comments" in the template.
Robink
02-26-2003, 04:14 PM
Installed!! My USERS Love this Hack!!
Thanks!! No problems whatsoever!
Zelda-King
02-26-2003, 05:15 PM
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
03-02-2003, 04:40 PM
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
03-07-2003, 07:02 AM
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
03-07-2003, 07:05 AM
The Install This Hack link is at the bottom of each thread - right below Email This Page to Someone.
McDohl
03-10-2003, 10:15 AM
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
03-10-2003, 02:42 PM
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
03-13-2003, 12:23 AM
um i have multiple styles on my site will the installer install templates in all the styles?
msimplay
03-13-2003, 02:20 AM
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
03-14-2003, 06:29 PM
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
03-16-2003, 09:19 PM
I love this hack and i was wondering if it would be released on vb3
sabret00the
04-01-2003, 04:22 PM
i got a member spamming her journal would it be possible to limit the number of entries per hour to 1?
attroll
04-01-2003, 04:46 PM
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
04-03-2003, 09:20 PM
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
04-05-2003, 03:11 PM
anyone know how to add extra field such as mood into the journal? thx :)
Oblivion Knight
04-05-2003, 10:54 PM
* Oblivion Knight 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
04-06-2003, 01:04 AM
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
04-06-2003, 10:09 AM
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
04-06-2003, 01:56 PM
Thanks Zelda-King! :)
Jbear6
attroll
04-06-2003, 03:40 PM
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
04-09-2003, 10:19 AM
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
04-13-2003, 08:55 PM
04-06-03 at 12:03 PM Zelda-King said this in Post #177 (https://vborg.vbsupport.ru/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
04-13-2003, 09:13 PM
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
04-14-2003, 08:10 PM
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
04-14-2003, 10:25 PM
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
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.
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.
Oh, and since Journal entries can be pretty loooong, the ability to preview before posting would be great! :)
Zelda-King
04-24-2003, 11:53 AM
04-14-03 at 09:10 PM Xelation said this in Post #183 (https://vborg.vbsupport.ru/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
04-25-2003, 06:58 PM
:( 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
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
04-26-2003, 03:14 AM
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
04-26-2003, 03:47 AM
:) Thanks Anime-loo. I can't wait!
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
04-26-2003, 07:11 AM
Today at 05:11 AM Anime-loo said this in Post #191 (https://vborg.vbsupport.ru/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
04-27-2003, 07:40 PM
thank you - install went fine on 229!
ExcErr
04-29-2003, 07:19 PM
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
04-29-2003, 07:35 PM
and it will be good that users can make their own styles of journal (bgcolor, bordercolor, fonts...)
sabret00the
04-29-2003, 09:37 PM
i too cannot wait, it will be awesome loo, eta 0_o
sabret00the
04-29-2003, 10:00 PM
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
04-30-2003, 04:03 AM
04-26-03 at 12:11 AM Anime-loo said this in Post #191 (https://vborg.vbsupport.ru/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
04-30-2003, 11:54 AM
Ooh am really looking forward to that :D
i didn;t expect anyone to carry it on but am really happy you did :D
Yesterday at 06:37 PM sabret00the said this in Post #199 (https://vborg.vbsupport.ru/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
05-01-2003, 05:08 AM
Yesterday at 12:00 AM sabret00the said this in Post #200 (https://vborg.vbsupport.ru/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
05-01-2003, 08:48 AM
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
05-01-2003, 09:05 AM
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 :)
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-05-2003, 12:58 PM
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-05-2003, 02:56 PM
I posted a journal.php in this thread that gives administrators delete/edit rights.
Lorddraco98
05-06-2003, 12:54 AM
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
05-06-2003, 12:56 AM
Make sure you didn't put the templates into a theme you are not using.
Lorddraco98
05-06-2003, 12:57 AM
Today at 09:56 PM WEForums said this in Post #211 (https://vborg.vbsupport.ru/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
05-06-2003, 01:07 AM
No problem. Have to watch that if you're rushing through the hack. ;)
Koutaru
05-06-2003, 01:10 AM
^^; How's it going Anime-loo? any updates?
girlzclan
05-14-2003, 09:54 PM
There should also be an option to disable smilies, :)
05-05-03 at 10:10 PM Koutaru said this in Post #214 (https://vborg.vbsupport.ru/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
05-17-2003, 08:22 AM
The demos links doen't work any more - can you fix that?
miss poison
05-23-2003, 02:43 PM
This journal idea is the greatest!
thanks. *thumbs up*
Intex
05-24-2003, 10:32 AM
Anime-loo looking forward to your work :).
05-15-03 at 02:06 AM Anime-loo said this in Post #216 (https://vborg.vbsupport.ru/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
05-25-2003, 07:30 AM
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
05-25-2003, 10:37 AM
sorry my english is verryyyyyyyy bad, but i have a questions.
Why don't have my User no Journal Button in the Postbit.
subu1
05-25-2003, 04:37 PM
ups, edit it works :laugh:
gmarik
05-25-2003, 05:11 PM
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
05-25-2003, 05:17 PM
ok it works:-)
Koutaru
05-25-2003, 05:59 PM
05-14-03 at 08:06 PM Anime-loo said this in Post #216 (https://vborg.vbsupport.ru/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
05-26-2003, 09:25 AM
Loo - maybe we could start working on that hack together?
I posted my wishlist and screenie - what do you think about it?
gmarik
05-26-2003, 09:26 AM
People of the world - we could make a Content Managment Systemt out of it!!!
bandersen
05-27-2003, 10:34 AM
I am also looking forward to the upgrade!
insanctus
05-27-2003, 10:40 AM
Yes an update of this would be nice.
Many on my forum seem to like it.
bandersen
05-29-2003, 11:56 AM
how do I enter an image in the journal the way the journal is now? when posting... sort of.
Oblivion Knight
05-29-2003, 12:21 PM
Today at 01:56 PM bandersen said this in Post #230 (https://vborg.vbsupport.ru/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
05-29-2003, 01:37 PM
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
05-30-2003, 06:54 PM
- 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
05-30-2003, 07:04 PM
Yesterday at 03:37 PM bandersen said this in Post #232 (https://vborg.vbsupport.ru/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
05-30-2003, 08:35 PM
Today at 10:04 PM Oblivion Knight said this in Post #234 (https://vborg.vbsupport.ru/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
05-30-2003, 10:49 PM
Yesterday at 10:35 PM bandersen said this in Post #235 (https://vborg.vbsupport.ru/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
06-01-2003, 09:46 AM
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
06-01-2003, 09:56 AM
Do all other bbtags and smilies work correctly with the journal for you?
bandersen
06-01-2003, 11:00 AM
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 (https://vborg.vbsupport.ru/showthread.php?postid=402797#post402797)
Do all other bbtags and smilies work correctly with the journal for you?
Oblivion Knight
06-01-2003, 03:17 PM
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
06-01-2003, 06:13 PM
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
06-03-2003, 04:30 PM
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
06-03-2003, 05:08 PM
da, spasibo boljshoe? :-) "yes, I wish to have".... and perhaps able to register on tomorrows date / coming weeks too....
gmarik
06-04-2003, 05:34 AM
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
06-04-2003, 07:08 AM
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
06-04-2003, 02:05 PM
Will be working on it again, starting sometime this week. Stay tuned but no promises. busy busy busy ...
bandersen
06-05-2003, 09:32 PM
Great... I wish someone would include the features mentioned here. If you need a tester PM me.
Crinos
06-12-2003, 04:08 AM
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
I hope this still works with vB3.
Koutaru
06-12-2003, 03:35 PM
It's not, vB3's coding has been completely reconfigured.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.