vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=34)
-   -   Post as Anonymous Moderator (https://vborg.vbsupport.ru/showthread.php?t=72799)

amykhar 12-11-2004 10:00 PM

Post as Anonymous Moderator
 
This hack is obsolete. The improved version can be found here:

https://vborg.vbsupport.ru/showthread.php?t=78410

tomshawk 12-12-2004 05:24 PM

Forgive me if this sounds to simple but,

2 Things

1) I want ot create 2 of these anonymous users, one for mods and one for smods, the one that smods use, I dont want mods to see, who posted it.
Is this possible?

2) If this does not become one of the mods of the month, I'll be surprized.

Excellent work.

I am going to install a test board and test this right away.

Thank you for the time you put into this ;)

amykhar 12-12-2004 05:34 PM

Quote:

Originally Posted by tomshawk
Forgive me if this sounds to simple but,

2 Things

1) I want ot create 2 of these anonymous users, one for mods and one for smods, the one that smods use, I dont want mods to see, who posted it.
Is this possible?

2) If this does not become one of the mods of the month, I'll be surprized.

Excellent work.

I am going to install a test board and test this right away.

Thank you for the time you put into this ;)

1. It would be possible, but you would need to make significant changes. I am available for custom work if you need it right now, or will look into adding this as an addon for release after Christmas.

2. Aww shucks.

tomshawk 12-12-2004 05:47 PM

Quote:

Originally Posted by amykhar
1. It would be possible, but you would need to make significant changes. I am available for custom work if you need it right now, or will look into adding this as an addon for release after Christmas.

2. Aww shucks.

1) I'm willing to wait until after christmas, but thank you very much for the offer.

Once you set up the addon, I'll privy you to get your paypal info and send you a few bucks ;)

2) Your welcome ;)

Link14716 12-12-2004 05:58 PM

You have a "bug" in the installer. ;)

Code:

                // ### POST NEW POST ###
                $DB_site->query("
                        INSERT INTO " . TABLE_PREFIX . "post
                                (threadid, parentid, title, username, userid, dateline, pagetext, allowsmilie,
                                showsignature, ipaddress, iconid, visible, attach)
                        VALUES
                                ($threadinfo[threadid], $parentid, '" . addslashes($post['title']) . "',
                                  '" . addslashes($post['postusername']) . "', $bbuserinfo[userid], " . TIMENOW . ",
                                '" . addslashes($post['message']) . "', $post[enablesmilies], $post[signature],
                                '" . addslashes($post['ipaddress']) . "', $post[iconid], $post[visible], $totalattachments,$post[postasmod],'". addslashes($post[modname]) ."')");

should be
Code:

                // ### POST NEW POST ###
                $DB_site->query("
                        INSERT INTO " . TABLE_PREFIX . "post
                                (threadid, parentid, title, username, userid, dateline, pagetext, allowsmilie,
                                showsignature, ipaddress, iconid, visible, attach, postasmod, modname)
                        VALUES
                                ($threadinfo[threadid], $parentid, '" . addslashes($post['title']) . "',
                                  '" . addslashes($post['postusername']) . "', $bbuserinfo[userid], " . TIMENOW . ",
                                '" . addslashes($post['message']) . "', $post[enablesmilies], $post[signature],
                                '" . addslashes($post['ipaddress']) . "', $post[iconid], $post[visible], $totalattachments,$post[postasmod],'". addslashes($post[modname]) ."')");


amykhar 12-12-2004 06:02 PM

Quote:

Originally Posted by Link14716
You have a "bug" in the installer. ;)

Code:

                // ### POST NEW POST ###
                $DB_site->query("
                        INSERT INTO " . TABLE_PREFIX . "post
                                (threadid, parentid, title, username, userid, dateline, pagetext, allowsmilie,
                                showsignature, ipaddress, iconid, visible, attach)
                        VALUES
                                ($threadinfo[threadid], $parentid, '" . addslashes($post['title']) . "',
                                  '" . addslashes($post['postusername']) . "', $bbuserinfo[userid], " . TIMENOW . ",
                                '" . addslashes($post['message']) . "', $post[enablesmilies], $post[signature],
                                '" . addslashes($post['ipaddress']) . "', $post[iconid], $post[visible], $totalattachments,$post[postasmod],'". addslashes($post[modname]) ."')");

should be
Code:

                // ### POST NEW POST ###
                $DB_site->query("
                        INSERT INTO " . TABLE_PREFIX . "post
                                (threadid, parentid, title, username, userid, dateline, pagetext, allowsmilie,
                                showsignature, ipaddress, iconid, visible, attach, postasmod, modname)
                        VALUES
                                ($threadinfo[threadid], $parentid, '" . addslashes($post['title']) . "',
                                  '" . addslashes($post['postusername']) . "', $bbuserinfo[userid], " . TIMENOW . ",
                                '" . addslashes($post['message']) . "', $post[enablesmilies], $post[signature],
                                '" . addslashes($post['ipaddress']) . "', $post[iconid], $post[visible], $totalattachments,$post[postasmod],'". addslashes($post[modname]) ."')");


Thanks. I was stripping out other hacks that I have installed on the fly while writing the directions. I'll update the text file now.

Red Blaze 12-13-2004 03:41 AM

Nice idea, some of the members in my forum are a tad sensative. That way, when my mods post, the members will be like... "Whoo teh helL? I kill who 3vAr dat was!!111..one". heh.. come to think of it, my mods might actually enjoy this hack. lol

EDIT: Crap, this does look fairly difficult. I'll do this when I'm not too lazy. ^_^;;;

Breaker 12-13-2004 02:15 PM

great hack.... not needed on my forums but good job all the same :)

vau7 12-13-2004 05:06 PM

Quote:

It requires that the is_member_of improvement hack be installed IF you plan to check for more than one usergroup. That hack can be found here:
https://vborg.vbsupport.ru/show...ht=is_member_of
Is it required if want to use this hack for my normal users?
Sorry today i have some Problems to understand the englisch language...

Which Part do i have to modify if every usergroup should can use this feature?

amykhar 12-13-2004 06:12 PM

No, it's not required if all users can use it. I'm sorry, this hack is in beta and I don't have time right now to step through variations of it at this time.


All times are GMT. The time now is 07:02 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.01241 seconds
  • Memory Usage 1,756KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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