![]() |
Diaries/Owned Forums
Hi There!
Original from Andrew111888 German Version avaiable her: http://www.vbhacks-germany.com/forum...ead.php?t=2357 What this hack does This hack will allow your members to create 'diaries' (the term my site uses)--forums that are "owned" by a member or group of members. The owner(s) will be able to add and delete other owners to their diary, and modify the title/description of their diary. How it works When a user would like to create a diary, they will visit /forumdir/diarycp.php and submit their application (username and description of their desired diary). To prevent abuse, the application will be moved to /forumdir/queue.php. An administrator can either deny or confirm the application. If denied, the application is removed from the diary_queue table. If it is confirmed, it is removed from the diary_queue table and created as a new forum. For nearly all of this functions I use the build-In Class System to prevent Errors and use the Internal Error-Handling. The file located at /forumdir/diarycp.php will include the statistics of an owner's diary(s), including post count, thread count, latest post, forum name, as well as the 'Edit Diary', 'Add Owner', and 'Delete Owner' functions. AdminCP In this brand New Version you can modify the possible Settings for the New Forums and the Moderator-Settings in the ACP in the vBulletin Options. Attention: This Settings has only effect for new created Forums and/or Moderators/Owners. You can Give each Usergroup additional Rights to see the DiaryCP, to create/edit Diaries and to Administrate Diaries. |
u mind translating to english in the images so we can see abit more
|
Take a look in the old Thread. Andrew posted english Screenshots. In the ZIP-File (I just updated!) is a german and an english version.
|
looks cool. so ya recon i could use this as a kinda groups thing. where some one sets up a group (diary) and others can post in it. but the group (diary) owner can change the name / description and even edit the posts / threads inside of his/her group (diary)
is that correct ?? |
Hoffi, I love you! I've been waiting from the day you posted you were porting it for the release :)
Edit: It seems to be working perfectly, only thing I'm missing is a place for the admins to have a list of all hosted forums so they can remove them aswell; I guess hard-deleting them by using the AdminCP isn't the best options. |
Man that is sweeeeeeeeeet!
Thanks. |
theres a problem with the delete diary link i will fix it in a sec but ya might want to look into it when you delete a diary it leads you to the domain name not the forums
say you have forums like this www.yoursite.com/Forums/diarycp.php then delete diary it will redirect you to www.yoursite.com/diarycp.php instead |
theres actually more problems then that. i deleted the diary which gave me a blank page because of wrong linking. then tried to create a new diary and got a mysql error
Database error in vBulletin 3.5.1: diary_queue error MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 're a anime fan this is the group for you, whether you be old sc Error Number : 1064 Date : Tuesday, November 22nd 2005 @ 09:57:31 AM Script : newdiary.php?do=submit Referrer : newdiary.php |
i'll take a look myself...
btw, i prefer the diary creation(usercp) to be in the usercp, but i will handle this for my own. ... love the idea! |
Just tried this on my test forum ..
While, as an admin, I can create a diary no problem .. as a normal user I get a database error after I've clicked the "Save" button on the newdiary.php file .. Anyone with a solution to this problem? |
Hi, I have a problem. I have installed all correctly, but when I go www.mysite/forum/diary.php show message:
mondoforum, non hai i permessi per accedere a questa pagina. Questo pu? essere dovuto a vari motivi: Quote:
P.S. I'am Italian...;) |
Quote:
Is this something that can be fixed? as I'm sure you'll get a lot of people wanting to call their diarys after their names .. ie "Slave's Diary" etc ,.. |
i would fo liked this better if it was through the groups system. so users could create groups and then other users could join the groups and discuss what ever the group is about
|
Quote:
many sites for parenting would be very interested to have this, per example... so each family have it's own forum to display photos, etc... maybe a password thingy to the forum manager for the users side would be good if not included... - did not install it yet! - |
Some Problems fixed.
I've uploaded a new ZIP-File. just replace your diarycp.php and queue.php Files. The Password thingy: You can set in the Settings if the created Forums can have a Password, and the Moderator-Rights to "change Password". So the internal Forum-System can be used for this. |
good then... Hoffi.
if you can update your first post with the updated data, this would help.. and have a version number on the file too... thanks! |
Quote:
only one i know of is amy's Hideways hack which isnt updated for 3.51 and that only allows one hideaway per user . so not even admins can create multible hideways. and then the only thing besides that is for 3.07 unless you know something i dont ? |
Hoffi, this looks awesome.
Question: In the "ACP|vBulletin Options|Diary control Panel - Moderator Options" area, there is a reference to the "Can see FPF" for the FPF hack. What is this hack? Also, in the "ACP|vBulletin Options|Diary control Panel - Forum Options" area, there is a reference to a "Show Signature" hack by Hoffi. What is this hack? |
I'm sure Hoffi will fix all the bugs sooner or later :) (mine started out with a ton of bugs, too).
I still have an unfinished port of this on my computer but I don't really have the time to finish it so I figured a little hurt pride isn't worth more than the community enjoying the hack. |
Quote:
Quote:
Quote:
Located here: https://vborg.vbsupport.ru/showthrea...ight=signature |
Hoffi, one question; will it cause any harm (data left in the db or so) if you just delete a subforum as admin or is there another (better) way to do so?
|
There ist no extra Data stored in the DB. So just do what you want in the AdminCP. The created Table is only for the requests and will be cleared during creation of a Forum.
|
I got this error when I try to create new diary.
Invalid SQL: INSERT INTO diary_queue (title, description, owner, ownerid, date) VALUES ('Goku's Diary', 'I am testing daily diary', 'Goku', 3, 1133422813); MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's Diary', 'I am testing daily diary', 'Goku', 3, 1133422813)' at line 1 Error Number : 1064 Date : Thursday, December 1st 2005 @ 01:40:13 AM does compatable the new release of mysql and php? |
I got that too is there a fix?
|
I am still waitting ... I thing the problem is that we are using the current release of php and mysql and this hack is not up to date yet?....
|
dont know but we cant use this hack without a fix haha
|
Bugs:
1, diarycp.php -- the redirection problem. line 244 and 288: change to PHP Code:
3, when delete owner, user can only delete itself. Only super administrator can manage all owners. Some suggestions 1. First owner have the priority permission, that can delete other owners. 2. When applyed, user can choose which category the diary is under. 3. if possible, a icon image for each diary is great. 4. First owner can manage the templates. 5. owners can modify the permission of their diarys. can reply, can start a thread, can upload attachments, etc. 6. owners can manage the subscribtions I really like this hack. Eagar for the new version. Great Thanks. |
any fixes from Coder ?
|
I'll update this week.
|
It's be much better if the screenshots weren't in german. :/
|
Quote:
Quote:
|
I just installed this mod and as the admin of the site I am getting this error when I try to create a new diary
Fixed.... |
it still wont let someone make a diary i just get sql errors
|
It seems to work nice, just one (quite big) bug appears:
When I confirm a request on my admin account it adds me as "owner" instead of the user who requested it so the forums are made practically useless. Hopefully there will be a fix for this very soon (even though there hasn't been an update for about a month) |
Going to be using this mod on my forum soon, but was also find that when confirming a forum, the person who confirmed it would be set as the owner and not the true owner. To remedy this, open up queue.php
Code:
FIND Code:
REPLACE THE ENTIRE TEMPLATE WITH THE BELOW CODE |
Quote:
|
@ cd1986 : Nice one, that worked!
@ all: Is it possible to send out a mail to the board admin(s), when a new forum is requested? This would be a perfect addon since I do not check my queue.php every day. |
options in the drop down in diarycp produces a blank page for me ????!?!?!??!
|
Buggy. But ultimately works.
|
All times are GMT. The time now is 03:47 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:
|