[BETA] Confession Boot Mod 1.1.0

MOD Authors: Discuss and post updates on new MODs in development for phpBB3, Receive feedback and Feature requests for MODs in development.

To submit your MOD or style, go to the STG MOD Manager
Forum rules
go to the STG MOD Manager to post your MOD in development.
Discuss and receive feedback for any MOD in development for phpBB3.
Suggest features for MODs in development.

No Support or MOD Requests
-- exceptions for MODs only posted here as Beta or Alpha.
Support requests for a MOD should be requested in the respective MOD topic.

[BETA] Confession Boot Mod 1.1.0

Postby ..::Frans::.. » 21 Jan 2008, 07:17

Classification: Add-on
phpBB Part: Forum / ACP

MOD Name: Confession Boot Mod
MOD Version: 1.1.0
Author: ..::Frans::..
MOD Description: Makes each posting in a forum appear to be posted by the same user. Forum, IP and user can be set in the ACP

Works with:
  • phpBB 3.0.0 Gold

Features:
  • Enable/disable in ACP
  • Poster ID can be set
  • Poster IP can be set
  • Forum can be chosen
  • Changes to settings are logged in the admin log

Language: English

Licence: GNU General Public License v2

Screenshots:
cb_acp.png

cb_acp2.png

cb_post.png

cb_post2.png

cb_post3.png


Installation Level: Easy
Installation Time: 3 Minutes
Format: MOD
Download File:
Version 1.0.0: Downloaded 2 times
confession_booth.zip
(12.31 KiB) Downloaded 108 times



NEW VERSION: Updated Installation.txt with the SQL Statements.

See also: http://www.startrekguide.com/community/ ... =40&t=4673


Version changes:

Changes since version 1.0.0.
  • Forgot the SQL statement. - FIXED
  • Error in user_colour when user was a member of a group with a special colour. - FIXED
ping...
User avatar
..::Frans::..
STG Development
STG Development
 
Posts: 1608
Joined: 28 Mar 2007, 15:37
Location: Netherlands
Favorite Team: RKC
Gender: Male
phpBB Knowledge: 9


Re: [BETA] Confession Boot Mod

Postby VileParty » 21 Jan 2008, 13:07

You are awesome frans :yahoo: Thank you going to install this now.

Edit: Sorry, frans, but where's the sql file?
Confession Booth is not properly installed!
Re-install the config settings [ Installation.txt -> SQL ]
~~ via dictata ipsum in somnium ~~ | ~~ Recipe For LeetSauce ~~
Image
VileParty    
Cadet I
Cadet I
 
Posts: 18
Joined: 04 Jan 2008, 22:43
Location: Iowa, USA
Favorite Team: Steelers
Gender: Male

Re: [BETA] Confession Boot Mod

Postby ..::Frans::.. » 21 Jan 2008, 13:41

Hi there,

There is NO sql file, the sql commands are in the installation file...;)
ping...
User avatar
..::Frans::..
STG Development
STG Development
 
Posts: 1608
Joined: 28 Mar 2007, 15:37
Location: Netherlands
Favorite Team: RKC
Gender: Male
phpBB Knowledge: 9

Re: [BETA] Confession Boot Mod

Postby VileParty » 21 Jan 2008, 13:47

Sorry Frans, maybe I just can't see them...I've scanned the installation.txt up and down and haven't found any sql commands. :this:
~~ via dictata ipsum in somnium ~~ | ~~ Recipe For LeetSauce ~~
Image
VileParty    
Cadet I
Cadet I
 
Posts: 18
Joined: 04 Jan 2008, 22:43
Location: Iowa, USA
Favorite Team: Steelers
Gender: Male

Re: [BETA] Confession Boot Mod

Postby ..::Frans::.. » 21 Jan 2008, 14:42

Sorry.....

Code: Select all
INSERT INTO `phpbb_config` (`config_name`, `config_value`, `is_dynamic`) VALUES ('cb_enable', '1', 1);
INSERT INTO `phpbb_config` (`config_name`, `config_value`, `is_dynamic`) VALUES ('cb_forum', '2', 1);
INSERT INTO `phpbb_config` (`config_name`, `config_value`, `is_dynamic`) VALUES ('cb_user', '1', 1);
INSERT INTO `phpbb_config` (`config_name`, `config_value`, `is_dynamic`) VALUES ('cb_ip', '0.0.0.0', 1);
ping...
User avatar
..::Frans::..
STG Development
STG Development
 
Posts: 1608
Joined: 28 Mar 2007, 15:37
Location: Netherlands
Favorite Team: RKC
Gender: Male
phpBB Knowledge: 9

Re: [BETA] Confession Boot Mod

Postby VileParty » 21 Jan 2008, 14:51

That did it. Thank you. :cool: It works great!

One option that I can see from this, is in the viewforum and index page, you can still see the original poster and replier. Viewtopic works like a charm.

Thank you once again! :hug:
~~ via dictata ipsum in somnium ~~ | ~~ Recipe For LeetSauce ~~
Image
VileParty    
Cadet I
Cadet I
 
Posts: 18
Joined: 04 Jan 2008, 22:43
Location: Iowa, USA
Favorite Team: Steelers
Gender: Male

Re: [BETA] Confession Boot Mod

Postby ..::Frans::.. » 21 Jan 2008, 15:38

You can't see who posted it (it says "Guest" and the ip = 0.0.0.0 BUT it showed the color of the user posting (so, if you posted and you are a admin with NAME COLOUR = red, then guest would show up red too.)

FIXED.

OPEN
includes/functions_posting.php

FIND
Code: Select all
    //Added by ..::Frans::.. -  Confession Boot Mod
    if(($config['cb_enable']) && ($data['forum_id'] == (int) $config['cb_forum']))
    {
        $bck_user = $user;
        $user->data['user_id'] = (int) $config['cb_user'];
        $user->ip = $config['cb_ip'];
    }
    //Added by ..::Frans::.. -  Confession Boot Mod
 


REPLACE WITH
Code: Select all
    //Added by ..::Frans::.. -  Confession Boot Mod
    if(($config['cb_enable']) && ($data['forum_id'] == (int) $config['cb_forum']))
    {
        $bck_user = $user;
        $user->data['user_id'] = (int) $config['cb_user'];
        $user->ip = $config['cb_ip'];

        $sql = 'SELECT user_colour FROM '.USERS_TABLE.' WHERE user_id = '.$user->data['user_id'];
        $result = $db->sql_query($sql);
        $row = $db->sql_fetchrow($result);
        $db->sql_freeresult($result);
        $user->data['user_colour'] = $row['user_colour'];

    }
    //Added by ..::Frans::.. -  Confession Boot Mod
 


I will upload a new version
ping...
User avatar
..::Frans::..
STG Development
STG Development
 
Posts: 1608
Joined: 28 Mar 2007, 15:37
Location: Netherlands
Favorite Team: RKC
Gender: Male
phpBB Knowledge: 9

Re: [BETA] Confession Boot Mod 1.1.0

Postby ..::Frans::.. » 21 Jan 2008, 15:44

New version available as download
ping...
User avatar
..::Frans::..
STG Development
STG Development
 
Posts: 1608
Joined: 28 Mar 2007, 15:37
Location: Netherlands
Favorite Team: RKC
Gender: Male
phpBB Knowledge: 9

Re: [BETA] Confession Boot Mod 1.1.0

Postby VileParty » 21 Jan 2008, 15:49

please look at pics for examples
Attachments
test3.jpg
test2.jpg
test1.jpg
~~ via dictata ipsum in somnium ~~ | ~~ Recipe For LeetSauce ~~
Image
VileParty    
Cadet I
Cadet I
 
Posts: 18
Joined: 04 Jan 2008, 22:43
Location: Iowa, USA
Favorite Team: Steelers
Gender: Male

Re: [BETA] Confession Boot Mod 1.1.0

Postby ..::Frans::.. » 21 Jan 2008, 15:56

can you give me the url to that board and forum?


EDIT: I am debugging right now, and found out something else. The problem is this:

IF you have a forum where, let's say, only registered users can post and view AND you change the setting in ACP to anonymous guest, you still want the post to be posted. Therefore i can't change ALL fields to that of the guest.....


But i'm going to try to make this more anonymous......hang on...
ping...
User avatar
..::Frans::..
STG Development
STG Development
 
Posts: 1608
Joined: 28 Mar 2007, 15:37
Location: Netherlands
Favorite Team: RKC
Gender: Male
phpBB Knowledge: 9

Next

Return to MODs in Development

Who is online

Users browsing this forum: No registered users and 13 guests