Forum Hosting  

Go Back   Forum Hosting > IPB Support > IPB General Support

IPB General Support Post your questions here, no bug reports.


Reply
 
LinkBack Thread Tools Display Modes
Old 06-08-2008, 10:38 AM   #1 (permalink)
Freakin' Sexy
 
guthix121's Avatar
 
Join Date: Oct 2007
Tournaments Won: 4

Location: New York
Posts: 1,564
Blog Entries: 1
Rep Power: 2 guthix121 will become famous soon enough
fTrader: (22)
fBuck$: 48,256
Bank: 9,792
Total fBuck$: 58,048

My Forumer
My Country:
Send a message via MSN to guthix121
Default Value Tag

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


I'm on vacation this week! So don't take it personally if I don't respond to your PMs/Service requests!
guthix121 is offline   Reply With Quote
Old 06-08-2008, 10:51 AM   #2 (permalink)
Freakin' Sexy
 
guthix121's Avatar
 
Join Date: Oct 2007
Tournaments Won: 4

Location: New York
Posts: 1,564
Blog Entries: 1
Rep Power: 2 guthix121 will become famous soon enough
fTrader: (22)
fBuck$: 48,256
Bank: 9,792
Total fBuck$: 58,048

My Forumer
My Country:
Send a message via MSN to guthix121
Default Re: Value Tag

Also, if someone knows a javascript code or something for a "Time is Now", that would be great!


I'm on vacation this week! So don't take it personally if I don't respond to your PMs/Service requests!
guthix121 is offline   Reply With Quote
Old 06-08-2008, 11:03 AM   #3 (permalink)
Confessed Noob
 
SawanM's Avatar
 
Join Date: Dec 2006
Tournaments Won: 6

Posts: 10,184
Rep Power: 14 SawanM has a spectacular aura aboutSawanM has a spectacular aura aboutSawanM has a spectacular aura about
fTrader: (45)
fBuck$: 60,333
Bank: 0
Total fBuck$: 60,333

My Forumer
My Country:
Default Re: Value Tag

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!
SawanM is offline   Reply With Quote
Old 06-08-2008, 11:07 AM   #4 (permalink)
Freakin' Sexy
 
guthix121's Avatar
 
Join Date: Oct 2007
Tournaments Won: 4

Location: New York
Posts: 1,564
Blog Entries: 1
Rep Power: 2 guthix121 will become famous soon enough
fTrader: (22)
fBuck$: 48,256
Bank: 9,792
Total fBuck$: 58,048

My Forumer
My Country:
Send a message via MSN to guthix121
Default Re: Value Tag

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.


I'm on vacation this week! So don't take it personally if I don't respond to your PMs/Service requests!
guthix121 is offline   Reply With Quote
Old 06-08-2008, 12:59 PM   #5 (permalink)
Confessed Noob
 
SawanM's Avatar
 
Join Date: Dec 2006
Tournaments Won: 6

Posts: 10,184
Rep Power: 14 SawanM has a spectacular aura aboutSawanM has a spectacular aura aboutSawanM has a spectacular aura about
fTrader: (45)
fBuck$: 60,333
Bank: 0
Total fBuck$: 60,333

My Forumer
My Country:
Default Re: Value Tag

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!
SawanM is offline   Reply With Quote
Old 06-08-2008, 01:02 PM   #6 (permalink)
Freakin' Sexy
 
guthix121's Avatar
 
Join Date: Oct 2007
Tournaments Won: 4

Location: New York
Posts: 1,564
Blog Entries: 1
Rep Power: 2 guthix121 will become famous soon enough
fTrader: (22)
fBuck$: 48,256
Bank: 9,792
Total fBuck$: 58,048

My Forumer
My Country:
Send a message via MSN to guthix121
Default Re: Value Tag

It works for me great, it just shows military time instead of the 12-hour time.


I'm on vacation this week! So don't take it personally if I don't respond to your PMs/Service requests!
guthix121 is offline   Reply With Quote
Old 06-08-2008, 02:08 PM   #7 (permalink)
Active Forumer
 
Hia7us's Avatar
 
Join Date: Dec 2006
Tournaments Won: 3

Posts: 271
Rep Power: 2 Hia7us is on a distinguished road
fTrader: (2)
fBuck$: 9,693
Bank: 5,920
Total fBuck$: 15,613

My Forumer
My Country:
Default Re: Value Tag

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.

Hia7us is offline   Reply With Quote
Old 06-08-2008, 02:15 PM   #8 (permalink)
Freakin' Sexy
 
guthix121's Avatar
 
Join Date: Oct 2007
Tournaments Won: 4

Location: New York
Posts: 1,564
Blog Entries: 1
Rep Power: 2 guthix121 will become famous soon enough
fTrader: (22)
fBuck$: 48,256
Bank: 9,792
Total fBuck$: 58,048

My Forumer
My Country:
Send a message via MSN to guthix121
Default Re: Value Tag

Thank you very much!


I'm on vacation this week! So don't take it personally if I don't respond to your PMs/Service requests!
guthix121 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump