_
_ Handy PHP
_
_
Tutorials, Scripts, Information And Other Resources arrow Forum
Friday, 29 August 2008
_

Refer A Friend using Revolution Money Exchange
Resource Menu
Handy PHP Store
Free Domain Name
PHP Functions
PHP Downloads
PHP Newsfeeds
PHP Tutorials
Webmaster Tools
User Login
TalkPHP
Get friendly help with your PHP problems for free.
www.talkphp.com
The PHP Resource Index
Handy PHP
Free PHP Help!

FireBoard
Welcome, Guest
Please Login or Register.    Lost Password?
JoomlaBoard SearchBot 1.0.1 Released (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: JoomlaBoard SearchBot 1.0.1 Released
#35
vujsa (Admin)
Admin
Posts: 138
graph
User Online Now Click here to see the profile of this user
JoomlaBoard SearchBot 1.0.1 Released 1 Year, 9 Months ago Karma: 4  
The new release is just a bug fix! Everything else about the Mambot is the same.
During the developement of the Mambot, a copy and paste was not fully edited and as a result, the image tag was not being filtered out when the BBC code was set to remove!

This topic will act as the support topic for the Mambot.

Enjoy,

vujsa

Post edited by: vujsa, at: 2006/11/12 23:47<br><br>Post edited by: vujsa, at: 2006/11/14 18:59
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#48
Basti007 (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:JoomlaBoard SearchBot 1.0.1 Released 1 Year, 9 Months ago Karma: 0  
Hi.

I think my last bug report wasn't express clear enough.


* Your version of Joomla!
Joomla! 1.0.11 Stable [

[i] * All Componenets installed including their version number.[/i]
relevant components / versions
Joomlaboard Forum 1.1.3 Stable
Community Builder 1.0.1
Search JoomlaBoard 1.0.1

[i] * Specific problems that you may be having with one of the components from Handy PHP.[/i]
The search bot doesn&#039;t take access level from users into consideration at the search result. That means, if I search without login I can find search results from public forum categories. That&#039;s fine and okay!
But if I search with page-login I can also find only search results from the public part of the forum.
I would expect search results from the protected part of the forum, if the user who used the search bot has corresponding access level.

[i] * Be sure that you specify what what you were doing when you noticed the problem.[/i]
For example user1 has level &amp;quot;Publisher&amp;quot; and category A has access level &amp;quot;Everybody&amp;quot;,
category B has &amp;quot;Author&amp;quot; and higher. If user1 is log on and use the search field, he will get only search results from category A while category B included hits for this search request.

I hope that the problem becomes more explicitly.
Regards, Bastian

p.s. your searchbot version 1.0.1 contains a reference to version 1.0.0 at the XML-file&lt;br&gt;&lt;br&gt;Post edited by: Basti0
Joomla! 1.0.11 Stable [

* All Componenets installed including their version number.
relevant components / versions
Joomlaboard Forum 1.1.3 Stable
Community Builder 1.0.1
Search JoomlaBoard 1.0.1

* Specific problems that you may be having with one of the components from Handy PHP.
The search bot doesn't take access level from users into consideration at the search result. That means, if I search without login I can find search results from public forum categories. That's fine and okay!
But if I search with page-login I can also find only search results from the public part of the forum.
I would expect search results from the protected part of the forum, if the user who used the search bot has corresponding access level.

* Be sure that you specify what what you were doing when you noticed the problem.
For example user1 has level &quot;Publisher&quot; and category A has access level &quot;Everybody&quot;,
category B has &quot;Author&quot; and higher. If user1 is log on and use the search field, he will get only search results from category A while category B included hits for this search request.

I hope that the problem becomes more explicitly.
Regards, Bastian

p.s. your searchbot version 1.0.1 contains a reference to version 1.0.0 at the XML-file<br><br>Post edited by: Basti007, at: 2006/11/13 13:49
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#54
vujsa (Admin)
Admin
Posts: 138
graph
User Online Now Click here to see the profile of this user
Re:JoomlaBoard SearchBot 1.0.1 Released 1 Year, 9 Months ago Karma: 4  
OK, I did some digging into the problem and found that this bug is a complete mystery to my! I have no idea why the Mambot is behaving in this manner. I set a test user to Author and as you have found, the messages in forums restricted to this user group and higher didn't show in the results!

From a coding point of view, this shouldn't happen. The user types are set as a number and the access levels are also set a numbers. The higher the number, the higher the access level required to view the item. The script simply checks to see if the user's access level is as high or higher than the forums access level. In this case, Author is &quot;19&quot;. If your user is an Author, their access level is set to &quot;19&quot;! As long as that number is as high or higher than the level set for the forum that the message is in, the result should show.

This is the same method that Joomla! uses to determin whether or not a user may view a content item. In fact, I used the same code for this! I guess, I'll have to abandon the default authentication method and write my own.. The problem with this is that the default authentication is very efficient and my method will not be!

Basically, instead of limiting the results from the database based on user type, I'll have to return all of the results and then filter out the one that the user cannot see! The problem with this is that if there are a lot of results, it could really slow the system down.

I'll work on that as time permits.

vujsa
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#66
vujsa (Admin)
Admin
Posts: 138
graph
User Online Now Click here to see the profile of this user
Re:JoomlaBoard SearchBot 1.0.1 Released 1 Year, 9 Months ago Karma: 4  
JoomlaBoard SearchBot 1.0.2 Released!

Basti007, I was able to track down the problem and as a result I have released a new version that should be pretty stable now.

Thank you for your patience and input as I developed this extension.
The new release has been fully updated and the XML file matches the PHP file. Not that it really matters much since the important stuff in the XML file didn't change since 1.0.0!

I hope this will satisfy your JoomlaBoard Search needs.

vujsa
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#70
Basti007 (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:JoomlaBoard SearchBot 1.0.1 Released 1 Year, 9 Months ago Karma: 0  
Hi vujsa,

I'm sorry, but the problem described above is already existed.
I've deinstalled the old version 1.0.1 at the backend + deleted the two files via ftp and installed the version 1.0.2 but the behavior is unchanged.

Regards, Bastian
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#71
vujsa (Admin)
Admin
Posts: 138
graph
User Online Now Click here to see the profile of this user
Re:JoomlaBoard SearchBot 1.0.1 Released 1 Year, 9 Months ago Karma: 4  
Basti007,
I have no idea what is going on with your problem.
As best I can tell, you shouldn't have any usertype issues with the searchbot now. In the database query on the 1.0.1 and below, there wasn't a request for the access level of the topics category but I fixed that and all of my &quot;Authorized&quot; results began to appear. It took me a bit to find the problem becasue the forum categories I had set about &quot;Registered User&quot; were empty so there were no results to return.

I no longer have these problems.
If I set my testuser to author, all author and below posts are shown. If I set to editor, all editor and below posts are shown.

I do have to log out and back in after I change the usertype for my testuser to get it to work correctly.

At this point in time, my only suggestion for you is to turn on your debug site option in your Joomla configuration file. Perform a search and copy the database queries performed at the bottom of the page as well as any eror messages that you might get.

You can then send that information to me via my USer Profile.
Also, information about your PHP version, MySQL version, and server version could shed some light on the problem.

vujsa
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

_
 
_
_
© 2008 Handy PHP