![]() |
how can i get the number of comments to show up on the journal-home (journal.php) (where it shows 10 latest entries)
|
Quote:
bbcodeparse($journal[entry]); Ordinarily there would be additional parameters, $forumid and $allowsmilies, for something like this $journal[description] = bbcodeparse($journal[entry],$forumid,$allowsmilies); Then bbcodeparse would lookup the forum's image display flag and decide whether to display html, images and smilies. It would pass those instructions forward as additional argumetns to bbcodeparse2 like this: bbcodeparse2($bbcode,$dohtml,$dobbimagecode,$dosmi lies,$dobbcode) Of course the journal doesn't have a valid forum ID, so it was behaving a little strangely and not displaying images on my forum on my server. It worked for some. The Bottom Line But if you have this problem, you can make the bbcode call explicit, and tell it absolutely whether to display html, embedded images, smilies and bbcode in your journals: Code:
1. Around line 680 (I have added stuff so the numberings off by +/ 10 lines: Next step, figure out why URLs are not being hotlinked automatically! Regards, Matt |
Quote:
1) Do you want a new table that is something like Journals with the most Comments TreeBay's Journal 19 Comments Lesley's Journal 8 Comments LivingArt's Journal 3 Comments BonsaiMon's Journal 2 Comments pdbbonsai's Journal 2 Comments waltseed's Journal 2 Comments buzzy's Journal 1 Comments 2) Do you want a new table that is something like: Most Recent Comments 2-Oct-2003 07:00 AM | By TreeBay in waltseed's Journal 29-Sep-2003 07:06 PM | By Lesley in BonsaiMon's Journal 23-Sep-2003 10:37 PM | By Lesley in LivingArt's Journal 22-Sep-2003 07:25 PM | By LivingArt in buzzy's Journal 19-Sep-2003 09:02 PM | By TreeBay in Lesley's Journal or 3) Maybe you want to display the number of comments next to the number of entries in the existing tables without adding tables? Regards, Matt |
Works pretty good for me so far. :) THANK YOU!!
Any updates on it though? I'd like for the user's buddies to see the private entries instead of just the admins. |
Hi there
Love this hack - but... I keep getting this error: ******************************* Database error in vBulletin 2.3.0: Invalid SQL: UPDATE user SET journal=0 WHERE userid=1 mysql error: Unknown column 'journal' in 'field list' mysql error number: 1054 Date: Tuesday 07th of October 2003 06:58:01 PM Script: http://cgi.dullernes-univers.dk/ms/m...on=lockjournal Referer: ******************************** The actions actually takes place even though this error happens. What to dooooo? |
I found these problems and some have been mentioned before.
I barely found them. The install went well is what I ment. ^^;; 1) The comment button is broken. I can't make a comment, it'll take me to an unknown page. Tried to fix it, but couldn't. 2) The Avatars won't show. It would give me an "x" or nothing at all. It's a "no avatar selected" type of thing. I added that hack. It's a defult avatar in other words. |
Quote:
|
Can I get any help with making a comment? When a user makes a comment and clicks on "Add comment" button, it can't find the page, and the comment information doesn't go to the database.
EDIT: Ok, I sorta fixed it, but the info STILL doesn't go to the database. It just goes to the main Journal page. This is the link I have in the journal_comments template. Quote:
Quote:
EDIT II: Nevermind, fixed it, I just deleted the templates and reinstalled just the template section. Turned out to be one stupid thing that was missing. >_>; EDIT III: Working very very very well now, no probs as of yet this time. ^^; EDIT IV: Just thought of this, (so many EDITs, huh? o.O; ). Is there a way to add attachments to entries? I'd really like that add-on. |
Quote:
|
do you mean like they have over at www.bluelight.nu?
|
All times are GMT. The time now is 12:47 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|