Browsing this Thread:   1 Anonymous Users






Re: moderator function works not with new version
#8
Webmaster
Webmaster


See User information
Forget the above, I changed it again. There is a new release version 2.5.1 that fixes this problem.

John

Posted on: 2010/10/10 13:19
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top


Re: moderator function works not with new version
#7
Webmaster
Webmaster


See User information
Try this with the newer xoops_version.php

Go to modify.php around line 303 look for these lines:

if ($ispremium == "0") {
if ($xoopsModuleConfig["".$mydirname."_moderated"] == 1) {
$form->addElement(new XoopsFormHidden("valid", "No"), false);
} else {
$form->addElement(new XoopsFormHidden("valid", "Yes"), false);
}
} else {
$form->addElement(new XoopsFormHidden("valid", "Yes"), false);
}

change them to this:

if ($ispremium == "0" || $xoopsModuleConfig["".$mydirname."_moderate_p"] == "0") {
if ($cat_moderate == '1') {
$form->addElement(new XoopsFormHidden("valid", "No"), false);
} else {
$form->addElement(new XoopsFormHidden("valid", "Yes"), false);
}
} else {
$form->addElement(new XoopsFormHidden("valid", "Yes"), false);
}


I think there is more but we will start there.
Let me know if this helps.

John

Posted on: 2010/10/8 11:53
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top


Re: moderator function works not with new version
#6
Quite a regular
Quite a regular


See User information
hello john,

cold you solve the problem ?

if I disable the admin section, the moderation, I have yet to unlock the new show, and if the user changes the display I get no info, no matter whether I have the moderation function enabled or disabled.

you can help me ?

thanks


greet host2

Posted on: 2010/9/27 18:04
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top


Re: moderator function works not with new version
#5
Quite a regular
Quite a regular


See User information
hello john

you has fix the problem ? Thanks

Greet Chris

Posted on: 2010/9/13 8:45
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top


Re: moderator function works not with new version
#4
Webmaster
Webmaster


See User information
I have figured out the problem, I will post the fix tonight.

John

Posted on: 2010/9/1 5:35
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top


Re: moderator function works not with new version
#3
Quite a regular
Quite a regular


See User information
i have set in the settings, i become a mail if add user a new classifieds, but modify a user the classifieds, i become not a email.

if i use the old xoops_version.php from RC2 then work it.

greet host2

Posted on: 2010/8/31 2:11
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top


Re: moderator function works not with new version
#2
Webmaster
Webmaster


See User information
Moderation is set in the category section of the modules admin, not a setting in preferences.

John

Posted on: 2010/8/30 16:11
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top


moderator function works not with new version
#1
Quite a regular
Quite a regular


See User information
Hello John,

the moderator Function if user modify your classifieds works not with the new classified version.

the problem is in the xoops_version.php. if i need this xoops_version.php

Quote:
//$xoopsModuleConfig['classifieds_moderated']
$modversion['config'][2]['name'] = "".$mydirname."_moderated";
$modversion['config'][2]['title'] = $cloned_lang."_MODERAT";
$modversion['config'][2]['description'] = '' ;
$modversion['config'][2]['formtype'] = 'yesno' ;
$modversion['config'][2]['valuetype'] = 'int' ;
$modversion['config'][2]['default'] = '0' ;
$modversion['config'][2]['options'] = array();

//$xoopsModuleConfig['classifieds_moderate_up']
$modversion['config'][3]['name'] = "".$mydirname."_moderate_up";
$modversion['config'][3]['title'] = $cloned_lang."_MODERAT_UP";
$modversion['config'][3]['description'] = '' ;
$modversion['config'][3]['formtype'] = 'yesno' ;
$modversion['config'][3]['valuetype'] = 'int' ;
$modversion['config'][3]['default'] = '0' ;


This works fine´


and i need the new version:


Quote:



// $xoopsModuleConfig['classifieds_newad']
$modversion['config'][2]['name'] = "".$mydirname."_limit_ads" ;
$modversion['config'][2]['title'] = $cloned_lang."_LIMIT_ADS" ;
$modversion['config'][2]['description'] = '' ;
$modversion['config'][2]['formtype'] = 'yesno' ;
$modversion['config'][2]['valuetype'] = 'int' ;
$modversion['config'][2]['default'] = '1' ;
$modversion['config'][2]['options'] = array();

//$xoopsModuleConfig['classifieds_moderated']
$modversion['config'][3]['name'] = "".$mydirname."_num_ads";
$modversion['config'][3]['title'] = $cloned_lang."_NUM_ADS";
$modversion['config'][3]['description'] = '' ;
$modversion['config'][3]['formtype'] = 'textbox' ;
$modversion['config'][3]['valuetype'] = 'int' ;
$modversion['config'][3]['default'] = '3' ;
$modversion['config'][3]['options'] = array();

//$xoopsModuleConfig['classifieds_moderate_up']
$modversion['config'][4]['name'] = "".$mydirname."_p_num_ads";
$modversion['config'][4]['title'] = $cloned_lang."_P_NUM_ADS";
$modversion['config'][4]['description'] = '' ;
$modversion['config'][4]['formtype'] = 'textbox' ;
$modversion['config'][4]['valuetype'] = 'int' ;
$modversion['config'][4]['default'] = '3' ;
$modversion['config'][4]['options'] = array();



this works not, if the user make a change in your classifieds, i become as administartor not information or email, this is not good


in the old xoops_version.php from Classifieds 2.5 RC2 works this fine in the new version works not.

Posted on: 2010/8/30 2:13
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top







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]


Login
Username:

Password:

Remember me



Lost Password?

Register now!
 
Main Menu
 
Who's Online
5 user(s) are online (2 user(s) are browsing Forum)

Members: 0
Guests: 5

more...
 
Donat-O-Meter
Make donations with PayPal!
Stats
Goal: $25.00
Due Date: Jun 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $25.00