The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
[HELP!] Quick PHP question... please take a look someone
I am trying to make an if/else statement that deals with the last reply time of threads. I had this working a few hours ago but I've since had to restart by PC when it froze and now I can't figure out what I did to begin with
Here's my basic idea of what I am trying to do: PHP Code:
Is there a good place that shows the do's and don'ts of if/else statements???? Or can someone show me what I am doing wrong? Thanks! |
#2
|
||||
|
||||
The main problem I'm having is that the first line, with the time in it isn't coded right apparently, because it's not recognising that I only want threads that have been replied to within the last 24 hours.
Even the simple: PHP Code:
Any ideas????? |
#3
|
||||
|
||||
if you explain what you're really trying to do then maybe i can help.
|
#4
|
||||
|
||||
Well I messed up the code up there a little but I have it all coded now.
I am trying to make it so guests can only view threads that have received replies within the last 24 hours. The code I had above was just my guess at what I should do but I then tried that and it didn't work... Do you know how I could do this? Here's what I have for the time checker: PHP Code:
https://vborg.vbsupport.ru/showthrea...threadid=51980 That's the hack I am trying to make this work with if that helps. Thanks for any help. |
#5
|
||||
|
||||
Do you know how to do this??
|
#6
|
||||
|
||||
ANyone??
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|