Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
  #61  
Old 19 Mar 2010, 14:02
princeedward's Avatar
princeedward princeedward is offline
 
Join Date: Jan 2007
Real name: Edward
is there any conditional list to show something only if the said member is offline?
it means the below code belong to the user...so i want to hide it when they are online...
it can only be seen once that they are offline...is that possible guys?

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

appreciate any possible help on this guys...

thanks and best regards...

__________________

My vBulletin Mod Hacks
Along With Some Helpful vB.Org Genious Coders & Designers, I Release This Modification...Please Don't Hesitate To PM Me For Support As Long As I Can.
Reply With Quote
  #62  
Old 21 Mar 2010, 12:40
princeedward's Avatar
princeedward princeedward is offline
 
Join Date: Jan 2007
Real name: Edward
Originally Posted by princeedward View Post
is there any conditional list to show something only if the said member is offline?
it means the below code belong to the user...so i want to hide it when they are online...
it can only be seen once that they are offline...is that possible guys?

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

appreciate any possible help on this guys...

thanks and best regards...

any cofirmation at least for the thread starter or some more experienced coder out there please...or any respectable staff?

hmmm...
__________________

My vBulletin Mod Hacks
Along With Some Helpful vB.Org Genious Coders & Designers, I Release This Modification...Please Don't Hesitate To PM Me For Support As Long As I Can.
Reply With Quote
  #63  
Old 24 Mar 2010, 20:29
princeedward's Avatar
princeedward princeedward is offline
 
Join Date: Jan 2007
Real name: Edward
Bump!-Bump!-Bump!

__________________

My vBulletin Mod Hacks
Along With Some Helpful vB.Org Genious Coders & Designers, I Release This Modification...Please Don't Hesitate To PM Me For Support As Long As I Can.
Reply With Quote
  #64  
Old 24 Mar 2010, 21:02
TalkVirginia's Avatar
TalkVirginia TalkVirginia is offline
 
Join Date: Oct 2008
Real name: Jim
It seems simple enough.. I wish I could help. Unfortunately I'm not familar in that area. Hopefully my response will help in attracting attention to your question.
__________________
Jim - Webadmin 3:33am Paranormal Research - History will always repeat itself but sometimes the past never leave
vb4.x Email Reminders for Inactive Users, Add Mass Child Forums for vb3.8.6 & vb4.1.2
Reply With Quote
  #65  
Old 26 Mar 2010, 06:36
princeedward's Avatar
princeedward princeedward is offline
 
Join Date: Jan 2007
Real name: Edward
TalkVirginia...thanks a lot but i guess and notice that most of well experienced coder are not quite there anymore or interested of replying to any message who needs help regarding code like this or product...we have still some around but not paying or giving attention to post message like this...but if you post it to paid forum...they are quite fast and your pm box is full in a minute or 2.... well thats my own opinion only...well i am not like that or tryin not to be like that...as long as i can...i am willing always to share my knowledge...or anything that i know...without any single cents...thanks is quite enough...

anyway hope someone who is more experienced coder someday will go reply here and share his knowledge...i might share him too some cents...

best regards to all

__________________

My vBulletin Mod Hacks
Along With Some Helpful vB.Org Genious Coders & Designers, I Release This Modification...Please Don't Hesitate To PM Me For Support As Long As I Can.
Reply With Quote
  #66  
Old 26 Mar 2010, 10:33
TalkVirginia's Avatar
TalkVirginia TalkVirginia is offline
 
Join Date: Oct 2008
Real name: Jim
I think most want us to do as much research on our own, provide our analysis and findings before they offer any input. Granted, this is important to do but sometimes we need a knudge in the right direction... sometimes. Off the top of my head I would say you might be able to find something already existing in postbit and/or postbit_legacy where it shows the online status icon. I'll have to go back and re-read the thread I guess in case that's not what you are looking for.

--------------- Added 26 Mar 2010 at 10:39 ---------------

Originally Posted by M4tEUSh View Post
So how to properly construct a condition with {vb:raw var}?

for example, if {vb:raw var} is smaller than 6, show XYZ
I don't know if anyone has answered this or if you have already figured it out but you would need to handle this logic in your php code then render the variable accordingly.
__________________
Jim - Webadmin 3:33am Paranormal Research - History will always repeat itself but sometimes the past never leave
vb4.x Email Reminders for Inactive Users, Add Mass Child Forums for vb3.8.6 & vb4.1.2

Last edited by TalkVirginia; 26 Mar 2010 at 10:39. Reason: Auto-Merged DoublePost
Reply With Quote
  #67  
Old 18 Apr 2010, 17:23
Mutt's Avatar
Mutt Mutt is offline
 
Join Date: Nov 2001
I'd like to add that you can use AND & OR for example


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #68  
Old 25 Apr 2010, 22:58
Olivier Turbis's Avatar
Olivier Turbis Olivier Turbis is offline
 
Join Date: Dec 2009
Real name: Olivier Turbis
What about show to users having one post? Please? Thank you in advance!
Reply With Quote
  #69  
Old 02 May 2010, 12:24
zipperty's Avatar
zipperty zipperty is offline
 
Join Date: Mar 2010
Real name: Gary
Crystal clear - Subscribed.... thank you
Reply With Quote
  #70  
Old 03 May 2010, 01:23
Blackhat's Avatar
Blackhat Blackhat is offline
 
Join Date: Mar 2005
I'm trying this in the css files stored among the templates. Anyone care to tell me whats wrong ?

html {
<vb:if condition="$post['field26']">
background-image:url($post[field26]);
<vb:else />
background:{vb:stylevar doc_background};
</vb:if>
}
__________________
running vBulletin 4.0.6
Reply With Quote
  #71  
Old 04 May 2010, 00:02
Flyte Flyte is offline
 
Join Date: Oct 2009
is there a way to get this to work in a CMS article? or maybe with bbcode?
Reply With Quote
  #72  
Old 17 May 2010, 22:55
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Real name: Blue
Can we set conditional to ONLY show if user has filled in Profile Field ? Otherwise it is blank
__________________

My Hacks [ click ] | Steve ~ Administrator for British Expats AustraliaBound.org/forum | Test our forum - user; don pass; pass123
Sports Tipping Mod - coming February 2010 ~ Show your Interest !
Reply With Quote
  #73  
Old 31 May 2010, 14:37
spillage spillage is offline
 
Join Date: Mar 2009
Real name: Bryan
I've been working with some of the code provided here to show Adsense ads to non members only.

I found that using <vb:if condition... gave an error when trying to save the code.
Missing if statment relative to the </vb:if>

The following worked

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #74  
Old 13 Jun 2010, 05:15
merk_aus merk_aus is offline
 
Join Date: Feb 2008
Real name: Brendon
Wow thanks for this greatly appreciated; I have dedicated this entire day to me to fix up all the little things on my site such as all of the template edits, permissions and most importantly all of the conditionals and so this thread and the time taken to create it is greatly appreciated.
Reply With Quote
  #75  
Old 16 Jun 2010, 18:18
malmazan malmazan is offline
 
Join Date: Feb 2006
Originally Posted by BBR-APBT View Post
Show in several forums:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
I all templates i edit the above did not work.

What did work was:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Though your conditional may work in some other templates.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Article Options

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


New To Site? Need Help?

All times are GMT. The time now is 08:28.

Layout Options | Width: Wide Color: