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)
-   -   MAF: (Moderator Application Form & Application Rating Module) (https://vborg.vbsupport.ru/showthread.php?t=77340)

sabret00the 08-09-2005 07:31 AM

do the file edits you made in the admin cp match these
find:
PHP Code:

    $printhr false;
    if (
can_administer('canadminstyles'))
    {
        
$printhr true;
        
construct_nav_option($vbphrase['style_manager'], 'template.php?do=modify''<br />');
        
construct_nav_option($vbphrase['search_in_templates'], 'template.php?do=search''<br />');
        
construct_nav_option($vbphrase['replacement_variable_manager'], 'replacement.php?do=modify''<br />');
        
construct_nav_option($vbphrase['download_upload_styles'], 'template.php?do=files''<br />');
        
construct_nav_option($vbphrase['find_updated_templates'], 'template.php?do=findupdates''<br />');
        
construct_nav_group("$vbphrase[styles] &amp; $vbphrase[templates]"'<hr />');
    } 

and above insert
PHP Code:

    // +++ MAF 
    
construct_nav_option("Automated Thread Settings"'options.php?dogroup=maf''<br />');
    
construct_nav_option("Rate Applications"'../' $modcpdir '/maf_rateapp.php?do=list''<br />');
    
construct_nav_option("Delete Applications"'maf_delapp.php?do=find''<br />');
    
construct_nav_group("Moderator Applicants"'<hr />');
    
// --- MAF 

?

Yukino_AE 08-09-2005 05:48 PM

Quote:

Originally Posted by sabret00the
do the file edits you made in the admin cp match these
find:
PHP Code:

    $printhr false;
    if (
can_administer('canadminstyles'))
    {
        
$printhr true;
        
construct_nav_option($vbphrase['style_manager'], 'template.php?do=modify''<br />');
        
construct_nav_option($vbphrase['search_in_templates'], 'template.php?do=search''<br />');
        
construct_nav_option($vbphrase['replacement_variable_manager'], 'replacement.php?do=modify''<br />');
        
construct_nav_option($vbphrase['download_upload_styles'], 'template.php?do=files''<br />');
        
construct_nav_option($vbphrase['find_updated_templates'], 'template.php?do=findupdates''<br />');
        
construct_nav_group("$vbphrase[styles] &amp; $vbphrase[templates]"'<hr />');
    } 

and above insert
PHP Code:

    // +++ MAF 
    
construct_nav_option("Automated Thread Settings"'options.php?dogroup=maf''<br />');
    
construct_nav_option("Rate Applications"'../' $modcpdir '/maf_rateapp.php?do=list''<br />');
    
construct_nav_option("Delete Applications"'maf_delapp.php?do=find''<br />');
    
construct_nav_group("Moderator Applicants"'<hr />');
    
// --- MAF 

?


alright after the edits i have the following.... and in case you were wondering i had the petz installed before i installed this mod.....

// +++ MAF
construct_nav_option("Automated Thread Settings", 'options.php?dogroup=maf', '<br />');
construct_nav_option("Rate Applications", '../' . $modcpdir . 'maf_rateapp.php?do=list', '<br />');
construct_nav_option("Delete Applications", 'maf_delapp.php?do=del', '<br />');
construct_nav_group("Moderator Applicants", '<hr />');
// --- MAF

$printhr = false;

construct_nav_option("Main Settings", 'petzadmin.php?do=main', '<br />');
construct_nav_option("Shops", 'petzadmin.php?do=shops', '<br />');
construct_nav_option("Items", 'petzadmin.php?do=items', '<br />');
construct_nav_option("Arena", 'petzadmin.php?do=arena', '<br />');
construct_nav_option("Bank", 'petzadmin.php?do=bank', '<br />');
construct_nav_option("Adoption Center", 'petzadmin.php?do=adopt', '<br />');
construct_nav_option("Store Options", 'petzadmin.php?do=store', '<br />');
construct_nav_option("Logs", 'petzadmin.php?do=logs', '<br />');
construct_nav_group("Petz", '<hr />');


if (can_administer('canadminstyles'))
{
$printhr = true;
construct_nav_option($vbphrase['style_manager'], 'template.php?do=modify', '<br />');
construct_nav_option($vbphrase['search_in_templates'], 'template.php?do=search', '<br />');
construct_nav_option($vbphrase['replacement_variable_manager'], 'replacement.php?do=modify', '<br />');
construct_nav_option($vbphrase['download_upload_styles'], 'template.php?do=files', '<br />');
construct_nav_option($vbphrase['find_updated_templates'], 'template.php?do=findupdates', '<br />');
construct_nav_group("$vbphrase[styles] &amp; $vbphrase[templates]", '<hr />');
}

sabret00the 08-09-2005 05:58 PM

so with that, clicking on any of the links to do with the MAF produces a blank page?

Yukino_AE 08-09-2005 06:18 PM

Quote:

Originally Posted by sabret00the
so with that, clicking on any of the links to do with the MAF produces a blank page?

nope. just the rate applications. the other links in the admincp regarding the MAF mod work.

sabret00the 08-09-2005 06:30 PM

for some reason you're modcpdir variable ain't working, what you'll need to do it replace it manually

find:
PHP Code:

 construct_nav_option("Rate Applications"'../' $modcpdir 'maf_rateapp.php?do=list''<br />'); 

replace with
PHP Code:

 construct_nav_option("Rate Applications"'../_____YOUR_MOD_CP_DIRECTORY_NAME_____/maf_rateapp.php?do=list''<br />'); 


Yukino_AE 08-09-2005 06:35 PM

in the admincp index right?

sabret00the 08-09-2005 06:39 PM

yup, you're editing the previous edit.

Yukino_AE 08-09-2005 07:49 PM

k i did that and it fixed it thanx!!

just as a note before i fixed it when i was in my admin cp and viewing the properties of the maf_rateapp.php

the link showed as forum/modcpmaf_rateapp.php?do=list

i think it should have been showing as forum/modcp/maf_rateapp.php?do=list

shouldn't there be a / between modcp and the maf part? is that something that might be mixed up in your code? i dunno. just thought that might be helpful info.

unkemone 08-11-2005 07:21 AM

install went fine and all but it doesnt start the new thread anywhere. i set it to start in forum id 80 and it doesnt do it.

Yukino_AE 08-11-2005 06:52 PM

when i set that for mine (the start a new thread thing) everytime a user view the forum where that was set for it created a new thread. even though there were only 2 applications waiting to be read i ended up with like 172 threads saying that there were applications waiting to be read. -__-;;

so i took that off and viola it's no long a problem.

just curious if you know what might cause that.


All times are GMT. The time now is 10:08 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.03030 seconds
  • Memory Usage 1,775KB
  • 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
  • (6)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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