1351
hervet
Can't rename a module in the admin when there's a quote in the name
  • 2004/2/5 19:17

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


Hi,

Go in the admin panel and try to rename a module from, for example :
Quote:

evennews

to
Quote:

Lettre d'information


Bye,
Hervé



1352
hervet
Re: Security problem
  • 2004/2/2 18:11

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


Hi,

One last thing, I suppose that you have already made it with your last beta version but I have completed the search.inc.php code. Before the line :
return $ret;

I have added, to finish the search "inside" attached files :
$nbfiles=count($articles_arr);
     for(
$j=0;$j<$nbfiles;$j++)
     {
       
$link="article.php?page=1&articleid=".$articles_arr[$j]."";
       if(!
in_array($link,$ret))
       {
           
$sql="select articleid, title, published, uid, categoryid from ".$xoopsDB->prefix("wfs_article")." WHERE articleid=".$articles_arr[$j];
           
$result $xoopsDB->query($sql,$limit,0);
           
$myrow $xoopsDB->fetchArray($result);
           if(
$myrow['published']>&& $myrow['published']<=time())
           {
               
$ret[$i]['image'] = "images/wf.gif";
                   
$ret[$i]['title'] = " ".$myrow['title'];
                   
$ret[$i]['link'] = "article.php?page=1&articleid=".$myrow['articleid']."";
                  
$ret[$i]['time'] = $myrow['published'];
               
$ret[$i]['uid'] = $myrow['uid'];
               
$i++;
           }
       }
     }


Bye,
Hervé




1353
hervet
Security problem
  • 2004/2/2 8:51

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


Hi,

With the last beta version of wf section (1.01) it's possible to see prohibited categories and articles.
For example, if I can't access to the category whose ID is 19, because of the rights defined in the admin panel, I can see the category AND the article when I directly type :
http://www.mysite.com/modules/wfsection/index.php?category=19

Bye,
Hervé



1354
hervet
Re: How to know when comments are enabled or disabled ?
  • 2004/2/1 19:53

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


Quote:

Mithrandir wrote:
Could make a third group (trustworthy) who cannot approve other people's work, but whose articles are always approved. That would be a nice thing, I think.

I vote for....

Tell me if I can help you and the XOOPS community.
As I told you, I can beta test the new version.

Bye,
Hervé



1355
hervet
Re: How to know when comments are enabled or disabled ?
  • 2004/2/1 19:23

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


ok, and what do you think about my idea of trustworthy people ? (we directly publish what they submit).



1356
hervet
Re: How to know when comments are enabled or disabled ?
  • 2004/2/1 18:11

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


Quote:

Mithrandir wrote:
I'm waiting for development in the waiting contests, because we may come up with a way to have a "plugin" function on the waiting contests instead of hard-coding them. I don't want to spend too much time and effort making a page with access to special people if there will be a standard way to do so.

Yes but will it be created ?

Quote:

I'm not with you on this one. If you are an "Approver" you will be presented with a form like the one you can get through the Administration Menu today. If you are only a "Submitter" you will get the standard form as the one today from the main menu.

It's not clear, the Approver is here to write articles or to approuve them ?




1357
hervet
Re: How to know when comments are enabled or disabled ?
  • 2004/2/1 15:05

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


Hi again,

Quote:

Mithrandir wrote:
What I have already done with the News Module:
a) Set up two people groups (not usergroups): Submitters and Approvers. If a user is member of a group, which has submit privilege, he'll have the "Submit News" link in the main menu.

VERY NICE !

Quote:

Non-submitters/approvers won't have that link.
Approvers will also have the "Submit News" link, but will have full access to all fields in the news form. That is, both textareas and the fields to approve and set publish/expiry dates.

So, "Approvers" will have to rewrite something... hummm...
not sure to use it.

Quote:

This also has the extra benefit that I operate with only one submit form - where the fields available depend on the submitter's privileges.

it was my idea too.

Quote:

b) Show news by topic instead of just the 5/10/25... latest news stories

I was going to ask you something about this.
But "take care", this module has an advantage, it is "simple", keep it like this.

Quote:

I am waiting with the moderation outside the Admin area, until I have some more issues resolved with the other module devs and core devs regarding the waiting contests

Imagine this :
You are working in a compagny, this compagny have a web site (internet or intranet or extranet). You are NOT a programmer, you just use computers for your job. One day, your boss assign you the task to publish some informations on this site. You know it (the site) because you read it often, but you ARE not a programmer and you don't know Xoops, you even don't care about it. You really don't need to know an other interface. You want to publish you articles with the usual UI.... That's my case, "my" users are like this.

Quote:

As soon as we find a cross-browser WYSIWYG editor, I'll want it to replace the textareas

And may be you could, as I have made in newbbex, include an option to remove the "non" profesionnal things, such as smilies and post icons.


Quote:

I think that you have some very good ideas regarding this and would love to cooperate with you

thanks a lot ! Me too. I even agree to test a beta version with my web sites.

Quote:

instead of having 2-3 different News modules doing more or less the same with a few differences.

That's also my opinion, I will LOVE to see people working on a same "project" (in this case a module) to work together.

Quote:

If you are interested, I'll talk to w4z004 about getting you on the team.

I have already submited my candidature (by email) last week to herko and catzwolf but I did not yet received an answer.

Bye,
Hervé



1358
hervet
Re: How to know when comments are enabled or disabled ?
  • 2004/2/1 14:10

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


First a "modification" :
If comments are disabled, I DON'T WANT TO SEE THIS F...G link "Comments" and some other minor changes.

Secondly, I would like, for this module and some others, a new "concept" : Trustworthy people

For this concept, there are 2 points

For my intranets, some people have been declared "Trustworthy people".

First point :
When they submit something, we don't need to moderate it, it's immediatly published, no, it MUST be immediatly published.

Second point :

In the case of the news module, the submit (submit.php) interface must contains the two textareas (introduction and main text) when the submiter is a "Trustworthy people".

I know that I can give the rights so that some groups of people can gain access to the admin area, but they don't want and don't need to learn an other web interface. From the usual interface they know, they must be able to submit and moderate informations. For "us", the admin interface is not a problem, not for some "basic" users.

Except from this "new" concept, and particulary for this module, I want (may be some of my needs already exists) :
1) A simple and quick upload area to be able to join pictures (yes I know wf section) to articles
2) A moderation block, no need to go to the administrative panel
3) Some modifications (i have already made) about the author name (what to see : surname, full name, nothing ?)
4) Syndication
5) Rights
6) May be the spaw module.
7) Import/Export
8) The "submit" link must be enabled for some groups only
9) Many other things

If I can help....

Bye,
Hervé





1359
hervet
Re: How to know when comments are enabled or disabled ?
  • 2004/2/1 13:31

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


Hi,

Quote:

Mithrandir wrote:
Comments are enabled/disabled on a per module basis.
Can I assume that you have added comments to your module?

Yes, I'm working on a revisited version of the news.

Quote:

From the News module with included files, I see
include_once XOOPS_ROOT_PATH.'/include/comment_constants.php';
if (
XOOPS_COMMENT_APPROVENONE != $xoopsModuleConfig['com_rule']) {

Which as I read it, should say, whether comments are enabled/disabled for that module.

It runs perfectly.
Thanks a lot for this !

Bye,
Hervé



1360
hervet
How to know when comments are enabled or disabled ?
  • 2004/2/1 13:19

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


Hi,

Inside my module I need to know if comments are enabled or disabled. Is there a way to do it ?

Thanks in advance

Bye,
Hervé




TopTop
« 1 ... 133 134 135 (136) 137 138 139 »



Login

Who's Online

142 user(s) are online (102 user(s) are browsing Support Forums)


Members: 0


Guests: 142


more...

Donat-O-Meter

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

Latest GitHub Commits