Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 03 Jun 2010, 15:11
Tree Guardian Tree Guardian is offline
 
Join Date: Oct 2008
[post_new_thread] conditionals to display different newthread.gif

Does any one know what and where to place conditionals in FORUMDISPLAY to have different newthread.gif showing for different forum ID's? and if it's possible.

Thank You
Reply With Quote
  #2  
Old 03 Jun 2010, 15:41
jamesyfx jamesyfx is offline
 
Join Date: Feb 2005
Real name: James
Should be possible. I imagine it would mean copying the button and using conditonals many times in the templates.

Look for this code (there are two instances of this in SHOWTHREAD):


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


And you'll need to replace with this:


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

Where X Y Z etc are your forumid's. Your images should be in the button directory. The last one has an <else /> so that the regular button displays if you have not set one here. It's quite a hefty approach, and you would need to do this twice, but it works.

Hope this helps.
Reply With Quote
  #3  
Old 04 Jun 2010, 20:06
Tree Guardian Tree Guardian is offline
 
Join Date: Oct 2008
Thank You so much - I could not figure it out by myself

--------------- Added 05 Jun 2010 at 14:49 ---------------

Some images are not displaying - little help? - please

my code looks like this:

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

What is strange, that only .gif in forum ID 38 - works fine, rest don't show unless not listed in the code then the original newthread.gif is displaying.

Any help will be greatly appreciated.

Last edited by Tree Guardian; 05 Jun 2010 at 14:49. Reason: Auto-Merged DoublePost
Reply With Quote
Reply



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

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 16:59.

Layout Options | Width: Wide Color: