11
easyb9
Re: Social Network module
  • 2012/2/8 17:03

  • easyb9

  • Just popping in

  • Posts: 41

  • Since: 2011/8/10


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/

12
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.

13
easyb9
Re: Social Network module
  • 2012/2/9 6:45

  • easyb9

  • Just popping in

  • Posts: 41

  • Since: 2011/8/10


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

14
pmarket
Re: Social Network module
  • 2012/2/9 16:03

  • pmarket

  • Just popping in

  • Posts: 62

  • Since: 2008/8/15


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

15
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 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.

16
baldur1983
Re: Social Network module
  • 2012/2/9 18:40

  • baldur1983

  • Just popping in

  • Posts: 14

  • Since: 2006/1/15


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.


17
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.

18
Dante7237
Re: Social Network module
  • 2012/2/10 19:47

  • Dante7237

  • Friend of XOOPS

  • Posts: 294

  • Since: 2008/5/28


@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.

19
Dante7237
Re: Social Network module
  • 2012/2/10 19:53

  • Dante7237

  • Friend of XOOPS

  • Posts: 294

  • Since: 2008/5/28


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.

20
culex
Re: Social Network module
  • 2012/4/30 0:06

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


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.

Login

Who's Online

178 user(s) are online (154 user(s) are browsing Support Forums)


Members: 0


Guests: 178


more...

Donat-O-Meter

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

Latest GitHub Commits