vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Owned Forums / Diaries for your members! (https://vborg.vbsupport.ru/showthread.php?t=92546)

webspider 07-22-2005 10:32 AM

Quote:

Originally Posted by webspider
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

Quote:

Originally Posted by webspider
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

Quote:

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)

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

Quote:

Originally Posted by Andrew111888
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

Quote:

Originally Posted by Andrew111888
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.


All times are GMT. The time now is 11:56 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
  • Page Generation 0.01359 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete