Log in

View Full Version : vBxB -> vBJournalLite 1.1b by Ryangel Custom Blog/Journal System ADDON.


Harlequin
10-13-2003, 10:00 PM
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vBxB -> vBJournalLite 1.1b by Ryangel Custom Blog/Journal System ADDON.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

-=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=-
::What does this hack do?::
-=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=-

This hack enables the user to pick from three different types of templates from an already installed vBJournalLite and customize them to his or her wishes. This can be a great addon for your site. It can be modded to custom-fit "premium" users. It also can also be a great addition for someone's own personal site that would enjoy adding the benefit of having a blog or journal available for their visitor's reading but would rather not install [or cannot install] the proper php or cgi code to run the journal.


-=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=-
::What templates are included with this journal hack?::
-=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=-

There are three templates included though more can be added with a little work from the site admin. The first template is the exact same, default template that vBJournal Lite uses. The second template selection isn't really a template at all -- it's a very user-customizable version of a site header and footer [using textboxes saved via the SQL db]. The second template option also uses a custom CSS LINK along with the CSS color code/width options given for setup in the journal config. This enables the user to customize his or her own site [header AND footer] (using their own webserver and webspace) with the user's journal entries being placed firmly in the middle. Finally, the third template available has been taken directly from LiveJournal
(the 'Generator' template) and it has been modded to fit this addon's
needs appropriately. I take no credit for the layout of the template whatsoever
nor it's classed contents.


-=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=-
::Why have you included Ryangel's journal.php with this zip?::
-=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=-

As I'm trying to get this out to the public as quick as I can, I just don't remember all of the code I went through trying to get this running. I know that dummy me should've wrote down or saved what I was doing to another file somewhere, but I was too anxious to get this going.

Ryangel, if you have any problems with me including the modded version of your file, please alert me immediately and I'll try my best to edit the install file to include what I've done to your original code asap. Thank you!


-=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=-
::Warnings?::
-=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=-

Plenty.

:: REMEMBER THIS HACK IS A BETA! :: It can and probably WILL screw up on you if there is something wrong or if I have forgot anything in the install instructions! If in the case I have forgot something in the install instructions, please tell me and I'll fix it asap!

If you notice something wrong or your journal is acting quirky, please let me know!

This is my first hack for vBulletin! It's probably not the cleanest code you've ever seen nor is it even all that brilliant, but it gets the job done I think. >.>;

I will NOT be held responsible for user's boards that have been messed up
by this hack! You have been forewarned both here and in the journal.php file itself!

-=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=-
::Possible SECURITY issues?::
-=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=-

I am not aware of any security issues or threats that this may cause to your vBulletin forum, though this obviously doesn't mean that they aren't possible.

The blog's header and footer function uses a 'textbox' input. That's alot of possible HTML code that can be added and, of course, it can be modded. It reads -anything- like a normal HTML file can. Meaning - if the user has on his or her webspace a flash file, it will read the flash file. I don't know how to take these statements out of the user's input yet.. so please don't kill me for that. :P

Maybe you guys could offer some suggestions on it?

-=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=-
::To Do:::
-=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=-

SQL Queries to INSERT: (23)
Files Modified: (2)
Templates Added: (5) Templates Modified: (5)
Files to Upload from .ZIP: (5)


-=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=-
::This sounds pretty cool, but what about the [i]screenshots?::
-=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=-

The screenshots are included in the attached ZIP at the bottom. Please make sure you look at these for any information you'd like to receive on what's included in the modifications this addon will install.



-=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=-
::Thanks!::
-=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=-
Thanks go out to Ryangel, Anime-loo, PixelFX, LiveJournal, and all the vBulletin
hackers. ;)


If this works, I hope you enjoy! Please have fun with it and try to think of some ideas! This is atleast a backbone for your thoughts if nothing else. :)

** Updated journal/templates to allow EXISTING USERS [10:28pm] [10-24-03] - This is EXPERIMENTAL at this time. It worked for me! That's all I tested it on, but it should work. This swaps the journal_deftemp and journal_display templates as well as adds an updated journal.php to reflect these changes. Existing users can now change their options at will. If this doesn't work then notify me immediately and I'll try fixin' it.

** Updated SQL INSERT [11:20pm] [10-15-03] - Had someone testing that needed to create a journal. SQL error came up due to an error in the INSERT line [my screwup. Oops.] Fixed.

** Updated WARNING [10:54pm] [10-15-03] - Custom template had no warning to the user whatsoever if their header information was not entered in their journal config. Fixed.

** Updated SCREENSHOTS [7:01pm] [10-15-03] - Updated screenshots. Previous screenshots were way too small anyway. Each screenshot shows the new modifications (atleast what the user sees.)

