1
prplpgnsarah
Replacing/combining system profiles with Yogurt profiles

Is there a way to either do this or set up my site so that username links that usually go to the system profile go to the Yogurt profile instead?

Thanks in advance. I got such a quick response last time. :)

sarah

2
oswaldo
Re: Replacing/combining system profiles with Yogurt profiles
  • 2010/8/22 16:51

  • oswaldo

  • Quite a regular

  • Posts: 215

  • Since: 2008/8/22


Hi

This is the install instructions in folder docs;

Install:
============================
1. Upload the yogurt-module directory to ROOT_URL/modules/
1a. Create in Folder /uplodas a Folder yogurt and yogurt/mp3
1b. set the Permission of 2 Folders to 0777

2. Log in to your site as administrator.

3. Install the module using the module administration panel at 'System Admin -> Modules'.

compability important note
---------------------------
xoops and jquery have a javascript function with the same name.
I have changed the calls using $ instead of jquery to jquery in my yogurt.js file ,
I am not sure that the compability problem is over with this but maybe it is.
Anyone please do report or help me on this.

optional procedure
-------------------
Hack to make the yogurt userpage as the main userpage of your site:

Open userinfo.php in the root of your site, search at the very beggining of the file for

$uid = intval($_GET['uid']);
if ($uid <= 0) {
redirect_header('index.php', 3, _US_SELECTNG);
exit();
}

Add after this the following lines:

header("Location:".XOOPS_URL."/modules/yogurt/index.php?uid=".$uid);
exit();

3
prplpgnsarah
Re: Replacing/combining system profiles with Yogurt profiles

Thank you! That's the second quick response I've received in as many days! I'm really starting to love this place. :)

sarah

Login

Who's Online

195 user(s) are online (108 user(s) are browsing Support Forums)


Members: 0


Guests: 195


more...

Donat-O-Meter

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

Latest GitHub Commits