![]() |
| |||||||
| IPB General Support Post your questions here, no bug reports. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) |
| Freakin' Sexy ![]() Join Date: Oct 2007 Tournaments Won: 4Location: New York
Posts: 1,564
Blog Entries: 1 Rep Power: 2 ![]() fTrader: (22) My Forumer My Country: | There used to be a guide on IPB Value Tags (like {ibf.lang_member} and I just made this up). Somebody decided to delete it, either way, and now I need help. Does anybody know the value tag for a user's own member ID? That way, when they click a link, like View All Posts by You, they find posts of their own? Thanks, Leon |
![]() | |
| | |
| | #3 (permalink) |
| Confessed Noob ![]() ![]() Join Date: Dec 2006 Tournaments Won: 6
Posts: 10,184
Rep Power: 14 ![]() ![]() ![]() fTrader: (45) My Forumer My Country: | Code: <h4>It is now
<script type="text/javascript">
<!--
var currentTime = new Date()
var hours = currentTime.getHours()
var minutes = currentTime.getMinutes()
if (minutes < 10)
minutes = "0" + minutes
document.write(hours + ":" + minutes + " ")
if(hours > 11){
document.write("PM")
} else {
document.write("AM")
}
//-->
</script>
</h4>
|
![]() Sezza Web Directory Top Web Hosting Reviews|Top 10 Web Hosting|Web Host Rating Tu ne cede malis, sed contra audentior ito Do not give in to evil but proceed ever more boldly against it! | |
| | |
| | #4 (permalink) |
| Freakin' Sexy ![]() Join Date: Oct 2007 Tournaments Won: 4Location: New York
Posts: 1,564
Blog Entries: 1 Rep Power: 2 ![]() fTrader: (22) My Forumer My Country: | That's the code for time is now, right? Is there a way to make it correspond to the format of the user? So anyone in america, for example, would see it as 1:00, while anyone in Europe would see it as 13:00? Thanks. Now all I need is help to get the value tag. Last edited by guthix121; 06-08-2008 at 11:10 AM. |
![]() | |
| | |
| | #5 (permalink) |
| Confessed Noob ![]() ![]() Join Date: Dec 2006 Tournaments Won: 6
Posts: 10,184
Rep Power: 14 ![]() ![]() ![]() fTrader: (45) My Forumer My Country: | It got the correct time for me, you could try saving that in a HTML document, and seeing for yourself. Sorry. |
![]() Sezza Web Directory Top Web Hosting Reviews|Top 10 Web Hosting|Web Host Rating Tu ne cede malis, sed contra audentior ito Do not give in to evil but proceed ever more boldly against it! | |
| | |
| | #7 (permalink) |
| Active Forumer ![]() | The macro for member ID (users own ID) is {ibf.member.id}. Also, I am in the process of making that code you wanted. It'll probably take me a few days to make because I am so busy. |
![]() | |
| | |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|