** Updated QUERIES [12:58am] [10-15-03] - Forgot to add two db queries. Fixed.

** Updated TEMPLATE [1:20am] [10-14-03] - Forgot to add one of the templates to mod. x.x; Fixed.





** EDIT 10:06pm [Jan. 06, 04]

Expect a bunch of new stuff to be released with the next version. For details, check one of the last posts.


** EDIT 11:26pm [Jan. 20, 04]

An active demo of the Nightingale Journal is now available. As it's in beta, you can receive a fully templated journal with no community posts required. Please click here (http://www.twilighthour.net) for it.

Warning: It's anime, it's girly, and it's a small community. ;)

Also, if you experience problems (parse errors appearing randomly, something not loading..) it's because of the work I'm doing to it, more than likely.


Another note - don't expect this to be the final version after beta. I'm constantly adding changes and ideas. This is the -base- of the journal, however.

PixelFx
10-13-2003, 10:42 PM
you have been busy good luck with the new hack :) I'll check it out soon :)

Koutaru
10-13-2003, 11:01 PM
I made something unreleased, similar to this on vbjournal ;) but I think yours probably has more customization. Probably will go with yours :P

NightWalk8r
10-14-2003, 01:04 AM
awesome!!
i would install it now.........but i'd rather wait til the final version is out :P

Harlequin
10-14-2003, 05:24 AM
Thankies guys ;). Note the edit to the first post -- updated zip.


If there's something missing in the install or something doesn't work quite right, please let me know. :)

gmarik
10-14-2003, 01:33 PM
Not bad. Would you want to develop the Joournal to 2.0 ?

FleaBag
10-14-2003, 04:02 PM
Excellent work, I'll install this right away!

Harlequin
10-14-2003, 07:20 PM
Thanks for the groovy compliments. :) I'm really hoping this works for all of you who use it. If you see something that doesn't look correct to you, please tell me and I'll try my best to fix it.



About the Journal 2.0, however. That's a substantial develop task for me. :P The real question is, what features would the majority of users like to see in a Journal 2.0?


This vBxB addon includes journal moods, music, customized templates, selectable templates.


I -could- rewrite the moods to include graphics instead of text (yet again leaning toward the whole LiveJournal thing), but it'd take me a little time because I'm so new to programming around with vB -- and really programming in general. This is, more or less, my first real bite into the apple.

Koutaru
10-14-2003, 07:24 PM
:P I'm just worried about the vB3 version of the journal. Maybe when vB3 hacks are allowed, 2.0 can come out *shrug*

TheComputerGuy
10-14-2003, 10:09 PM
This does look awesome! I think users will greatly appreciate this!

Eileen
10-15-2003, 02:53 AM
Not sure what happened but I get this sql error:

"Invalid SQL: SELECT u.username, e.entryid, e.journalid, e.title, e.entry, e.timestamp, e.userid, e.private, e.displayorder, e.mood, e.music, e.comments
FROM journal_entry e
LEFT JOIN user u ON e.userid = u.userid
WHERE e.journalid = 1
ORDER BY e.timestamp DESC LIMIT 10
mysql error: Unknown column 'e.mood' in 'field list'"

Anyone have a suggestion on what I can do to correct this?

Harlequin
10-15-2003, 04:56 AM
Okay, to fix this problem [and this has been corrected in the first post and the file setup] run these two queries:




ALTER TABLE journal_entry ADD mood VARCHAR (255) NOT NULL;

ALTER TABLE journal_entry ADD music VARCHAR (255) NOT NULL;

Brad
10-15-2003, 05:58 AM
:P I'm just worried about the vB3 version of the journal. Maybe when vB3 hacks are allowed, 2.0 can come out *shrug*
Im still planing to do a version, waiting on vB 3 RC and some spare time.

Glad to see you got it figured out harleguin :)

Brad
10-15-2003, 06:54 AM
I coded up a quick installer that will run the needed querys for you, just upload the attached file to the admin folder and run it. I was going to add template installer functionalty but I dont have the time to escape all the double quotes...

O yea, its not tested because I dont have a version 2 install right now.

Kaelon
10-15-2003, 03:38 PM
Is there a chance we might get a list of modifications for those of us already running modified versions of vBJournal?

Harlequin
10-15-2003, 11:07 PM
I've just updated all of the screenshots [noted in the first message] to make them considerably larger and very readable. You'll be able to see what's added by the new screenshots. Please take the time to look at them.


Thankies. ;)


Oh! And thankies Anime-loo! I've yet to test this installer -- anyone want to give it a whirl before I include it in the zip?

Eileen
10-16-2003, 02:00 AM
Thanks Harlequin for the added querys. That solved the mysql error.

One other question, when I go to the journal main page on my forum the colors/style are the default ones. However, when I click on "my journal" or "eileen's entry" the pages that come up do not show any styles.

