Version: 1.00, by Logik
Developer Last Online: Sep 2010
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.
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!!!
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.
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.
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.
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.