31
belia
Re: XOOPS Social Profile Module
  • 2010/1/4 9:31

  • belia

  • Just popping in

  • Posts: 83

  • Since: 2007/12/18


Hi.....

good job but this module not yet ready to be use in live site...

i made a test this in localhost...xoops 2.43..fresh install

many error...

a. send email is not working...the function is not allowed..even when i have selected yes in preferences

b. when i add a friend...it says do you want to send friend request to 'myusername' ...

suppose to be the name of user who i want to be friends with
not my own user name...

c. my avatar and my name is in my own account latest friend block ...strange

d. i have my name and avatar listed in the latest friend block in ALL other user account

e. when i click send private message in other peoples account ...the username in To: field is my own username
and not the username of user that i want to pm



suggestion - sraps forum style..able to reply...



32
belia
Re: myreferer & uservisit module with preloads xoops 2.4?
  • 2010/1/4 2:16

  • belia

  • Just popping in

  • Posts: 83

  • Since: 2007/12/18


Hi

my mistake..sorry

eventhough i received no blank page.....

this is actually not working

no new statistic from both modules is received in the admin panel..since i use the preloads folder...

Help....



33
belia
liaise/xforms - custom field as email title ?
  • 2010/1/2 7:26

  • belia

  • Just popping in

  • Posts: 83

  • Since: 2007/12/18


im using xforms and liaise in my sites

right now the send method i chose is email

when i received a new feedback email
the title of email is title of the form


it would be great if a custom field that i made in the particular form is append to the title in the email

name of form - Feeback form
example custom title - Feeback title

example of email title : Feeback Form - Feedback Title

does anyone know how to hack the module files to achieve this ?



34
belia
Re: myreferer & uservisit module with preloads xoops 2.4?
  • 2010/1/2 4:09

  • belia

  • Just popping in

  • Posts: 83

  • Since: 2007/12/18


thank you it works !! i will send pm to solo71 to inform him about this thread










35
belia
Re: username as uid ? (Yogurt Social Network)
  • 2010/1/2 3:58

  • belia

  • Just popping in

  • Posts: 83

  • Since: 2007/12/18


Quote:

ericktot wrote:
I found the code, sarahmx try...


create username.php in XOOPS root

Quote:

<?php

require_once "mainfile.php";

unset($uname);
if (isset($_GET['uname'])) $uname = $_GET['uname'];

if (isset($uname)) {
$member_handler =& xoops_gethandler('member');
$criteria = new Criteria("uname", $uname);
if ($member_handler->getUserCount($criteria) == 1) {
$user_list =& $member_handler->getUsers($criteria);
list($user) = $user_list;
header('Location: '.XOOPS_URL.'/modules/yogurt/index.php?uid=' . $user->uid()); exit ();
} else {
header('Location: '.XOOPS_URL.'/user.php'); exit ();
}

}

?>



In .htaccess in XOOPS root

Quote:

RewriteEngine On
RewriteRule ^([A-Za-z_0-9-]+)((/)|())?$http://yourdomain.com/username.php?uname=$1


working for me =)


i changed the line..cause im using the profile module

header('Location: '.XOOPS_URL.'/modules/yogurt/index.php?uid=' $user->uid()); exit ();


to

header('Location: '.XOOPS_URL.'/modules/profile/userinfo.php?uid=' $user->uid()); exit ();


this is working

type

http://yourdomain.com/username.php?uname=belia

and it redirects to my profile info but the url in address bar change to the normal onehttp://mydomain.com/modules/profile/userinfo.php?uid=82 and not stay ashttp://yourdomain.com/username.php?uname=belia

i found a XOOPS site


http://www.redhotchilipeppers.lt/rhcp/

take a look at this

the username of the user is zygimantas and uid is 1384
http://www.redhotchilipeppers.lt/rhcp/profile/1384/zygimantas


the original url is

http://www.redhotchilipeppers.lt/rhcp/profile/userinfo.php?uid=1384


the site seems manage to to do this username in url for profile


anyone know how to do somelike in the site above ?



36
belia
Re: myreferer & uservisit module with preloads xoops 2.4?
  • 2010/1/2 1:29

  • belia

  • Just popping in

  • Posts: 83

  • Since: 2007/12/18


thank you dylian and trabis...

what i did was remove the line in header.php and footer.php

then create two folder and file both in uservisit and myreferer

clear cache update module then made some test

i got blank in some page and i can't access the admin area

enable debug through phmyadmin and edit xoopsconfig to reveal debug message to anonymous

i see this following message

Quote:


Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /modules/uservisit/preloads/footer.php:9) in file /include/common.php line 178
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /modules/uservisit/preloads/footer.php:9) in file /include/common.php line 178
Warning: Cannot modify header information - headers already sent by (output started at /modules/uservisit/preloads/footer.php:9) in file /modules/pm/preloads/core.php line 46


Quote:

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /modules/myReferer/preloads/header.php:10) in file /include/common.php line 178
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /modules/myReferer/preloads/header.php:10) in file /include/common.php line 178
Warning: Cannot modify header information - headers already sent by (output started at /modules/myReferer/preloads/header.php:10) in file /modules/pm/preloads/core.php line 46



37
belia
myreferer & uservisit module with preloads xoops 2.4?
  • 2010/1/1 16:32

  • belia

  • Just popping in

  • Posts: 83

  • Since: 2007/12/18


I'm using this module in my site..both module are great for user tracking ...credit to solo71


myreferer 2.0
https://xoops.org/modules/newbb/viewtopic.php?post_id=293260#forumpost293260


uservisit 2.3
http://www.arma-sa.com/modules/mydownloads/singlefile.php?cid=3&lid=13


how to edit this module to use preloads which exist in XOOPS 2.4xx?

right now we have to edit footer.php & header.php to insert some line to make both of this module to work

so evrytime we make core upgrade we have to insert this line..









38
belia
Re: RSS plugin for Newbbex?
  • 2008/10/11 12:37

  • belia

  • Just popping in

  • Posts: 83

  • Since: 2007/12/18


bump



39
belia
Guestbook for xoops 2.0181 ?
  • 2008/8/7 3:16

  • belia

  • Just popping in

  • Posts: 83

  • Since: 2007/12/18


can anyone recommend me a guestbook to be use in XOOPS 2.0181 ?



40
belia
how to put redirect message inside a theme
  • 2008/8/1 2:28

  • belia

  • Just popping in

  • Posts: 83

  • Since: 2007/12/18


how do i put the redirect message in the center of my theme

current layout zetagenesis
i want show the redirect message inside zetagenesis with no left/right block...just the logo header and the redirect message below inside the zetagenesis layout

this is the code in the system_redirect.htm template

<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<
html>
<
head>
<
meta http-equiv="Content-Type" content="text/html; charset=<{$xoops_charset}>" />
<
meta http-equiv="Refresh" content="<{$time}>; url=<{$url}>" />
<
title><{$xoops_sitename}></title>
<
link rel="stylesheet" type="text/css" media="all" href="<{$xoops_themecss}>" />
</
head>
<
body>
<
div style="text-align:center; background-color: #EBEBEB; border-top: 1px solid #FFFFFF; border-left: 1px solid #FFFFFF; border-right: 1px solid #AAAAAA; border-bottom: 1px solid #AAAAAA; font-weight : bold;">
  <
h4><{$message}></h4>
  <
p><{$lang_ifnotreload}></p>
</
div>
<{if 
$xoops_logdump != ''}><div><{$xoops_logdump}></div><{/if}>
</
body>
</
html>


thanks




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



Login

Who's Online

292 user(s) are online (196 user(s) are browsing Support Forums)


Members: 0


Guests: 292


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