vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   [RELEASE] Apply to be Mod or Admin. VIA Email. (https://vborg.vbsupport.ru/showthread.php?t=48377)

Logik 02-01-2003 02:52 PM

I do not mind. I was going to add that. But i forgot about it. I was working on another hack..

Logik 02-01-2003 02:53 PM

If you use this. PLEASE click install.

Dean C 02-01-2003 03:01 PM

Hey just a tip use the [high] vb code instead of blue in your first post.

It means that text will be yellow on the dark blue style and red on the purple etc...

- miSt

Logik 02-01-2003 03:18 PM

Ok thanks..

Logik 02-01-2003 03:20 PM

I updated the zip. Redownload. all i did was add the dropdown box.

Logik 02-01-2003 03:35 PM

@LOTR - Heres what you asked for.
[HIGH]ALL ADMINS GET THE APPLICATION[/HIGH]

In mod.php find:
PHP Code:

$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"

Just under that add:
PHP Code:

$moderators=$DB_site->query("SELECT user.email FROM user,usergroup WHERE 

user.usergroupid=usergroup.usergroupid AND (usergroup.cancontrolpanel=1 OR usergroup.ismoderator=1)"
);
  }

  while (
$moderator=$DB_site->fetch_array($moderators)) { 

Next, find:
PHP Code:

$to="$webmasteremail"

And replace that with:
PHP Code:

$to "$moderator[email]"

Thats all. Now all your admins will get the mail.

Logik 02-01-2003 07:00 PM

What is it with my hacks. I make a decent hack. And no one uses it.. I feel ashamed :(

Prankster 02-02-2003 02:55 AM

in my forum I had in the template "mod" following to add.
PHP Code:

<td width="108"><smallfont>Position:</smallfont></td>

i put this before  this:

<
td width="192">
          <
select name="position" id="position">
          <
option value="Moderator" selected>Moderator</option>
          <
option value="Administrator">Administrator</option>
        </
select>
        </
td

Reason:

all the same whether I used that drop down or the radio, it became always on the left side indicated. Now it is like that, as in your picture

------------------------------------------------------------

how become i the window, where one enters the message somewhat longer ?

greets
Prankster

Logik 02-02-2003 05:26 PM

I dont quite get your message. Please restate it.

wooolF[RM] 02-02-2003 06:52 PM

installed, got 17 mails in 2 hours, uninstalled by request of my mods ( 32 of them ).

otherwise nice hack and idea


All times are GMT. The time now is 05:54 PM.

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.01042 seconds
  • Memory Usage 1,744KB
  • 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
  • (5)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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