Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
Diaries/Owned Forums Details »»
Diaries/Owned Forums
Version: 1.10, by Hoffi Hoffi is offline
Developer Last Online: Mar 2016 Show Printable Version Email this Page

Version: 3.5.1 Rating:
Released: 11-21-2005 Last Update: 11-22-2005 Installs: 32
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 11-28-2005, 05:11 PM
Yorixz Yorixz is offline
 
Join Date: Jun 2005
Location: Netherlands
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #23  
Old 11-29-2005, 05:24 AM
Hoffi's Avatar
Hoffi Hoffi is offline
 
Join Date: Nov 2001
Location: Germany
Posts: 342
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #24  
Old 12-01-2005, 05:48 AM
tuanluu tuanluu is offline
 
Join Date: Aug 2005
Posts: 185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #25  
Old 12-04-2005, 08:56 PM
Xtrato's Avatar
Xtrato Xtrato is offline
 
Join Date: Feb 2005
Location: New Jersey
Posts: 510
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got that too is there a fix?
Reply With Quote
  #26  
Old 12-05-2005, 04:30 AM
tuanluu tuanluu is offline
 
Join Date: Aug 2005
Posts: 185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?....
Reply With Quote
  #27  
Old 12-05-2005, 10:43 PM
Xtrato's Avatar
Xtrato Xtrato is offline
 
Join Date: Feb 2005
Location: New Jersey
Posts: 510
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

dont know but we cant use this hack without a fix haha
Reply With Quote
  #28  
Old 12-06-2005, 01:26 PM
yack yack is offline
 
Join Date: Nov 2005
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bugs:

1, diarycp.php -- the redirection problem.

line 244 and 288: change to
PHP Code:
header("Location: ".$vbulletin->options['bburl']."/diarycp.php"); 
2, line 150 wrong datatype error in some instance.

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.
Reply With Quote
  #29  
Old 12-10-2005, 01:31 AM
Xtrato's Avatar
Xtrato Xtrato is offline
 
Join Date: Feb 2005
Location: New Jersey
Posts: 510
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any fixes from Coder ?
Reply With Quote
  #30  
Old 12-15-2005, 06:36 AM
Hoffi's Avatar
Hoffi Hoffi is offline
 
Join Date: Nov 2001
Location: Germany
Posts: 342
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll update this week.
Reply With Quote
  #31  
Old 12-15-2005, 09:29 AM
ReadOrDie ReadOrDie is offline
 
Join Date: Sep 2005
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's be much better if the screenshots weren't in german. :/
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:01 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
  • Page Generation 0.05093 seconds
  • Memory Usage 2,298KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete