Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 30 Dec 2009, 22:42
powerful_rogue's Avatar
powerful_rogue powerful_rogue is offline
 
Join Date: Jan 2007
Real name: Dave
Remove from Forum homepage

Hi,

vBullein.org Forum

Ive used this site as an example above, however the code for my forum is below. Is there anyway I would be able to stop that from showing on the forum index page, but still have it in every other page?


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

Reply With Quote
  #2  
Old 01 Jan 2010, 19:35
powerful_rogue's Avatar
powerful_rogue powerful_rogue is offline
 
Join Date: Jan 2007
Real name: Dave
Small bump!
Reply With Quote
  #3  
Old 02 Jan 2010, 06:55
Hell Bomb's Avatar
Hell Bomb Hell Bomb is offline
 
Join Date: Jun 2009
Real name: Tom Thorton
Im sorry, i seem to not understand. Please be a little more detailed in your description.
__________________
http://www.trinityentertainment.net/
vBulletin 3.8 stylist - Temporarily unavailable (Anything from Small Edits to Full Skins)
Reply With Quote
  #4  
Old 02 Jan 2010, 13:10
powerful_rogue's Avatar
powerful_rogue powerful_rogue is offline
 
Join Date: Jan 2007
Real name: Dave
Hi,

Thank for your reply.

In the first image where it says "Swap UK" on the homepage, I want to be able to remove that or stop it from showing, however I want it to show on the rest of the forum like in the second image.

Thanks

Dave
Attached Images
File Type: png 1.PNG (11.8 KB, 17 views)
File Type: png 2.PNG (9.2 KB, 13 views)
Reply With Quote
  #5  
Old 02 Jan 2010, 23:15
Hell Bomb's Avatar
Hell Bomb Hell Bomb is offline
 
Join Date: Jun 2009
Real name: Tom Thorton
Im not sure there is an easy way to do this, I would just edit the FORUMHOME template and remove the "$navbar" code and then open up the navbar template and copy all the code there, then paste the code in the FORUMHOME template and just removing the following code.


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

__________________
http://www.trinityentertainment.net/
vBulletin 3.8 stylist - Temporarily unavailable (Anything from Small Edits to Full Skins)
Reply With Quote
  #6  
Old 19 Jan 2010, 23:03
Thelonius Beck's Avatar
Thelonius Beck Thelonius Beck is offline
 
Join Date: Jan 2008
I would use

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

Basically, it declares "Show this bit of code on every page except index.php"

Just wrap it around anything you don't want to show on your index page.

If you happen to have renamed your index.php page to something like forums.php just edit the code appropriately.

==============================

So, if I understand your plan you should open your navbar template and find the line

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

(It's right there near the beginning of the template)

Replace it with

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


Then find the first

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

Replace it with

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








Can't say as I understand why you would do it, but there it is.
Reply With Quote
  #7  
Old 21 Jan 2010, 03:53
Hell Bomb's Avatar
Hell Bomb Hell Bomb is offline
 
Join Date: Jun 2009
Real name: Tom Thorton
Yea Thelonius Beck good solution, i didnt learn about that if statement till a little after i responded to this post, that will work well. The only issues this may cause is if using vBadvance, it generally is named index also.
__________________
http://www.trinityentertainment.net/
vBulletin 3.8 stylist - Temporarily unavailable (Anything from Small Edits to Full Skins)
Reply With Quote
  #8  
Old 25 Jan 2010, 09:04
Thelonius Beck's Avatar
Thelonius Beck Thelonius Beck is offline
 
Join Date: Jan 2008
Originally Posted by hellbomb View Post
Yea Thelonius Beck good solution, i didnt learn about that if statement till a little after i responded to this post, that will work well. The only issues this may cause is if using vBadvance, it generally is named index also.
Too true. This is the situation I was thinking of when I mentioned the possibility of renaming forum home.
Reply With Quote
  #9  
Old 25 Jan 2010, 13:44
Hell Bomb's Avatar
Hell Bomb Hell Bomb is offline
 
Join Date: Jun 2009
Real name: Tom Thorton
Originally Posted by Thelonius Beck View Post
Too true. This is the situation I was thinking of when I mentioned the possibility of renaming forum home.
Awe ok
__________________
http://www.trinityentertainment.net/
vBulletin 3.8 stylist - Temporarily unavailable (Anything from Small Edits to Full Skins)
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 00:38.

Layout Options | Width: Wide Color: