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
  #42  
Old 04-09-2003, 04:10 PM
MetroSports82's Avatar
MetroSports82 MetroSports82 is offline
 
Join Date: Nov 2002
Location: NJ
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, so you guys want this mod application (by: Logik), to start a "new thread" in a forum of your choice, after a user has submited the application, correct? Here it tis.

In mod.php

FIND:
PHP Code:
$subject "$bbuserinfo[username] applying for mod/admin"
ADD BELOW THAT:
PHP Code:
$modforum="110"// type in your forum id number here
    
$DB_site->query("INSERT INTO thread  (threadid,title,lastpost,forumid,open,replycount,postusername,postuserid,lastposter,dateline,iconid,visible,attach) VALUES (NULL,'".addslashes(htmlspecialchars($subject))."','".time()."','$modforum','1','0','".addslashes($bbuserinfo[username])."','$bbuserinfo[userid]','".addslashes($bbuserinfo[username])."','".time()."','$iconid','1','0')");
    
$threadid=$DB_site->insert_id();
    
$DB_site->query("INSERT INTO post  (postid,threadid,title,username,userid,dateline,pagetext,allowsmilie,showsignature,ipaddress,iconid,visible) VALUES (NULL,'$threadid','Post Alert - $postinfo[username]','$bbuserinfo[username]','$bbuserinfo[userid]','".time()."','".addslashes(parseurl($email))."','$allowsmilie','$signature','$ipaddress','$iconid','1')");
    
$DB_site->query("UPDATE forum SET replycount=replycount+1,lastpost='".time()."',lastposter='$bbuserinfo[username]' WHERE forumid='$modforum'"); 
Now, just make ( $modforum ="110" ; ) the forum id number of your choice, and your done! I have forum id 110 as one of my private forums to use. Anyway, let me know if you have any problems with, and how that comes out. All the credit must be handed out to Logik though, I was not the one that created this hack, so please do not thank me, but him. ! Thanks Logik!!!

cheers,
-Metro.
Reply With Quote
  #43  
Old 04-09-2003, 05:12 PM
MetroSports82's Avatar
MetroSports82 MetroSports82 is offline
 
Join Date: Nov 2002
Location: NJ
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

BTW, almost forgot. There is also a quick fix, on to size of the "text box", (where your users would type in why they would like to become a mod), via templates. I have inserted a screenshot to show you what I mean.

Anyway, to accomplish this...

In your "mod" template-

FIND:

Code:
<textarea name="message"></textarea>
REPLACE THAT WITH:
Code:
<textarea rows="17" cols="87" name="message"></textarea>
Or, if you want to use a custom size, just simply play around with the ROWS and COLS #'s, to get the size your looking for.

thanks,
Metro.
Reply With Quote
  #44  
Old 04-09-2003, 05:32 PM
Funkie Funkie is offline
 
Join Date: Nov 2001
Location: uk
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

getting a prase error on the first line

$DB_site->query("INSERT INTO thread (threadid,title,lastpost,forumid,open,replycount,p ostusername,postuserid,lastpos

will have a fiddle about with ,thanx for the info
Reply With Quote
  #45  
Old 04-09-2003, 05:46 PM
laycomp laycomp is offline
 
Join Date: Mar 2003
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Had he given the files to Logik as he requested perhaps things could get off to a good start, but doesn't want to do that. I stand as I stated earlier.
Reply With Quote
  #46  
Old 04-09-2003, 05:47 PM
MetroSports82's Avatar
MetroSports82 MetroSports82 is offline
 
Join Date: Nov 2002
Location: NJ
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Funkie, try sending me your mod.php file, and I'll have a look at it.
Reply With Quote
  #47  
Old 04-09-2003, 05:53 PM
Funkie Funkie is offline
 
Join Date: Nov 2001
Location: uk
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

will attach it here for you fella
This is the basic mod.php file.I have removed the extra code

Thanx for the help
Reply With Quote
  #48  
Old 04-09-2003, 05:55 PM
MetroSports82's Avatar
MetroSports82 MetroSports82 is offline
 
Join Date: Nov 2002
Location: NJ
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 02:46 PM laycomp said this in Post #44
Had he given the files to Logik as he requested perhaps things could get off to a good start, but doesn't want to do that. I stand as I stated earlier.
I agree, I totally take the blame on my part. I should have (like you said) given the file to Logik first, but rather took the wrong approach. But, I'll be honest.. I'm a little new to this hacking stuff. (not the forum), but modifying and stuff like that. Heck, I'm still working on releasing my first ever hack here, which I'm still in the process of working on. But, I'm not that kind of person to not give credit, where its due. Seriously. I dunno what other way to tell ya, but my deepest apologies to Logik, and his awesome hack. Wish I could go back and undo what I said 2 days ago.

thanks,
Metro.
Reply With Quote
  #49  
Old 04-09-2003, 06:12 PM
MetroSports82's Avatar
MetroSports82 MetroSports82 is offline
 
Join Date: Nov 2002
Location: NJ
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Funkie, ok try this one.

Now, all you'll need to do is to change the $modforum number to the forum of your choice.

PHP Code:
$modforum="103"
To do that. Simply change the number '103', in this file, to the forum id number you want to use. Let me know how this comes out for ya. Its working for me, on 2.2.9. and should really work for any version before and after this one.

thanks,
Metro.
Reply With Quote
  #50  
Old 04-09-2003, 06:20 PM
Funkie Funkie is offline
 
Join Date: Nov 2001
Location: uk
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorted fella
Many thanx.posts into the right forum just the 1 time now

Is there any way this can be modded to work outside of the forums folder.ie root so it can be used then for outsiders to apply to become a member.

Just a thought please dont flame me.lol

Big ups to you all for your work on all the mods/hacks

Thanx
Reply With Quote
  #51  
Old 04-09-2003, 11:08 PM
Logik's Avatar
Logik Logik is offline
 
Join Date: Nov 2002
Location: Tx
Posts: 432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Be more spacific. I havnt made a hack in ages. I might can do this for you.
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:08 PM.


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.09151 seconds
  • Memory Usage 2,324KB
  • 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_code
  • (3)bbcode_php
  • (1)bbcode_quote
  • (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