All they show is a white background, a white box with "add entry" and the rest is just plain text.

Is this telling me that I have to work on the templates?

Looking forward to releasing this to my members and thank you

Harlequin
10-16-2003, 02:19 AM
I think that's what it's telling you, and I'm a bit tired after working all day but I'll try to answer this as coherently as possible. :)


The only pages that I have changed are the actual journal "display" templates (the pages with the recent entries on them). Those templates are: journal_deftemp, journal_display, and journal_customtemp1 .. I believe. Every other part of the journal system has been untouched and should pretty well display the same.


But whenever you click your journal and nothing but the 'Add Entry' box pops up, that tells me a few things.


#1. Have you entered an entry in your journal and is it displaying okay on the page with the white background?

#2. Is the custom option selected in your journal config? If so, try linking to an image or typing some words or something in the 'Custom Header' box to see if it displays whenever you look at your journal.

#3. It's entirely possible I'm still leaving something out of the install, so don't fret.


If it is what I think it is and you've selected the 'Custom' option for your journal instead of the 'Alpha' template, then you'd be entirely correct. Your header and footer would just need a little tweaking and working to have it display however you like.

However, if you're selecting the 'Alpha' or 'Default' template and are only receiving what you're telling me, then something is badly wrong and I need to find out what it is immediately.


I can update the journal.php a bit, which I was planning on sooner or later anyway, to tell the user to (atleast) add a custom header.



Look forward to hearing your reply. :)


** EDIT ** : So I decided to fix the custom template white-out problem. I added an admin-set message telling the user that they need to add a header [if the header information does not exist].

Eileen
10-16-2003, 04:03 AM
I have one entry and on the display entry (the white page) the font is super super small.

Now when I click on "add entry" the forum default style/colors appear as it does on my main journal page.

I tested it using both 'Alpha' and 'default' and I get the same results. Also, after checking the 'Alpha' template, I go back to change template and it reverts back to 'default' (it seems the 'alpha' template is not saved)

Eileen
10-16-2003, 04:17 AM
DISREGARD above post.

I had a few minutes ago downloaded your updated file and after uploading the journal.php, it shows up now (although those red colors are such a contrast to my soft colors) :)

Thanks so much for helping me out with this and after I get the template style configured and start getting forum members participating, I'll update here

Brad
10-16-2003, 04:27 AM
Im going to install a vB 2 on localhost tonight and play with journal.php a bit, if I come up with anything useful ill post back.

Harlequin
10-16-2003, 04:38 AM
Eileen -

Please let me know if you have any more issues. I want this to be an enjoyable part of people's boards if they opt to use it. :)

Anime-loo -

That sounds very groovy to me. You were talking about making a new journal for vb3 -- want to butt a few heads on some ideas? ;)


And I'm still a little uneasy about security. I know it's a pretty big umph whenever users can enter a considerable amount of text and it be read as html. Does anyone else have any concerns about this or any ideas for workarounds if they think this a problem?

Brad
10-16-2003, 05:48 AM
Eileen -

Please let me know if you have any more issues. I want this to be an enjoyable part of people's boards if they opt to use it. :)

Anime-loo -

That sounds very groovy to me. You were talking about making a new journal for vb3 -- want to butt a few heads on some ideas? ;)


And I'm still a little uneasy about security. I know it's a pretty big umph whenever users can enter a considerable amount of text and it be read as html. Does anyone else have any concerns about this or any ideas for workarounds if they think this a problem?
Already working on the html problems, its a big fix that requires alot of work tho. So what im probbly ganna do is request permission from vBjournal lite's author to release a modifyed version. It really needs a re-write to be honest, and it would only require a day or two of work.

And yea, im working on a vB 3 journal system, but its more to it then just that ;), send me a pm if you are intrested in helping and we will throw around some idea's. :)

sabret00the
10-16-2003, 09:05 AM
Already working on the html problems, its a big fix that requires alot of work tho. So what im probbly ganna do is request permission from vBjournal lite's author to release a modifyed version. It really needs a re-write to be honest, and it would only require a day or two of work.

And yea, im working on a vB 3 journal system, but its more to it then just that ;), send me a pm if you are intrested in helping and we will throw around some idea's. :)one of the things i'll be waiting for before i update to vb3 is a journal based upon/upgrade for vBjournal Lite, will installing this hinder that in any chance as i'll probably go with yours :)

sabret00the
10-16-2003, 01:24 PM
heres the zipped templates for ppl with TBS installed

has anyone installed this with no casualties on a board with an active pre-existing vbjournal lite hack?

any store integration with this yet?

FleaBag
10-20-2003, 07:09 AM
I forgot to ask previously... Does this addon give any admin options? I had to stop use of the original journal hack because some of my members were posting offensive comments and I wasn't able to remove them.

Harlequin
10-20-2003, 12:50 PM
Store integration - No. But it'd certainly be nice. ;)

I think Anime-loo is currently working on a fixed up spiffied version of this that's actually coded with security in mind.


Fleabag - Admin options are in the journal.php -- but not for curse words, removing comments, etc. This requires me to know what I do not know concerning filtering [for the header and footer textbox, entries, etc.]

This addon includes only the ability to do what's able in the screenshots and the default setup of whatever is in journal.php - that's it.

Though I hope Anime-loo replies soon to my pm. ;)

sabret00the
10-20-2003, 02:12 PM
well i really wanna install this, but i want everyone to buy it from the store rather than just have it for free.

Brad
10-20-2003, 06:52 PM
Ive been real busy working on bigger projects that dont relate to vBulletin, so I havent been as active as I normally would in the support community's lately.

Harleguin: I got your pm, I will try to reply sometime tonight :).


As for the journal hack, it is begin worked on. I want to release something thats secure and includes moderation so it takes awhile to make sure everything is working like it should ;).

Koutaru
10-20-2003, 07:21 PM
Sounds great :) can't wait to see it!

Harlequin
10-20-2003, 08:21 PM
Most definitely. I have alot of faith in you, Anime-loo. :)


Certainly, an option for admins to choose store integration with a custom journal wouldn't be that bad of a feature. The more I think about it, the more it sounds pretty groovy.


What I was meaning to mention earlier to FleaBag about the cursing and filtering and whatnot, that'd be a pretty nice admin edit menu, too.


Humm humm. I might have to work on something like that.

memobug
10-21-2003, 07:37 AM
About the Journal 2.0, however. That's a substantial develop task for me. :P The real question is, what features would the majority of users like to see in a Journal 2.0?

Hi There. I remember a few:

1. I think the biggest single issue is the journal display beyond 10 entries is very poor. You can look at either all entries or the last ten, and if you have lots of entries (or even a few embedded graphics) you could be looking at a very long load time.

2. A couple of other people were very anxious to get the capability for buddies to view private entries. Personally I don't have a need, but it was a big deal for them.

3. There was also some issue with journal management. I wasn't clear if it was having admin capability to delete a user journal (I've had a few people create one accidentally and never put anything in it). I suspect they can be culled in phpMyadmin in a pinch, but somebody had a database error, so maybe it's not that easy.

4. There were some posts about having journal entries increment the user post counter. No big deal for me either way.

5. Somebody(s) wanted to be able to use attachments with journals.

6. Option to limit journal entries to one per day.

7. Someone was concerned about spamming the journal (bumping their own view counter). I posted a fix for that in the original vBJournal thread.

8. There is a minor bug in the way the journal invokes BB code that can prevent IMG tags from displaying properly. I posted a fix for that in the original vBjournal thread.

9. URLs don't autolink. I never got to the bottom of that one, because it was small potatoes compared with the other stuff.

10. Someone had the idea that journals could be subscribed to and you'd get notification of new entries in that journal. I don't know if it needs to be that complex, but maybe if the postbit MY JOURNAL button were red if there were posts since the reader's last login, that would be enough to flag new events without full fledged subscription.

11. Some wanted the standard vB editor with smilies and stuff to appear. Makes sense to me.

I'm sure there were other ideas, but those stuck out in my mind. In my opinion #1 is the immediate need, affecting usability for everyone who has a vBJournal.

Regards,

Matt

Harlequin
10-21-2003, 12:38 PM
All of those are absolutely great suggestions.

To add to that, I was thinking of adding a 'buddy' capability, including the private journal entry view only option that would allow other people to 'buddy' their friends. [Yet again, hellooo LiveJournal.]

I need to wait on seeing what Anime-loo's finished product is going to be though before I try anything. I don't want to rehash old work if he's going to blow me out of the water [which he certainly can.]

memobug
10-21-2003, 07:18 PM
I need to wait on seeing what Anime-loo's finished product is going to be though before I try anything. I don't want to rehash old work if he's going to blow me out of the water [which he certainly can.]

That's considerate, but it may be unnecessary. He must have bigger fish to fry, which is completely understandable. It was going to be a 2-3 week project (https://vborg.vbsupport.ru/showpost.php?p=389364&postcount=203) nearly six months ago, then a before summer thing, then it dropped off the radar entirely.

I understand we all have shifting priorities. The birth of my daughter recently made that crystal clear.

Regards,

Matt

Harlequin
10-21-2003, 08:29 PM
Anime-loo and I have been talking thoroughly about this project for the past two weeks now. It's been given new blood by the addition of this addon and I have faith he'll pull through on whatever he thinks will work.


I look forward to his product. ;)

Harlequin
10-22-2003, 11:40 AM
However, curiosity killed the cat and last night I began working on a few tidbits.

One of those is the ability to delete an entry if you're an admin -- that was really no sweat.

The second one is a bit tougher for me but it's coming along okay methinks. I'm integrating vBJournal's buddy list with a LiveJournal-type journal "friend" system.

Brad
10-22-2003, 09:32 PM
That's considerate, but it may be unnecessary. He must have bigger fish to fry, which is completely understandable. It was going to be a 2-3 week project (https://vborg.vbsupport.ru/showpost.php?p=389364&postcount=203) nearly six months ago, then a before summer thing, then it dropped off the radar entirely.

I understand we all have shifting priorities. The birth of my daughter recently made that crystal clear.

Regards,

Matt
I been trying to take a break from the net this year because I spend 1/2 of the last 4 years on it :). Ive been on most of the time the last month and have alot to catach up on, mostly opening two sites, one of which will hopfully bring in some profit. So that explains the delays, I apologize for everyone thats been waiting :).

Im going to complie a feture list tonight so people can add to it and post it in a new thread over in general hacking so we can stop hi-jacking this one ;). It is going to take a total re-write of the code to do it correctly and make sure it is secure.

Harlequin
10-22-2003, 09:58 PM
That sounds absolutely wonderful, but have no fear -- I've been on the net ever since I was 9 and haven't bothered taking a break at all. No, I don't have a telephone jack sticking out of my ear -yet-, but I look forward to having one pretty soon. ;)



Certainly I'll add to this feature list when I can. ;)

I think I found something this morning that just makes sense -- having the vBJournal "buddy" feature that I was adding read from the original vBulletin group of "buddies" and if so and so has a recent journal entry, display it.

I think I was somewhere in that vacinity with my stab at coding it last night. :P



I hope to work with you in the future on this -- if you need any templates or anything if I can't help you out on code, please let me know and I won't hesitate to try.

sabret00the
10-22-2003, 10:53 PM
hopefully we could get the store integration before work starts on all this, as much as i'd love it all, i'd love to get to this stage atleast first https://vborg.vbsupport.ru/external/2003/10/8.gif

memobug
10-23-2003, 02:10 AM
I'm sure store integration would be cool for those who use it, but simply managing the display of journal entries is essential for everyone, unless you like reading 100 at a time.

Regards,

Matt

Brad
10-23-2003, 02:10 AM
I have started a new thread here (https://vborg.vbsupport.ru/showthread.php?p=442320#post442320) so we dont keep hi-jacking this hack thread. :)

sabret00the
10-24-2003, 06:20 PM
has anyone installed this ona board with existing journals?

sabret00the
10-24-2003, 06:26 PM
just thought of a quick question, this will overide all style settings won't it? i.e. no matter what style set you're set to the users/guests viewing the journal will see it as it's been coded by the journal owner?

Harlequin
10-24-2003, 11:57 PM
When a user views say.. your journal, and you've selected it to be a 'custom' journal [like the screenshot of Aoi from Ai Yori Aoshi], the user will see what you've designed. If you view the user's journal, you will see what the user has designed, whether they choose a 'custom' journal or a 'template'.

It's beautiful because it is that configurable. ;) People have the option of having their own personalities.


As far as trying this out with existing entries, the only reason this won't work with them is because the journal_display template is edited and changed into the new 'custom' user designs template.. and the default journal_display template has been renamed to journal_deftemp. I just forgot about this all together and decided to release it anyway. I'm sure someone out there will find some use for this as-is.

I'll fix all of this eventually because I do plan on continue working with this. I won't lie to you - if Anime-loo codes a journal with the customized modifications that I've made to this one, then I will go for his hands down because he is a much better coder than I am and I give him props. This is a really good learning experience for me so I might as well go ahead and take advantage of it.


There are a number of things I'm planning on playing with for this. First and foremost, I plan on securing what I've written as a whole. Secondly, since your beating me with store integration ( ;) ), I'll try to grab Lesane's store and play with the whole process. Third, the miscellaneous features that've been mentioned here I've been working on already on and off. And so far, some of them are coming along pretty well. The others are coming along not so well.. but that's really due to my lack of coding experience.


Give me a little time and I'm sure I'll come up with something worthwhile. No promises, but it's the thought that counts, no?

sabret00the
10-25-2003, 12:16 AM
i've sent you a pm harle :)

memobug
11-04-2003, 07:12 AM
I forgot to ask previously... Does this addon give any admin options? I had to stop use of the original journal hack because some of my members were posting offensive comments and I wasn't able to remove them.

I don't know what "original journal hack" you mean, the 1.1b journal I installed prior to this one does let the admin edit and delete others' entries and comments, which sounds like it was your problem? There were not tools to delete entire journals that I have seen. This particular hack appears to include a template management system for that 1.1b, so I don't believe it has any additional admin options, but maybe someone who has installed it will step up and answer your question with more certainty.

Regards,

Matt

Harlequin
12-13-2003, 08:54 AM
I've began work on this hack again just as of today. I had to find a little time in between site version changes to work on it.

What I've found and what I was able to remedy with just today:

* With the vBxB I had originally coded, I found a few template errors. Fixed those and made some considerable improvements. I would like to redo the help files with something that looks halfway decent [rather than a throw-together job like they were originally.]

* Next/Previous per x amount of entries -- Ryangel had already coded this and commented out it's lines [while adding others to make the journal functional]. At this point in time, I have no clue as to why he did that, but I'm sure that if there's an error or a bug I'll find it within the coming days. If anyone is aware why Ryangel did this, please let me know. For right now -- next/previous appears to be in good working order with no visible errors.

* Added some security catches to member.php before html code submission.


I'm not going to put any feature up that I'd like to add as my coding expertise isn't that stable and I certainly don't want to bring anyone's hopes up only to let them down.

I do plan on checking into store integration as well as user posts > x to own a journal, but I give no guarantees.


And no, I haven't updated the zip -- I don't plan on updating the zip until I can hit a pretty major beta release on this.


** EDIT:

* Just added an option for an admin to set the x amount of posts needed to create a journal. [Configurable within the file, like always.]

* Since private entries are kept to the user, private and public entries now have their own listing . One can only display private entries, one can only display public entries. The 'View Private' option is available from the main journal page itself -- public entries are found the same way they always were.

** EDIT:

* Added # of comments added per entry. If no comments, displays "add comment // no comments". Partially admin configurable from file.

* If 0 comments, "0 comments" when clicked will bring up the add comments template. If higher than 0, all comments will be displayed *first* and then "Add Comments" will display at the bottom. "Add Comment", a seperate, but similiar option, is now to the right of "x Comments" -- in place of the former "view comments // add comment" as was on the original vBJournal. Again, a LiveJournal-type system.

* EDIT/DELETE now only display if you are either an admin or the owner of the journal.

* Moved Blog Header HTML textbox and Blog Footer HTML textbox to a seperate form/template all together. This makes it a little easier for securing up the textbox and looks a little more professional. When the "Custom" option isn't selected, where the boxes originally were now display something like, "You haven't chosen the custom template.", yet when the "Custom" option is selected, a "Click here to edit the header" or "Click here to edit the footer" now appears.

* Added a user-definable HTML filter via a txt file, upper/lower case, doesn't matter -- it works.

* http:// links now parse submitting entry/comment [add/edit].

* BBCodes [with the exception of [img]] parse submitting entry/comment [add/edit].

* The original coding I had left both mood and music to display whether or not there was anything in the entries or not. Fixed.


