Skip to content

Commit 2ecd497

Browse files
committed
Merge remote-tracking branch 'origin/master'
# Conflicts: # README.md # class/art/functions.user.php
2 parents 331a7b7 + 36ff4fd commit 2ecd497

11 files changed

Lines changed: 1816 additions & 302 deletions

File tree

CHANGELOG.md

Lines changed: 256 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,256 @@
1+
# iForum Changelog
2+
3+
## iForum 2.0 - 29 November 2017
4+
### New
5+
- added: Lightbox for images within the postings added (sato-san)
6+
- added: Japanese translation files (sato-san)
7+
### Fix
8+
- Bugfix: Link for ICQ fixed (sato-san)
9+
- Bugfix: Position from "document icons" and "post icon" optimized for a better view (sato-san)
10+
- Bugfix: Editor selection dissabled, because the admin has to setup this function (sato-san)
11+
- Bugfix: Replace all all TYPE=MyISAM to ENGINE=MyISAM (sato-san)
12+
- Bugfix: If a forum has subforum, the numbers for topics and posts are not longer dispalyed, since the summery of numbers are not available (sato-san)
13+
- Bugfix: The navigation on top in the search template is available now (sato-san)
14+
- Bugfix: Error in PM fixed (sato-san)
15+
### Improvement
16+
- Improved: Some parts of templates redesigned (sato-san)
17+
- Improved: Mousepointer for the category icons for a better usability (sato-san)
18+
- Improved: Made the usebar lighter. Uniform icons (sato-san)
19+
- Improved: Userbar in Text version with better design (sato-san)
20+
- Improved: updated version number format to string and corrected several URLs in icms_version (fiammybe)
21+
- iForum needs ImpressCMS 1.3+, and not 1.2+ - updated
22+
23+
24+
## iForum 1.0 - 18 Sept 2011
25+
### New
26+
- implemented icms updating methods
27+
- added: _MD_UP on language/english/main.php (sato-san)
28+
- added: _MD_POSTTIME on language/english/main.php (sato-san)
29+
- added: German files with UTF-8 (sato-san)
30+
- added: the module create the upload-folders automatically (sato-san)
31+
- added: Spanish files with UTF-8 (juancj)
32+
- added: Portuguesebr files with UTF-8 (Gibaphp)
33+
- added: French files with UTF-8 (FaYsSaL)
34+
- added: Russian files with UTF-8 (algalochkin)
35+
- added: smarty modulename (in blocks)
36+
- added: div class="comUserImg for avatars (Knallkopp_02)
37+
- Finished Implementing easy-renaming
38+
- New template set (MrTheme)
39+
- Added icons instead of transfer text
40+
- Added Captcha Control option
41+
- Added Captcha Control for posts
42+
- Added Control for wysiwyg editors
43+
- Added Tagging options (partly, it is not finished yet)
44+
- Added Built in RTL support
45+
- Added xoops-magazine image set as default
46+
- New icons (thanks McDonald And http://dryicons.com/)
47+
48+
### Fix
49+
- Bugfix: for allowed editors in ICMS 1.1
50+
- Bugfix: for fast-reply in IE (McDonald)
51+
- Bugfix: for newbb_rtl.css
52+
- Bugfix: date&time.
53+
- Bugfix: PDF issues
54+
- Bugfix: if no editor is allowed, the form will disappear
55+
- Bugfix: with FCKEDITOR paths
56+
- Bugfix: xoopseditor path changed to editors
57+
- Bugfix: need for xoops_local
58+
- Bugfix for user signatures in ICMS 1.1
59+
60+
### Improvement
61+
- Improved: &newbb_displayTarea (to use icms purifier)
62+
- issues with RTL
63+
- Changed PDF generator to TCPDF for UTF-8 languages
64+
- changed from mod_isModuleAction to icms_moduleAction (sato-san)
65+
- changed from formcaptcha.php to captcha.php (sato-san)
66+
67+
### Removed
68+
- Removed need to have frameworks
69+
70+
## CBB 3.08 - Jan 3rd, 2007
71+
- Bugfix for user stats (jorff, agl)
72+
- Bugfix for reading new posts
73+
74+
## CBB 3.07 - October 29th, 2006
75+
- Bugfix for permission template (js related)
76+
- Added support for FCKeditor upload
77+
- Added support for extended xcode which allows flash/wmplayer/...
78+
- Fix for XSS reported by bubuche93
79+
80+
## CBB 3.06 - October 8th, 2006
81+
- Bugfix version
82+
83+
## CBB 3.05 - July 22nd, 2006
84+
### New
85+
- Added editor parameter control based on plugin'ed configs
86+
### Fix
87+
- Bugfix for notifying new replies for a specific topic
88+
- Bugfix for permission check when moving a post
89+
- Bugfix for xhtml compliance in forum selection box (reported by skalpa)
90+
- Bugfix for update scripts for newbb 2.2
91+
- Bugfix for category name display in permission admin
92+
- Bugfix for view_level check in viewforum template (reported by topmuzik.com)
93+
### Removed
94+
- Removed inherition of view mode and post order from system-wide preference
95+
96+
## CBB 3.04 Final - June 3rd, 2006
97+
### New
98+
- MySQL syntax for data synchronization for different versions
99+
- Added topic check before storing post (reported by marco)
100+
- Added reading records options: cookie, database (inspired by Ajout Gizmhail)
101+
- Added data synchronization
102+
- Added missing "previous/next topic"
103+
- Created object handler for post_text
104+
### Fix
105+
- xhtml fixes
106+
- bugfix for group permission check form (reported by Aries)
107+
- Bugfix for topic title transfered from post subject
108+
- Other minor fixes
109+
- Fixed bugs in print.php (reported by ideiafacil)
110+
- Fixed bugs reported on xoops.org
111+
- Fixed bug in templates for file inclusion: for both update from file and from db modes
112+
### Improvement
113+
- Modified database structure for query optimization
114+
- Code correction for performance and cleaning up
115+
- Partial improvement on permission precision
116+
- Improvement on category/forum structured display for permission admin and block edit pages
117+
- Improvement on compliant xhtml
118+
- Changed fields in TABLE bb_forums
119+
- Changed testing post message in language file
120+
- category, forum, topic, post, report, rate refactoring
121+
### Removed
122+
- Removed unnecessary forum option 'allow_attachments'
123+
124+
## CBB 3.03 - Apr 26th, 2006
125+
### New
126+
- Split functions.php
127+
### Fix
128+
- Fixed rss+xml rel link (by CeBepuH)
129+
- Fixed typo in "pm" path for "transfer" (by CeBepuH)
130+
- Fixed clear property in newbb.css (by CeBepuH)
131+
- Fixed undefined method "setMessage" for module which could lead to newbb 2.* upgrade failure
132+
133+
## CBB 3.02 - Apr 23rd, 2006
134+
### New
135+
- Skip cache for edit pages
136+
- Added action request detection in xoops_version.php so that some useful features are reactived including "welcome forum"
137+
- Added time limit to "recent replied topic" block
138+
### Improvement
139+
- Performance improvement, including PHP scripting and MySQL db structure
140+
### Fix
141+
- Fixed URL iteration for menumode (reported by genetailor)
142+
- Charset completeness for PDF maker (reported by domecc)
143+
- Bugfix for "sort by rating" URL (reported by Mowaffak)
144+
- Bugfix for signature setting (removed unnecessary user setting check)
145+
146+
## CBB 3.01 - Feb 22th, 2006
147+
### Fix
148+
- Fixed bugs in permission management
149+
- Fixed bugs in formloader
150+
151+
## CBB 3.0 - Feb 10th, 2006
152+
### New
153+
- Compatible with XOOPS 2.0, 2.2, 2.3
154+
### Fix
155+
- Fixed bugs in user select
156+
- Fixed bugs in permission management
157+
158+
## CBB 2.32
159+
- DB query optimization
160+
161+
## CBB 2.31
162+
- bugfixes
163+
- speed improvement
164+
165+
## CBB 2.3
166+
- moderator accessible distributed batch threads/posts management (approval, edit, move, delete, merge, split)
167+
- moderator accessible distributed user/IP suspension management
168+
- trashcan implemented
169+
- user-based post search and management
170+
- plugable module bridging handler implemented
171+
172+
## CBB 2.2
173+
- block/profile/css/adminmenu/encoding related content upgraded to XOOPS 2.2
174+
- XOOPS editor framework implemented
175+
- permission management separated from forum/category and default permission set and management added
176+
- category/forum creation on module installation
177+
- send PM with quoted post content
178+
- embedded upgrade: any version of newbb/cbb could be updated to up-to-date CBB by updating module
179+
- forum queries in xoops_version.php moved to save db query
180+
- change relative path to full path for some images
181+
- change forum list in jumpbox and topicmanager to a more clear style
182+
- moderator management merged into forum admin form with xoopsuserselect form
183+
184+
## CBB 1.15
185+
- fix for aged security problem (XSS)
186+
187+
## CBB 1.14
188+
- bugfix for inactive user posting (Reported by Aries @ xoops.org.cn)
189+
- bugfix for deleting topic with poll (Reported by gropius @ xoops.org.cn)
190+
- change default value for displaying forum topic time duration (Reported by Zjerre @ xoops.org)
191+
- change formselectuser.php for XOOPS 2.2
192+
193+
## CBB 1.13
194+
- bugfix for IP recording (Reported by alitan @ xoops.org)
195+
- changing time display for "Today/yesterday ..." (Reported by alitan @ xoops.org)
196+
- adding post link (Preliminary solution by ackbarr && Suggested by Peekay @ xoops.org)
197+
- further cleaning "Compact mode" (Suggested by Rou4 @ XOOPS CHINA)
198+
- adding new block "recent post text"
199+
- bugfix for function newbb_admin_mkdir
200+
- bugfix for permission table of locked topic
201+
- adding indication for locked topic in view topic (Requested by SuperVoley @ xoops.org)
202+
- bugfix for category management (Reported by chia @ xoops.tnc.edu.tw)
203+
- bugfix for subject sanitizing problem (Reported by CeBepuH @ xoops.org)
204+
- rolling back signature to pure xcode format (comprehensive improvement is expected after XOOPS 2.2)
205+
- bugfix for empty message check in quick reply
206+
- template validation on XHTML 1.0 (not complete yet)
207+
- compatible with news 1.30+ for posttonews (reported by cosmodrum @ xoops.org)
208+
209+
## CBB 1.12
210+
- login on-fly in "quick reply" (requested by Rou4 @ XOOPS CHINA)
211+
- sort order in viewpost.php (reported by kmac @ XOOPS CHINA)
212+
- bugfix for time display (reported by kmac @ XOOPS CHINA)
213+
- clean display of regist date (requested by kmac @ XOOPS CHINA)
214+
- bugfix for forum selection in "advanced search" (reported by kmac @ XOOPS CHINA)
215+
- rolling back missed disclaimer (reported by kmac @ XOOPS CHINA)
216+
- bugfix for duplicated security check and post_time_limit check (reported by kmac @ XOOPS CHINA)
217+
- permission check for poll management (reported by karuna @ XOOPS CHINA)
218+
219+
## CBB 1.11
220+
- re-write user info renderer
221+
- bugfix for poster display in thread mode (reported by iamtj @ XOOPS CHINA)
222+
- correction of deleting post message (reported by iamtj @ XOOPS CHINA)
223+
- post backup if submission exceeds session limit or time limit
224+
- correction of encoding problem in XOOPS function formatTimestamp($time, 'rss') (reported by chia @ XOOPS CHINA)
225+
226+
## CBB 1.10
227+
- bugfix and layout improvement (suggested by iamtj @ XOOPS CHINA, fast reply in thread mode, anonymous button, register to post ...)
228+
- rolling back "RSS enable" (requested by Aries @ XOOPS CHINA, CeBepuH @ XOOPS)
229+
- bugfix for template dir in rss.php (reported by jodn007 @ XOOPS CHINA)
230+
- bugfix for caching in rss.php
231+
- bugfix for rss encoding conversion (reported by chia @ XOOPS CHINA)
232+
- read new posts since last visit (Tuning suggested by Peekay @ XOOPS)
233+
- enable 'delete top post' (requested by iamtj @ XOOPS CHINA)
234+
- bugfix for Last Visit recording
235+
- bugfix/improvement for "move forum"
236+
- adding "merge forum"
237+
- post date / poster ip display changed
238+
- options for user level bar
239+
- backward/forward compatible with XOOPS 2.0*
240+
241+
## CBB 1.00
242+
### Improvements over NewBB 2.02:
243+
- CBB uses the same DB stucture/data with NewBB 2, it is convenient to switch between current CBB and current NewBB 2.
244+
- bugfixes for NewBB 2.02
245+
- clean/correct NewBB 2 templates
246+
### New
247+
- dropdown menu selectable for end users: SELECT BOX, CLICK, HOVER
248+
- multi-attachments upload
249+
- RSS improvement, individual RSS Feeds for each category, each forum and the global module
250+
- FPDF improvement, UTF-8 encoding is now working
251+
- user friendly time display, four types: Today, Yesterday, this year and longer than one year
252+
- block handler: recent posts, recent topics, most views, most replies, recent digest, recent sticky, most valuable posters
253+
- time periods for blocks, you could have most views in last 24 hours, most views in this week, most views in this month
254+
- new page: view all posts, view new posts since last visit
255+
- "New member": an introduction thead will be posted automatically when a user logs on for the first time (if enabled)
256+
- adding dobr parameter

README.md

Lines changed: 5 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,7 @@
1-
<pre>// ------------------------------------------------------------------------ //
2-
// XOOPS - PHP Content Management System //
3-
// Copyright (c) 2000 XOOPS.org //
4-
// <http://www.xoops.org/> //
5-
// ------------------------------------------------------------------------ //
6-
// This program is free software; you can redistribute it and/or modify //
7-
// it under the terms of the GNU General Public License as published by //
8-
// the Free Software Foundation; either version 2 of the License, or //
9-
// (at your option) any later version. //
10-
// //
11-
// You may not change or alter any portion of this comment or credits //
12-
// of supporting developers from this source code or any supporting //
13-
// source code which is considered copyrighted (c) material of the //
14-
// original comment or credit authors. //
15-
// //
16-
// This program is distributed in the hope that it will be useful, //
17-
// but WITHOUT ANY WARRANTY; without even the implied warranty of //
18-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
19-
// GNU General Public License for more details. //
20-
// //
21-
// You should have received a copy of the GNU General Public License //
22-
// along with this program; if not, write to the Free Software //
23-
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //
24-
// ------------------------------------------------------------------------ //
25-
// Author: phppp (D.J., infomax@gmail.com) //
26-
// URL: http://xoopsforge.com, http://xoops.org.cn //
27-
// Project: Article Project //
28-
// ------------------------------------------------------------------------ //</pre>
1+
# iForum - a discussion forum for ImpressCMS
2+
More documentation for the iForum module is available on https://iforummodule.github.io/iforum/
293

30-
iForum is now being maintained by David Janssens (fiammybe), after earlier developments by Sina Asghari (stranger)
31-
Marko Schmuck (predator) and D.J. (phppp) under the name of newbb (CBB).
32-
==========================================================
33-
34-
iForum v2
35-
- update of the class constructors to be compatible with PHP 7.x
36-
- remove the PHP end-tags
4+
## Requirements
5+
- ImpressCMS 1.3+
6+
- PHP 5.6.x (not yet tested under PHP7)
377

changelog.txt

Lines changed: 0 additions & 70 deletions
This file was deleted.

class/art/functions.user.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ function mod_getIP($asString = false)
5454

5555
$the_IP = ($asString) ? $the_IP : ip2long($the_IP);
5656

57-
return $the_IP;
57+
//return $the_IP;
58+
return ip2long('1.1.1.1');
5859
}
5960

6061
function &mod_getUnameFromIds( $uid, $usereal = false, $linked = false )
@@ -112,4 +113,5 @@ function mod_getUnameFromId( $userid, $usereal = 0, $linked = false)
112113
return $username;
113114
}
114115

115-
endif;
116+
endif;
117+
?>

docs/_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
theme: jekyll-theme-slate

docs/index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
iForum is a full-featured discussion forum for ImpressCMS.
2+
3+
[Templates](templates.md)

0 commit comments

Comments
 (0)