The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#5
|
||||
|
||||
![]()
Indeed, the above posts nails it.
It would go something like this, Create a new Single-Select user profile field named how you want. Options should be Yes, No. "Yes" to show the Today's Posts as default, and 'No' regular index page. In your FORUMHOME (or the template/page you want to have redirected) template I would add this somewhere: Code:
<if condition="$userinfo[fieldX]=='Yes'"> <script language="JavaScript"><!-- location.href = 'search.php?do=getdaily'; //--></script> </if> Since there is no Command for "no" it will do nothing, and show the regular page. However, this is very rudimentary and simple, I can imagine this being fallible in some ways, in case you find an issue, I'd suggest finding a more experienced coder to help you. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|