New Zealand
Go Back  

New Zealand Boards

> General Discussion > The AV Room
Reply
  #1 (permalink)  
Old 17-May-2004, 09:32 AM
kall's Avatar
kall is offline
 Your Friendly Admin Guy
 Karma +/- Power: 106
 Karma: kall has a spectacular aura aboutkall has a spectacular aura aboutkall has a spectacular aura about (231)
  6 month star 12 month star 18 month star
  Send a message via MSN to kall
 
 Local Time: 07:38 PM
 Local Date: 24-Jul-2008
 Join Date: Jan 2004
 Age: 29
 Posts: 4,982
 Images: 123
 Blog Entries: 6
Default Trophy Cabinet Move

To 'tidy up' the postbit_legacy (the bit that you see when you are looking at a post), the Arcade awards have been moved.

They are now under your name...I mean, click on the name of a member to see their Arcade awards, and challenge them.

(If anyone can tell me how to write a conditional so that Arcade awards will show in the legacy postbit ONLY in this forum (id=44), then I will enable them in the postbit for his forum.)
Reply With Quote
  #2 (permalink)  
Old 18-May-2004, 04:57 AM
Darkling's Avatar
Darkling is offline
 Founder
 Karma +/- Power: 67
 Karma: Darkling is a name known to allDarkling is a name known to allDarkling is a name known to allDarkling is a name known to allDarkling is a name known to allDarkling is a name known to all (614)
  6 month star 12 month star 18 month star
 
 Local Time: 07:38 AM
 Local Date: 24-Jul-2008
 Join Date: May 2004
 Posts: 985
 Blog Entries: 1
Default Re: Trophy Cabinet Move

Quote:
Originally Posted by kall
If anyone can tell me how to write a conditional so that Arcade awards will show in the legacy postbit ONLY in this forum (id=44), then I will enable them in the postbit for his forum.

Kall, whack this in template postbit_legacy.

Code:
<if condition="$forum['forumid'] == 44">

	Your arcade awards code goes here.

</if>
Sorted!

Darkling's Signature:
Reply With Quote
  #3 (permalink)  
Old 18-May-2004, 05:34 AM
kall's Avatar
kall is offline
 Your Friendly Admin Guy
 Karma +/- Power: 106
 Karma: kall has a spectacular aura aboutkall has a spectacular aura aboutkall has a spectacular aura about (231)
  6 month star 12 month star 18 month star
  Send a message via MSN to kall
 
 Local Time: 07:38 PM
 Local Date: 24-Jul-2008
 Join Date: Jan 2004
 Age: 29
 Posts: 4,982
 Images: 123
 Blog Entries: 6
Default Re: Trophy Cabinet Move

Quote:
Originally Posted by Darkling
Kall, whack this in template postbit_legacy.

Code:


	Your arcade awards code goes here.

Sorted!
Well, simple as that then!

(I has $foruminfo['forumid'] for some reason....hey, what is the conditional for userid? Like 'I want to show something, but not to/for a specific user'?)
Reply With Quote
  #4 (permalink)  
Old 18-May-2004, 06:12 AM
Darkling's Avatar
Darkling is offline
 Founder
 Karma +/- Power: 67
 Karma: Darkling is a name known to allDarkling is a name known to allDarkling is a name known to allDarkling is a name known to allDarkling is a name known to allDarkling is a name known to all (614)
  6 month star 12 month star 18 month star
 
 Local Time: 07:38 AM
 Local Date: 24-Jul-2008
 Join Date: May 2004
 Posts: 985
 Blog Entries: 1
Default Re: Trophy Cabinet Move

Quote:
Originally Posted by kall
Well, simple as that then!

(I has $foruminfo['forumid'] for some reason....hey, what is the conditional for userid? Like 'I want to show something, but not to/for a specific user'?)
To only show something to a specific user:

Code:
<if condition="$bbuserinfo[userid] == X">
	Your code goes here
</if>
To only show something about a specific user is more complicated as it changed depending on where it is.
So, here is the most common.

To only something about a specific user in a post related context
e.g. in postbits:

Code:
<if condition="$post[userid] == X">
	Your code goes here
</if>

Darkling's Signature:
Reply With Quote
  #5 (permalink)  
Old 18-May-2004, 06:18 AM
kall's Avatar
kall is offline
 Your Friendly Admin Guy
 Karma +/- Power: 106
 Karma: kall has a spectacular aura aboutkall has a spectacular aura aboutkall has a spectacular aura about (231)
  6 month star 12 month star 18 month star
  Send a message via MSN to kall
 
 Local Time: 07:38 PM
 Local Date: 24-Jul-2008
 Join Date: Jan 2004
 Age: 29
 Posts: 4,982
 Images: 123
 Blog Entries: 6
Default Re: Trophy Cabinet Move

Ahhh righty...so I change the '$post' bit to whatever variable is being called, and the userid bit is what stays the same..

Gotcha.
Reply With Quote
  #6 (permalink)  
Old 18-May-2004, 06:23 AM
Darkling's Avatar
Darkling is offline
 Founder
 Karma +/- Power: 67
 Karma: Darkling is a name known to allDarkling is a name known to allDarkling is a name known to allDarkling is a name known to allDarkling is a name known to allDarkling is a name known to all (614)
  6 month star 12 month star 18 month star
 
 Local Time: 07:38 AM
 Local Date: 24-Jul-2008
 Join Date: May 2004
 Posts: 985
 Blog Entries: 1
Default Re: Trophy Cabinet Move

Quote:
Originally Posted by kall
Ahhh righty...so I change the '$post' bit to whatever variable is being called, and the userid bit is what stays the same..

Gotcha.
Yep, that's about it.


Now for some fun.



To show something to everyone except specific users


Code:
<if condition="$bbuserinfo[userid] == X OR $bbuserinfo[userid] == Y">

<else />
	Your code goes here
</if>

Darkling's Signature:
Reply With Quote
 
Login or Register to Reply
You are currently viewing our boards as a Guest. Please login or register for free to reply to this topic.
Reply

Tags
move, cabinet, trophy

Topic 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

Geotarget
NZB is hosted on a Dual Opteron Server provided by Sparkle Hosting
All times are GMT +10. The time now is 05:38 PM.
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0 RC7
All content ©2003 - 2008 nzboards.com - Kiwi (New Zealand) Messageboards

Our Partners

Sitemap

< New Zealand News - Arcade - New Zealand Map - Helpdesk - New Zealand Photo Gallery - NZBMail - Sitemap >