xoops forums

Forum Index


Board index » All Posts (sudhaker)




sudhaker

Not too shy to talk
Posted on: 2004/3/22 15:30
sudhaker
sudhaker (Show more)
Not too shy to talk
Posts: 117
Since: 2003/2/6 2
#71

Re: ready for all criticism ;)


Great work dude.

Herko already said about header.

Whole footer is shifting right in Opera 7.23. Try to fix that if possible.

Giving a little credit to Xoops2 will be highly appreciated by whole community.

Good work - Keep it up.


sudhaker

Not too shy to talk
Posted on: 2004/3/13 4:59
sudhaker
sudhaker (Show more)
Not too shy to talk
Posts: 117
Since: 2003/2/6 2
#72

Re: Why my site error????!!! HELP ME


I think you have got access to your database via phpMyAdmin. If yes, follow these steps.

XOOPS_ROOT/themes/default exists and it has all original files what comes with the original distribution.

Then open xoops_config table using phpMyAdmin and look for 'conf_name' is 'theme_set' (most probably 'id' is 7). Set 'conf_value' to 'default' - You are set.

Remove files from cache and template_c directory if required.

Waiting for your feedback YIM me if required...



sudhaker

Not too shy to talk
Posted on: 2004/3/13 4:46
sudhaker
sudhaker (Show more)
Not too shy to talk
Posts: 117
Since: 2003/2/6 2
#73

Re: Xoops Dev - Can we get PSD?

Thanks buddy.

I was also looking for the 367 x 53 logo, what appears on mydownload, weblinks - typically located in modules/module_name/image/logo.gif



sudhaker

Not too shy to talk
Posted on: 2004/3/13 3:07
sudhaker
sudhaker (Show more)
Not too shy to talk
Posts: 117
Since: 2003/2/6 2
#74

Re: Xoops Dev - Can we get PSD?

And the same for logo that appears on admin panel?

Thanks,



sudhaker

Not too shy to talk
Posted on: 2004/3/13 3:05
sudhaker
sudhaker (Show more)
Not too shy to talk
Posts: 117
Since: 2003/2/6 2
#75

Xoops Dev - Can we get PSD?


Can we get PSD used for logo.gif in all XOOPS core module?

Thanks,


sudhaker

Not too shy to talk
Posted on: 2004/3/12 22:47
sudhaker
sudhaker (Show more)
Not too shy to talk
Posts: 117
Since: 2003/2/6 2
#76

More attributes required for USER

My site user has more attribute's requirement than currently provided in XOOPS core. As for example address, phone, job, company and many others.

What is the best way to address this requirement?

I was thinking of writing one module, which will have another table to store those extra data. Obviously the same module will have it's management screens too.

Any suggestion will be highly appreciated. Thanks in advance


sudhaker

Not too shy to talk
Posted on: 2004/3/10 14:25
sudhaker
sudhaker (Show more)
Not too shy to talk
Posts: 117
Since: 2003/2/6 2
#77

Time Zone Drop Down Is Too Wide To Fit In User Profile


https://xoops.org/edituser.php

I was trying to make a fixed width theme and this page was having problem because of Time Zone drop-down.

Any strategy about how to handle this? CSS width is fixing that but all drop down will get affected


sudhaker

Not too shy to talk
Posted on: 2004/3/10 4:51
sudhaker
sudhaker (Show more)
Not too shy to talk
Posts: 117
Since: 2003/2/6 2
#78

user1 and user2

I saw user1 and user2 area in mambo. And that gives header, left, center, right, footer plus 2 more layout area

Having these extra area will enable theme designer to make flexible layouts, hence more suitable for enterprise market. Otherwise all sites are looking pretty much same in layout no matter what they use - nuke, pn or xoops.

I love XOOPS - mainly because it is neat and it talks oops Wish XOOPS can do what mambo does...






sudhaker

Not too shy to talk
Posted on: 2004/3/9 15:51
sudhaker
sudhaker (Show more)
Not too shy to talk
Posts: 117
Since: 2003/2/6 2
#79

Re: Raising XoopsSessionHandler issue again

done


sudhaker

Not too shy to talk
Posted on: 2004/3/9 14:24
sudhaker
sudhaker (Show more)
Not too shy to talk
Posts: 117
Since: 2003/2/6 2
#80

Raising XoopsSessionHandler issue again


Ref: https://xoops.org/modules/newbb/viewto ... 91&forum=8#forumpost55849

Inside the method write() of class XoopsSessionHandler, a QUERY decides what to run next, INSERT or UPDATE. So there is always 2 SQL query per session write.

As INSERT will happen just once per session, so trying to UPDATE first and if it fails then doing INSERT can be more efficient way of handling the same.

This will save 1 SQL query for any further request.

I tried it on SQLite with this code, working fine.

$sql = sprintf("UPDATE %s SET sess_updated = %u, sess_data = '%s' WHERE sess_id = '%s'", 'session', time(), $sess_data, $sess_id);
//echo "Debug: $sql <br>";
sqlite_query($this->db, $sql);
if (sqlite_changes($this->db) != 1)
{
$sql = sprintf("INSERT INTO %s (sess_id, sess_updated, sess_ip, sess_data) VALUES ('%s', %u, '%s', '%s')", 'session', $sess_id, time(), $_SERVER['REMOTE_ADDR'], $sess_data);
//echo "Debug: $sql <br>";
sqlite_query($this->db, $sql);
}
return true;



TopTop
« 1 ... 5 6 7 (8) 9 10 »