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)
-   -   Dorm Manager System (https://vborg.vbsupport.ru/showthread.php?t=66161)

Darkwaltz4 08-25-2005 07:50 PM

NEW VERSION 1.4
-Bugfixes: a few, correct template set

-Changes: some light template tweaks, optimizations for all pages, proper vB Code Standards

-Additions: allowed usergroups, optional passwords, log into any dorm cp if admin, automatic template installation/update

And a few more which I didnt keep track of....

Upgrade:
-Download the zip file in the first post, and the upgrade zip in this post. Follow the instructions in the upgrade zip.

Be sure to click install!

Sykoi 09-08-2005 04:27 PM

I've installed this version and I seem to have a bit of a problem; my members are complaining about not being able to join other dorms, and the admin control (To control dorms) isn't working right for me (When you submit any form it sends you back to your own family)

Darkwaltz4 09-09-2005 05:26 PM

users can only be a member of one dorm (family) at a time. i looked at your site and you seem to have many members who are joined properly. were you using an older version and it has now stopped working? or did you install this version and it has now begun working?

also i believe the admin workaround i believe is working properly. unless you are not able to complete actions which you specify, ill have to fix it. otherwise your meant to just do the one action at a time.

Sykoi 09-10-2005 10:33 PM

I installed new version (From old version, the version right before the latest) and it stopped working correctly.

Try creating your own family, then using the admin control system... It bugs out and always goes back to your own family (Sending anyone who has an invite to that family as well)

Darkwaltz4 09-11-2005 02:05 AM

alright i think i know of what the problem is.

i technically only applied the admin override system for dorm (family) leaders who vanish and leave their members stranded (as this was an issue on my implementation, and even as admin i couldnt do something easily to do this :-p).

can users still create dorms and manage them as before? can you as admin create and manage your own dorm? (so only the part about accessing through the ACP?)

dotagious 09-30-2005 02:38 AM

Is it possible to set a different leader requirement, such as reputation instead of post count or a comination of reputation, post count and/or days registered?

Darkwaltz4 09-30-2005 04:12 PM

sure, but this quick fix will need to be hardcoded

first, find this in dorms.php
PHP Code:

    if ($bbuserinfo['posts'] < $options['pcreatedorm'])
    {
        
$reason construct_phrase($vbphrase['dorms_err_create'], $options['pcreatedorm'], $options['dormname']);
        
$cantmakedorm true;
    } 

for reputation, first decide the target rep, ill call it X, then add this underneath that
PHP Code:

    if ($bbuserinfo['reputation'] < X)
    {
        
$reason 'You need a higher reputation to create a dorm';
        
$cantmakedorm true;
    } 

And likewise for days registered, target days is called X, add underneath again
PHP Code:

    if (floor($bbuserinfo['joindate'] / (3600 24)) < X)
    {
        
$reason 'You have not been registered long enough to create a dorm';
        
$cantmakedorm true;
    } 

to remove different requirements, just remove the respective 'if' block.
also, you can likewise impose the same restrictions on joining a dorm by doing the same, except changing $cantmakedorm = true; , to $cantjoindorm = true; , and changing the respective descriptions to match.

ronoxQ 11-16-2005 07:25 PM

Any chance you'll update to version 3.5? :)

KBV 11-26-2005 07:51 PM

Same as above. ^^ Looks like a sweet mod and just what I'm looking for actually.

dotagious 12-20-2005 01:48 PM

same here... 3.5 possible?

DS MrSinister 12-20-2005 05:48 PM

My guess he will be working on this hack as well. Not sure

https://vborg.vbsupport.ru/showpost....&postcount=126

ambrosious 07-22-2006 12:39 AM

Any luck on converting this to 3.5.x?

Darkwaltz4 07-22-2006 02:50 AM

yes, i will begin working on old and new hacks in the coming months, and heres some good news:

ive just been hired by a company to do vbulletin and related work :) and ill be doing other hacks in my extra time. also, ive just gotten a computer thats new and all to myself (and its so cool! hehe) and ill be living on my own in a little over a week! :-p


All times are GMT. The time now is 07:41 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.01105 seconds
  • Memory Usage 1,756KB
  • 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
  • (3)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (13)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