Fork me on GitHub

Search

Donat-O-Meter

Make donations with PayPal!
Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00

Learn XOOPS Core

Local Support

Advertisement

XOOPS Code hosted on SourceForge

Cumulus Tag Cloud

- 2 2.5 2.6 3.0 4 6 2013 Abuse adslight Android AntiHarvesting AntiMalUser AntiSpam API Apple Battlefield billige Bootstrap Captcha cell cent chronolabs CHUNG Clicks content CĂN demo docek download Dresses evden eve facebook Fat floor Food for free Gateway Google Guide herre Honeypot HP Human HỘ IP iPhone jQuery Language Legal List log Loss mobile module modules Monster new newbb news NHÀ online PARK phone PHP Prevention profile project Protector publisher Rapid RESIDENCE responsive review Rights rmcommon security Sentry site Smartphone Smoking Solution Spam Studio tags tdmcreate template The Theme themes userlog web weight Wishcraft xoops Xortify

New Users

Registering user

# 137852

cricket21

Welcome to XOOPS!




Bottom   Previous Topic   Next Topic  |  Register To Post

« 1 ... 24 25 26 (27) 28 »


#261 Posted on: 2012/10/11 1:59 Re: Newbb 4.3
Huum,
let me explain the XOOPS search system.
XOOPS Core has not any search function itself and just use modules search function.
in each module we have some configs for search in xoops_version.php
for example in newbb/xoops_version.php we have:
// Search
$modversion['hasSearch'] = 1;
$modversion['search']['file'] = "include/search.inc.php";
$modversion['search']['func'] = "newbb_search";

XOOPS Core search in ROOT/search.php just use the search functions in modules.
This is really good and sophisticated method because:
1- contents are in modules and module developers should decide about accessing to them.
2- by upgrading a module and add some new fields with some content XOOPS Core will not break and still can work.

But there is one major and one minor functional issue in XOOPS/search.php:

Major issue:
while using module search function is good and definitely is the best and only solution for whole website searching, It is an issue that XOOPS CORE only can use some limited functionality of modules search function.
eg: in newbb i completely rewrite the "newbb_search" (search function) in "include/search.inc.php" (search file) but XOOPS CORE still use some few general input parameters

Minor issue:
It get two queries instead of one query 1- to get search results 2- to find if there is a "next page" or not

To solve both Major and Minor issue:
IMO while using the limiting features of module search function is good and definitely is the best and only solution for whole website searching when we search in all modules ( tick all modules in XOOPS/search.php), it is bad coding (I even consider it as a bug) to still use those way when you click on "Show all results" link for each module.

The solution:
IMO when you click on "Show all results" link it should use the ROOT/modules/MODULE/search.php and not ROOT/search.php

and implementing the above solution to ROOT/search.php is very very easy.
then in the first search step when you search all modules in ROOT/search.php you just have limited functionality but after click on "Show all results" you have the full search functionality that module developer offered to you.

I really like to have community opinions on this. maybe we should follow in a new thread?

Also i need your opinions about 2 other issues in newbb:

1- i consider that text field for "post text" is not enough sometimes.
I see major forum systems like Vbulletin use LONGTEXT instead of TEXT for post texts.
should i follow and change that field?

2- i consider sometimes our websites will run out of memory because the memory is limited for shared hosting ( eg: 128M )
see this topic: http://xoops.org/modules/newbb/viewtopic.php?post_id=349472

specifically i consider we have this issue when we use some queries like COUNT on the whole table.
eg: in newbb viewpost.php?status=all my website get a 500 error because there are over 200,000 posts

what is the solution?




Top

Edited by irmtfan on 2012/10/11 2:17:19
irmtfan
Joined:
2003/12/7 14:14
From In the middle of nowhere
Group:
Registered Users
Community Coordinator (temporary)
Posts: 3371
(Show More) (Show Less)


#262 Posted on: 2012/10/11 3:49 Re: Newbb 4.3
Quote:

i found a new bug today.
new posts are wrongly shown from the user last visit that stores in cookie:
http://xoops.org/modules/newbb/viewpost.php?status=new

but it should be shown from the read items stored in database.
I will update with fix soon. i hope tomorrow.

Ok i corrected the above bug too and update the SVN
finding the functional bugs is hard and finding the solution for them is really hard task.


Top

irmtfan
Joined:
2003/12/7 14:14
From In the middle of nowhere
Group:
Registered Users
Community Coordinator (temporary)
Posts: 3371
(Show More) (Show Less)


#263 Posted on: 2012/10/20 7:27 Re: Newbb 4.3
Finally today i did the last changes in php files to make newbb ready to accept a functional template html files.
The first newbb full div template set name is "opacity" and is added to SVN.
Now newbb templates are fully functional and the way is open for designers to do everything they want and release new templates just by changing js and css files.

the templates structure is like below:
html files:
templates/*.html and templates/blocks/*.html

ONE CSS file style.css:
templates/css/language/YOUR_LANG/style.css

js files:
templates/css/language/YOUR_LANG/*.js

images:
templates/images

The overall priority for parsing template set is:
Priority for path per types:
 *     
NEWBB_ROOT     -    IF EXISTS XOOPS_THEME/modules/newbbTAKE IT
 *                    ELSEIF 
EXISTS  XOOPS_THEME_DEFAULT/modules/newbbTAKE IT
 *                    ELSE 
TAKE  XOOPS_ROOT/modules/newbb/templates.


the priority for language path is:

for CSS:
IF EXIST ../css/language/YOUR_LANGTAKE IT
ELSE TAKE ../css/language/english


for js:
IF EXIST ../js/language/YOUR_LANGTAKE IT
ELSE TAKE ../js/language/english


for images:
IF EXIST ../images/language/YOUR_LANG TAKE IT
ELSE TAKE ../images/language/english


As you may know There were many bugs ( I solved more than 100 bugs in the last 2 months) in newbb remained unsolved from newbb2 and cbb3 for almost 8 years.
They have been solved now in the latest irmtfan branch.
some of the major bugs that make newbb completely useless in the last versions were:
- read/unread feature
- delete/restore AND pending/approve topics/posts feature
- synchronization feature

Also some bugs that make some mal functioning in newbb were:

- since feature
- search feature
- select forum box
- list.topic.php page
- notification system
- toggles

Also many hardcodes has been removed, many queries has been reduced and some new functionality has been added.

See demo here:
http://www.jadoogaran.org/modules/new ... dex.php?easiestml_lang=en

I also add a hack in XOOPSCORE255/search.php and enhance it to redirect to MODULE/search.php file
see request feature in sf.net for more infromation
https://sourceforge.net/p/xoops/feature-requests/404/

I make a download link too because the current SVN is not easy for new users:
http://www.jadoogaran.org/test255/mod ... 09_irmtfan_2012_10_20.zip

IMO we need more tests in these areas:

- read/unread feature when the read_mode = 1 (cookie) if anybody use cookie option please report any bug.

- session system (still i think there is a bug when user submit a post)

- mysql count functions when the number of items are huge cause 500 Error. is there anybody encounter 500 Errors in newbb?
see this topic for more information:
http://xoops.org/modules/newbb/viewtopic.php?post_id=349736*/

Top

irmtfan
Joined:
2003/12/7 14:14
From In the middle of nowhere
Group:
Registered Users
Community Coordinator (temporary)
Posts: 3371
(Show More) (Show Less)


#264 Posted on: 2012/10/27 0:55 Re: Newbb 4.3
Now im working on this bug and will update the svn soon.
Quote:

read/unread feature when the read_mode = 1 (cookie)


There is another bad and obvious and very old bug in newbb that need a little discussion.
Bug:
Number of topic views is increased every time a user ( anonymous or member instead of topic owner ) click on that topic.

The above is very bad because when a visitor ( a new user ) see a large number of views he wrongly think there were many different people click on that topic but dont send any reply.
for example see this topic in xoops.org home page:
Xoops .gzip compression
number of view are about 100 but IMO only less than 10 people click on that topic and other clicks are repeated views by those 10 people.

Also the above issue will increase the number of queries in newbb to increment the "topic view" field in db every time anybody click on that topic.
The above can be solved by using/enhancing read/unread feature in newbb.

but first we should answer the following question.
- when we should increment the "topic views" in db?
1st answer: only for people never click on topic before.
2nd answer: only for people never click on topic before OR dont read one/some new posts in that topic.

implementing the 1st scenario is very easy in newbb.
but for the 2nd scenario we have problem when the read_mode = 1 ( no issue for read_mode = 2 )
for read_mode = 1 we should add one field in bb_topics table to record the last post time in that topic.

your opinions are highly welcomed.


Top

irmtfan
Joined:
2003/12/7 14:14
From In the middle of nowhere
Group:
Registered Users
Community Coordinator (temporary)
Posts: 3371
(Show More) (Show Less)


#265 Posted on: 2012/12/21 0:43 Re: Newbb 4.3
Just found a simple bug. If you quote a post and click preview button the quoted text will mess up the page.

Top

hipoonios
Joined:
2005/9/23 19:01
From Sweden
Group:
Registered Users
Posts: 276
(Show More) (Show Less)


#266 Posted on: 2012/12/21 22:56 Re: Newbb 4.3
do you use the latest versions from newbb svn
both alfred and irmtfan should not have this issue.
maybe an issue in your theme.
you need to provide a screen shot + source codes of the corrupted page.

nobody report a new bug in more than one month in this forum, my forum and persian local forum so IMO newbb 4.3 is quite stable version now.


Top

irmtfan
Joined:
2003/12/7 14:14
From In the middle of nowhere
Group:
Registered Users
Community Coordinator (temporary)
Posts: 3371
(Show More) (Show Less)


#267 Posted on: 2013/1/30 22:15 Re: Newbb 4.3
based on some requests in my websutes i need to enhance the newbb block system.
I need to have a block for "topics has a poll" but i consider that the current block only can show topics with new posts.
It is very limited.
I worked on it and i want to make it fully functional that can accept any criteria.
I mean it can show all kind of topics
eg: sticky, digest, lock, poll AND all UN_
voted, viewed, replied and all UN_
even can show readed and unreaded topics (based on each user.)

also blocks based on author topics, based on types.

sorted by any field and ordered DESC and ASC.

with post title excerpt.

Also i will add the "post text excerpt" to show in block. so users can see the post text of the latest post in topic with mouse over.

you can select each field to display in the block

in one sentence: It will use the topic renderer class used in list.topic.php page with all features you can see there.

please if you want any additional feature let me know.


Top

irmtfan
Joined:
2003/12/7 14:14
From In the middle of nowhere
Group:
Registered Users
Community Coordinator (temporary)
Posts: 3371
(Show More) (Show Less)


#268 Posted on: 2013/3/25 10:03 Re: Newbb 4.3
Where can we download this latest version of Irmtfan ?

http://sourceforge.net/p/xoops/svn/11 ... b/branches/irmtfan/newbb/

I cant download anything ?
Is there a direct download link for this ?

Top

Yurdal
Joined:
2005/3/27 13:59
Group:
Registered Users
Posts: 262
(Show More) (Show Less)


#269 Posted on: 2013/3/25 10:50 Re: Newbb 4.3
You can use TortoiseSVN to check it out, or you can use this little program to download it.

Top


Please support XOOPS & DONATE
Use 2.5.7 | Debugging | Requests | Bugs
Mamba
Joined:
2004/4/23 13:58
From Ohio, USA
Group:
Webmaster
Registered Users
Designer Group
Posts: 8092
(Show More) (Show Less)


#270 Posted on: 5/5 17:12 Re: Newbb 4.3
I am using Newbb Version : 4.3 RC4 and love it.

The thing is after all these years I think I need to sync but the sync section has the following options. which i don't understand; please advise!

Forum Data - Items for each loop:
Topic Data - Items for each loop:
Post Data - Items for each loop:
User Data - Items for each loop:
Read Data
Stats Info
MISC



Top

Falcon22
Joined:
2003/12/25 23:29
Group:
Registered Users
Posts: 55
(Show More) (Show Less)




« 1 ... 24 25 26 (27) 28 »



You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create pdf.
You cannot get print page.

[Advanced Search]