81
sudhaker
Re: Module Development Framework suggestions
  • 2004/3/6 23:57

  • sudhaker

  • Not too shy to talk

  • Posts: 117

  • Since: 2003/2/6 2



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

XOOPS, The Open Source CMS (Enterprise Edition)

Saw your other posthttps://xoops.org/modules/newbb/viewtopic.php?viewmode=flat&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?




82
sudhaker
Re: How can I eliminate DOWNLOAD section?
  • 2004/3/6 23:12

  • sudhaker

  • Not too shy to talk

  • Posts: 117

  • Since: 2003/2/6 2



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?



83
sudhaker
Re: 2.0.6 / cannot register new user
  • 2004/3/6 23:09

  • sudhaker

  • Not too shy to talk

  • Posts: 117

  • Since: 2003/2/6 2


Good work



84
sudhaker
Re: How to add applets to right column?
  • 2004/3/6 22:10

  • sudhaker

  • Not too shy to talk

  • Posts: 117

  • Since: 2003/2/6 2



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.



85
sudhaker
Re: 2.0.6 / cannot register new user
  • 2004/3/6 22:06

  • sudhaker

  • Not too shy to talk

  • Posts: 117

  • Since: 2003/2/6 2



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.



86
sudhaker
Re: What OS would you recommend ?
  • 2004/3/4 22:52

  • sudhaker

  • Not too shy to talk

  • Posts: 117

  • Since: 2003/2/6 2



DUDE U NEED LINUX

Windows is only good for development



87
sudhaker
Re: XoopsSessionHandler
  • 2003/11/30 6:58

  • sudhaker

  • Not too shy to talk

  • Posts: 117

  • Since: 2003/2/6 2


No one listening here...



88
sudhaker
XoopsSessionHandler
  • 2003/11/18 19:44

  • sudhaker

  • Not too shy to talk

  • Posts: 117

  • Since: 2003/2/6 2



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...



89
sudhaker
Re: LEECH ANY THEME EASILY ;-) FROM XOOPS2
  • 2003/11/6 18:36

  • sudhaker

  • Not too shy to talk

  • Posts: 117

  • Since: 2003/2/6 2


MODERATORS,

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

THANKS,
SU



90
sudhaker
Re: LEECH ANY THEME EASILY ;-) FROM XOOPS2
  • 2003/11/6 18:34

  • sudhaker

  • Not too shy to talk

  • Posts: 117

  • Since: 2003/2/6 2


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 »



Login

Who's Online

229 user(s) are online (145 user(s) are browsing Support Forums)


Members: 0


Guests: 229


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