View Full Version : Owned Forums / Diaries for your members!
Andrew111888
07-19-2005, 10:00 PM
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.
Andrew111888
07-20-2005, 07:31 AM
Screens:
Picture-1.jpg - DCP index
Picture-2.jpg - Edit Diary
Picture-3.jpg - Add Owner
Andrew111888
07-20-2005, 07:32 AM
Picture-4.jpg - delete owner
Picture-5.jpg - queue for admin
Picture-6.jpg - queue for normal user
yinyang
07-20-2005, 11:29 PM
wow, this is really cool. anyway you can make this for vB3.5?
Andrew111888
07-21-2005, 02:27 AM
Whoops, found a small bug.
In the template diary_editdiary_addowner, change the following line:
<div class="smallfont"><a href="$vboptions[bburl]memberlist.php?do=search">Find Member</a></div>
to this (note the /):
<div class="smallfont"><a href="$vboptions[bburl]/memberlist.php?do=search">Find Member</a></div>
The zip has been updated with this fix :).
And once I install a test 3.5 forum and familiar myself with the structural differences, I will try and write this for that, too :).
Neutral Singh
07-21-2005, 04:01 AM
And once I install a test 3.5 forum and familiar myself with the structural differences, I will try and write this for that, too .
Oh I definitely want this in vB3.5.0 !!
Andrew111888
07-21-2005, 05:08 AM
Depending on if I get my 3.5 test board up tomorrow, I'll try and port it then.
It requires very few changes to my files, no hooks/plugins, and as far as i know no template changes :).
webspider
07-21-2005, 09:07 PM
I'm getting a small path error. The nav at the top left is off of wack. Any idea how to fix that? Further tesing has more problems. I had to look at my VB version and I'm using 3.0.7 and this hack you wrote for 3.0.5 so I'm assuming that is where the problem lies.
Go Back MyForums > Diary Control Panel
Reload this Page
Andrew111888
07-22-2005, 02:53 AM
Can you explain where the path error is and what the problems you are having are (in detail)?
Skyline_GT
07-22-2005, 05:02 AM
I am not clear what this do..
So it is like members can create sub forum for themselves?
webspider
07-22-2005, 10:32 AM
I'm getting a small path error. The nav at the top left is off of wack. Any idea how to fix that? Further tesing has more problems. I had to look at my VB version and I'm using 3.0.7 and this hack you wrote for 3.0.5 so I'm assuming that is where the problem lies.
Go Back MyForums > Diary Control Panel
Reload this Page
Sure
1) The path error; when I open e.g. /diarycp/newdiary.php instead of seeing the file folder and forum name top left I see "Go Back myForum > Diary Control Panel Reload this Page New Diary and no image. When I click on those links I get the path /board/diarycp/diarycp/index.php instead of /board/diarycp/index.php.
2) I did a test diary and while it did post to the forums table the parentid was wrong. I'm going to try this again today.
Hoffi
07-22-2005, 03:40 PM
I will take a look! It Seems that this is a Heck I planned a while ago, but never Coded it.
Andrew111888
07-22-2005, 04:32 PM
Sure
1) The path error; when I open e.g. /diarycp/newdiary.php instead of seeing the file folder and forum name top left I see "Go Back myForum > Diary Control Panel Reload this Page New Diary and no image. When I click on those links I get the path /board/diarycp/diarycp/index.php instead of /board/diarycp/index.php.
2) I did a test diary and while it did post to the forums table the parentid was wrong. I'm going to try this again today.
Did you set $prefs['parentid'] to the forum you wanted to be the parent in prefs.php?
You may have done this...
Diaries (category, id 140)
-- Diaries (forum id 141)
---- Diary 1 (subforum of Diaries forum, id 142)
in which case diaries (forum) is the parent, so $prefs['parentid'] should be set to 141. This is how mine are set up anyway.
Can you screenshot this problem? As yet, I have been unable to replicate in 3.0.5... it works fine for me.
And yes Skyline_GT, they can basically create their own forums. The readme says what the permissions are set to.
webspider
07-22-2005, 04:44 PM
Did you set $prefs['parentid'] to the forum you wanted to be the parent in prefs.php?
You may have done this...
Diaries (category, id 140)
-- Diaries (forum id 141)
---- Diary 1 (subforum of Diaries forum, id 142)
in which case diaries (forum) is the parent, so $prefs['parentid'] should be set to 141. This is how mine are set up anyway.
Can you screenshot this problem? As yet, I have been unable to replicate in 3.0.5... it works fine for me.
My Diary category is 36 and sub would run 37, 38 etc. Are you saying that you must have
1) category
2) forum
3) diaries off forum?
Or can I have diaries off the category?
Hoffi
07-22-2005, 08:20 PM
Du you have an Idea how I the "diary" Owner can Add Users that can use this Forum, without being Owner (Mod)?
The optimum would be, if a Secondary Usergroup could be added with specific Rights and the Diary Owner is the Usergroupleader.
Andrew111888
07-22-2005, 08:47 PM
You mean that only the original owner can add new users to it?
@webspider: try it the way I have mine set up (Diary, Category, Diary Forum, Diaries are sub-forum of Diary Forum) and see if the problem persists.
Also, the reason it says "Go Back" etc is because you don't have the two navimages uploaded, so it's showing the alternate text for them.
webspider
07-22-2005, 09:37 PM
You mean that only the original owner can add new users to it?
@webspider: try it the way I have mine set up (Diary, Category, Diary Forum, Diaries are sub-forum of Diary Forum) and see if the problem persists.
Also, the reason it says "Go Back" etc is because you don't have the two navimages uploaded, so it's showing the alternate text for them.
The image paths are wrong. The way you have it coded you need two image folders plus the path to the Control Panel etc are wrong. Its simply you're not using the default VB root.
/board/diarycp/diarycp/index.php
/board/diarycp/images/misc/navbits_start.gif
Andrew111888
07-23-2005, 02:22 AM
Ah, I figured out why mine doesn't have that problem.
In the StyleVars section of your Style Options, all of my paths include the full URL to my forum (http://www.boardurl.com/forum/images/). That should fix it.
Skyline_GT
07-23-2005, 06:24 AM
answer my question??
Hoffi
07-23-2005, 06:49 AM
You mean that only the original owner can add new users to it?
I mean that tehre exits two kind of users who can use this Form. The owner(s) and Invited Users.
Let my try to explain for what I want to use it.
Im my Roleplaying Board Users can start Board-RPG's. Till now I always create Usergroups, Forums and rights by Hand, Game for Game. And we now have about 30 (active) Games and about one or two new a Month.
So this is a great beginning for a Hack I thought about.
A Place where a User can ask for a Game.
If I ack this, a board will be created with the User as a Mod in there. The Usergroup of this User (I call hin Gamemaster) changed to a special Gamemaster-Group. (Secondary group).
Now there must be a System that the Gamemaster can add Players to this Game, but the Players should not have Mod-Rights in this Forum. If I add a second Owner with your Hack, the Owner gets Mod-Status. So, a Solution could be, that a Usergroup will be created with the Forum. I'll see this Weekend what is neccesary for this and I will try to implement this, if it is OK for you.
webspider
07-23-2005, 11:40 AM
Originally Posted by Andrew111888
Did you set $prefs['parentid'] to the forum you wanted to be the parent in prefs.php?
You may have done this...
Diaries (category, id 140)
-- Diaries (forum id 141)
---- Diary 1 (subforum of Diaries forum, id 142)
I just did more tests and everytime I add a new forum the parentid gets set to 142. It looks to me like either the pref.php is not being used or you have hard coded 142 into your code.
This is from my pref.php
// Set the ParentID of the forum that your diaries will be a child of
$prefs['parentid'] = 37;
bane1
07-23-2005, 01:39 PM
Sounds interesting!!! Anyone have a working example?
Andrew111888
07-23-2005, 05:11 PM
@Skyline_GT: I did. (https://vborg.vbsupport.ru/showpost.php?p=740124&postcount=13)
@Hoffi: You're welcome to attempt to implement it :). If you do succeed and release it as an add-on, please tell me so that I can include the add-on link in my readme.html file :).
@webspider: Indeed, when I was testing my code I left 142 hardcoded in queue.php and forgot to updated. I have since updated queue with the proper variable as well as tested it and it appears to be working fine; I have attached queue.php to this post for you to download :). Here's to hoping you have no more bugs from my hack! :P
To everyone that has installed this hack already:
1) Please download queue.php from this post and upload it over your current one to fix a bug.
2) If your logo or navbits icons are not showing up properly, please do this (from the updated readme.html:
To everyone that has yet to install this hack:
Original zip updated :).
webspider
07-24-2005, 11:48 AM
Sounds interesting!!! Anyone have a working example?
No joy for me.
webspider
07-24-2005, 11:51 AM
@Skyline_GT: I did. (https://vborg.vbsupport.ru/showpost.php?p=740124&postcount=13)
@Hoffi: You're welcome to attempt to implement it :). If you do succeed and release it as an add-on, please tell me so that I can include the add-on link in my readme.html file :).
@webspider: Indeed, when I was testing my code I left 142 hardcoded in queue.php and forgot to updated. I have since updated queue with the proper variable as well as tested it and it appears to be working fine; I have attached queue.php to this post for you to download :). Here's to hoping you have no more bugs from my hack! :P
To everyone that has installed this hack already:
1) Please download queue.php from this post and upload it over your current one to fix a bug.
2) If your logo or navbits icons are not showing up properly, please do this (from the updated readme.html:
In Admin CP -> Styles & Templates -> Style Manager -> (desired style) StyleVars, you will need to hardcode the URL for "Title Image" and "Miscellaneous Images Folder". Example: instead of /images/misc it would be http://www.siteurl.com/yourforums/images/misc to make sure your logo and navbit images will work correctly.
To everyone that has yet to install this hack:
Original zip updated :).
I'll give this a try next week when I have more time. I still don't think that using the full URL will solve the path problem but I'll give it a try. Thanks for your effort.
webspider
07-25-2005, 03:12 PM
I'll give this a try next week when I have more time. I still don't think that using the full URL will solve the path problem but I'll give it a try. Thanks for your effort.
I changed my image paths and they now show correctly however the link paths are all still incorrect as stated earlier. If I hard code the index.php, newdiary.php etc with the correct path it works fine. I'm sure there is a var that can be used to correct this for all users.
$navbits = array("/board/diarycp/index.php"
I did a test forum today and now the parentid is correct. THANKS
webspider
07-25-2005, 03:20 PM
Found a new bug:-(
When I access editdiary.php I get a blank page, I can not find any errors in my php error.log though.
webspider
07-25-2005, 03:30 PM
Do you have any suggestions as to how to link this hack so users can access it?
Andrew111888
07-25-2005, 05:03 PM
editdiary.php is blank if you don't specify an action or forumid (http://www.blah.net/forum/diarycp/editdiary.php?forumid=x&do=foobar)
That's why there's index.php :).
I tried to fix the URL error that you needed to hardcode by putting $vboptions['bburl'] in the navbit link, but on my installation that made it http://www.blah.net/forum/http://www.blah.net/forum/diarycp/index.php but I will keep looking for a solution.
Just put a link anywhere on your site to $vboptions[bburl]/diarycp/ and that should work for others to access it.
webspider
07-25-2005, 07:08 PM
I tried to fix the URL error that you needed to hardcode by putting $vboptions['bburl'] in the navbit link, but on my installation that made it http://www.blah.net/forum/http://www.blah.net/forum/diarycp/index.php but I will keep looking for a solution.
You need to define somewhere where the board root is. Changing the $navbits arrayto $navbits = array("index.php" => fixed part of the problem. But the the main nav link does not bring me back to the board root.
MikaK
07-27-2005, 08:49 AM
I?ve also encountered a few "bugs". I have installed this on a vB 3.0.3 board.
Quite many tableprefixes are still needed, otherwise creating sql errors. Hardcoded those to my best skill...
Navbar is messed when viewing any pages in diarycp
popup functionalities are gone
any links point to .../forum/diarycp/... instead of .../forum/...
Style problem: gradients I use for "tcat" and "thead" doesn?t show properly. I have the images/misc and others hardcoded as advised.
Last Post threads listed at index.php point to .../forumshowthread.php?t=12221 instead of .../forum/showthread.php?t=12221
About changing user permissions:
I think, I Got this one nailed. For anyone interested: I Changed editdiary.php row 71 and queue.php row 67 to values 1048831 (the last value added). This adds the capability to moderate posts and attachments.
Regs,
-M
Andrew111888
07-28-2005, 09:52 PM
I think tonight or tomorrow I'm going to rewrite this so that it stays in the /forum/ directory to avoid all of these directory issues.
As far as I know all queries use prefix tables as this is the first bug of this nature, but I will review this as well when I rewrite the hack a bit so that it goes in /forum/.
I will update my zip either today or tomorrow as mentioned with the "new" hack.
f-a_org
07-28-2005, 11:32 PM
Am I the only person, who has blank pages when I visit them ?
I just installed, them and all the diarycp pages are blank...
Andrew111888
07-29-2005, 02:23 AM
Version 1.0.1 of the Diary CP / Owned Forums is out that resolves all known bugs as well as addresses the 3.0.8 XSS issue in IE6.
It is highly recommended that you upgrade. Please see the original post for more details, changes, bug fixes, and the new zip.
MikaK
07-29-2005, 06:03 AM
Version 1.0.1 of the Diary CP / Owned Forums is out that resolves all known bugs as well as addresses the 3.0.8 XSS issue in IE6.
It is highly recommended that you upgrade. Please see the original post for more details, changes, bug fixes, and the new zip.
Thanks forthe update,Andrew -and thanks for crediting me in your new install instructions!
Unfortunately here are still some issues I have encountered with my vB 303 installation:
TABLE PREFIXES I STILL NEEDED TO ADD
diarycp.php row 38 needed checking
My working row with my added scll prefixes looks like
$modsinfo = $DB_site->query("SELECT DISTINCT scllmoderator.userid, sclluser.username FROM " . TABLE_PREFIX . "moderator, sclluser WHERE scllmoderator.userid = sclluser.userid AND scllmoderator.forumid = ".$ownerdata['forumid']."");
Note: I haven?t tested this all too extensively, so there might be more. Further, I am not sure whether the above is totally correct. It works for my board.
TEMPLATE BUGFIX diary_main_forumlist
needs a / at ...$vboptionsshowthread.php... around row 10
<div class="smallfont"><a href="$vboptions[bburl][b]/showthread.php?t=$forumdata[lastthreadid]"><strong>$forumdata[lastthread]</strong></a></div>
Note: I haven?t tested this all too extensively, so there might be more. Here again:Works for me.
NOT YET FIXED
DIARY CONTROL PANEL diarycp.php
Lists only the last blog added by a member.
Regs,
-Mika
Andrew111888
07-29-2005, 05:54 PM
I believe I have now resolved all of those bugs.
Please download the attached files to correct the diarycp.php and editdiary.php table prefix issues, as well as to fix only the latest diary being displayed on diarycp.php.
Main zip updated.
webspider
07-29-2005, 06:01 PM
I believe I have now resolved all of those bugs.
Please download the attached files to correct the diarycp.php and editdiary.php table prefix issues, as well as to fix only the latest diary being displayed on diarycp.php.
Main zip updated.
Are you going to be coding this hack for 3.5? There are so many improvements I have found myself getting ready to flip over to the new board.
Andrew111888
07-29-2005, 08:41 PM
As soon as I can get my 3.5 test board up and running it shouldn't be too hard to port over.
But alas, I'm having a cookie problem on my 3.5 board (most likely from my main 3.0.5 board) and I've been too busy to look into it.
webspider
07-29-2005, 09:29 PM
I had a cookie problem as well, ended up using IE to access one and Firefox to access the other.
Andrew111888
07-30-2005, 04:34 AM
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.
jrofosho
07-31-2005, 04:09 AM
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? :)
MikaK
07-31-2005, 12:54 PM
I believe I have now resolved all of those bugs.
So it seems. WTG.
-M
Gutspiller
08-02-2005, 04:12 PM
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?
Andrew111888
08-02-2005, 04:27 PM
It works exactly like a forum :).
Yorixz
08-03-2005, 07:55 AM
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.
T3MEDIA
08-03-2005, 08:35 AM
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.
T3MEDIA
08-03-2005, 08:38 AM
Hummm.... I cant seem to see the files.
Yorixz
08-03-2005, 09:13 AM
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)
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)
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.
Andrew111888
08-03-2005, 04:27 PM
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.
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.
Yorixz
08-03-2005, 05:03 PM
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?
Andrew111888
08-04-2005, 01:59 AM
No idea at all, like I said I've been unable to reproduce this :(.
Gutspiller
08-10-2005, 04:40 PM
I'm still a little confused how it works. So those that you set with "permissions" become moderators of these "forums" but anybody can make new threads and replies in them? Is that correct? I want something that is like a hosted forum.
I wouldn't mind seeing more screenshots or a link to a site running this. Anybody have em?
Andrew111888
08-11-2005, 05:30 PM
You upload the Diary Control Panel files to your server and create the templates. When a user submits a diary application, it will enter the Diary Queue. As an administrator you can deny or confirm the diary. If you confirm it, it will be created under the parentid specified in the preferences file. The submitter of the application becomes the moderator of the forum. He can alter the title and description of the diary. He can also add and delete other owners to and from the diary, who all also possess the same permissions as he does. The forum created is still a forum in every sense of the word.
The details are covered in the readme.
Andrew111888
08-16-2005, 04:37 PM
I have received a request for a feature to be added to this hack that would allow the diary owners to disable certain members from viewing their diary (the diary owners would control this).
I find this a great suggestion and I've thought of a fairly easy method to use to add this. My question is would anyone else like this added (so I know how "priority" it is to add this).
Thanks :).
Yorixz
08-16-2005, 04:48 PM
Sounds pretty good to me, something like a "Ban Member" option but just for the particular subforum. Would be great if you could add it!
Gutspiller
08-16-2005, 07:26 PM
You upload the Diary Control Panel files to your server and create the templates. When a user submits a diary application, it will enter the Diary Queue. As an administrator you can deny or confirm the diary. If you confirm it, it will be created under the parentid specified in the preferences file. The submitter of the application becomes the moderator of the forum. He can alter the title and description of the diary. He can also add and delete other owners to and from the diary, who all also possess the same permissions as he does. The forum created is still a forum in every sense of the word.
The details are covered in the readme.
So the creator or requester becomes the mod of the forum as well as having the ability to add other members that have the same mod powers as he does. What about regular posters? Can anybody post to this new forum? I was wondering if this could be used to host clan forums, so a clan member requests their forum to be hosted through your site and it goes into the same type of queue and when the site admin sees and it and confirms it, that the requester of the forum has mod powers can create other members that have mod powers or NOT if he wants. As well as the option to hide the forum from other regular forum (the main forum) members.
Gutspiller
08-16-2005, 07:54 PM
Instruction 6: In Admin CP -> Styles & Templates -> Style Manager -> (desired style) StyleVars, you will need to hardcode the URL for "Title Image" and "Miscellaneous Images Folder". Example: instead of /images/misc it would be http://www.siteurl.com/yourforums/images/misc to make sure your logo and navbit images will work correctly.
Won't this step mess up the entire forum EXCEPT for your hack? If other files are calling the directories and assume they are /images/misc and we change it to http://www.myforum.com/forum/images/misc ?
This seems like it could cause problems for anything else that uses the same template.
Andrew111888
08-17-2005, 01:46 AM
As stated somewhere earlier, 1.0.1 resolves that issue and therefore that fix is unnecessary ;). And no, that wouldn't mess up your forums, either.
Also as stated... yes, everyone can post in this forum. It's a forum in every sense of the word.
I'm not planning to have an allowed to view list in the future... only a disallow list.
Gutspiller
08-18-2005, 06:31 PM
As stated somewhere earlier, 1.0.1 resolves that issue and therefore that fix is unnecessary ;). And no, that wouldn't mess up your forums, either.
Also as stated... yes, everyone can post in this forum. It's a forum in every sense of the word.
I'm not planning to have an allowed to view list in the future... only a disallow list.
What do you mean "that fix"? I'm following the instructions and Step 6 right now and it has that in the instructions, so how can 1.0.1 fix is if I'm installing 1.0.1 and the step says to do it?
Andrew111888
08-18-2005, 09:45 PM
I just downloaded the zip and the readme.html has absolutely no mention of what you're talking about so I believe you're using an old zip.
Gutspiller
08-19-2005, 08:17 PM
I just downloaded the zip and the readme.html has absolutely no mention of what you're talking about so I believe you're using an old zip.
Has any info in the install.php file been changed? I redid the uploading of files and the templates, but the install.php is trying to recreate the tables that were created before. Is it ok to keep those same tables, or do I need to go into phpmyadmin and delete all the tables the original diary install.php created and then rerun the new install.php?
I would like to know before I actually allow my users to use the new feature.
EDIT: Would it be possible to allow the owner of a "diary" to make it password protected? This would really help me with this feature and really be able to take advantage of an idea I want to use this hack for. PLEASE PLEASE PLEASE! :)
Andrew111888
08-19-2005, 11:48 PM
You can leave the existing table.
And I'll wait to see if there's any demand for the password-protected forums in addition to a banned member's list before I implement them.
Barrikin
08-21-2005, 01:31 AM
I've ported this to work on my 3.5.0 RC 1 board.
If the author doesn't mind i'll post the files
Andrew111888
08-21-2005, 07:24 AM
Does the hack act the exact same?
I'm about halfway through porting this also.. I need to figure out how the insert forum code works as I've been told it no longer needs a query and then make sure my templates work and I should be set.
Barrikin
08-21-2005, 05:43 PM
Does the hack act the exact same?
I'm about halfway through porting this also.. I need to figure out how the insert forum code works as I've been told it no longer needs a query and then make sure my templates work and I should be set.
Works the same.. I just changed the code to be 3.5.0 complaint..
Andrew111888
08-21-2005, 07:58 PM
Actually, no thanks. I have one final bug to work out with inserting a moderator and then my 3.5 version will be done (hopefully released sometime tonight).
Thanks for the offer however.
Barrikin
08-24-2005, 07:14 PM
Actually, no thanks. I have one final bug to work out with inserting a moderator and then my 3.5 version will be done (hopefully released sometime tonight).
Thanks for the offer however.
Any updates on this?
Andrew111888
08-24-2005, 08:41 PM
I have two bugs left that I've not had time to look at because I've been working on other projects.
Yorixz
09-05-2005, 07:31 AM
Will this mod be available as "Product/Plugin" or as a code modification Andrew? I can't wait till it'll be released :)
jellybaby
09-05-2005, 09:18 AM
I thought I followed this correctly but cant get this to work at all. I am using 3.0.8 and get the following errors:-
Blank page on newdiary.php
SQL error: Parse error: parse error, unexpected T_REQUIRE_ONCE in /home/mysite/forums/diarycp.php on line 1 in diarycp.php
Parse error: parse error, unexpected $ in /home/mysite/public_html/forums/editdiary.php on line 7 in editdiary.php
Can anyone help please?
Andrew111888
09-07-2005, 06:17 PM
When I finish it (I am extremely busy lately due to school and other things...) it will be a code modification as it requires file uploads.
I just downloaded the zip and neither of those files has parse errors.
Are you sure all files are completely uploaded and you have created all templates?
Yorixz
09-28-2005, 05:23 AM
* Yorixz hopes Andrew111888 has found some time already ;)
stan111
10-11-2005, 06:43 AM
any new update or bug fix for this ?
Andrew111888
10-11-2005, 08:14 PM
What bugs are there in the vB3.0 version that are not fixed in the zip?
Borgs8472
10-21-2005, 01:01 PM
Doesn't a hack like this violate Jelsoft's TOS? You're not allowed to make user made fora because that counts as subletting your fora or something...
Andrew111888
10-21-2005, 01:06 PM
No, it doesn't.
All this does is allow a user to create a forum for themselves on an existing one and moderate it as well as edit it.
Wayne Luke
10-21-2005, 02:27 PM
No, it doesn't.
All this does is allow a user to create a forum for themselves on an existing one and moderate it as well as edit it.
Couple of questions:
1) Can Users only create one forum and through moderation of online staff?
2) Can the Users modify the style in any way to distinguish their forum as a separate site?
3) What are "Owners" allowed to do in terms of owning a diary?
Yorixz
10-21-2005, 02:44 PM
Couple of questions:
1) Can Users only create one forum and through moderation of online staff?
2) Can the Users modify the style in any way to distinguish their forum as a separate site?
3) What are "Owners" allowed to do in terms of owning a diary?
- Removed it as Andrews' answer is a lot better -
I hope I've helped you some.
Yours,
Andrew111888
10-22-2005, 01:21 PM
1) You can request an infinite amount of forums. However, a forum is not created unless it is approved by an administrator.
2) No, they cannot.
3) The current permission system only allows an owner to edit the title, description, and moderators of their forum.
Hoffi
10-30-2005, 11:44 AM
It would be great if a new Diary is requested, the Admin gets a PN notification.
Yorixz
10-30-2005, 01:11 PM
@Wayne Luke, any news on your view towards this yet?
Andrew111888
10-30-2005, 01:18 PM
It would be great if a new Diary is requested, the Admin gets a PN notification.
I considered doing that as well as an automatic PM whenever your diary is created but I was unsure of the "proper" way to insert a PM.
Also, a bit of a development update: I have almost no free time to code :(. I dunno when I'll have the time to port this to 3.5.0 -- school and work are murder.
Hoffi
11-11-2005, 10:27 PM
Andrew gave me the permission to convert it fpr 3.5. Status: 75%
I just changed a bit:
Fully Phrased and integrated into vBulletin. No File-Edit neccesary for Forum-ID.
Usergroup-Permissions added.
I will release it next Week in english and german!
I have different Ideas for further Versions.
Yorixz
11-12-2005, 07:26 AM
This is perfect news Hoffi! I'm very glad to hear this, I've already tried to port it myself but couldn't succeed and I was afraid that this hack was going into the doomed corner . ;)
Hoffi
11-22-2005, 10:42 AM
Got it: https://vborg.vbsupport.ru/showthread.php?p=827655#post827655
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.