|
|
Joined: Oct 2000
Posts: 2,667
Veteran
|
Veteran
Joined: Oct 2000
Posts: 2,667 |
I was wondering if anyone had tried using 1 table per messsage in topic list instead of one big table in order to speed up loading
Do you believe in love at first sight, or should I walk by again?
|
|
|
|
Joined: May 2001
Posts: 157
Member
|
Member
Joined: May 2001
Posts: 157 |
yea i have done that...Scorpion has done that...infact all my tables in public_forum_summary.pl public_forum_page.pl and public_topic_page.pl Public_pm_topic.pl all have there own tables per forum name per topic name and per reply post
get it?
|
|
|
|
Joined: Oct 2000
Posts: 2,667
Veteran
|
Veteran
Joined: Oct 2000
Posts: 2,667 |
I read the other topic, from what I saw, the smaller tables where sill included in the larger table (which doesn't increase loading time). But maybe I am just plain wrong
Do you believe in love at first sight, or should I walk by again?
|
|
|
|
Joined: May 2001
Posts: 157
Member
|
Member
Joined: May 2001
Posts: 157 |
if u take a look at Scorpions website and tell me is that what ur looking for cuz if u are i can do it for u www.se7enet.com Edit: Thats only if Scorp is ok with it [ July 07, 2001 06:32 PM: Message edited by: SK8285 ]
|
|
|
|
Joined: Mar 2000
Posts: 3,594
Moderator / Template Diva
|
Moderator / Template Diva
Joined: Mar 2000
Posts: 3,594 |
It's S korp... Not Scorp... The way you do that is to add a $TBT in front of each post row, and add a $TBB after each post row. Each table is closed before the next one starts, so it only loads one post at a time. If you need find/replace code, lemme know. Hope this helps. ---Skorpion
Don't put that signature in your mouth! You don't know where it's been!
|
|
|
|
Joined: May 2001
Posts: 157
Member
|
Member
Joined: May 2001
Posts: 157 |
|
|
|
|
Joined: Oct 2000
Posts: 2,667
Veteran
|
Veteran
Joined: Oct 2000
Posts: 2,667 |
yeah that what I did skorp I do have an other question tho : which cgi file do you have to edit in order to add the "page 1:" ?
Do you believe in love at first sight, or should I walk by again?
|
|
|
|
Joined: Mar 2000
Posts: 3,594
Moderator / Template Diva
|
Moderator / Template Diva
Joined: Mar 2000
Posts: 3,594 |
Which "Page 1" are you talking about? The one on the topic page, or the forum page?
Topic = ubb_lib_posting.cgi (cgi) and public_topic_page.pl (template).
Forum = ubb_forums.cgi (cgi) and public_forum_page.pl (template).
---Skorpion
Don't put that signature in your mouth! You don't know where it's been!
|
|
|
|
Joined: Dec 2000
Posts: 24
Member
|
Member
Joined: Dec 2000
Posts: 24 |
Skorpion,
can you post the actual code for doing the tables in public_topic_page.pl?? cause i'm kinda new to this and i don't know how to do it right. Thankz
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 87
Joined: December 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|