** EDIT [2:00AM // Dec. 14]

* Just started template "beautification" process. The vBJournal Lite default template needed some work, especially after the hell I gave it. So the default template is back to using forum colors { } and 100% width for all of your layout needs. [and it looks considerably better, imho.] I'll have the other templates "beautified" probably by tommorrow, maybe today -- who knows. The custom template is next on the agenda and I'm going to include some very small graphics in this next release to allow the admin a definable header/body tag/footer. Obviously I'll have my own rendition of a layout with the graphics I'll be including and this layout rendition will disappear once the user touches the custom system with his or her own html.

** EDIT [1:25PM // Dec. 15]

* The custom template now no longer displays jack if the user hasn't edited it. Everything defaults to a wannabe journal layout until the user has actually touched the field with his or her own stuff.

* The regular, default journal template looks alot better now. I've replaced it's colors back with the vB defaults and it looks pretty groovy.

* The help files are now in template form [thus making them atleast look -something- like your board] and I've went back to rewrite them a little. It's not much, but it helps.

*The HTML check successfully blocks the following HTML commands from all four major added input locations [header, fooder, css, bodytag]: OBJECT, SCRIPT, PHP, default flash extensions, EMBED, INPUT, META tags, FORMs.. and I'm open to suggestions on what else to block.

* New entries/comments // edit entries/comments contains vBCode buttons, vBSmilies, and login status.

** EDIT [1:34am // Dec. 17]

* Added "Who Has a Journal" feature. Shows the username, links to their journal, their journal ID, the # of their journal's views, and the template type they're currently using [N/A, Regular, Custom, Layout] -- so many per page with a next/prev feature.

** EDIT [8:45pm // Dec.17]

* The journal "homepage" that listed a little bit of information about user's journals and allowed users to create/view their journals is no more. I've revamped that entirely. In a vB3 UserCP control-panel style, a menu to the left displays with all available options [including a link to the heavily modified JournalCP]. To the right, the three most recent public entries from whoever are displayed. Above the most recent public entries and the menu, information about your journal is displayed. [Views, new comments, your avatar, etc.]

** EDIT [2:00am // Dec. 20]

** Added a buddy list on the main Journal page showing which of your buddies have a journal.

** For each journal entry displayed, the actual date now only displays once on the first journal entry of the new day. Time still displays per entry. Later on tonight or tommorrow I'll revamp the templates to make the entries appear in a full table rather than the table per table setup as they are now. Yet again, this is leaning more towards a LiveJournal kind of setup. [ This took me quite awhile because, for some odd reason, it wasn't clicking how to pull the date() function once in the array and -not- have it equal the same day, which would make the date display for each journal entry.. as if the statement weren't needed at all. All I can say is I've learned my lesson. ]

** EDIT [3:00pm // Dec. 30]

** Added a journal helpfile - one page template in a vBulletin FAQ format.

** Two things are currently irking me: The display date once per journal entry day format and the vBulletin smilies/buttons on the actual entry/comments menus. They turned out to be a bit buggier than I had thought whenever another user tested them. Until then I hadn't received any problems -- so I'm going to leave them as is and work on them as such until they're able to be released without error. Sorry for those of you that were looking forward to these options, but I'll try to fix 'em [No guarantees.], however if I am unable to fix them, I'll revert them back to their original way and release.

** Certainly you read the post below concerning Ryangel's permission, didn't you? :P

** EDIT [9:23am // Jan 03]

** Did several code optimizations. Reads from db much less and imho, runs alot faster now. x.x;

** Since main "journal home" required some information about the user's current journal, I've added in a big if -- if your journal simply isn't active, a nice welcoming template pops up to alert you and poke and prod you into creating a new journal. If so many posts hasn't been reached [admin set], then the simple error template pops up saying x amount of posts required to create a journal.

** Oh, and congrats to all the vB3 hack releasers. ;) I don't plan on updating to vB3 for awhile, so if you're wanting a version of this for that you're going to have to wait. :P

** EDIT [1:25pm // Jan 03]

** The people that've been screaming for admin options to delete user's journals will certainly enjoy this. I've added this function. It removes a user's comments, entries, and other journal information acquired while they've owned the journal.
Not to be outdone by myself, this also prompts me to rewrite what I already had for the template queries, as I'm going to transfer them over to the journal table -- which is what they shoud've been to begin with. All in all, this journal is not only a complete rewrite of my additions, but also Ryangel's existing journal. While some of the original code is certainly there, the modifications are tremendous.

[And wow, this thing runs super sweet now if I must say so myself.]

** EDIT [10:32pm // Jan 13]

** Fixing the smaller ordeals now. Did some searching, memobug had a beautiful solution to the image problem that I was sure -was- the problem, I just didn't know exactly what the final function call should look like. Result: Parsing URLs and images now work fine. You should be able to add quiz results and all sorts of neat stuff to your journal.

[Sorry for the recent slowdown in my progress - I've been a bit busy with work.]

** EDIT [12:15am // Jan 15]

** Big step in the right direction -- I've added an admin menu for the journal accessible from the vBulletin adminCP. Here you're able to set the correct "default" colors/look for your journal along with the HTML/CSS information [unrestricted]. Among the journal look, these options are referred to only whenever the user doesn't have his or her own values set for that particular setting. You can also edit the # of posts required to own a journal, whether or not to allow the journal the ability to parse bbcode/urls, etc. etc. etc. Later today I'll work on allowing a list/deletion/view system.

** Full fledged admin system now running smoothly from the AdminCP. As listed above, you can set the default journal settings. I've [b]just added the entire user system. It lists users, allows you to view/edit the user's journal information (their template config setup) and view some other information. You can also delete users from here. Upon deletion, their entries, comments, and other journal-related data is completely removed.

** EDIT [6:58pm // Jan 15]

** Large install file tested and appears to be completed. Installs templates [automatic], runs all necessary queries [automatic], shows what modifications to make in member.php and other files, shows existing template modifications that need to be made, etc.

I am also going to add an upgrade file for existing vBJournal Lite and vBxB users --that's next on the agenda. Then I'll be ready for testing on my board.


** EDIT [11:36 // Jan 20]

** An active demo of the Nightingale Journal is now available. As it's in beta, you can receive a fully templated journal with no community posts required. Please click here (http://www.twilighthour.net) for it.

Warning: It's anime, it's girly, and it's a small community. ;)

Also, if you experience problems (parse errors appearing randomly, something not loading..) it's because of the work I'm doing to it, more than likely.


Another note is that this is not the final version of the journal. Please don't expect it to be.



** Added IFRAME support. Journal calls your header information on your main journal viewing page, then entries appear on a seperate page. Some people might be curious as to why I did this -- it's pretty simple, isn't it? Viewing someone's journal from your site would only display their entries if they were using IFRAMEs, while the rest of their journal is located on another site.. which is obviously something the user doesn't want. This solves that problem.

** With IFRAMES, I've also allowed users to select "transparent" backgrounds for their entries.

** Moved around 40% of journal.php into another file [IFRAME functions, view private entries], journal2.php.

** Plan: Moving user's journal configuration into a seperate file.

sabret00the
12-14-2003, 03:37 AM
sounds awesome, sounds like you've been majorly busy :)

Harlequin
12-14-2003, 04:01 AM
Please continue checking back in the thread I posted previously for further updates.

I do plan on releasing this again with these crucial improvements.

Harlequin
12-16-2003, 01:36 PM
Considering what I've done to this journal as it is now -- this is becoming more than just an "addon"/plugin to Ryangel's current journal. It's actually becoming the rewrite Anime-loo talked about in previous posts. Not only is his journal more secure with entries, with code dead ends, other issues, it's also became almost anything a user would possibly want for the meantime for his or her journal. His existing templates are being modified to comply with 2.3.2 standards [although the release before 3 final is out, I don't plan on updating for some time until vb3 has the ability to wrinkle out the majority of it's bugs and have a fair amount of hacks released].

To put this short, if anyone can find Ryangel's whereabouts, please notify him that I have a major rewrite of his journal on my hands. If I released it, I'd feel like I was cheating him without having his permission first.

Certainly, I don't think the lot of you would agree with having your hacks released modified with someone else's coding and no permission. The addon was just that -- an addon, and it's effects can be fairly easily removed from the file with a little bit of looking.

Anybody have any thoughts on this? I've pm'd Ryangel to ask - so no guarantees.

sabret00the
12-16-2003, 01:47 PM
thanks for all your efforts harle :)

MindTrix
12-24-2003, 05:04 PM
Doh! Wanted to install this yet the link is down :(

VeoMorphine
12-24-2003, 06:48 PM
404 link. Can you attach?

Harlequin
12-24-2003, 09:27 PM
As I've stated in one of the previous posts, I'm not updating my code with the features listed above until I make sure they're proper and without error. To add to that, Ryangel needs to give some sort of confirmation to me in a reply concerning his journal. I've hacked it to bits and pieces.


As far as the link is concerned, I -will- fix it whenever things are tweaked with the journal. The previous copy, the copy I released, I'm finding had several errors that I simply didn't catch.

Give me a little while. :) I'm working on the after-Christmas version of the site currently.

Harlequin
12-29-2003, 12:15 PM
Excellent news. Ryangel has given me permission to release this as long as I include his name as the writer of the original code. :) I was most certainly planning on doing this anyway! :)

However, it'll be, more than likely, another week before I'm able to return to work on the journal. Currently I'm working on finishing the new site layout, I need to work on a new picker for the chat server, and then I need to retouch a few journal items and find bugs. I'll release this under another beta thread with a different name since this thread has been vastly changed [as has the "addon".]

CRego3D
02-25-2004, 01:10 AM
did you ever started another thread ? I cant fidn nuttin :p

Harlequin
02-25-2004, 04:04 AM
I wanted to. I was actually setting up this version for a release on VB2, but it appeared to me the initial interest in it dropped dramaticly.

I've already upgraded the script to vb3 and added/am adding numerous improvements that I think are just really groovy. Although, the vb3 version is something I plan on customizing and using exclusively for my site.

As far as my coding is concerned, I've improved quite nicely with the help of others and I think I'm beginning to feel pretty comfortable with the language. The current journal on the vb2 Twilight Hour site hasn't been near as optimized as the vb3 test board version because I was just going to go ahead and upgrade.. and concentrate my efforts elsewhere.

Ultimately, if interest in the script stirs back up, I'll fix what I've found wrong with my vb2 version and release after I've been in contact with Ryangel again. Until then, I don't plan on touching the vb2 version with a 10 foot stick so I may continue work on the new stuff for myself. ;)

Oblivion Knight
02-25-2004, 10:19 AM
Interest hasn't dropped in a vB3 version.. ;)
We're all eagerly awaiting one. Several have been rumored and talked about, but nobody's released anything yet.

Harlequin
02-25-2004, 06:01 PM
I believe KuraFire has wanted that market badly enough. I've seen several posts of his concerning his journal.

Red Blaze
03-05-2004, 09:20 PM
Are there any updates on any of these journals as of yet? I upgraded to VB3 already, and I hope something is released soon.

Osterling
03-09-2004, 11:36 AM
i cant find the download zip?

Red Blaze
03-10-2004, 09:55 PM
That's because there is no download zip. :p