Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

Reply
 
Thread Tools
Owned Forums / Diaries for your members! Details »»
Owned Forums / Diaries for your members!
Version: 1.0.1, by Andrew111888 Andrew111888 is offline
Developer Last Online: Apr 2011 Show Printable Version Email this Page

Version: 3.0.5 Rating:
Released: 07-19-2005 Last Update: 08-16-2005 Installs: 9
DB Changes Template Edits
Additional Files  
No support by the author.

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/newdiary.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.

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.

This is only tested on 3.0.5, but I don't see why it wouldn't work on any 3.0.x install. If it doesn't work on 3.0.7 please tell me and I will update my post. Estimated install time is 5 minutes.

This hack will add one table (diary_queue.php), and you need to add 11 templates. You don't need to modify any vB files.

See readme.html for more info .

Version 1.0.1 released July 28, 2005 and Zip updated! Read below for details all who have installed this hack!

Version 1.0.1 should resolve all known bugs.

The following bugs should be fixed:
  • All files will be uploaded to the forum directory, not to a separate directory within the forum directory.
  • prefs.php is now known as diarycpprefs.php
  • The diary index is now /forum/diarycp.php.
  • The incorrect file paths (including image paths, navbar paths, etc.) have been resolved.
  • All MySQL queries now have a table prefix.
  • Minor template bugs have been corrected, including placing the title tags after $headinclude variable to go along with the XSS issue with Internet Explorer 6 that has been corrected in vBulletin 3.0.8. If you have already installed this hack, you will need to change the following templates to place the $headinclude value before the title tag:
    • DIARY
    • diary_editdiary_addowner
    • diary_editdiary_deleteowner
    • diary_editdiary_editdiary
    • diary_newdiary_main
    • diary_newdiary_ty
    • diary_queue_main

  • To upgrade, correct the above templates and delete the /diarycp/ directory, then follow step 2 of the installation guide minus uploading install.php.

Show Your Support

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

Comments
  #42  
Old 07-31-2005, 04:09 AM
jrofosho jrofosho is offline
 
Join Date: Apr 2005
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Andrew111888
Mine does this:

"Please log in."

I log in.

"Thank you for logging in."

"Please log in."

I log in.

"Thank you for logging in."

and so fourth.
Did you try logging in?
Reply With Quote
  #43  
Old 07-31-2005, 12:54 PM
MikaK's Avatar
MikaK MikaK is offline
 
Join Date: Nov 2004
Location: Helsinki, Finland
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Andrew111888
I believe I have now resolved all of those bugs.
So it seems. WTG.

-M
Reply With Quote
  #44  
Old 08-02-2005, 04:12 PM
Gutspiller's Avatar
Gutspiller Gutspiller is offline
 
Join Date: Dec 2001
Posts: 1,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this hack make these "diaries" continue to work like forums? So I could have my one forum host other sites forums by using this diary hack or does it not look and feel like a forum, but more like a blog?
Reply With Quote
  #45  
Old 08-02-2005, 04:27 PM
Andrew111888's Avatar
Andrew111888 Andrew111888 is offline
 
Join Date: Mar 2003
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It works exactly like a forum .
Reply With Quote
  #46  
Old 08-03-2005, 07:55 AM
Yorixz Yorixz is offline
 
Join Date: Jun 2005
Location: Netherlands
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Andrew111888
It works exactly like a forum .
Then will other users also be able to post in it and the owner set as "Moderator"-like? If that's the case I'm defeniately going to install this; exactly what I'm searching for.
Reply With Quote
  #47  
Old 08-03-2005, 08:35 AM
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi guys... looks hot. But I am not sure exactly what it is. Is this more a "groups" type thing? Like MSN groups? A person can have thier own fourm. If so I am intrested in it as well. Is there anywhere where a normal user can see these "groups" in ummmm a group... lol, and click to join? Like the MOD crew and you can read but cant post until you join this group. or have it totally private depending on the Moderators settings.

I am not intrested in 3.5 until its final so I am very intrested in a 3.0.x version.

That was my only confusion. Thanks.
Reply With Quote
  #48  
Old 08-03-2005, 08:38 AM
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hummm.... I cant seem to see the files.
Reply With Quote
  #49  
Old 08-03-2005, 09:13 AM
Yorixz Yorixz is offline
 
Join Date: Jun 2005
Location: Netherlands
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by T3MEDIA
Hummm.... I cant seem to see the files.
Just download his attachment on page 3...

Edit:

I installed this mod but I'm getting errors when I visit diarycp.php and when I confirm a diary.

Error when accessing diarycp.php: (they appear on top; the page itself works)

Code:
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /global.php on line 329

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /includes/functions.php on line 2285

Warning: Invalid argument supplied for foreach() in /includes/functions.php on line 2290
And when confirming a new diary: (Nothing except for this shows up)

Code:
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /global.php on line 329

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /includes/functions.php on line 2285

Warning: Invalid argument supplied for foreach() in /includes/functions.php on line 2290

Warning: Cannot modify header information - headers already sent by (output started at /home/ftpusers/otfans/html/forum/includes/init.php:27) in /queue.php on line 69
I'm using php5, not sure if this would be causing it; hopefully you know a way to solve this.

Edit2:

It does create the forum and set the priveledges correctly; it's just that the errors shouldn't pop up.
Reply With Quote
  #50  
Old 08-03-2005, 04:27 PM
Andrew111888's Avatar
Andrew111888 Andrew111888 is offline
 
Join Date: Mar 2003
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Yorixz
Then will other users also be able to post in it and the owner set as "Moderator"-like? If that's the case I'm defeniately going to install this; exactly what I'm searching for.
The new forum is confirmed and created with the user who submitted the application as the owner. This owner and any owners he adds can post in the forum as well as edit the title and description of the forum. Any user can post in it as well.

Quote:
Originally Posted by T3MEDIA
Hi guys... looks hot. But I am not sure exactly what it is. Is this more a "groups" type thing? Like MSN groups? A person can have thier own fourm. If so I am intrested in it as well. Is there anywhere where a normal user can see these "groups" in ummmm a group... lol, and click to join? Like the MOD crew and you can read but cant post until you join this group. or have it totally private depending on the Moderators settings.

I am not intrested in 3.5 until its final so I am very intrested in a 3.0.x version.

That was my only confusion. Thanks.
This doesn't use usergroups or anything at all.

I have not tested this on PHP5 so it's quite possible that's the problem. I have also been unable to replicate this error and no one else has posted it, so ensure that you have installed everything correctly and then if you're still getting the error, if possible try and test it on PHP4.
Reply With Quote
  #51  
Old 08-03-2005, 05:03 PM
Yorixz Yorixz is offline
 
Join Date: Jun 2005
Location: Netherlands
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Andrew111888
The new forum is confirmed and created with the user who submitted the application as the owner. This owner and any owners he adds can post in the forum as well as edit the title and description of the forum. Any user can post in it as well.
Thanks, do you also have a possibility that could be causing my errors?
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:03 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05086 seconds
  • Memory Usage 2,312KB
  • 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
  • (2)bbcode_code
  • (7)bbcode_quote
  • (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
  • (4)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