1
romdg
Re: WYSIWYG Editor Installation Steps
  • 2006/1/21 14:07

  • romdg

  • Just popping in

  • Posts: 10

  • Since: 2004/6/9 1


Found this link for KOIVI. I am in the sam e boat, need an editor for 2.0xxx XOOPs, about to try it out and saw you were looking for the link:

KOIVI

Cheers,
Gregg



2
romdg
Re: Ajax in Xoops Template
  • 2005/10/30 1:37

  • romdg

  • Just popping in

  • Posts: 10

  • Since: 2004/6/9 1


has anyone tried out SAJAX?

Looks interesting...

Will try out the template code and give my 2 cents..

Cheers,
~gt



3
romdg
Re: Web Hosting module
  • 2005/10/30 1:33

  • romdg

  • Just popping in

  • Posts: 10

  • Since: 2004/6/9 1


seriously.. the suspense is killing..

actually just checking in...

hope all is doing well,

Cheers,

Gregg



4
romdg
Re: Using xoops variables in blocks
  • 2005/10/28 18:42

  • romdg

  • Just popping in

  • Posts: 10

  • Since: 2004/6/9 1


After a bit of research I found the following forum entry.. have yet to try it out though but some core XOOPers appear to give their ok on the method used.

https://xoops.org/modules/newbb/viewtopic.php?topic_id=17703&forum=7&post_id=74646

You will have to modify your header.php file as described, as that queries the group information based on the uid. I may add the feature to my support site and will post with the results...

Let me know how this works...

Cheers,
Gregg



5
romdg
Re: Using xoops variables in blocks
  • 2005/8/25 17:00

  • romdg

  • Just popping in

  • Posts: 10

  • Since: 2004/6/9 1


ok last post..

I was wrong in my forst post but after some research I have a queick method to bring in variables to a custom block. The block has to have 'content type' to php script. You van then bring in XOOPS variables, below I provide an example of code I am using on my site:

global $xoopsUser;
if (
$xoopsUser) {
  
//User is logged in, display welcome message
  
$uname $xoopsUser->getVar('uname');
  
$userid $xoopsUser->getVar('uname');
  
$avatar $xoopsUser->getVar('user_avatar');
 
$last_login formatTimestamp($xoopsUser->getVar('last_login'), 's');
  echo(
"<b>Welcome $uname</b><br /><br />");
  echo(
"<img src="{X_SITEURL}/uploads/$avatar" />");
  echo(
"<br /><br /><b>Your Last Login: $last_login");
} else {
  return 
false;
}


Hope this helps...



6
romdg
Re: Using xoops variables in blocks
  • 2005/8/24 22:47

  • romdg

  • Just popping in

  • Posts: 10

  • Since: 2004/6/9 1


actually came accross some more data on bringing in user name.. SEE THIS THREAD.

Cheers,
Gregg



7
romdg
Re: Using xoops variables in blocks
  • 2005/8/24 22:38

  • romdg

  • Just popping in

  • Posts: 10

  • Since: 2004/6/9 1


I may be mistaken, but I believe the smarty tags must be encapsulated in <>, therefore use <{$xoops_uname}>.

Hope this works for ya,
Cheers,
Gregg




TopTop



Login

Who's Online

252 user(s) are online (142 user(s) are browsing Support Forums)


Members: 0


Guests: 252


more...

Donat-O-Meter

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

Latest GitHub Commits