Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[RELEASE] Apply to be Mod or Admin. VIA Email. Details »»
[RELEASE] Apply to be Mod or Admin. VIA Email.
Version: 1.00, by Logik Logik is offline
Developer Last Online: Sep 2010 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 01-31-2003 Last Update: Never Installs: 28
 
No support by the author.

[HIGH]Description:[/HIGH]
This hack will add an option to where your users can email the owner of the forums and ask to be moderator or administrator. This is useful for people who want their boards to get more popular. But give me feedback. Thanks

[HIGH]Screenshots:[/HIGH]
In following posts.

[HIGH]UPDATE!!!:[/HIGH]

I added the drop down option. If you want to redownload go a head.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #72  
Old 04-12-2003, 01:42 PM
Funkie Funkie is offline
 
Join Date: Nov 2001
Location: uk
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The hack works fine when the mod.php is in the same folder as the vb files,but when i tyr to use it outside of the vb folder,all i get is a blank page now.

Ho well will uninstall it now,many thanx for all your help,and to logik for the hack.

Better luck next time

Reply With Quote
  #73  
Old 04-12-2003, 01:48 PM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If it's template driven, it might give a blank page...
Reply With Quote
  #74  
Old 04-12-2003, 02:05 PM
Funkie Funkie is offline
 
Join Date: Nov 2001
Location: uk
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok next question then how do i pull the templates into it?????or can i not,
Reply With Quote
  #75  
Old 04-12-2003, 07:55 PM
Logik's Avatar
Logik Logik is offline
 
Join Date: Nov 2002
Location: Tx
Posts: 432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Explain what you mean.. I dont understand. Sorry.
Reply With Quote
  #76  
Old 04-12-2003, 07:56 PM
Logik's Avatar
Logik Logik is offline
 
Join Date: Nov 2002
Location: Tx
Posts: 432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Blank page.. Hmm. I have no idea why its doing that.. Make sure your connected to the DB and all that.
Reply With Quote
  #77  
Old 04-12-2003, 07:59 PM
Logik's Avatar
Logik Logik is offline
 
Join Date: Nov 2002
Location: Tx
Posts: 432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Make sure the require code is after <?. And it SHOULD work.
Reply With Quote
  #78  
Old 04-12-2003, 08:59 PM
Funkie Funkie is offline
 
Join Date: Nov 2001
Location: uk
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PHP Code:
<?php
   
// Apply to be mod/admin  by Logik.
 
if (!isset($action) or $action=="") {
  
$action="apply";
}
$version "1";
// ############################### start apply ###############################
if ($action=="apply") {
require(
"./global.php");
$templatesused='mod';
eval(
"dooutput(\"".gettemplate("mod")."\");");
}
?>
<?php
// ############################### start send request ###############################
if ($action=="send") {
 require(
"./global.php");

  
$templatesused 'mod_thanks';
 if(
$message==""){
eval(
"dooutput(\"".gettemplate("moderror_nomessage")."\");");
}elseif (
$name==""){
eval(
"dooutput(\"".gettemplate("moderror_noname")."\");");
}elseif (
$position==""){
eval(
"dooutput(\"".gettemplate("moderror_noposition")."\");");
}else{
   
$email "$bbtitle Application\n\nSender Username:\t$name\nSender E- Mail:\t$thereemail\nMessage:\t$message\nSender Site:\t$site\nPosition:\t$position\nIP:\t$REMOTE_ADDR\n\n";
$to "$webmasteremail";
$subject "$bbuserinfo[username] applying for mod/admin";
$mailheaders "From: $thereemail <> \n";
$mailheaders .= "Reply-To: $thereemail\n\n";
mail($to$subject$email$mailheaders);
eval(
"dooutput(\"".gettemplate("mod_thanks")."\");");
}
}
?>
Reply With Quote
  #79  
Old 04-12-2003, 09:38 PM
Logik's Avatar
Logik Logik is offline
 
Join Date: Nov 2002
Location: Tx
Posts: 432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I see the problem.. Ok. The mod.php isnt in the forums folder. ITs outside of it. So therefor you have to do,
PHP Code:
require('forums/global.php'); 
Reply With Quote
  #80  
Old 04-12-2003, 10:01 PM
Funkie Funkie is offline
 
Join Date: Nov 2001
Location: uk
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tryed:
require('forums/global.php'); and i get the cant open global again,,,,,so i changed it back to require('welcome/global.php');
and the error goes,but all i get is the blank page

Iam not gonna take up anymore of your time guy's this fine hack was not made to do what i would like.

thanx for all your time spend .
Reply With Quote
  #81  
Old 04-13-2003, 02:50 AM
Logik's Avatar
Logik Logik is offline
 
Join Date: Nov 2002
Location: Tx
Posts: 432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you sure that your forums dir is Forums?
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 07:55 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04738 seconds
  • Memory Usage 2,314KB
  • Queries Executed 25 (?)
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
  • (2)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete