xoops forums

easyb9

Just popping in
Posted on: 2012/2/8 17:03
easyb9
easyb9 (Show more)
Just popping in
Posts: 41
Since: 2011/8/10
#11

Re: Social Network module

its working, using xoops 2.5.4 on wamp.all save into database.
the bad when people click username on another module like news.
it show

Not Found

The requested URL /modules/smallworld/userprofile.php was not found on this server.
link show http://localhost//modules/smallworld/userprofile.php

miss something /xoops/

culex

Module Developer
Posted on: 2012/2/8 22:17
culex
culex (Show more)
Module Developer
Posts: 705
Since: 2004/9/23
#12

Re: Social Network module

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/smallworl ... rofile.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.

easyb9

Just popping in
Posted on: 2012/2/9 6:45
easyb9
easyb9 (Show more)
Just popping in
Posts: 41
Since: 2011/8/10
#13

Re: Social Network module

Thank you ..
will try the latest version on production site..
maybe for limited users first.

pmarket

Just popping in
Posted on: 2012/2/9 16:03
pmarket
pmarket (Show more)
Just popping in
Posts: 62
Since: 2008/8/15
#14

Re: Social Network module

PHP required: 5.2 (my version is 5.2.17)
MYSQL required: 5.0.7 (my version is 5.0.92-community)
XOOPS required: 2.5 (my version is 2.5.4)
ModuleAdmin required: 1.1 (my version is 1.1)


I added small world to protector DOS/CRAWL


downloaded latest version of small world still will not save updated profile keeps looping

culex

Module Developer
Posted on: 2012/2/9 17:36
culex
culex (Show more)
Module Developer
Posts: 705
Since: 2004/9/23
#15

Re: Social Network module

Check your mainfile.php

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

Could be the submit is sent to http://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.

baldur1983

Just popping in
Posted on: 2012/2/9 18:40
baldur1983
baldur1983 (Show more)
Just popping in
Posts: 14
Since: 2006/1/15
#16

Re: Social Network module

The same of pmarket, I access to smallworld module and admin configuration, but donĀ“t save admin and other user profiles.

I have a vps server on hostgator, I tested it on several domains. My root configuration server:

Linux Centos - kernel 2.6.18-028stab092.1
Apache 2.2.20
MySQL 5.1.56
PHP 5.2.17
XOOPS 2.54
ModuleAdmin 1.1
Added smallworld to protector DOS/CRAWL
Convert username links to smallworld" -> "no"
Checked mainfile.php without "/" on XOOPS_URL

Many thanks for your help, and excuse me to rewrite the problem.

culex

Module Developer
Posted on: 2012/2/9 20:29
culex
culex (Show more)
Module Developer
Posts: 705
Since: 2004/9/23
#17

Re: Social Network module

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.

Dante7237

Friend of XOOPS
Posted on: 2012/2/10 19:47
Dante7237
Dante7237 (Show more)
Friend of XOOPS
Posts: 288
Since: 2008/5/28
#18

Re: Social Network module

@Culex: Check your mail. I just sent access info and a link.

Thanks for your work on this.
The more I know, the more I know that I really didn't wanna know.

Dante7237

Friend of XOOPS
Posted on: 2012/2/10 19:53
Dante7237
Dante7237 (Show more)
Friend of XOOPS
Posts: 288
Since: 2008/5/28
#19

Re: Social Network module

Also getting this error in my logs when accessing the module:
File does not exist: /home/xxxxxxxx/public_html/reguser/modules/smallworld/css/images, referrer etc etc....

The more I know, the more I know that I really didn't wanna know.

culex

Module Developer
Posted on: 2012/4/30 0:06
culex
culex (Show more)
Module Developer
Posts: 705
Since: 2004/9/23
#20

Re: Social Network module

I have added some bugfixes, changes and even new features to smallworld trunk.

See docs/language_diff.txt for changes in language files

Changelog is:

------------------------------
Changelog v.1.11 RC 5
------------------------------
29 April 2012
- Bugfix: Changed maxWidth in Oembeds
- Bugfix: Removed unessasary jquery endings in Js files
- Bugfix: Cut down on core added scripts, replaced insted on page specific includes
- Bugfix: Corrected action on no-user acces to redirect to login page
- Bugfix: Updated jquery.oembed.js to new version
- Bugfix: Avatars with uppercase/lowercase extension giving error. Now checking both.
- Bugfix: Prefixed oembed.css and added new styles
- Bugfix: Added missing js includes.
- NEW : Shorten text function to use in recent messages
- NEW : Decode mixed char text. Russian+Danish+English charsets now renders correctly in updates
- NEW : Added user recent activities to user profiles
- NEW : Added search functionallity
- Change: Corrected and added language defines (see lang_diff.txt)

Download here

Demo here. You have to sign up though
Programming is like sex:
One mistake and you have to support it for the rest of your life.