Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 12-14-2002, 11:00 PM
KingsGambit KingsGambit is offline
 
Join Date: Oct 2002
Location: London, England
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Dynamic forum....possible?

Hi all, am hoping someone might have some ideas on this idea I have for what I think might make a great hack, especially to boards where there might be "group" type accounts.
What I am thinking of is a single forum that takes the name of the logged in user but is visible to say 10 different people. For example if I log in it would be "KingsGambit Forum" or whatever the user's username is. All people of usergroupid=x can see the forum but it's their name on it, and the *only* posts they see in the forum and from the front page are those made under their login.
This way say a group of a few people who share the login can have their own private forum, but without the admin having to create one forum for each group and changing individual access masks too. Each group would see only their posts but obviously mods/admins would see all of them.
I think it would be a great idea....a dynamic forum that takes the user's name and only displays their posts, means everyone in that usergroup could have their own forum. Possible?
Reply With Quote
  #2  
Old 12-15-2002, 08:52 AM
Graphics's Avatar
Graphics Graphics is offline
 
Join Date: Mar 2002
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You might want to consider Zajako's hotel hack
Reply With Quote
  #3  
Old 12-15-2002, 11:31 AM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Graphics is right, this would be the best idea...
Reply With Quote
  #4  
Old 12-15-2002, 10:47 PM
KingsGambit KingsGambit is offline
 
Join Date: Oct 2002
Location: London, England
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmmm, that hotel hack does look good, and fairly close to my idea. I might try it anyway, but in the meantime, I've just been thinking about doing it using a forum. Admin CP let's you turn of countposts, can view others threads inside the forum, but the last post still shows up as whomever made it. What I'm thinking is something like this.

If $forumid==x AND $usergroupid=y then forum[title]="$username Forum" AND description = $username's private forum
if $username != lastposter[username] THEN don't show it anywhere

I'm just having trouble figuring out the exact php and where to put it...I think a little something in forumdisplay but maybe showthread as well?

This way there'll be a normal forum but it's name will be "KingsGambit Forum" whilst I'm logged in for example, description "KG's private forum" or whatever and even though all the other user's in same usergroup are posting in there, I don't see any of their posts at all, and they won't see mine, the post counts don't go up for that forum and everything else can be done via the CP (serach disaabled, etc). Any ideas? :ermm:
Reply With Quote
  #5  
Old 12-16-2002, 02:43 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well, you have to edit index.php, forumdisplay.php and admin functions.php the makenavbar function.
Reply With Quote
Reply


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 10: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.03803 seconds
  • Memory Usage 2,193KB
  • Queries Executed 11 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete