41
javier
Re: userinfo.php only for registered users?
  • 2005/11/28 16:06

  • javier

  • Not too shy to talk

  • Posts: 184

  • Since: 2002/8/6 1


Thanks Stui200 and Bluenova
Have a nice day.



42
javier
Start a New site, XOOPS 2.2.3. or XOOPS 2.0.13.2?
  • 2005/11/28 9:38

  • javier

  • Not too shy to talk

  • Posts: 184

  • Since: 2002/8/6 1


Hi,
Currently i have my sites with 2.0.13.2, but in the next days i will start make a new site,
2.0.13.2 works like a dream for me, but im very curious about XOOPS 2.2.3, and over all the things i want avoid a future hard/dificulty upgrade from 2.0.xx.x to 2.2.x.

Currenlty i like 2.0.13.2 alot, i feel very confortable with it, but im scare about a future dificult upgrade to 2.2.0 if 2.0.xx.x if someday the development team stop the 2.0.xx.x updates.

Im a little confuse about all this, what i should do?

Excuse my english and thanks in advance for the replies.
Best Regards.



43
javier
userinfo.php only for registered users?
  • 2005/11/28 8:47

  • javier

  • Not too shy to talk

  • Posts: 184

  • Since: 2002/8/6 1


Hi,

Exist any way to keep the users profiles (userinfo.php) avaivable only for registered users?

Because alot fo my registered users are victim of not registered people in the msn (the site have the new users registration close)

thanks in advance.
Best regards.



44
javier
Re: Problem with xoops Protector! never happened me before.
  • 2005/8/27 22:43

  • javier

  • Not too shy to talk

  • Posts: 184

  • Since: 2002/8/6 1


Quote:

Peekay wrote:
Maybe hacked, but maybe the DB server crashed? As m0nty says you need to talk to your host.

In either case they should be able to restore your DB from their backups (this is where you find out if they actually have daily backups).




The hosting company is investigating about this,
they say me the database was not only empty, the data was deleted from the server too!
Anyways they have a 7 days old backup.

I sincerely hope was a server error and not a hacker, i hope.

grettings and thanks guys for yourd words in t his hard moment.

Javier



45
javier
Re: Problem with xoops Protector! never happened me before.
  • 2005/8/27 21:12

  • javier

  • Not too shy to talk

  • Posts: 184

  • Since: 2002/8/6 1


Guys i entered in my Db with phpmyadmin and is totally EMPTY!!!

Somebody hacked my site i assume!



46
javier
Problem with xoops Protector! never happened me before.
  • 2005/8/27 20:31

  • javier

  • Not too shy to talk

  • Posts: 184

  • Since: 2002/8/6 1


Hi people,
I have protector running in my site since 1 year ago and never had problem before, but today i go to my site and i see:

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /www/site/public_html/modules/protector/class/protector.php on line 45

The people can´t enter in the site, always these msg , im really desesperate with this,

Plz anybody has a suggestion??

thanks in advance.
Javier



47
javier
How to add html support to catads module?
  • 2005/8/26 17:06

  • javier

  • Not too shy to talk

  • Posts: 184

  • Since: 2002/8/6 1


Hi i saw myAds have html support in the anounces descriptions, i want make the same for catads since this module not support html.
I take a look to the files of both modules but i not found where the html support code is.

Maybe you can tell me why i want modify catads and not use myAds directly, the thing is i have both modules installed in my site and we use every one for diferent things.

Thanks in advance for any help.
best regards
Javier



48
javier
Re: Decent Gallery Modules
  • 2005/8/19 16:23

  • javier

  • Not too shy to talk

  • Posts: 184

  • Since: 2002/8/6 1


Also, i forget to say:
if you will install xcgal in 2.2 you will need to take a look to this topic:

https://xoops.org/modules/newbb/viewtopic.php?topic_id=39343&forum=28&post_id=173209#forumpost173209

and download this file:

http://www.myxoops.org/modules/newbb/dl_attachment.php?attachid=1123067333&post_id=23308
to fix problems with 2.2 and xcgal.

grettings
Javier



49
javier
Re: Decent Gallery Modules
  • 2005/8/19 15:50

  • javier

  • Not too shy to talk

  • Posts: 184

  • Since: 2002/8/6 1


Try xcgallery module (also know as xcgal) is the coppermine gallery conversion to xoops,
its the best one in my opinion.

grettings
Javier



50
javier
Making a search for one module only, need code help inside (yes, i already read the faq)
  • 2005/8/11 0:23

  • javier

  • Not too shy to talk

  • Posts: 184

  • Since: 2002/8/6 1


Hi,
i trying to make a search option only for one module,

I made the first steps after read this faq
https://xoops.org/modules/smartfaq/faq.php?faqid=367
That solve one part of the problem,

But what happen with the results page?
In the results page , in the foot XOOPS show the search form allowing to the user to make a new search in ALL the modules,

How do I modify that to show only one module as option to the new search? (the same module where i made the search before)
I make the first step, a clone search.php file and rename as search2.php, now i suppose i need a searchform.php clone too.
both files will work only with one module.



This is the original searchform.php code

include_once XOOPS_ROOT_PATH."/class/xoopsformloader.php";

// create form
$search_form = new XoopsThemeForm(_SR_SEARCH"search""search.php"'get');

// create form elements
$search_form->addElement(new XoopsFormText(_SR_KEYWORDS"query"30255htmlspecialchars(stripslashes(implode(" "$queries)), ENT_QUOTES)), true);
$type_select = new XoopsFormSelect(_SR_TYPE"andor"$andor);
$type_select->addOptionArray(array("AND"=>_SR_ALL"OR"=>_SR_ANY"exact"=>_SR_EXACT));
$search_form->addElement($type_select);
if (!empty(
$mids)) {
    
$mods_checkbox = new XoopsFormCheckBox(_SR_SEARCHIN"mids[]"$mids);
} else {
    
$mods_checkbox = new XoopsFormCheckBox(_SR_SEARCHIN"mids[]"$mid);
}
if (empty(
$modules)) {
    
$criteria = new CriteriaCompo();
    
$criteria->add(new Criteria('hassearch'1));
    
$criteria->add(new Criteria('isactive'1));
    if (!empty(
$available_modules)) {
        
$criteria->add(new Criteria('mid'"(".implode(','$available_modules).")"'IN'));
    }
    
$module_handler =& xoops_gethandler('module');
    
$mods_checkbox->addOptionArray($module_handler->getList($criteria));
}
else {
    foreach (
$modules as $mid => $module) {
        
$module_array[$mid] = $module->getVar('name');
    }
    
$mods_checkbox->addOptionArray($module_array);
}
$search_form->addElement($mods_checkbox);
if (
$xoopsConfigSearch['keyword_min'] > 0) {
    
$search_form->addElement(new XoopsFormLabel(_SR_SEARCHRULEsprintf(_SR_KEYIGNORE$xoopsConfigSearch['keyword_min'])));
}
$search_form->addElement(new XoopsFormHidden("action""results"));
$search_form->addElement(new XoopsFormHiddenToken('id'));
$search_form->addElement(new XoopsFormButton("""submit"_SR_SEARCH"submit"));
?>


Im not a programmer, but i can see is something related with $mids ,$available_modules ,etc

I suppose i have to replace in any way $available_modules with my mids module number 14 (the module id) them the script will take only these module and not all the modules.

Somebody can give me a hand here?


Thanks in advance!
Best Regards
Javier




TopTop
« 1 2 3 4 (5) 6 7 8 ... 17 »



Login

Who's Online

223 user(s) are online (138 user(s) are browsing Support Forums)


Members: 0


Guests: 223


more...

Donat-O-Meter

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

Latest GitHub Commits