61
culex
Re: Problems with Xoops form objects and ajax
  • 2012/3/18 23:10

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


It should be no problem if XoopsFormTextDateSelect adds some javascript to the header.

All you need to do is to post the value from the form. If you then want to display the value inline etc. You simply use value 'select:selected'.

I forget a little about the xoopsFormTextDateSelect but I think this returns a single unixtimestamp.

Or maybe I misunderstood the question ?
Programming is like sex:
One mistake and you have to support it for the rest of your life.



62
culex
Re: XOOPS 2.5.x Translations
  • 2012/3/18 14:57

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


Programming is like sex:
One mistake and you have to support it for the rest of your life.



63
culex
Re: Problems with Xoops form objects and ajax
  • 2012/3/18 12:36

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


It depends on what your planning to do with the xoops forms.
If your applying xoops forms to a container using ajax, in my experience there are no problems.

Most times I have used forms with ajax I set up my own forms or extend the forms class so I am able to set up more attributes on the form.
Programming is like sex:
One mistake and you have to support it for the rest of your life.



64
culex
Re: Social Network module
  • 2012/2/9 20:29

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


No problems

I'd like to fix this problem but I cannot seem to replicate it.

can you send me a link so I can see it in action. You can send to culex@culex.dk
Programming is like sex:
One mistake and you have to support it for the rest of your life.



65
culex
Re: Social Network module
  • 2012/2/9 17:36

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


Check your mainfile.php

Your XOOPS_URL should point to your local installation without trailing '/'

Could be the submit is sent tohttp://www.yoursite.com//modules/smallworld/submit.php
Programming is like sex:
One mistake and you have to support it for the rest of your life.



66
culex
Re: Social Network module
  • 2012/2/8 22:17

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


Yeah that not linking anyware...

The script takes the link href and replaces only the last part /userinfo.php?uid=# and replaces with "/modules/smallworld/userprofile.php?username="+uname

like this
http://www.culex.dk/userinfo.php?uid=1

becomes
http://www.culex.dk/modules/smallworld/userprofile.php?username=culex

In smallworld settings try to set
"Convert username links to smallworld" -> "no"

And check to see what your link is then looking like... if it shows

http://localhost//userinfo.php?uid=??

Then you need to change your mainfile.php and adjust XOOPS_URL
Programming is like sex:
One mistake and you have to support it for the rest of your life.



67
culex
Re: Social Network module
  • 2012/2/8 15:41

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


Sounds strange...

I havent had any of these issues in my tests.

Looks like the $_post doesn't reach the target file somehow..

Try a refresh of the trunk. I did some changes and the changes back :-S

If you have protector installed maybe this is thinks submit is a threat somehow.

In protector settings
"Modules out of DoS/Crawler checker"

add |smallworld

If you like you can send me a link for the page and I could have a look
Programming is like sex:
One mistake and you have to support it for the rest of your life.



68
culex
Re: Social Network module
  • 2012/2/8 3:59

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


Do you have any errors ?

Also

wich version php, xoops ?
Programming is like sex:
One mistake and you have to support it for the rest of your life.



69
culex
Re: XIM admin whitepage
  • 2012/1/14 18:12

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


I have added some minor / but important bugfixes to trunk and release/1.02 in svn

Updated version here

BUG    :    Javascript function to keep chat windows in screenview as Revision6149 (culex)
Change:    Removed a little redundent commentsThey are still kept in trunk as revision 6159 (culex)
- NEW    :    
Ajax file called getmystats used by javascript function to make dropdowns show current statusSet when toogle config in footer and in block as Revision6158 (culex)
            * 
Cloned config css to be used by footer as Revision6157 (culex)
            * 
Added footer sending data to update configurations as Revision6156 (culex)
            * 
Changed classes and spans to reflect footer is being used and not block forms as Revision6155 (culex)
- NEW    :    
Added a function to retrieve status and sound ad refresh dropdownsFixed sending jSon from footer as Revision6153 (culex)
BUG:    :    Fixed admin jquery rename to original to not breaking
BUG        :    Fixed a non declared class in admin to prevent blank screen
BUG        :    Fixed a double declared function in chat.php to prevent blank screen
Programming is like sex:
One mistake and you have to support it for the rest of your life.



70
culex
Re: MyWords 2.0.99 & Common Utilities 2.1.40
  • 2012/1/7 18:39

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


Quote:

BitC3R0 wrote:
Well, I've implemented XLanguaje selector by changing language directly on cookie with jquery and next events:

$("a.lang-es").click(function(){
    $.
cookie("domain_lang",'spanish', {path'/'});
    
location.reload();
});
        
$(
"a.lang-en").click(function(){
    $.
cookie("domain_lang",'english', {path'/'});
    
location.reload();
});


This lines prevent to touch the module files, and only requires to implement in theme.


Thats pretty clever actually

NB. I have run a check again in my live web, uninstalled everything -> cleaned cache -> reinstalled xlanguage -> Rm theme / rxcommom / MyWords + also checked danish translation of both.... Might be here actually the error was :oS

there is big difference between
___ ()


And

___()


So looks like there errors was provoced by my translations
Programming is like sex:
One mistake and you have to support it for the rest of your life.




TopTop
« 1 ... 4 5 6 (7) 8 9 10 ... 49 »



Login

Who's Online

243 user(s) are online (146 user(s) are browsing Support Forums)


Members: 0


Guests: 243


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