Razasharp
04-26-2005, 04:00 PM
hello :-)
I was just wondering if there is anyway to use a conditional such as the 'if' one in actual vB php files?
I want to install a hack which makes some changes to the php files but I only want it to effect guests (non-loggeg in users)... any ideas what to use? Any help much appreciated!
I know it can be done with phpbb and I think with this line:
if ( !$userdata['session_logged_in'] )
But would that work with vB? (sorry if its a dumb question!)
I was just wondering if there is anyway to use a conditional such as the 'if' one in actual vB php files?
I want to install a hack which makes some changes to the php files but I only want it to effect guests (non-loggeg in users)... any ideas what to use? Any help much appreciated!
I know it can be done with phpbb and I think with this line:
if ( !$userdata['session_logged_in'] )
But would that work with vB? (sorry if its a dumb question!)