1
mixx86
Lifetype - Link back to Main Page
  • 2007/12/30 12:28

  • mixx86

  • Just popping in

  • Posts: 14

  • Since: 2005/6/22


Hi! I've been using Lifetype for a while now. It works just great, despite some irritating niggles.

One of those is that there is no link back to the sites mainpage, or a way to include choice links, like f.x main menu.

I really need a way to go back to the website. I am no coder but I have tried to solve the problem myself without luck. Usually I can manage, but this code is too complex for me.

I would not mind if the solution were as easy implemented as changing the link in the header, like clicking on the Username.

Thanks. And a Happy New Year!



2
mixx86
Re: Yogurt 2.9 beta
  • 2007/12/9 19:30

  • mixx86

  • Just popping in

  • Posts: 14

  • Since: 2005/6/22


Your issue is due to using an old version of MySQL that does not support the function. I have absolutely no knowledge about MySQL, so I did alot of research on web web to find the answer.

I changed all the code having to do with 'CURRENT_TIMESTAMP' to one that will work with the old MySQL, and have not had any problems with the functionality of this module.

I give an example;

CREATE TABLE `yogurt_tribes` (
  `
tribe_idint(11NOT NULL auto_increment,
  `
owner_uidint(11NOT NULL,
  `
tribe_titlevarchar(255NOT NULL,
  `
tribe_desctinytext NOT NULL,
  `
tribe_imgvarchar(255NOT NULL,
  `
datetimetimestamp NOT NULL default '',
  
PRIMARY KEY  (`tribe_id`)
ENGINE=MyISAM;


instead of

CREATE TABLE `yogurt_tribes` (
  `
tribe_idint(11NOT NULL auto_increment,
  `
owner_uidint(11NOT NULL,
  `
tribe_titlevarchar(255NOT NULL,
  `
tribe_desctinytext NOT NULL,
  `
tribe_imgvarchar(255NOT NULL,
`
datetimetimestamp NOT NULL default CURRENT_TIMESTAMP,
  
PRIMARY KEY  (`tribe_id`)
ENGINE=MyISAM;


If you want, you could copy/paste my version of the mysql.sql to replace the one you find in the SQL directory of the module.

CREATE TABLE `yogurt_friendpetition` (
  `
friendpet_idint(11NOT NULL auto_increment,
  `
petitioner_uidint(11NOT NULL,
  `
petioned_uidint(11NOT NULL,
  
PRIMARY KEY  (`friendpet_id`)
TYPE=MyISAM;


CREATE TABLE `yogurt_friendship` (
  `
friendship_idint(11NOT NULL auto_increment,
  `
friend1_uidint(11NOT NULL,
  `
friend2_uidint(11NOT NULL,
  `
levelint(11NOT NULL,
  `
hottinyint(4NOT NULL,
  `
trusttinyint(4NOT NULL,
  `
cooltinyint(4NOT NULL,
  `
fantinyint(4NOT NULL,
  
PRIMARY KEY  (`friendship_id`)
TYPE=MyISAM;

CREATE TABLE `yogurt_images` (
  `
cod_imgint(11NOT NULL auto_increment,
  `
titlevarchar(255NOT NULL,
  `
data_creationdate NOT NULL,
  `
data_updatedate NOT NULL,
  `
uid_ownervarchar(50NOT NULL,
  `
urltext NOT NULL,
  `
privatevarchar(1NOT NULL,
  
PRIMARY KEY  (`cod_img`)
TYPE=MyISAM  ;

CREATE TABLE `yogurt_visitors` (
  `
cod_visitint(11NOT NULL auto_increment,
  `
uid_ownerint(11NOT NULL,
  `
uid_visitorint(11NOT NULL,
  `
uname_visitorvarchar(30NOT NULL,
  
PRIMARY KEY  (`cod_visit`)
TYPE=MyISAM;

CREATE TABLE `yogurt_seutubo` (
  `
video_idint(11NOT NULL auto_increment,
  `
uid_ownerint(11NOT NULL,
  `
video_desctext NOT NULL,
  `
youtube_codevarchar(11NOT NULL,
  `
main_videovarchar(1NOT NULL,
  
PRIMARY KEY  (`video_id`)
TYPE=MyISAM;


CREATE TABLE `yogurt_reltribeuser` (
  `
rel_idint(11NOT NULL auto_increment,
  `
rel_tribe_idint(11NOT NULL,
  `
rel_user_uidint(11NOT NULL,
  
PRIMARY KEY  (`rel_id`)
ENGINE=MyISAM;


CREATE TABLE `yogurt_tribes` (
  `
tribe_idint(11NOT NULL auto_increment,
  `
owner_uidint(11NOT NULL,
  `
tribe_titlevarchar(255NOT NULL,
  `
tribe_desctinytext NOT NULL,
  `
tribe_imgvarchar(255NOT NULL,
  `
datetimetimestamp NOT NULL default '',
  
PRIMARY KEY  (`tribe_id`)
ENGINE=MyISAM;

CREATE TABLE `yogurt_scraps` (
  `
scrap_idint(11NOT NULL auto_increment,
  `
scrap_texttext NOT NULL,
  `
scrap_fromint(11NOT NULL,
  `
scrap_toint(11NOT NULL,
  `
privatetinyint(1NOT NULL,
  `
datetimestamp NOT NULL default '',
  
PRIMARY KEY  (`scrap_id`)
ENGINE=MyISAM;

CREATE TABLE `yogurt_configs` (
  `
config_idint(11NOT NULL auto_increment,
  `
config_uidint(11NOT NULL,
  `
picturestinyint(1NOT NULL,
  `
videostinyint(1NOT NULL,
  `
tribestinyint(1NOT NULL,
  `
scrapstinyint(1NOT NULL,
  `
friendstinyint(1NOT NULL,
  `
profile_contacttinyint(1NOT NULL,
  `
profile_generaltinyint(1NOT NULL,
  `
profile_statstinyint(1NOT NULL,
  `
suspensiontinyint(1NOT NULL,
  `
backup_passwordvarchar(255NOT NULL,
  `
backup_emailvarchar(255NOT NULL,
  `
end_suspensiontimestamp NOT NULL default '',
  
PRIMARY KEY  (`config_id`),
  
KEY `config_uid` (`config_uid`)
ENGINE=MyISAM  ;

CREATE TABLE `yogurt_suspensions` (
  `
uidint(11NOT NULL,
  `
old_passvarchar(32NOT NULL,
  `
old_emailvarchar(60NOT NULL,
  `
old_signaturetext NOT NULL,
  `
suspension_timeint(11NOT NULL,
  
PRIMARY KEY  (`uid`)
ENGINE=MyISAM;


Hope it helps. This module have alot of promise, although a little buggy. I have no skills as an PHP programmer, but after this release, I have begun a little studying to be able to modify it to suit my needs and to fix a few of the more irritating bugs (fx. some users could not change their Avatar, while others could, so I added a new tab to solve the issue)

Good luck.



3
mixx86
Re: XOOPS PM(Private Message)-Hack
  • 2005/9/3 20:01

  • mixx86

  • Just popping in

  • Posts: 14

  • Since: 2005/6/22


After having tried this hack, and not getting it to work at all, I would be eternally grateful if it could be made as a module for 2.2.x instead.

I wish I had the skills for this, but unfortunately I have not...



4
mixx86
Re: Private Messager really needed
  • 2005/9/2 12:41

  • mixx86

  • Just popping in

  • Posts: 14

  • Since: 2005/6/22


Thanks Monty, but the thing is that I have gone back and forth in versions so many times now that it is not even funny.
I think I will have to wait for a decent PM to be written. With the speed of the updates in this system, the wait should probably not be that long



5
mixx86
Private Messager really needed
  • 2005/8/31 15:26

  • mixx86

  • Just popping in

  • Posts: 14

  • Since: 2005/6/22


After recent updates, the PM function is really Not Working anymore. This needs remedy very soon. I wish I could write a new module for this, but I am lacking not only skills but also time to get those skills.

I hope that someone bugfixes or writes a whole new PM module since this is what actually made me like the system in the first place.



6
mixx86
Re: Shoutbox 3.1 broken after 2.2.3 upgrade
  • 2005/8/28 19:36

  • mixx86

  • Just popping in

  • Posts: 14

  • Since: 2005/6/22


Had the same issue so I had to rollback.....again...

Xoops is a fantastic CMS mad by some really great people, just want to make that clear before I say;

All those problems arising with updates might take all the fun out of Xoops:ing. I feel that I have reached my limit of problems - so I will not update my websites anymore. I will make the site work and just ignore the updates.

Sorry if I sound negative, but after having endless problems with either bugs in the code, incompatible modules between updates, or trashed or malfunctioning templates, my good mood is gone with the wind.



7
mixx86
Re: Something new about my PM link in 2.2
  • 2005/8/26 12:53

  • mixx86

  • Just popping in

  • Posts: 14

  • Since: 2005/6/22


There simply is no way to actually post the code without a space is inserted between "java" and "script" in this forum

[size=x-large]In the codepiece above, delete the space in java script and make it 'javascript'.[/size]

That should be the last time I have to enter this info



8
mixx86
Re: Something new about my PM link in 2.2
  • 2005/8/26 12:50

  • mixx86

  • Just popping in

  • Posts: 14

  • Since: 2005/6/22


Disregard my previous post. A Space have nestled itself into the codeblock (java script should be javascript), and it makes the fix useless.

Lets test again without codeblock. It should not make a difference. Just copy/paste into phpMyAdmin.

UPDATE `prefix_user_profile` SET `pm_link` = '<a href="javascript:openWithSelfMain(''{X_URL}/modules/pm/pmlite.php?send2=1&to_userid={X_UID}'', ''pmlite'', 550, 450);" title="Write a message to {X_UNAME}"><img src="{X_URL}/modules/pm/images/pm.gif" alt="Write a message to {X_UNAME}" /></a>'

Good Luck!



9
mixx86
Re: Something new about my PM link in 2.2
  • 2005/8/26 12:47

  • mixx86

  • Just popping in

  • Posts: 14

  • Since: 2005/6/22


Well, after applying the SQL in PHPMyAdmin, and got the exact same result as everyone else in this thread, I checked the error code and found that there are a small error in the SQL.

This is the code that is to be executed:

UPDATE `prefix_user_profileSET `pm_link` = '<a href="javascript:openWithSelfMain(''{X_URL}/modules/pm/pmlite.php?send2=1&to_userid={X_UID}'', ''pmlite'', 550, 450);" title="Write a message to {X_UNAME}"><img src="{X_URL}/modules/pm/images/pm.gif" alt="Write a message to {X_UNAME}" /></a>'


With this, everything should work out just fine



10
mixx86
Re:xoops-bots - for linking module features to any content
  • 2005/6/22 23:09

  • mixx86

  • Just popping in

  • Posts: 14

  • Since: 2005/6/22


Hello, and thanks for bringing up a subject close to my heart.
I have been using XOOPS for almost two years now, in fact it was the first CMS I tested and it kinda stuck
A few months back I needed to create a new site for a Roleplaying club, it needed to look really cool with lots of eyecandy. Xoops, whatever it is, is not one for that kind of work. I am aware of the hacks needed to switch themes between modules and all, but....not enough... I digress...

In the end I installed the Mambo CMS and fell in love with the mambots immediately. This is what XOOPS is missing.

I took a very plain text, loaded up a bunch of colorful images in the mosbot-list (btw. the imagehandling in Mambo is a dream in comparison), and proceeded with just inserting a [mosbot] here and there with the correct formatting. Took a couple of minutes to completely transform the text to a world-class flashy piece of gamingtext.

It was with much regret I closed down that site and transfered all the articles to XOOPS (due to administrative reasons of having several sites to one single organisation). I really miss the mosbots. It would be great to see a *full* implementation of this Mambo-feature in Xoops, ofcourse coupled with the usual Xoops-privs settings to make life easier for the poor old server.

Actually, a good imagemanager and a sitewide bot-feature would definitely make me part of the donor-list.

Thanks all for a great piece of SW!!




TopTop



Login

Who's Online

223 user(s) are online (147 user(s) are browsing Support Forums)


Members: 0


Guests: 223


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