xoops forums

Forum Index


Board index » All Posts (sudhaker)




sudhaker

Not too shy to talk
Posted on: 2004/3/6 23:57
sudhaker
sudhaker (Show more)
Not too shy to talk
Posts: 117
Since: 2003/2/6 2
#81

Re: Module Development Framework suggestions


Thanks mercibe for sharing the stuffs. I can see your vision for Xoops.

XOOPS, The Open Source CMS (Enterprise Edition)

Saw your other post https://xoops.org/modules/newbb/viewto ... t&topic_id=13171&forum=21

I also faced many problem while trying to use XOOPS for enterprise portal. Mambo can be better choice for that requirement but I like the oops of Xoops, not to mention the cleaner code, greater separation between logic and presentation, caching (thanks Smarty). These factors keeps me bringing back to XOOPS

But hacking XOOPS doen't make me happy By doing that I am making the upgrade complicated.

Apart from mercibe suggestion in other post - I want to see User1 and User2 area in smarty theme.html layout (similar to mambo). This will enable you to make more customized layouts than just Header/Left/Center/Right/Footer layout. IMO, Corporates doesn't like "Nuke" type layout. One reason can be because all sites looks similar

Can I get my XOOPS Enterprise?



sudhaker

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

Re: How can I eliminate DOWNLOAD section?


1> You can hide these modules

2> You can de-activate these module

3> You can completely remove these module from database

---

Where you want to go today?


sudhaker

Not too shy to talk
Posted on: 2004/3/6 23:09
sudhaker
sudhaker (Show more)
Not too shy to talk
Posts: 117
Since: 2003/2/6 2
#83

Re: 2.0.6 / cannot register new user

Good work


sudhaker

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

Re: How to add applets to right column?


Make sure the applet width is less than 170px else find a place in center column.

Go to 'Administration Menu' and make a new custom block with applet code - tag it to right column. And don't forget to add anonymous permission on that block (if you want to make it available to anon users also).

Best of luck.


sudhaker

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

Re: 2.0.6 / cannot register new user


Make the debug_mode = php, and see the debug output for more clues. Most of the time this trick helps to narrow down the problem.

Best of luck.


sudhaker

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

Re: What OS would you recommend ?


DUDE U NEED LINUX

Windows is only good for development


sudhaker

Not too shy to talk
Posted on: 2003/11/30 6:58
sudhaker
sudhaker (Show more)
Not too shy to talk
Posts: 117
Since: 2003/2/6 2
#87

Re: XoopsSessionHandler

No one listening here...


sudhaker

Not too shy to talk
Posted on: 2003/11/18 19:44
sudhaker
sudhaker (Show more)
Not too shy to talk
Posts: 117
Since: 2003/2/6 2
#88

XoopsSessionHandler


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;


---
Performance does matter...


sudhaker

Not too shy to talk
Posted on: 2003/11/6 18:36
sudhaker
sudhaker (Show more)
Not too shy to talk
Posts: 117
Since: 2003/2/6 2
#89

Re: LEECH ANY THEME EASILY ;-) FROM XOOPS2

MODERATORS,

IF YOU FOUND OFFENSIVE, YOU CAN SURELY DELETE THIS THREAD.

THANKS,
SU


sudhaker

Not too shy to talk
Posted on: 2003/11/6 18:34
sudhaker
sudhaker (Show more)
Not too shy to talk
Posts: 117
Since: 2003/2/6 2
#90

Re: LEECH ANY THEME EASILY ;-) FROM XOOPS2

OK OK, WE SHOULD RESPECT OTHER'S INTELLECTUAL RIGHTS. BUT ONE CAN SURELY USE IT TO LEARN (LIKE, WHAT COLOR CODE IS THAT AND WHAT SCRIPT DOES THAT).

USE IT, ONLY FOR LEARNING PURPOSE GUYS !!




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