vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Admin Override (https://vborg.vbsupport.ru/showthread.php?t=50378)

midnightz 03-18-2003 03:25 AM

Admin Override
 
Hello,

I'm sure there is ahack here, that will make the get mailings by admin option either have no choice to say no or maybe move that option completely. There was a hack like this for IK Board, so there must be a override one for VB :)

Cheers,

midnightz

Dpcows 03-18-2003 07:03 AM

You mean this option:

Allow Bulletin Board Administrators and Moderators To Send You Email Notices?

in your options of your usercp ?

that's not to hard to change.
just edit your templates

midnightz 03-20-2003 07:38 PM

I am a newbie, still learning.

Do you know by chace how to a a sponsered by link - like they have at graphic-forums.com

Cheers,

midz

WetWired 03-21-2003 02:24 PM

In the registercoppa and registeradult templates, find this:
Code:

<tr>
        <td bgcolor="#1C5780"><normalfont><b>Allow Bulletin Board Administrators and Moderators To Send You Email Notices?</b></normalfont></td>
        <td bgcolor="#1C5780"><normalfont>
                <input type="radio" name="allowmail" value="yes" checked> yes
                <input type="radio" name="allowmail" value="no"> no
        </normalfont></td>
</tr>

and replace it with this:
Code:

<input type="hidden" name="allowmail" value="yes">
Then, in modifyoptions template, find this:
Code:

<tr>
        <td bgcolor="#1C5780"><normalfont><b>Allow Bulletin Board Administrators and Moderators To Send You Email Notices?</b></normalfont></td>
        <td bgcolor="#1C5780"><normalfont>
                <input type="radio" name="allowmail" value="yes" $allowmailchecked> yes
                <input type="radio" name="allowmail" value="no" $allowmailnotchecked> no
        </normalfont></td>
</tr>

and replace it with this:
Code:

<input type="hidden" name="allowmail" value="yes">

filburt1 03-21-2003 02:32 PM

Beware that your users won't exactly appreciate it if you start sending them what will technically be unsolicited e-mails.

Chris M 03-21-2003 06:50 PM

You would be better in creating a new table and option for "Allow Administrators to send you the Newsletter?" or something:)

Satan

WetWired 03-21-2003 08:11 PM

Quote:

Today at 10:32 AM filburt1 said this in Post #5
Beware that your users won't exactly appreciate it if you start sending them what will technically be unsolicited e-mails.
So on the signup agreement put a part that mentions the e-mailings and say that it is a condition of membership. I've seen this for sites before.

midnightz 03-21-2003 08:15 PM

Yep, Thats what I'm doing -

eytan 11-24-2003 09:31 PM

is there anyway to run an SQL query to change the options all the users who selected this option as "no" when it was available, to "yes" now?

thanks

eytan 12-03-2003 04:36 PM

can anyone help with this?


All times are GMT. The time now is 05:27 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.01071 seconds
  • Memory Usage 1,737KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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