![]() |
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. |
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. PHP Code:
|
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 |
The Install This Hack link is at the bottom of each thread - right below Email This Page to Someone.
|
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. :) |
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; PHP Code:
|
um i have multiple styles on my site will the installer install templates in all the styles?
|
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 |
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). |
I love this hack and i was wondering if it would be released on vb3
|
i got a member spamming her journal would it be possible to limit the number of entries per hour to 1?
|
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? |
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? |
anyone know how to add extra field such as mood into the journal? thx :)
|
[high]* Oblivion Knight clicks install.
[/high] 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. |
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 |
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.
|
Thanks Zelda-King! :)
Jbear6 |
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? |
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.. :) |
Quote:
|
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; PHP Code:
|
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
|
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. |
<<< Nevermind >>> :)
|
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! :)
|
Quote:
For the journal code I recommend this in member.php; Above PHP Code:
PHP Code:
|
:( 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). |
Please add where new entries are collapsed, but most important new entries and comments get searched and appear in $newposts :)
That would be yummy :) |
:) 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! |
Quote:
Bug fixes, new features and such are very welcome :) |
thank you - install went fine on 229!
|
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 |
and it will be good that users can make their own styles of journal (bgcolor, bordercolor, fonts...)
|
i too cannot wait, it will be awesome loo, eta 0_o
|
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 |
All times are GMT. The time now is 04:06 AM. |
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:
|