Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
  #166  
Old 16 Mar 2011, 17:33
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Hmmm...

OK I just tested this in the template ad_navbar_below and it's working for me:


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

__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #167  
Old 16 Mar 2011, 17:43
jschvili jschvili is offline
 
Join Date: Aug 2006
YES!!! There it was! Great! Thanks! :-)
Reply With Quote
  #168  
Old 17 Mar 2011, 12:42
ALBCODERS ALBCODERS is offline
 
Join Date: Apr 2009
Originally Posted by Alp Ozdemir View Post
Try this;


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
Tnakyou this one works perfect
eyvallah
Reply With Quote
  #169  
Old 23 Mar 2011, 07:54
Hawk7173 Hawk7173 is offline
 
Join Date: Dec 2004
I tried this code, but for some reason it does not work

<vb:if condition="$forum[forumid] == 42">

<center><a href="WEB LINK"><img src="IMAGE LINK" alt="Our Secure Shopping Cart" />
</a></center>
</vb:if>
Reply With Quote
  #170  
Old 23 Mar 2011, 13:18
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by Hawk7173 View Post
I tried this code, but for some reason it does not work


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
What template did you put it in?

Depending on the template there are different variables besides $forum[forumid], such as:


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

__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #171  
Old 23 Mar 2011, 23:15
Hawk7173 Hawk7173 is offline
 
Join Date: Dec 2004
It was posted in forumdisplay

Thanks
Reply With Quote
  #172  
Old 24 Mar 2011, 13:45
Footman Footman is offline
 
Join Date: Mar 2010
Hello all. Firstly thanks for the list. It 'should' help me with what I'd like to do... but I need to ask for a bit of help here.

I'm trying to show the "Style Chooser" in the footer to ONLY certain user groups. I just can't figure where to place the code in the footer. Below is the portion of the footer code I think I should be working with:

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

I was using this bit of supplied code from the OP:

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

Any ideas where to place the code?

Thanx
Reply With Quote
  #173  
Old 24 Mar 2011, 14:21
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Since there's already a conditional, you should just add it to the existing conditional using an "AND" :


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

Where 1, 2, and 3 are the usergroups you want to show the chooser to.

You understand however any user could still change their style via their User CP options whether or not the quick-chooser is actually shown on every page.
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #174  
Old 25 Mar 2011, 21:48
Footman Footman is offline
 
Join Date: Mar 2010
Originally Posted by BirdOPrey5 View Post
...You understand however any user could still change their style via their User CP options whether or not the quick-chooser is actually shown on every page.
Hmmmmm Didn't think of that.

I did however figure another way around this. I set the option to change styles to yes, but only have the main theme I want the members to see selected in the "Style Manager." Seems I, as the admin, can see the other themes, but the regular members cannot.
Reply With Quote
  #175  
Old 25 Mar 2011, 23:49
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
That's true, the way to keep users from selecting styles is to uncheck them in the style manager. Only admins will have access to all styles (including unchecked styles.
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #176  
Old 27 Mar 2011, 22:24
Bisha's Avatar
Bisha Bisha is offline
 
Join Date: Mar 2006
What is Conditional tag for post count!

If (post count XXX)
do this 1
else
this 2?
Reply With Quote
  #177  
Old 27 Mar 2011, 23:31
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by Bisha View Post
What is Conditional tag for post count!

If (post count XXX)
do this 1
else
this 2?
If you are in the postbit and you want the post count of the person who made the post:


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

If you want the post count of the current user logged in use:


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

__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #178  
Old 27 Mar 2011, 23:36
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
actually, that usually will not work if the post count is over 1000 since it is a formatted number, ie. 1,000
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #179  
Old 27 Mar 2011, 23:50
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by Lynne View Post
actually, that usually will not work if the post count is over 1000 since it is a formatted number, ie. 1,000
Is that new in VB4? I saw mention of this yesterday and tested it in my VB3.8 forum and my 22,000+ post count had no commas (22000) in VB 3.8.

On the plus side, usually when you're testing for post counts is some minimal number, 5, or 10, or even 100 which shouldn't be affected.
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #180  
Old 28 Mar 2011, 06:03
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Originally Posted by BirdOPrey5 View Post
Is that new in VB4? I saw mention of this yesterday and tested it in my VB3.8 forum and my 22,000+ post count had no commas (22000) in VB 3.8.

On the plus side, usually when you're testing for post counts is some minimal number, 5, or 10, or even 100 which shouldn't be affected.
Maybe you are just not using commas to format large numbers on your forum? It has definitely been around since vB3 also.
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
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 21:23.

Layout Options | Width: Wide Color: