[BETA] Board Message [2.0.5]

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
Irfaan
Registered User
Posts: 99
Joined: Fri May 24, 2002 11:26 pm
Contact:

[BETA] Board Message [2.0.5]

Post by Irfaan »

[BETA] Board Message [2.0.5]
By: Irfaan [edited by primedomain upon user request]
Second Release

YAY! Alright so I was up quite late finishing, testing, cleaning, and completing the SQL-Install and Modification Template. Below is my [2.0.5] version of a 'Board Message' MOD.
--

Code: Select all

##[ID$:'4732267']
############################################################## 
## MOD Title: Board Message[2.0.5] 
## MOD Author: Irfaan < phpBB@irfaan.com > (Irfaan [edited by primedomain upon user request]) http://irfaan.com/ 
## MOD Description: Enables the Admin, through the ACP, to specify whether to show or hide a 

fully customized 'Board Message' that is to be displayed on INDEX.
## MOD Version: 1.1.2 
## 
## Installation Level: (Intermediate) 
## Installation Time: 4 Minutes 
## Files To Edit: lang_main.php, admin_board.php, board_config_body, index.php, 

index_body.tpl, common.php 
## Included Files: (sql_boardmsg_install.php, bm_add_boardmsg.tpl) 
############################################################## 
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the 
## latest version of this MOD. Downloading this MOD from other sites could cause malicious 

code 
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered 
## in our MOD-Database, located at: http://www.phpbb.com/mods/ 
############################################################## 
## Author Notes: This modification was designed for phpBB[2.0.5] and requires the use of a SQL 

database. This is the FIRST RELEASE, and will be updated periodically with new features.
##
## List of Current Features:
##  - 'Board Message' display on Index
##  - Admin customization in ACP under Configuration
##  	- Show/Hide 'Board Message'
##  	- Edit 'Board Message' title
##  	- Edit 'Board Message' body
##  - Character limit: 255
##  - HTML supported
##
## List of features to come:
##  - Show/Hide 'Board Message' based on user_level.
##  - Display 'Board Message' to certain user_level; usergroup; user (specified in 'USER 

PERMISSIONS').
##  - Display CUSTOM 'Board Message' to each user_level; usergroup; user (specified in 'USER 

PERMISSIONS').
##  - Display CUSTOM 'Board Message' to SPECIFIC USER (specified in USER MANAGEMENT).
##  - Display within CUSTOM 'Board Message' certain usergroups that user can join (based on 

permissions and user_level).
##  - Display CUSTOM 'Board Message' based on POST COUNT or SPECIAL RANK
##  - 'Board Message' Version Number in footer.
##
##::Irfaan [edited by primedomain upon user request]
## 
############################################################## 
## MOD History: 
## 
##   2003-07-16 - Version 1.1.2
##      - Fixed 'Common.php' SQL
##      - 'Admin Explain' in 'lang_main.php' fixed.
##      - '<br />' tag in 'index_body.tpl' moved to 'bm_add_boardmsg.tpl' to enable normal 

forum view.
##
##   2003-07-08 - Version 1.0.0 
##      - First Release 
## 
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
##############################################################
## [ID$:'4732267']
##############################################################
## *PLEASE NOTE* - To configure the SQL database, you must upload 'sql_boardmsg_install.php'
## to your ROOT folder and RUN *FIRST*. Once completed, DELETE THE FILE IMMEDIATELY.
##############################################################
DEMO: Irfaan.com Forums

DOWNLOAD: Board Message[2.0.5]V1.1.2

--
Feel free to test, and give me feedback! As this is my first published modification, I do ask that you do not hold any comments to yourselves, rather, share them with me, and I will do my very best to answer, and or, if need be, solve.

Thanks,
Irfaan [edited by primedomain upon user request]
Last edited by Irfaan on Wed Jul 16, 2003 8:45 pm, edited 4 times in total.
No Fear
Irfaan.com - Relax.
Irfaan
User avatar
Rancisis
Registered User
Posts: 161
Joined: Sun Dec 08, 2002 10:57 am
Location: Belgium

Post by Rancisis »

Going to wait for some more permissions, but the mod does look very promesing.
It would be great to be able to show different messages to different usergroups :)
Irfaan
Registered User
Posts: 99
Joined: Fri May 24, 2002 11:26 pm
Contact:

Highlight of curret and future.

Post by Irfaan »

List of Current Features:

Board Message display on Index

Admin customization in ACP under Configuration
- Show/Hide 'Board Message'
- Edit 'Board Message' title
- Edit 'Board Message' body

Character limit: 255
HTML supported
--

List of features to come:
- Show/Hide 'Board Message' based on user_level.
- Display 'Board Message' to certain user_level; usergroup; user (specified in 'USER PERMISSIONS').
- Display CUSTOM 'Board Message' to each user_level; usergroup; user (specified in 'USER PERMISSIONS').
- Display CUSTOM 'Board Message' to SPECIFIC USER (specified in USER MANAGEMENT).
- Display within CUSTOM 'Board Message' certain usergroups that user can join (based on permissions and user_level).
- Display CUSTOM 'Board Message' based on POST COUNT or SPECIAL RANK
- 'Board Message' Version Number in footer.
--

To Fix:
lang_main.php - admin explain (wording)
<br /> in index_body.tpl -- move to -- bm_add_boardmsg.tpl
--

::Irfaan [edited by primedomain upon user request]
No Fear
Irfaan.com - Relax.
Irfaan
User avatar
SupremeWeapon
Registered User
Posts: 593
Joined: Mon Feb 17, 2003 12:48 pm
Location: Battle Creek, Mi
Contact:

Post by SupremeWeapon »

i dont see a demo of this on the url.....
Image
Irfaan
Registered User
Posts: 99
Joined: Fri May 24, 2002 11:26 pm
Contact:

Post by Irfaan »

hmmm you're quite right! there's a little bug here if anyone would like to take a look at it. something happened, and the fields in the database were cleared? has it got something to do with common.php and the sql?!

help would be greatly appreciated!!

[edit]
i do believe i have the solution.. i will post with a reply!

irf
[/edit]

[edit] Well... i don't remember what i was talking about.. anyone care to take a look at the issue?[/edit]
No Fear
Irfaan.com - Relax.
Irfaan
wGEric
Former Team Member
Posts: 8805
Joined: Sun Oct 13, 2002 3:01 am
Location: Friday
Name: Eric Faerber
Contact:

Post by wGEric »

Code: Select all

CODE REMOVED
That code in the common.php needs to be

Code: Select all

CODE REMOVED
Since you aren't updating the boards message in that file there is no need to have it there.
Last edited by wGEric on Fri Jul 18, 2003 1:35 am, edited 1 time in total.
Eric
Irfaan
Registered User
Posts: 99
Joined: Fri May 24, 2002 11:26 pm
Contact:

Second Release

Post by Irfaan »

Thanks to wGEric for the SQL fix.
--
Board Message [2.0.5]
Second Release

See Top Post for Latest Release [2]

Fix:

Code: Select all

##   2003-07-16 - Version 1.1.2 
##      - Fixed 'Common.php' SQL 
##      - 'Admin Explain' in 'lang_main.php' fixed. 
##      - '<br />' tag in 'index_body.tpl' moved to 'bm_add_boardmsg.tpl' to enable normal 
--

Irfaan
No Fear
Irfaan.com - Relax.
Irfaan
Irfaan
Registered User
Posts: 99
Joined: Fri May 24, 2002 11:26 pm
Contact:

Post by Irfaan »

ummm.. the problem is still there. The board message table clears!
No Fear
Irfaan.com - Relax.
Irfaan
Irfaan
Registered User
Posts: 99
Joined: Fri May 24, 2002 11:26 pm
Contact:

Post by Irfaan »

Bump! Id really like it if someone were to take just a few min to download and test on their test-board.. look at it for a bit? It's obviously doing something wrong... thanks! :D
No Fear
Irfaan.com - Relax.
Irfaan
User avatar
Haywood Jahelpme
Registered User
Posts: 475
Joined: Wed Oct 23, 2002 9:16 am
Location: San Diego
Contact:

Post by Haywood Jahelpme »

Will this work on 2.0.4?
Irfaan
Registered User
Posts: 99
Joined: Fri May 24, 2002 11:26 pm
Contact:

Post by Irfaan »

ahh still a bit of a problem... would anyone care to take a look?
No Fear
Irfaan.com - Relax.
Irfaan
danb00
Registered User
Posts: 1025
Joined: Sun Dec 15, 2002 9:41 pm
Location: Inside Mod:Extreme PHPBB
Contact:

Post by danb00 »

found a problem

when you type a message in it through the ACP it does not update the sql db :(

you can't even turn it of through the ACP!
Skyraider
Registered User
Posts: 89
Joined: Mon May 19, 2003 9:05 pm

Post by Skyraider »

yeah.... none of the changes, when submitted through the config, are functional.
Irfaan
Registered User
Posts: 99
Joined: Fri May 24, 2002 11:26 pm
Contact:

Post by Irfaan »

lol well it worked for me... hmmm maybe help a bit and look at the code... I would really appreciate it is you were to help me with it.
No Fear
Irfaan.com - Relax.
Irfaan
Skyraider
Registered User
Posts: 89
Joined: Mon May 19, 2003 9:05 pm

Post by Skyraider »

does the form actually submit to the database? seems like there isn't a form with an action attribute connected to the boardmsg table in the db anywhere.
Post Reply

Return to “[2.0.x] MODs in Development”