PDA

View Full Version : Detect if I am on PAGE 2 of FORUMDISPLAY


tmanran123
09-10-2011, 07:52 AM
Is there a conditional I can use to detect when I am on page 2,3,4,5 of a forum?

e.g., like on this page as an example

https://www.vbulletin.com/forum/showthread.php/325409-How-to-Backup-before-Upgrading-to-4.0/page2

I just want to write the red sentence in the below pic: (for when the user is on page 2,3,4,5,etc)

https://vborg.vbsupport.ru/external/2011/09/54.jpg

Gio~Logist
09-10-2011, 06:36 PM
Here ya go. Enjoy



<vb:if condition="THIS_SCRIPT == 'forumdisplay' AND $_REQUEST['pagenumber'] == '2'">

Whatever here

</vb:if>

tmanran123
09-10-2011, 08:20 PM
woo hoo thank you