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;

le="color: #000000"><?php CREATE TABLE `yogurt_tribes` ( `tribe_id` int(11) NOT NULL auto_increment, `owner_uid` int(11) NOT NULL, `tribe_title` varchar(255) NOT NULL, `tribe_desc` tinytext NOT NULL, `tribe_img` varchar(255) NOT NULL, `datetime` timestamp NOT NULL default '', PRIMARY KEY (`tribe_id`) ) ENGINE=MyISAM;


instead of

le="color: #000000"><?php CREATE TABLE `yogurt_tribes` ( `tribe_id` int(11) NOT NULL auto_increment, `owner_uid` int(11) NOT NULL, `tribe_title` varchar(255) NOT NULL, `tribe_desc` tinytext NOT NULL, `tribe_img` varchar(255) NOT NULL, `datetime` timestamp 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.

le="color: #000000"><?php CREATE TABLE `yogurt_friendpetition` ( `friendpet_id` int(11) NOT NULL auto_increment, `petitioner_uid` int(11) NOT NULL, `petioned_uid` int(11) NOT NULL, PRIMARY KEY (`friendpet_id`) ) TYPE=MyISAM; CREATE TABLE `yogurt_friendship` ( `friendship_id` int(11) NOT NULL auto_increment, `friend1_uid` int(11) NOT NULL, `friend2_uid` int(11) NOT NULL, `level` int(11) NOT NULL, `hot` tinyint(4) NOT NULL, `trust` tinyint(4) NOT NULL, `cool` tinyint(4) NOT NULL, `fan` tinyint(4) NOT NULL, PRIMARY KEY (`friendship_id`) ) TYPE=MyISAM; CREATE TABLE `yogurt_images` ( `cod_img` int(11) NOT NULL auto_increment, `title` varchar(255) NOT NULL, `data_creation` date NOT NULL, `data_update` date NOT NULL, `uid_owner` varchar(50) NOT NULL, `url` text NOT NULL, `private` varchar(1) NOT NULL, PRIMARY KEY (`cod_img`) ) TYPE=MyISAM ; CREATE TABLE `yogurt_visitors` ( `cod_visit` int(11) NOT NULL auto_increment, `uid_owner` int(11) NOT NULL, `uid_visitor` int(11) NOT NULL, `uname_visitor` varchar(30) NOT NULL, PRIMARY KEY (`cod_visit`) ) TYPE=MyISAM; CREATE TABLE `yogurt_seutubo` ( `video_id` int(11) NOT NULL auto_increment, `uid_owner` int(11) NOT NULL, `video_desc` text NOT NULL, `youtube_code` varchar(11) NOT NULL, `main_video` varchar(1) NOT NULL, PRIMARY KEY (`video_id`) ) TYPE=MyISAM; CREATE TABLE `yogurt_reltribeuser` ( `rel_id` int(11) NOT NULL auto_increment, `rel_tribe_id` int(11) NOT NULL, `rel_user_uid` int(11) NOT NULL, PRIMARY KEY (`rel_id`) ) ENGINE=MyISAM; CREATE TABLE `yogurt_tribes` ( `tribe_id` int(11) NOT NULL auto_increment, `owner_uid` int(11) NOT NULL, `tribe_title` varchar(255) NOT NULL, `tribe_desc` tinytext NOT NULL, `tribe_img` varchar(255) NOT NULL, `datetime` timestamp NOT NULL default '', PRIMARY KEY (`tribe_id`) ) ENGINE=MyISAM; CREATE TABLE `yogurt_scraps` ( `scrap_id` int(11) NOT NULL auto_increment, `scrap_text` text NOT NULL, `scrap_from` int(11) NOT NULL, `scrap_to` int(11) NOT NULL, `private` tinyint(1) NOT NULL, `date` timestamp NOT NULL default '', PRIMARY KEY (`scrap_id`) ) ENGINE=MyISAM; CREATE TABLE `yogurt_configs` ( `config_id` int(11) NOT NULL auto_increment, `config_uid` int(11) NOT NULL, `pictures` tinyint(1) NOT NULL, `videos` tinyint(1) NOT NULL, `tribes` tinyint(1) NOT NULL, `scraps` tinyint(1) NOT NULL, `friends` tinyint(1) NOT NULL, `profile_contact` tinyint(1) NOT NULL, `profile_general` tinyint(1) NOT NULL, `profile_stats` tinyint(1) NOT NULL, `suspension` tinyint(1) NOT NULL, `backup_password` varchar(255) NOT NULL, `backup_email` varchar(255) NOT NULL, `end_suspension` timestamp NOT NULL default '', PRIMARY KEY (`config_id`), KEY `config_uid` (`config_uid`) ) ENGINE=MyISAM ; CREATE TABLE `yogurt_suspensions` ( `uid` int(11) NOT NULL, `old_pass` varchar(32) NOT NULL, `old_email` varchar(60) NOT NULL, `old_signature` text NOT NULL, `suspension_time` int(11) NOT 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

In the codepiece above, delete the space in java script and make it 'javascript'.

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:

le="color: #000000"><?php 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>'


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

Donat-O-Meter

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