Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Splitting items per page value (topics vs replies)

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!
Before posting, make sure you have read this topic!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
bobby131313 Posted - 28 May 2007 : 11:44:39
I've searched for a few minutes and can't find anything previous on this. It would be awesome if the "items per page" value wasn't global. I would love to be able to separate values for topics per page (forum.asp) and replies per page (topic.asp).

Why you ask? OK I'll tell you. I've done some pretty extensive research on my users habits. Topics that go to page 2 on forum.asp have essentially met the kiss of death. 99.9% of the time they are never revisited. As we get busier, we have quite a few really good topics die this way and it kills me.

So, I set the items per page to 30. Topics last a whole lot longer and most run their course the way they should. But now, I have 30 replies per page. A lot more scrolling. A lot heavier pages. A lot more bandwidth, especially since we have a ton of pictures on our forum. Most users just go to the last page of threads they're following so shorter pages would be awesome.

I would absolutely love to be able to set topics per page to 40, and replies per page to 15. (Insert happy dance here)

Has anyone done this, seen a mod, or even thought about it? Thoughts?

<
10   L A T E S T    R E P L I E S    (Newest First)
gpspassion Posted - 16 June 2008 : 19:50:12
Think I also got that, it went away after I set the value in the admin page.<
texanman Posted - 07 June 2008 : 18:18:32
ADODB.Recordset error '800a0bb9'

Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.

/forum.asp, line 338

line 338: rs.cachesize = strForumPageSize<
Carefree Posted - 04 June 2008 : 23:20:55
Nice mod! Easy to install & a big help. Since I didn't know this existed (and I could have used it, lol) until today, I thought it should be publicized. So I packaged it on Crip's behalf and put it on SnitzBitz.<
gpspassion Posted - 04 June 2008 : 20:55:12
+1 - had been wanting to do this for years !<
secretsquirrel Posted - 28 June 2007 : 13:43:58
This is great.
Added it to members.asp and admin_emaillist.asp so i could view the same number as topics.
These are good viewing more per page while keeping the post number per page down.<
ruirib Posted - 30 May 2007 : 12:06:49
Moved.<
bobby131313 Posted - 30 May 2007 : 11:52:50


Should this be moved to MOD Add-On Forum (W/Code) now? I'm sure others would like this.

<
cripto9t Posted - 30 May 2007 : 09:27:21
Your welcome <
bobby131313 Posted - 29 May 2007 : 18:10:14


Cripto.. Thank you!

Worked like a dream. Very sweet! Only took about 15 minutes.

Thanks again!

<
cripto9t Posted - 29 May 2007 : 09:48:02
copy and save this as dbs_splitpagesize.asp

Split Page Size Mod
[INSERT]
CONFIG_NEW
(C_VARIABLE,C_VALUE)#('STRFORUMPAGESIZE','40')
[END]


update your db in admin options

in config.asp find

Dim SubCount, MySubCount

after that add

Dim strForumPageSize

in config.asp find

strShowQuickReply = Application(strCookieURL & "STRSHOWQUICKREPLY")

after that add

strForumPageSize = Application(strCookieURL & "STRFORUMPAGESIZE")


in admin_config_features.asp find

			"              <tr valign=""middle"">" & vbNewLine & _
			"                <td bgColor=""" & strPopUpTableColor & """ align=""right""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>Pagenumbers per row:</b> </font></td>" & vbNewLine & _
			"                <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & vbNewLine & _
			"                <input type=""text"" name=""strPageNumberSize"" size=""5"" maxLength=""3"" value=""" & chkExistElse(strPageNumbersize,10) & """>" & vbNewLine & _
			"                <a href=""JavaScript:openWindow3('pop_config_help.asp?mode=features#pagenumbersize')"">" & getCurrentIcon(strIconSmileQuestion,"","") & "</a></font></td>" & vbNewLine & _
			"              </tr>" & vbNewLine & _

after that add

			"              <tr valign=""middle"">" & vbNewLine & _
			"                <td bgColor=""" & strPopUpTableColor & """ align=""right""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>Topics per page:</b> </font></td>" & vbNewLine & _
			"                <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & vbNewLine & _
			"                <input type=""text"" name=""strForumPageSize"" size=""5"" maxLength=""3"" value=""" & chkExistElse(strForumPageSize,20) & """>" & vbNewLine & _
			"                <a href=""JavaScript:openWindow3('pop_config_help.asp?mode=features#pagenumbersize')"">" & getCurrentIcon(strIconSmileQuestion,"","") & "</a></font></td>" & vbNewLine & _
			"              </tr>" & vbNewLine & _

in forum.asp replace all instances of strPageSize (except the one in the sub TopicPaging()) with strForumPageSize

that should do it You can set the size in "forum features"

<

Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.08 seconds. Powered By: Snitz Forums 2000 Version 3.4.07