vBulletin Modifications

Only show on FORUMHOME

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > General vBulletin Section > vBulletin Modification Requests

Reply
 
LinkBack Thread Tools
Old 06-30-2006, 06:05 AM   #1
kau
vB Newbie
Join Date: Jun 2006
kau is on a distinguished road

Default Only show on FORUMHOME

What is the IF statement to only display data if the page is FORUMHOME?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 06-30-2006, 01:33 PM   #2
Butcher
Administrator
Butcher's Avatar
Join Date: Oct 2004
Real Name: Dava
Location: lake district, england
Butcher is on a distinguished road

Default

that would be in the templates not php code
if you only want x to show on FORUMHOME then only edit the forumhome template
__________________
Butcher / vBHackers.com
vBSEO 3.1 GOLD Released vB Blogs Compatible | Non-Encrypted | Branding Removal Option | Sitemaps 2.1 | Language Packs

Crawlability Network: vBulletin SEO | vBulletin Hackers

chAos styles




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-30-2006, 05:15 PM   #3
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

yeah or you could do (in a plugin):
You must first be a registered member to view any code.
or you could just use the right location...

Last edited by Nick R; 06-30-2006 at 05:50 PM.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-01-2006, 06:31 AM   #4
Master Coder
ScReaM_'s Avatar
Join Date: Apr 2006
ScReaM_ is on a distinguished road

Default

Pic. ?¿?...




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-01-2006, 06:33 AM   #5
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

What do you mean pic? There is nothing to display!




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-05-2006, 09:07 AM   #6
vBulletin Guru
Arnoud's Avatar
Join Date: Nov 2004
Real Name: Arnoud Kuipers
Location: Europe, Flanders
Arnoud is on a distinguished road

Default

The THIS_SCRIPT definition holds the current script name, so you can use:

You must first be a registered member to view any code.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-05-2006, 01:05 PM   #7
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

same thing as what i said give ot take a word :p

I don't really see the problem though. If you want it on index.php only just put the php code in index.php. If you want it in a template instead then add it to FORUMHOME.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-06-2006, 08:41 AM   #8
vBulletin Guru
Arnoud's Avatar
Join Date: Nov 2004
Real Name: Arnoud Kuipers
Location: Europe, Flanders
Arnoud is on a distinguished road

Default

Actually, with my conditional it'll still execute if the forumhome is being loaded in a different file. If he'd be running a portal on the index.php file, your conditional wouldnt work :p




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Air & Sea Show Ken Iovino Off Topic 2 05-03-2004 09:06 PM


All times are GMT -3. The time now is 02:07 AM.


SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. (Patent Pending)